Wed Aug 21 09:20:16 2013 UTC ()
Untaint --inet as well.
>From Yasuhiro KIMURA via github upstream bug report.
Bump PKGREVISION.


(wiz)
diff -r1.36 -r1.37 pkgsrc/mail/postgrey/Makefile
diff -r1.9 -r1.10 pkgsrc/mail/postgrey/distinfo
diff -r1.1 -r1.2 pkgsrc/mail/postgrey/patches/patch-postgrey

cvs diff -r1.36 -r1.37 pkgsrc/mail/postgrey/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/postgrey/Makefile 2013/07/14 21:57:09 1.36
+++ pkgsrc/mail/postgrey/Makefile 2013/08/21 09:20:16 1.37
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.36 2013/07/14 21:57:09 wiz Exp $ 1# $NetBSD: Makefile,v 1.37 2013/08/21 09:20:16 wiz Exp $
2 2
3DISTNAME= postgrey-1.33 3DISTNAME= postgrey-1.33
4PKGREVISION= 8 4PKGREVISION= 9
5CATEGORIES= mail 5CATEGORIES= mail
6MASTER_SITES= http://postgrey.schweikert.ch/pub/ 6MASTER_SITES= http://postgrey.schweikert.ch/pub/
7 7
8MAINTAINER= kim@tac.nyc.ny.us 8MAINTAINER= kim@tac.nyc.ny.us
9HOMEPAGE= http://postgrey.schweikert.ch/ 9HOMEPAGE= http://postgrey.schweikert.ch/
10COMMENT= Postfix Greylist Policy Server 10COMMENT= Postfix Greylist Policy Server
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB 13DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB
14DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1 14DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
15DEPENDS+= p5-IO-Multiplex-[0-9]*:../../devel/p5-IO-Multiplex 15DEPENDS+= p5-IO-Multiplex-[0-9]*:../../devel/p5-IO-Multiplex
16DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server 16DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server
17 17

cvs diff -r1.9 -r1.10 pkgsrc/mail/postgrey/distinfo (expand / switch to unified diff)

--- pkgsrc/mail/postgrey/distinfo 2013/07/14 21:57:09 1.9
+++ pkgsrc/mail/postgrey/distinfo 2013/08/21 09:20:16 1.10
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.9 2013/07/14 21:57:09 wiz Exp $ 1$NetBSD: distinfo,v 1.10 2013/08/21 09:20:16 wiz Exp $
2 2
3SHA1 (postgrey-1.33.tar.gz) = 2273d4b6087f0ae6ad6d3ee6b388a672a4190906 3SHA1 (postgrey-1.33.tar.gz) = 2273d4b6087f0ae6ad6d3ee6b388a672a4190906
4RMD160 (postgrey-1.33.tar.gz) = 0dfd72accef8404301832389d84edb1433e4e7f9 4RMD160 (postgrey-1.33.tar.gz) = 0dfd72accef8404301832389d84edb1433e4e7f9
5Size (postgrey-1.33.tar.gz) = 36077 bytes 5Size (postgrey-1.33.tar.gz) = 36077 bytes
6SHA1 (patch-postgrey) = 58a92e5e7df2747f2fae33effa24cd7ae43bc66b 6SHA1 (patch-postgrey) = 72592aab8b209da85c736fcdf8ed7f22422d5777

cvs diff -r1.1 -r1.2 pkgsrc/mail/postgrey/patches/Attic/patch-postgrey (expand / switch to unified diff)

--- pkgsrc/mail/postgrey/patches/Attic/patch-postgrey 2013/07/14 21:57:09 1.1
+++ pkgsrc/mail/postgrey/patches/Attic/patch-postgrey 2013/08/21 09:20:16 1.2
@@ -1,17 +1,23 @@ @@ -1,17 +1,23 @@
1$NetBSD: patch-postgrey,v 1.1 2013/07/14 21:57:09 wiz Exp $ 1$NetBSD: patch-postgrey,v 1.2 2013/08/21 09:20:16 wiz Exp $
2 2
3Fix postgrey with perl-5.18. 3Fix postgrey with perl-5.18.
4 4
5--- postgrey.orig 2010-05-04 20:51:52.000000000 +0000 5--- postgrey.orig 2010-05-04 20:51:52.000000000 +0000
6+++ postgrey 6+++ postgrey
7@@ -552,6 +552,10 @@ sub main() 7@@ -552,6 +552,16 @@ sub main()
8 if($opt{dbdir}) { 8 if($opt{dbdir}) {
9 $opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1; 9 $opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1;
10 } 10 }
11+ # untaint pidfile 11+ # untaint what is given on --pidfile. It is not security sensitive since
 12+ # it is provided by the admin
12+ if($opt{pidfile}) { 13+ if($opt{pidfile}) {
13+ $opt{pidfile} =~ /^(.*)$/; $opt{pidfile} = $1; 14+ $opt{pidfile} =~ /^(.*)$/; $opt{pidfile} = $1;
14+ } 15+ }
 16+ # untaint what is given on --inet. It is not security sensitive since
 17+ # it is provided by the admin
 18+ if($opt{inet}) {
 19+ $opt{inet} =~ /^(.*)$/; $opt{inet} = $1;
 20+ }
15  21
16 # determine proper "logsock" for Sys::Syslog 22 # determine proper "logsock" for Sys::Syslog
17 my $syslog_logsock; 23 my $syslog_logsock;