Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2015 20:17:21 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386358 - head/mail/policyd2
Message-ID:  <201505142017.t4EKHL4F028647@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+@sample %%WWWDIR%%/includes/config.php.sample
 %%WWWDIR%%/includes/db.php
 %%WWWDIR%%/includes/footer.php
 %%WWWDIR%%/includes/header.php



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505142017.t4EKHL4F028647>