From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 8 12:40:15 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AC0916A420 for ; Thu, 8 Sep 2005 12:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9313643D58 for ; Thu, 8 Sep 2005 12:40:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j88CeCnS083184 for ; Thu, 8 Sep 2005 12:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j88CeClL083183; Thu, 8 Sep 2005 12:40:12 GMT (envelope-from gnats) Resent-Date: Thu, 8 Sep 2005 12:40:12 GMT Resent-Message-Id: <200509081240.j88CeClL083183@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Xavier Beaudouin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8757C16A41F for ; Thu, 8 Sep 2005 12:37:49 +0000 (GMT) (envelope-from kiwi@kiwi.oav.net) Received: from kiwi.oav.net (kiwi.oav.net [82.225.248.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A24643D48 for ; Thu, 8 Sep 2005 12:37:49 +0000 (GMT) (envelope-from kiwi@kiwi.oav.net) Received: by kiwi.oav.net (Postfix, from userid 1000) id D59FD2E237; Thu, 8 Sep 2005 14:40:36 +0200 (CEST) Message-Id: <20050908124036.D59FD2E237@kiwi.oav.net> Date: Thu, 8 Sep 2005 14:40:36 +0200 (CEST) From: Xavier Beaudouin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85868: [MAINTAINER] mail/postfix-policyd-sf: update to 1.67 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 12:40:15 -0000 >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 # @@ -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: