diff options
author | mat <mat@FreeBSD.org> | 2015-05-15 04:17:20 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-05-15 04:17:20 +0800 |
commit | 9826feb71d2210a0c58c01a21d63294a87b8c832 (patch) | |
tree | 7acf2c747ac2a5a7a8c27d94e4dcd5ef6e372539 /mail | |
parent | 61f85c68e48d253bb191485d733fa179e829265c (diff) | |
download | freebsd-ports-gnome-9826feb71d2210a0c58c01a21d63294a87b8c832.tar.gz freebsd-ports-gnome-9826feb71d2210a0c58c01a21d63294a87b8c832.tar.zst freebsd-ports-gnome-9826feb71d2210a0c58c01a21d63294a87b8c832.zip |
Don't overwrite the webui config file.
PR: 200205
Submitted by: Danilo G. Baio (dbaio)
Sponsored by: Absolight
Diffstat (limited to 'mail')
-rw-r--r-- | mail/policyd2/Makefile | 4 | ||||
-rw-r--r-- | mail/policyd2/pkg-plist | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile index f62f64972e7b..df5932a35af5 100644 --- a/mail/policyd2/Makefile +++ b/mail/policyd2/Makefile @@ -3,7 +3,7 @@ PORTNAME= policyd2 PORTVERSION= 2.0.14 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://download.policyd.org/v${PORTVERSION}/ DISTNAME= cluebringer-v${PORTVERSION} @@ -70,6 +70,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/cluebringer.conf \ ${STAGEDIR}${PREFIX}/etc/cluebringer.conf.sample (cd ${WRKSRC}/webui && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) + ${MV} ${STAGEDIR}${WWWDIR}/includes/config.php \ + ${STAGEDIR}${WWWDIR}/includes/config.php.sample (cd ${WRKSRC}/cbp && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/cbp) (cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${DATADIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} database ${STAGEDIR}${DATADIR}) diff --git a/mail/policyd2/pkg-plist b/mail/policyd2/pkg-plist index 4a23225a312e..ca1b7bc43506 100644 --- a/mail/policyd2/pkg-plist +++ b/mail/policyd2/pkg-plist @@ -91,7 +91,7 @@ bin/cbpolicyd %%WWWDIR%%/images/valid-css2.png %%WWWDIR%%/images/valid-xhtml10.png %%WWWDIR%%/images/wcag1AAA.png -%%WWWDIR%%/includes/config.php +@sample %%WWWDIR%%/includes/config.php.sample %%WWWDIR%%/includes/db.php %%WWWDIR%%/includes/footer.php %%WWWDIR%%/includes/header.php |