Date: Tue, 25 Mar 2008 00:50:25 +0100 (CET) From: Robert Felber <robtone@ek-muc.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/122060: Update port: mail/postfix-policyd-weight Message-ID: <20080324235025.A79BBC3C2E@robtone.ek-muc.de> Resent-Message-ID: <200803250010.m2P0A2bn064041@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122060 >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: Tue Mar 25 00:10:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Robert Felber >Release: FreeBSD 6.1-RELEASE-p7 i386 >Organization: Autohaus Erich Kuttendreier >Environment: >Description: Security fix: poliyd-weight didn't check for symlink on/in its operational directories. Other changes: "dedicated" added to dialup-detection-exclusion. Init script changed so that a "stop" terminates also the cache. >How-To-Repeat: Quote <<<EOQ I have verified that by doing something like this: mkdir /home/chris/foo ln -s /home/chris/foo /tmp/.policyd-weight and starting policyd-weight you can change the ownership or any arbitrary directory around the system - /home/chris/foo got chown'ed to polw:root. EOQ >Fix: --- postfix-policyd-weight-0.1.14.15.diff begins here --- diff -ruN /usr/ports/mail/postfix-policyd-weight/Makefile ./postfix-policyd-weight-0.1.14.15/Makefile --- /usr/ports/mail/postfix-policyd-weight/Makefile Mon Jan 21 00:03:20 2008 +++ ./postfix-policyd-weight-0.1.14.15/Makefile Tue Mar 25 00:37:01 2008 @@ -6,7 +6,7 @@ # PORTNAME= policyd-weight -PORTVERSION= 0.1.14.14 +PORTVERSION= 0.1.14.15 CATEGORIES= mail MASTER_SITES= http://www.policyd-weight.org/releases/ PKGNAMEPREFIX= postfix- @@ -20,6 +20,8 @@ PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample USE_RC_SUBR+= policyd-weight +USE_PERL5= yes +NO_BUILD= yes MAN8+= policyd-weight.8 MAN5+= policyd-weight.conf.5 diff -ruN /usr/ports/mail/postfix-policyd-weight/distinfo ./postfix-policyd-weight-0.1.14.15/distinfo --- /usr/ports/mail/postfix-policyd-weight/distinfo Mon Jan 21 00:03:20 2008 +++ ./postfix-policyd-weight-0.1.14.15/distinfo Tue Mar 25 00:37:01 2008 @@ -1,3 +1,3 @@ -MD5 (policyd-weight-0.1.14.14.tar.gz) = ec8f36dd68edb2c0bcad8899a9e51668 -SHA256 (policyd-weight-0.1.14.14.tar.gz) = 22c0842388d1695c35ae0fd44597c34b664fb3f9f1c8e11ad2df4dea7f06152d -SIZE (policyd-weight-0.1.14.14.tar.gz) = 54125 +MD5 (policyd-weight-0.1.14.15.tar.gz) = a3b23cdb37c1179587305b65d9a18515 +SHA256 (policyd-weight-0.1.14.15.tar.gz) = c8b8e3eaaf8e96794d5bfdd2a4f5e7a959c0348f1fff5b1c0e7c8ed17a20c731 +SIZE (policyd-weight-0.1.14.15.tar.gz) = 54533 diff -ruN /usr/ports/mail/postfix-policyd-weight/files/policyd-weight.in ./postfix-policyd-weight-0.1.14.15/files/policyd-weight.in --- /usr/ports/mail/postfix-policyd-weight/files/policyd-weight.in Sun May 27 13:41:04 2007 +++ ./postfix-policyd-weight-0.1.14.15/files/policyd-weight.in Tue Mar 25 00:33:09 2008 @@ -38,7 +38,7 @@ policyd_weight_stop() { echo "Stopping $name" - /usr/local/bin/policyd-weight stop + /usr/local/bin/policyd-weight -k stop } run_rc_command "$1" --- postfix-policyd-weight-0.1.14.15.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?20080324235025.A79BBC3C2E>