From 16c65fc1f90be514cab76ac65c8f4aced1965223 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 14 Jul 2013 21:57:09 +0000 Subject: Fix postgrey for perl-5.18. Based on description given by uwe@ on pkgsrc-users. Bump PKGREVISION. While here, set LICENSE. --- mail/postgrey/Makefile | 5 +++-- mail/postgrey/distinfo | 3 ++- mail/postgrey/patches/patch-postgrey | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 mail/postgrey/patches/patch-postgrey (limited to 'mail/postgrey') 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; -- cgit v1.2.3