pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postgrey Fix postgrey for perl-5.18. Based on des...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2364c6ac2862
branches:  trunk
changeset: 621692:2364c6ac2862
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 14 21:57:09 2013 +0000

description:
Fix postgrey for perl-5.18. Based on description given by
uwe@ on pkgsrc-users. Bump PKGREVISION.
While here, set LICENSE.

diffstat:

 mail/postgrey/Makefile               |   5 +++--
 mail/postgrey/distinfo               |   3 ++-
 mail/postgrey/patches/patch-postgrey |  17 +++++++++++++++++
 3 files changed, 22 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 9e0cfef36935 -r 2364c6ac2862 mail/postgrey/Makefile
--- a/mail/postgrey/Makefile    Sun Jul 14 21:48:52 2013 +0000
+++ b/mail/postgrey/Makefile    Sun Jul 14 21:57:09 2013 +0000
@@ -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@localhost
 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 -r 9e0cfef36935 -r 2364c6ac2862 mail/postgrey/distinfo
--- a/mail/postgrey/distinfo    Sun Jul 14 21:48:52 2013 +0000
+++ b/mail/postgrey/distinfo    Sun Jul 14 21:57:09 2013 +0000
@@ -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 -r 9e0cfef36935 -r 2364c6ac2862 mail/postgrey/patches/patch-postgrey
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/postgrey/patches/patch-postgrey      Sun Jul 14 21:57:09 2013 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index