svn commit: r386358 - head/mail/policyd2
Mathieu Arnold
mat at FreeBSD.org
Thu May 14 20:17:21 UTC 2015
Author: mat
Date: Thu May 14 20:17:20 2015
New Revision: 386358
URL: https://svnweb.freebsd.org/changeset/ports/386358
Log:
Don't overwrite the webui config file.
PR: 200205
Submitted by: Danilo G. Baio (dbaio)
Sponsored by: Absolight
Modified:
head/mail/policyd2/Makefile
head/mail/policyd2/pkg-plist
Modified: head/mail/policyd2/Makefile
==============================================================================
--- head/mail/policyd2/Makefile Thu May 14 20:04:38 2015 (r386357)
+++ head/mail/policyd2/Makefile Thu May 14 20:17:20 2015 (r386358)
@@ -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})
Modified: head/mail/policyd2/pkg-plist
==============================================================================
--- head/mail/policyd2/pkg-plist Thu May 14 20:04:38 2015 (r386357)
+++ head/mail/policyd2/pkg-plist Thu May 14 20:17:20 2015 (r386358)
@@ -91,7 +91,7 @@ bin/cbpolicyd
%%WWWDIR%%/images/valid-css2.png
%%WWWDIR%%/images/valid-xhtml10.png
%%WWWDIR%%/images/wcag1AAA.png
-%%WWWDIR%%/includes/config.php
+ at sample %%WWWDIR%%/includes/config.php.sample
%%WWWDIR%%/includes/db.php
%%WWWDIR%%/includes/footer.php
%%WWWDIR%%/includes/header.php
More information about the svn-ports-all
mailing list