From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 10 10:10:04 2007 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67EE216A403 for ; Thu, 10 May 2007 10:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 47F2613C44C for ; Thu, 10 May 2007 10:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4AAA4Ca073624 for ; Thu, 10 May 2007 10:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4AAA4Rt073623; Thu, 10 May 2007 10:10:04 GMT (envelope-from gnats) Resent-Date: Thu, 10 May 2007 10:10:04 GMT Resent-Message-Id: <200705101010.l4AAA4Rt073623@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, Robert Felber Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CDE116A400 for ; Thu, 10 May 2007 10:08:20 +0000 (UTC) (envelope-from robtone@ek-muc.de) Received: from robtone.ek-muc.de (robtone.ek-muc.de [62.225.182.35]) by mx1.freebsd.org (Postfix) with ESMTP id D1B6113C458 for ; Thu, 10 May 2007 10:08:19 +0000 (UTC) (envelope-from robtone@ek-muc.de) Received: from localhost (localhost [127.0.0.1]) by robtone.ek-muc.de (Postfix) with ESMTP id D0D90C3A12 for ; Thu, 10 May 2007 12:07:55 +0200 (CEST) Received: by robtone.ek-muc.de (Postfix, from userid 1001) id BD165C398D; Thu, 10 May 2007 12:07:51 +0200 (CEST) Message-Id: <20070510100751.BD165C398D@robtone.ek-muc.de> Date: Thu, 10 May 2007 12:07:51 +0200 (CEST) From: Robert Felber To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/112567: Update port: mail/postfix-policyd-weight X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Felber List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 10:10:04 -0000 >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@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@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 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: