Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2007 11:05:52 +0200 (CEST)
From:      Robert Felber <robtone@ek-muc.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112566: Update port: mail/postfix-policyd-weight (maint. upd. to 0.1.14.5)
Message-ID:  <20070510090552.DC156C394B@robtone.ek-muc.de>
Resent-Message-ID: <200705100910.l4A9A4cE067390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112566
>Category:       ports
>Synopsis:       Update port: mail/postfix-policyd-weight (maint. upd. to 0.1.14.5)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 10 09:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Robert Felber
>Release:        FreeBSD 6.1-RELEASE-p7 i386
>Organization:
Autohaus Erich Kuttendreier
>Environment:
System: FreeBSD fpsvr1z150.dartsd66.local 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #0: Fri Sep 22 11:42:26 CEST 2006 robtone@fpsvr1z150.dartsd66.local:/usr/obj/usr/src/sys/FBSD5_3_DELL i386

>Description:

    Please remove http://www.freebsd.org/cgi/query-pr.cgi?pr=112345

    Changes from 0.1.14.3 to 0.1.14.5:

    Ports:

    - Postfix run-dependency removed as the policy server also works with Exim
    - relocated to %%PREFIX%%/bin/

    Program:

    0.1.14.4
    - DNS Errors were not handled correctly. May lead to a DoS.
    - DNS Error responses were subsequently concatenated

    0.1.14.5
    - 'A' lookups were not performed if 'MX' lookups returned NXDOMAIN
      (introduced in 0.1.14.4)
    - Detection Regex of dynamic clients corrected
    - man 8 policyd-weight minor changes to reflect MTA states
    

>How-To-Repeat:
>Fix:


--- postfix-policyd-weight-0.1.14.5.diff begins here ---
diff -ruN /usr/ports/mail/postfix-policyd-weight/Makefile ./postfix-policyd-weight-0.1.14.5/Makefile
--- /usr/ports/mail/postfix-policyd-weight/Makefile	Wed May  2 10:22:09 2007
+++ ./postfix-policyd-weight-0.1.14.5/Makefile	Thu May 10 10:53:36 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	policyd-weight
-PORTVERSION=	0.1.14.3
+PORTVERSION=	0.1.14.5
 
 CATEGORIES=	mail
 MASTER_SITES=	http://www.policyd-weight.org/releases/
@@ -15,11 +15,10 @@
 MAINTAINER=	robtone@ek-muc.de
 COMMENT=	Weighted policy daemon for postfix
 
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
-		postfix:${PORTSDIR}/mail/postfix
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
 
 SUB_FILES=	pkg-message
-PLIST_FILES=	libexec/postfix/${PORTNAME} etc/${PORTNAME}.conf.sample
+PLIST_FILES=	bin/${PORTNAME} etc/${PORTNAME}.conf.sample
 
 USE_RC_SUBR+=	policyd-weight
 
@@ -29,7 +28,7 @@
 .include <bsd.port.pre.mk>
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix/
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc/
 .for i in 5 8
 	@${MKDIR} ${PREFIX}/man/man$i
diff -ruN /usr/ports/mail/postfix-policyd-weight/distinfo ./postfix-policyd-weight-0.1.14.5/distinfo
--- /usr/ports/mail/postfix-policyd-weight/distinfo	Tue Feb 27 12:14:43 2007
+++ ./postfix-policyd-weight-0.1.14.5/distinfo	Thu May 10 10:53:36 2007
@@ -1,3 +1,3 @@
-MD5 (policyd-weight-0.1.14.3.tar.gz) = afa9286a5adc393b63641994bbb78a16
-SHA256 (policyd-weight-0.1.14.3.tar.gz) = 642d5ca134fe6deeb6e7d7e0147dedcf615c8e4d3b4d7d848f1a0ff023a67b50
-SIZE (policyd-weight-0.1.14.3.tar.gz) = 49105
+MD5 (policyd-weight-0.1.14.5.tar.gz) = 6dc3693b5e3fa83c1faea885ad297b7c
+SHA256 (policyd-weight-0.1.14.5.tar.gz) = 5ec74a0debd1c177d5ec3082f24d854b43ebbe3bcd09a31748acf0cc27e6bbd9
+SIZE (policyd-weight-0.1.14.5.tar.gz) = 49940
diff -ruN /usr/ports/mail/postfix-policyd-weight/files/pkg-message.in ./postfix-policyd-weight-0.1.14.5/files/pkg-message.in
--- /usr/ports/mail/postfix-policyd-weight/files/pkg-message.in	Mon Nov  6 11:47:33 2006
+++ ./postfix-policyd-weight-0.1.14.5/files/pkg-message.in	Thu May 10 10:39:47 2007
@@ -1,7 +1,7 @@
 **********
 * Start with:
 
-# %%PREFIX%%/libexec/postfix/policyd-weight start
+# %%PREFIX%%/bin/policyd-weight start
 
 * To use this from Postfix SMTPD, use in %%PREFIX%%/etc/postfix/main.cf
 
@@ -23,10 +23,13 @@
 * An example is provided in %%PREFIX%%/etc/policyd-weight.conf.sample
 *
 *
-* ATTENTION !!! ATTENTION
+* Notes:
 *
 * Since version 0.1.14 beta the master.cf mode is deprecated. Use the daemon
 * mode instead. More info in man 8 policyd-weight.
+*
+* Since version 0.1.14.5 beta the policyd-weight executable is located in
+* %%PREFIX%%/bin. Please remove older versions in %%PREFIX%%/libexec/postfix/
+* manually.
 * 
-* ATTENTION !!! ATTENTION
 *************
diff -ruN /usr/ports/mail/postfix-policyd-weight/files/policyd-weight.in ./postfix-policyd-weight-0.1.14.5/files/policyd-weight.in
--- /usr/ports/mail/postfix-policyd-weight/files/policyd-weight.in	Tue Feb 27 12:14:43 2007
+++ ./postfix-policyd-weight-0.1.14.5/files/policyd-weight.in	Thu May 10 10:51:05 2007
@@ -29,16 +29,16 @@
     *) echo "To make use of $name set $rcvar=\"YES\" in /etc/rc.conf" ;;
 esac
 
-command="/usr/local/libexec/postfix/policyd-weight"
+command="/usr/local/bin/policyd-weight"
 pidfile=/var/run/policyd-weight.pid
 
 policyd_weight_start() {
-    /usr/local/libexec/postfix/policyd-weight start
+    /usr/local/bin/policyd-weight start
 }
 
 policyd_weight_stop() {
     echo "Stopping $name"
-    /usr/local/libexec/postfix/policyd-weight stop
+    /usr/local/bin/policyd-weight stop
 }
 
 run_rc_command "$1"
--- postfix-policyd-weight-0.1.14.5.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070510090552.DC156C394B>