summaryrefslogtreecommitdiff
path: root/mail/postgrey
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-07-14 21:57:09 +0000
committerwiz <wiz@pkgsrc.org>2013-07-14 21:57:09 +0000
commit16c65fc1f90be514cab76ac65c8f4aced1965223 (patch)
tree6d9fff09bf97876dff55e290792dba884906bcd7 /mail/postgrey
parentc9b3d7403382ca065a0029574ae157ffa56b4586 (diff)
downloadpkgsrc-16c65fc1f90be514cab76ac65c8f4aced1965223.tar.gz
Fix postgrey for perl-5.18. Based on description given by
uwe@ on pkgsrc-users. Bump PKGREVISION. While here, set LICENSE.
Diffstat (limited to 'mail/postgrey')
-rw-r--r--mail/postgrey/Makefile5
-rw-r--r--mail/postgrey/distinfo3
-rw-r--r--mail/postgrey/patches/patch-postgrey17
3 files changed, 22 insertions, 3 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index 7394a97d794..bc8dfcaafd0 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.35 2013/07/12 10:44:57 jperkin Exp $
+# $NetBSD: Makefile,v 1.36 2013/07/14 21:57:09 wiz Exp $
DISTNAME= postgrey-1.33
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://postgrey.schweikert.ch/
COMMENT= Postfix Greylist Policy Server
+LICENSE= gnu-gpl-v2
DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
diff --git a/mail/postgrey/distinfo b/mail/postgrey/distinfo
index 996aa7ebf2c..91e36fe0696 100644
--- a/mail/postgrey/distinfo
+++ b/mail/postgrey/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2010/06/02 13:05:50 adam Exp $
+$NetBSD: distinfo,v 1.9 2013/07/14 21:57:09 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
diff --git a/mail/postgrey/patches/patch-postgrey b/mail/postgrey/patches/patch-postgrey
new file mode 100644
index 00000000000..d081a4583c1
--- /dev/null
+++ b/mail/postgrey/patches/patch-postgrey
@@ -0,0 +1,17 @@
+$NetBSD: patch-postgrey,v 1.1 2013/07/14 21:57:09 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()
+ if($opt{dbdir}) {
+ $opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1;
+ }
++ # untaint pidfile
++ if($opt{pidfile}) {
++ $opt{pidfile} =~ /^(.*)$/; $opt{pidfile} = $1;
++ }
+
+ # determine proper "logsock" for Sys::Syslog
+ my $syslog_logsock;