aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-07 12:48:30 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-07 12:48:30 +0800
commitabb0f2c54347748b55d82a04d0a55161c33765b0 (patch)
tree4bebb6677082647b0221fc32195ac5a2dd6b636e /mail
parent0893aa55e3a1d7fbd8854102532e4c544aba9257 (diff)
downloadfreebsd-ports-gnome-abb0f2c54347748b55d82a04d0a55161c33765b0.tar.gz
freebsd-ports-gnome-abb0f2c54347748b55d82a04d0a55161c33765b0.tar.zst
freebsd-ports-gnome-abb0f2c54347748b55d82a04d0a55161c33765b0.zip
- Update to 2.0.10
PR: ports/142373 Submitted by: Chifeng Qu <chifeng@gmail.com> (maintainer)
Diffstat (limited to 'mail')
-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