ports/85868: [MAINTAINER] mail/postfix-policyd-sf: update to 1.67
Xavier Beaudouin
kiwi at oav.net
Thu Sep 8 12:40:15 UTC 2005
>Number: 85868
>Category: ports
>Synopsis: [MAINTAINER] mail/postfix-policyd-sf: update to 1.67
>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: Thu Sep 08 12:40:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Xavier Beaudouin
>Release: FreeBSD 5.4-RELEASE-p1 i386
>Organization:
Association KAZAR / The Caudium Group
>Environment:
System: FreeBSD proxy.home.oav.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Sat May 14 15:27:19 CEST 2005
>Description:
- Update to 1.67
Changelog :
[Sep 07 2005]
Changes from v1.66 -> v1.67 (new functionality)
* generic.c: AUTO_BLACK_LISTING was not being initialized which means
it couldnt of been working. patch by Benny Pedersen.
* *.c: records were taking twice as long to expire as what they
should be. Thanks to Sune Foldager for spotting this.
* contrib/: added debian startup/init file by Dietmar Braun.
* helo.c: used wrong variable for _expire. patch by Benny Pedersen.
* policyd.spec: new rpm spec file. submitted by Catalin Muresan
- Fix missing documentation
- Fix startup script to not use '-' in rc variables.
- Fix pid filename in default configuration pid filename.
- Added postfix-policyd-stats to gather stats using syslog
Added file(s):
- files/patch-policyd.conf
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- postfix-policyd-sf-1.67.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/postfix-policyd-sf.old/Makefile /usr/ports/mail/postfix-policyd-sf/Makefile
--- /usr/ports/mail/postfix-policyd-sf.old/Makefile Thu Sep 8 13:56:17 2005
+++ /usr/ports/mail/postfix-policyd-sf/Makefile Thu Sep 8 14:25:27 2005
@@ -1,4 +1,4 @@
-# New ports collection makefile for: policyd-sf
+# New ports collection makefile for: postfix-policyd-sf
# Date created: 2005-08-02
# Whom: Xavier Beaudouin <kiwi at oav.net>
#
@@ -6,7 +6,7 @@
#
PORTNAME= policyd
-PORTVERSION= 1.66
+PORTVERSION= 1.67
CATEGORIES= mail
MASTER_SITES= http://policyd.sourceforge.net/
PKGNAMEPREFIX= postfix-
@@ -27,20 +27,27 @@
ALL_TARGET= linux
-PORTDOCS= Changelog.txt README.txt License.txt WHITELIST.sql
+PORTDOCS1= Changelog.txt README.txt License.txt DATABASE.mysql
+PORTDOCS2= WHITELIST.sql SUPPORT.txt
+PORTDOCS= ${PORTDOCS1} ${PORTDOCS2}
PLIST_FILES= sbin/${REALNAME}-cleanup \
+ sbin/${REALNAME}-stats \
sbin/${REALNAME} \
etc/${REALNAME}.conf.sample
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cleanup ${PREFIX}/sbin/${REALNAME}-cleanup
+ ${INSTALL_PROGRAM} ${WRKSRC}/stats ${PREFIX}/sbin/${REALNAME}-stats
${INSTALL_PROGRAM} ${WRKSRC}/policyd ${PREFIX}/sbin/${REALNAME}
${INSTALL_DATA} ${WRKSRC}/policyd.conf ${PREFIX}/etc/${REALNAME}.conf.sample
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- for f in ${PORTDOCS}; do \
+ for f in ${PORTDOCS1}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
+ done
+ for f in ${PORTDOCS2}; do \
+ ${INSTALL_DATA} ${WRKSRC}/doc/$$f ${DOCSDIR}; \
done
.endif
diff -ruN --exclude=CVS /usr/ports/mail/postfix-policyd-sf.old/distinfo /usr/ports/mail/postfix-policyd-sf/distinfo
--- /usr/ports/mail/postfix-policyd-sf.old/distinfo Thu Sep 8 13:56:17 2005
+++ /usr/ports/mail/postfix-policyd-sf/distinfo Thu Sep 8 13:57:05 2005
@@ -1,2 +1,2 @@
-MD5 (policyd-v1.66.tar.gz) = f2d1562e636fcdcf08660f975538e038
-SIZE (policyd-v1.66.tar.gz) = 51338
+MD5 (policyd-v1.67.tar.gz) = 77c59852a7316d48a5f84bb6841fc23c
+SIZE (policyd-v1.67.tar.gz) = 52456
diff -ruN --exclude=CVS /usr/ports/mail/postfix-policyd-sf.old/files/patch-policyd.conf /usr/ports/mail/postfix-policyd-sf/files/patch-policyd.conf
--- /usr/ports/mail/postfix-policyd-sf.old/files/patch-policyd.conf Thu Jan 1 01:00:00 1970
+++ /usr/ports/mail/postfix-policyd-sf/files/patch-policyd.conf Thu Sep 8 14:00:29 2005
@@ -0,0 +1,11 @@
+--- policyd.conf.orig Thu Sep 8 13:59:51 2005
++++ policyd.conf Thu Sep 8 14:00:05 2005
+@@ -100,7 +100,7 @@
+ #
+ # where policyd will write its current pid to
+ #
+-PIDFILE=/var/run/policyd.pid
++PIDFILE=/var/run/postfix-policyd-sf.pid
+
+ #
+ # syslog facility
diff -ruN --exclude=CVS /usr/ports/mail/postfix-policyd-sf.old/files/policyd.sh.in /usr/ports/mail/postfix-policyd-sf/files/policyd.sh.in
--- /usr/ports/mail/postfix-policyd-sf.old/files/policyd.sh.in Thu Sep 8 13:56:17 2005
+++ /usr/ports/mail/postfix-policyd-sf/files/policyd.sh.in Thu Sep 8 14:27:10 2005
@@ -3,7 +3,7 @@
# $FreeBSD: ports/mail/postfix-policyd-sf/files/policyd.sh.in,v 1.1 2005/09/05 16:46:06 garga Exp $
#
-# PROVIDE: policyd
+# PROVIDE: postfix-policyd-sf
# REQUIRE: LOGIN
# BEFORE: mail
# KEYWORD: FreeBSD shutdown
@@ -11,12 +11,12 @@
#
# Add the following lines to /etc/rc.conf to enable policyd:
#
-# %%REALNAME%%_enable="YES"
+# postfix_policyd_sf_enable="YES"
#
. %%RC_SUBR%%
-name=%%REALNAME%%
+name=postfix_policyd_sf
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/%%REALNAME%%
@@ -30,11 +30,11 @@
# set defaults
-%%REALNAME%%_enable=${%%REALNAME%%_enable:-"NO"}
-%%REALNAME%%_pidfile=${%%REALNAME%%_pidfile:-"/var/run/%%REALNAME%%.pid"}
-%%REALNAME%%_flags=${%%REALNAME%%_flags:-"-c %%PREFIX%%/etc/%%REALNAME%%.conf"}
+postfix_policyd_sf_enable=${postfix_policyd_sf_enable:-"NO"}
+postfix_policyd_sf_pidfile=${postfix_policyd_sf_pidfile:-"/var/run/%%REALNAME%%.pid"}
+postfix_policyd_sf_flags=${postfix_policyd_sf_flags:-"-c %%PREFIX%%/etc/%%REALNAME%%.conf"}
-pidfile="${%%REALNAME%%_pidfile}"
+pidfile="${postfix_policyd_sf_pidfile}"
load_rc_config $name
run_rc_command "$1"
--- postfix-policyd-sf-1.67.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list