From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 14 14:00: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 2385E3C3 for ; Wed, 14 Aug 2013 14:00: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 0295F2CDE for ; Wed, 14 Aug 2013 14:00: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 r7EE00AB014692 for ; Wed, 14 Aug 2013 14:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7EE00eg014691; Wed, 14 Aug 2013 14:00:00 GMT (envelope-from gnats) Resent-Date: Wed, 14 Aug 2013 14:00:00 GMT Resent-Message-Id: <201308141400.r7EE00eg014691@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, Yasuhiro KIMURA 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 03D1EBEC for ; Wed, 14 Aug 2013 13:50:52 +0000 (UTC) (envelope-from yasu@home.utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id CAC7F2C64 for ; Wed, 14 Aug 2013 13:50:51 +0000 (UTC) Received: from eastasia.home.utahime.org (mail.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 1AD0C61F9D; Wed, 14 Aug 2013 22:50:50 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id E2F4B4E62F; Wed, 14 Aug 2013 22:50:49 +0900 (JST) Received: by eastasia.home.utahime.org (Postfix, from userid 1000) id B72784E62D; Wed, 14 Aug 2013 22:50:49 +0900 (JST) Message-Id: <20130814135049.B72784E62D@eastasia.home.utahime.org> Date: Wed, 14 Aug 2013 22:50:49 +0900 (JST) From: Yasuhiro KIMURA To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/181291: [PATCH] mail/postgrey: make postgrey work with perl 5.18 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: Wed, 14 Aug 2013 14:00:01 -0000 >Number: 181291 >Category: ports >Synopsis: [PATCH] mail/postgrey: make postgrey work with perl 5.18 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 14 14:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Yasuhiro KIMURA >Release: FreeBSD 9.1-RELEASE-p5 amd64 >Organization: >Environment: System: FreeBSD xxxx 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0 r253699: Sat Jul 27 17:47:48 JST 2013 xxxx amd64 >Description: Make postgrey work with perl 5.18. Patch is based on following issue report: https://github.com/schweikert/postgrey/issues/3 >How-To-Repeat: >Fix: --- patch-postgrey begins here --- Index: Makefile =================================================================== --- Makefile (revision 324716) +++ 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.dist 2011-05-05 05:54:15.000000000 +0900 ++++ postgrey 2013-08-14 21:45:43.000000000 +0900 +@@ -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; --- patch-postgrey ends here --- >Release-Note: >Audit-Trail: >Unformatted: