summaryrefslogtreecommitdiff
path: root/mail/postgrey
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-08-21 09:20:16 +0000
committerwiz <wiz@pkgsrc.org>2013-08-21 09:20:16 +0000
commit1dc8c6482653436bb1f51ef4feed5832ad768feb (patch)
treea174be576f595771dcbac6c516e7d4cb4b415b56 /mail/postgrey
parent096ec41231cbfd602fa2f863014b77e783349e75 (diff)
downloadpkgsrc-1dc8c6482653436bb1f51ef4feed5832ad768feb.tar.gz
Untaint --inet as well.
From Yasuhiro KIMURA via github upstream bug report. Bump PKGREVISION.
Diffstat (limited to 'mail/postgrey')
-rw-r--r--mail/postgrey/Makefile4
-rw-r--r--mail/postgrey/distinfo4
-rw-r--r--mail/postgrey/patches/patch-postgrey12
3 files changed, 13 insertions, 7 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index bc8dfcaafd0..22effc502df 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2013/07/14 21:57:09 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2013/08/21 09:20:16 wiz Exp $
DISTNAME= postgrey-1.33
-PKGREVISION= 8
+PKGREVISION= 9
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/
diff --git a/mail/postgrey/distinfo b/mail/postgrey/distinfo
index 91e36fe0696..ecc059777a2 100644
--- a/mail/postgrey/distinfo
+++ b/mail/postgrey/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2013/07/14 21:57:09 wiz Exp $
+$NetBSD: distinfo,v 1.10 2013/08/21 09:20:16 wiz Exp $
SHA1 (postgrey-1.33.tar.gz) = 2273d4b6087f0ae6ad6d3ee6b388a672a4190906
RMD160 (postgrey-1.33.tar.gz) = 0dfd72accef8404301832389d84edb1433e4e7f9
Size (postgrey-1.33.tar.gz) = 36077 bytes
-SHA1 (patch-postgrey) = 58a92e5e7df2747f2fae33effa24cd7ae43bc66b
+SHA1 (patch-postgrey) = 72592aab8b209da85c736fcdf8ed7f22422d5777
diff --git a/mail/postgrey/patches/patch-postgrey b/mail/postgrey/patches/patch-postgrey
index d081a4583c1..0edfe2af48e 100644
--- a/mail/postgrey/patches/patch-postgrey
+++ b/mail/postgrey/patches/patch-postgrey
@@ -1,17 +1,23 @@
-$NetBSD: patch-postgrey,v 1.1 2013/07/14 21:57:09 wiz Exp $
+$NetBSD: patch-postgrey,v 1.2 2013/08/21 09:20:16 wiz Exp $
Fix postgrey with perl-5.18.
--- postgrey.orig 2010-05-04 20:51:52.000000000 +0000
+++ postgrey
-@@ -552,6 +552,10 @@ sub main()
+@@ -552,6 +552,16 @@ sub main()
if($opt{dbdir}) {
$opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1;
}
-+ # untaint pidfile
++ # 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;