ports/142373: [UPDATE] mail/policyd2 update to 2.0.10
Chifeng Qu
chifeng at gmail.com
Wed Jan 6 08:00:17 UTC 2010
>Number: 142373
>Category: ports
>Synopsis: [UPDATE] mail/policyd2 update to 2.0.10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 06 08:00:16 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Chifeng Qu
>Release: FreeBSD 7.2-RELEASE
>Organization:
extmail
>Environment:
FreeBSD test.asia.corp.platform.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
update mail/policyd2 to 2.0.10
please commit, thanks!
>How-To-Repeat:
NONE.
>Fix:
apply this patch.
Patch attached with submission follows:
diff -ruN policyd2.bak/Makefile policyd2/Makefile
--- policyd2.bak/Makefile 2009-11-09 23:46:14.000000000 +0800
+++ policyd2/Makefile 2010-01-06 07:32:47.000000000 +0800
@@ -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 @@
${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 -ruN policyd2.bak/distinfo policyd2/distinfo
--- policyd2.bak/distinfo 2009-11-09 23:46:14.000000000 +0800
+++ policyd2/distinfo 2010-01-06 07:19:31.000000000 +0800
@@ -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 -ruN policyd2.bak/pkg-plist policyd2/pkg-plist
--- policyd2.bak/pkg-plist 2009-07-03 21:42:56.000000000 +0800
+++ policyd2/pkg-plist 2010-01-06 07:41:55.000000000 +0800
@@ -117,7 +117,9 @@
%%SITE_PERL%%/cbp/version.pm
bin/cbpadmin
bin/cbpolicyd
+ at unexec if cmp -s %D/cluebringer.conf.sample %D/cluebringer.conf; then rm -f %D/cluebringer.conf; fi
etc/cluebringer.conf.sample
+ at exec if [ ! -f %D/cluebringer.conf ] ; then cp -p %D/%F %B/cluebringer.conf; chmod +w %B/cluebringer.conf; fi
@dirrm www/policyd/tooltips
@dirrm www/policyd/includes
@dirrm www/policyd/images
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list