From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 19 17:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 71810BF5 for ; Sat, 19 Oct 2013 17:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 50436266A for ; Sat, 19 Oct 2013 17:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9JHK05V019120 for ; Sat, 19 Oct 2013 17:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9JHK0KY019119; Sat, 19 Oct 2013 17:20:00 GMT (envelope-from gnats) Resent-Date: Sat, 19 Oct 2013 17:20:00 GMT Resent-Message-Id: <201310191720.r9JHK0KY019119@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh 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 ; 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 ; 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 To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/183107: [PATCH] mail/postgrey: make postgrey work with Perl 5.18 Cc: ports.maintainer@evilphi.com X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 17:20:01 -0000 >Number: 183107 >Category: ports >Synopsis: [PATCH] mail/postgrey: make postgrey work with Perl 5.18 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 19 17:20:00 UTC 2013 >Closed-Date: >Last-Modified: >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: >Unformatted: