From sunpoet@sunpoet.net  Sat Oct 19 17:12:02 2013
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id BA665881
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Oct 2013 17:12:02 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from sunpoet.net (sunpoet.net [220.135.71.135])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 8593E261D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Oct 2013 17:12:02 +0000 (UTC)
Received: by sunpoet.net (Postfix, from userid 1000)
	id 70294470C; Sun, 20 Oct 2013 01:11:34 +0800 (CST)
Message-Id: <20131019171134.70294470C@sunpoet.net>
Date: Sun, 20 Oct 2013 01:11:34 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ports.maintainer@evilphi.com
Subject: [PATCH] mail/postgrey: make postgrey work with Perl 5.18
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ports.maintainer@evilphi.com

>Number:         183107
>Category:       ports
>Synopsis:       [PATCH] mail/postgrey: make postgrey work with Perl 5.18
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 19 17:20:00 UTC 2013
>Closed-Date:    Sat Oct 19 20:02:14 UTC 2013
>Last-Modified:  Sat Oct 19 20:02:14 UTC 2013
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 10.0-BETA1 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256445: Tue Oct 15 04:48:04 CST
>Description:
- Make postgrey work with Perl 5.18
- Bump PORTREVISION for package change

Obtained from:	https://github.com/schweikert/postgrey/commit/569dd044840a075127ddcf9d92c7791677d118e2

Port maintainer (ports.maintainer@evilphi.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- postgrey-1.34_7.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 330913)
+++ Makefile	(working copy)
@@ -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/
Index: files/patch-postgrey
===================================================================
--- files/patch-postgrey	(revision 0)
+++ files/patch-postgrey	(working copy)
@@ -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;
--- postgrey-1.34_7.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Oct 19 17:20:13 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183107 
Responsible-Changed-From-To: freebsd-ports-bugs->sunpoet 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Sat Oct 19 17:24:49 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183107 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: ports.maintainer@evilphi.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/183107: [PATCH] mail/postgrey: make postgrey work with Perl 5.18
Date: Sat, 19 Oct 2013 17:20:12 UT

 Maintainer of mail/postgrey,
 
 Please note that PR ports/183107 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183107
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: sunpoet 
State-Changed-When: Sat Oct 19 20:02:13 UTC 2013 
State-Changed-Why:  
Superseded by ports/181291. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183107 
>Unformatted:
