Date: Sun, 20 Oct 2013 01:11:34 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: ports.maintainer@evilphi.com Subject: ports/183107: [PATCH] mail/postgrey: make postgrey work with Perl 5.18 Message-ID: <20131019171134.70294470C@sunpoet.net> Resent-Message-ID: <201310191720.r9JHK0KY019119@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183107 >Category: ports >Synopsis: [PATCH] mail/postgrey: make postgrey work with Perl 5.18 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 19 17:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 10.0-BETA1 amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD bonjour.sunpoet.net 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256445: Tue Oct 15 04:48:04 CST >Description: - Make postgrey work with Perl 5.18 - Bump PORTREVISION for package change Obtained from: https://github.com/schweikert/postgrey/commit/569dd044840a075127ddcf9d92c7791677d118e2 Port maintainer (ports.maintainer@evilphi.com) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- postgrey-1.34_7.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 330913) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= postgrey PORTVERSION= 1.34 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= mail MASTER_SITES= http://postgrey.schweikert.ch/pub/ \ http://postgrey.schweikert.ch/pub/old/ Index: files/patch-postgrey =================================================================== --- files/patch-postgrey (revision 0) +++ files/patch-postgrey (working copy) @@ -0,0 +1,19 @@ +--- postgrey.orig 2011-05-05 04:54:15.000000000 +0800 ++++ postgrey 2013-10-20 01:07:50.744835568 +0800 +@@ -557,6 +557,16 @@ + if($opt{dbdir}) { + $opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1; + } ++ # untaint what is given on --pidfile. It is not security sensitive since ++ # it is provided by the admin ++ if($opt{pidfile}) { ++ $opt{pidfile} =~ /^(.*)$/; $opt{pidfile} = $1; ++ } ++ # untaint what is given on --inet. It is not security sensitive since ++ # it is provided by the admin ++ if($opt{inet}) { ++ $opt{inet} =~ /^(.*)$/; $opt{inet} = $1; ++ } + + # determine proper "logsock" for Sys::Syslog + my $syslog_logsock; --- postgrey-1.34_7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131019171134.70294470C>