From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 21 20:51:05 2013 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 105BF7B0; Fri, 21 Jun 2013 20:51:05 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id DA38413C3; Fri, 21 Jun 2013 20:51:04 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id fa11so8337739pad.33 for ; Fri, 21 Jun 2013 13:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=SRLRchXjnmvstoZUUNs6vp6/TRD4vFqskUbZyUHFtNA=; b=untVGlWFM0gV47YyAl04vtNcnkACMl0xJHff3DN7lkLfjnTn5ktM1uKix1aYSHIxFL sISexSk+KKexqaHjk10nClnI72YLQ521Ux6qM4cBK7nLTF3lnIQsFtTSZe8Z3F2Of/9X pkkMgihreFJM86fc05BdXeIltq2c7XWsvF/iiFD4reeImsd7neEjULoYAeQQFS9akjSg rrA7rRQRg7JpCdWVzdji6Vd55SvGu6BRdn/CEy7dNZee7tlm8lWXv3b296cb0JCqZrkK UkjOjqrzNXdXgCKcQtwSppzgC0g6pSYPKMq+M0D0H4RcGGmBLoa4P+QWSYRnMINGFWiP gjLg== X-Received: by 10.66.4.228 with SMTP id n4mr17648979pan.212.1371847864667; Fri, 21 Jun 2013 13:51:04 -0700 (PDT) Received: from ?IPv6:2001:470:b:839:3d98:dd11:5c2:597c? ([2001:470:b:839:3d98:dd11:5c2:597c]) by mx.google.com with ESMTPSA id pb5sm6195792pbc.29.2013.06.21.13.51.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Jun 2013 13:51:04 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: ports/177416: mail/postgrey has surfaced a bug in perl's taint checking From: Paul Beard In-Reply-To: <20130621203055.GA36696@rincewind.paeps.cx> Date: Fri, 21 Jun 2013 13:51:01 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <34DD4198-DEEF-4FB5-A613-D521D6B707A8@gmail.com> References: <201304031610.r33GA1MP005384@freefall.freebsd.org> <20130621203055.GA36696@rincewind.paeps.cx> To: Philip Paeps X-Mailer: Apple Mail (2.1508) Cc: freebsd-ports-bugs@FreeBSD.org 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: Fri, 21 Jun 2013 20:51:05 -0000 On Jun 21, 2013, at 1:30 PM, Philip Paeps wrote: > 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? I thought I might test this.=20 [root@shuttle /usr/ports/devel/p5-Getopt-Long]# service postgrey status postgrey is running as pid 62138. [root@shuttle /usr/ports/devel/p5-Getopt-Long]# service postgrey stop Stopping postgrey. Waiting for PIDS: 62138. [root@shuttle /usr/ports/devel/p5-Getopt-Long]# make install=20 [=85] postgrey --inet 10023 --pidfile=3D/var/run/postgrey.pid --user=3Dpostgrey = --group=3Dpostgrey --dbdir=3D/var/db/postgrey=20 2013/06/21-13:39:38 postgrey (type Net::Server::Multiplex) starting! = pid(63376) Resolved [localhost]:10023 to [::1]:10023, IPv6 Resolved [localhost]:10023 to [::1]:10023, IPv6 Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Duplicate configuration (TCP) on [::1]:10023 with IPv6) - skipping Duplicate configuration (TCP) on [127.0.0.1]:10023 with IPv4) - skipping Binding to TCP port 10023 on host ::1 with IPv6 Insecure dependency in socket while running with -T switch at = /usr/local/lib/perl5/5.14/mach/IO/Socket.pm line 80. [root@shuttle /usr/ports/devel/p5-Getopt-Long]# make deinstall clean=20 =3D=3D=3D> Deinstalling for devel/p5-Getopt-Long =3D=3D=3D> Deinstalling p5-Getopt-Long-2.39 =3D=3D=3D> Cleaning for p5-Getopt-Long-2.39 [root@shuttle /usr/ports/devel/p5-Getopt-Long]# postgrey --inet 10023 = --pidfile=3D/var/run/postgrey.pid --user=3Dpostgrey --group=3Dpostgrey = --dbdir=3D/var/db/postgrey=20 2013/06/21-13:39:54 postgrey (type Net::Server::Multiplex) starting! = pid(63434) Resolved [localhost]:10023 to [::1]:10023, IPv6 Resolved [localhost]:10023 to [::1]:10023, IPv6 Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4 Duplicate configuration (TCP) on [::1]:10023 with IPv6) - skipping Duplicate configuration (TCP) on [127.0.0.1]:10023 with IPv4) - skipping Binding to TCP port 10023 on host ::1 with IPv6 Insecure dependency in socket while running with -T switch at = /usr/local/lib/perl5/5.14/mach/IO/Socket.pm line 80. postgrey --unix=3D/var/run/postgrey.sock --pidfile=3D/var/run/postgrey.pid= --user=3Dpostgrey --group=3Dpostgrey --dbdir=3D/var/db/postgrey=20= 2013/06/21-13:42:10 postgrey (type Net::Server::Multiplex) starting! = pid(63698) Binding to UNIX socket file "/var/run/postgrey.sock" Setting gid to "225 225" Setting uid to "225" So it looks like I still can't get it to work with a socket (I wish I = had tried before the install/deinstall of Getopt-Long).=20 As I have no inbound mail service (thx, Comcast), it's no longer an = issue for me.=20 -- Paul Beard This space intentionally left blank.=20