ports/112567: Update port: mail/postfix-policyd-weight
Robert Felber
robtone at ek-muc.de
Thu May 10 10:10:04 UTC 2007
>Number: 112567
>Category: ports
>Synopsis: Update port: mail/postfix-policyd-weight
>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 10:10:03 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 at fpsvr1z150.dartsd66.local:/usr/obj/usr/src/sys/FBSD5_3_DELL i386
>Description:
Please remove http://www.freebsd.org/cgi/query-pr.cgi?pr=112566
and http://www.freebsd.org/cgi/query-pr.cgi?pr=112345
PR 112566 has checksum mismatches (due to a not issued make distclean,
maybe 'make makesum' should always attempt to fetch by default?)
Sorry for the trouble.
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 12:00:14 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 at 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 12:00:14 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) = ff3b8e68c7955f1f2b4ac50d48afc11e
+SHA256 (policyd-weight-0.1.14.5.tar.gz) = 6d48598530202a379a9f8f855cd44da8c9a1443ff57faf52eccc039be913dd8f
+SIZE (policyd-weight-0.1.14.5.tar.gz) = 50043
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:
More information about the freebsd-ports-bugs
mailing list