diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-10-19 20:03:52 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-10-19 20:03:52 +0000 |
commit | 23b69776dd9b3f81a82242296112d7bb6190bbbf (patch) | |
tree | 463b97df127514be9c63581645d1013f80496b5e /mail/postgrey | |
parent | dca5bda5e28f125812a6237dec712102708fe772 (diff) | |
download | ports-23b69776dd9b3f81a82242296112d7bb6190bbbf.tar.gz ports-23b69776dd9b3f81a82242296112d7bb6190bbbf.zip |
Notes
Diffstat (limited to 'mail/postgrey')
-rw-r--r-- | mail/postgrey/Makefile | 2 | ||||
-rw-r--r-- | mail/postgrey/files/patch-postgrey | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile index f248ac004a0d..a322a885fa14 100644 --- a/mail/postgrey/Makefile +++ b/mail/postgrey/Makefile @@ -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/ diff --git a/mail/postgrey/files/patch-postgrey b/mail/postgrey/files/patch-postgrey new file mode 100644 index 000000000000..98260f1e4cbe --- /dev/null +++ b/mail/postgrey/files/patch-postgrey @@ -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; |