Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 22:30:55 +0200
From:      Philip Paeps <philip@freebsd.org>
To:        Paul Beard <paulbeard@gmail.com>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/177416: mail/postgrey has surfaced a bug in perl's taint checking
Message-ID:  <20130621203055.GA36696@rincewind.paeps.cx>
In-Reply-To: <201304031610.r33GA1MP005384@freefall.freebsd.org>
References:  <201304031610.r33GA1MP005384@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-04-03 16:10:01 (+0000), Paul Beard <paulbeard@gmail.com> wrote:
>  So this is resolved, as best I can tell with no inbound smtp to check it
>  with. I never determined what port was the issue.

I just ran into the same problem: postgrey refusing to run in the
background and falling over on a taint check in the foreground.  The
problem is caused by Getopt::Long.  The version bundled with perl works
fine, but some ports (in my case munin-master) have a dependency on
p5-Getopt-Long.  The version installed by that port triggers the taint
check in postgrey.

One way to fix this would be to look for every port that depends on
p5-Getopt-Long and make that dependency conditional on versions of perl
which don't have a bundled Getopt::Long.  But perhaps there is a more
elegant way?

 - Philip

-- 
Philip Paeps
Senior Reality Engineer
Ministry of Information



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