Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 20:03:52 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330931 - in head/mail/postgrey: . files
Message-ID:  <201310192003.r9JK3qFP063274@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Oct 19 20:03:52 2013
New Revision: 330931
URL: http://svnweb.freebsd.org/changeset/ports/330931

Log:
  - Make postgrey work with Perl 5.18
  - Bump PORTREVISION for package change
  
  PR:		ports/181291
  Reference:	https://github.com/schweikert/postgrey/commit/569dd044840a075127ddcf9d92c7791677d118e2
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
  Approved by:	Darren Pilgrim <ports.maintainer@evilphi.com> (maintainer)

Added:
  head/mail/postgrey/files/patch-postgrey   (contents, props changed)
Modified:
  head/mail/postgrey/Makefile

Modified: head/mail/postgrey/Makefile
==============================================================================
--- head/mail/postgrey/Makefile	Sat Oct 19 19:51:06 2013	(r330930)
+++ head/mail/postgrey/Makefile	Sat Oct 19 20:03:52 2013	(r330931)
@@ -3,7 +3,7 @@
 
 PORTNAME=	postgrey
 PORTVERSION=	1.34
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	mail
 MASTER_SITES=	http://postgrey.schweikert.ch/pub/ \
 		http://postgrey.schweikert.ch/pub/old/

Added: head/mail/postgrey/files/patch-postgrey
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/postgrey/files/patch-postgrey	Sat Oct 19 20:03:52 2013	(r330931)
@@ -0,0 +1,19 @@
+--- postgrey.orig	2011-05-05 04:54:15.000000000 +0800
++++ postgrey	2013-10-20 01:07:50.744835568 +0800
+@@ -557,6 +557,16 @@
+     if($opt{dbdir}) {
+         $opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1;
+     }
++    # 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310192003.r9JK3qFP063274>