aboutsummaryrefslogtreecommitdiff
path: root/mail/policyd2
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-07 04:48:30 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-07 04:48:30 +0000
commit4fbdf44dcafd63ad03cf58717e3d7fc9687b1338 (patch)
treebc5f5f6be3097b9a5bbcf550ea7b1068ff601ec2 /mail/policyd2
parent466ab2f1eedac7900c44ca787fb397a0f07f37ad (diff)
downloadports-4fbdf44dcafd63ad03cf58717e3d7fc9687b1338.tar.gz
ports-4fbdf44dcafd63ad03cf58717e3d7fc9687b1338.zip
Notes
Diffstat (limited to 'mail/policyd2')
-rw-r--r--mail/policyd2/Makefile7
-rw-r--r--mail/policyd2/distinfo6
-rw-r--r--mail/policyd2/pkg-plist2
3 files changed, 11 insertions, 4 deletions
diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile
index 7da5c8466ace..b6fffd2d4f47 100644
--- a/mail/policyd2/Makefile
+++ b/mail/policyd2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= policyd2
-PORTVERSION= 2.0.8
+PORTVERSION= 2.0.10
CATEGORIES= mail
MASTER_SITES= SF/policyd/2.0.x%20%28Stable%29/v${PORTVERSION}
DISTNAME= cluebringer-${PORTVERSION}
@@ -54,6 +54,11 @@ do-install:
${INSTALL_DATA} -m 0644 ${WRKSRC}/cluebringer.conf ${PREFIX}/etc/cluebringer.conf.sample
post-install:
+ @if [ ! -f ${PREFIX}/etc/cluebringer.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/cluebringer.conf.sample ${PREFIX}/etc/cluebringer.conf ; \
+ ${CHMOD} +w ${PREFIX}/etc/cluebringer.conf ; \
+ fi
+
.if !defined(NOPORTDATA)
@${INSTALL} -d ${DATADIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${DATADIR}
diff --git a/mail/policyd2/distinfo b/mail/policyd2/distinfo
index 53ae13b3b312..ee4ec4d892be 100644
--- a/mail/policyd2/distinfo
+++ b/mail/policyd2/distinfo
@@ -1,3 +1,3 @@
-MD5 (cluebringer-2.0.8.tar.gz) = cb42c83cb0517b1e4df7a0db8e3384a7
-SHA256 (cluebringer-2.0.8.tar.gz) = 0bf9ed64d2de0d098936aef68ffd218dc1b49368c2ecc68ea246acad72194bd6
-SIZE (cluebringer-2.0.8.tar.gz) = 118372
+MD5 (cluebringer-2.0.10.tar.gz) = 374eb5b5f7325343defaf185964d421e
+SHA256 (cluebringer-2.0.10.tar.gz) = be335acb8e282a31a65a3f44de8c0ac0f0ac8f18090e20391b486d6b1efd752b
+SIZE (cluebringer-2.0.10.tar.gz) = 133110
diff --git a/mail/policyd2/pkg-plist b/mail/policyd2/pkg-plist
index b974fbcd13bf..7b8b6573756b 100644
--- a/mail/policyd2/pkg-plist
+++ b/mail/policyd2/pkg-plist
@@ -117,7 +117,9 @@ www/policyd/tooltips/bt.gif
%%SITE_PERL%%/cbp/version.pm
bin/cbpadmin
bin/cbpolicyd
+@unexec if cmp -s %D/etc/cluebringer.conf.sample %D/etc/cluebringer.conf; then rm -f %D/etc/cluebringer.conf; fi
etc/cluebringer.conf.sample
+@exec if [ ! -f %D/etc/cluebringer.conf ] ; then cp -p %D/%F %B/etc/cluebringer.conf; chmod +w %B/etc/cluebringer.conf; fi
@dirrm www/policyd/tooltips
@dirrm www/policyd/includes
@dirrm www/policyd/images