ports/91024: [maintainer update] security/ipfcount incorrectly checks Perl version
Robert Archer
freebsd at deathbeforedecaf.net
Wed Dec 28 17:10:06 UTC 2005
>Number: 91024
>Category: ports
>Synopsis: [maintainer update] security/ipfcount incorrectly checks Perl version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 28 17:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Robert Archer <freebsd at deathbeforedecaf.net>
>Release: FreeBSD 4.11-RELEASE i386
>Organization:
>Environment:
System: FreeBSD gir.0x7e.net 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Wed Sep 14 12:55:17 CST 2005 rob at goo.0x7e.net:/tmp/GIR i386
>Description:
In the port's Makefile, a check is made for Perl 5.6 or greater. Due to
incorrect handling of PERL_LEVEL, this check will always succeed.
As a result, users of 4.x will be able to install the port using the
version of Perl in the base system, but will not be able to run it.
Thanks to Jarrod Sayers <jarrod at netleader.com.au> for spotting this.
>How-To-Repeat:
builder# make -V PERL_LEVEL
500503
builder# ipfcount
Perl 5.006 required--this is only version 5.00503, stopped at /usr/local/bin/ipfcount line 13.
BEGIN failed--compilation aborted at /usr/local/bin/ipfcount line 13.
builder#
>Fix:
Patch is at http://deathbeforedecaf.net/misc/patches/ipfcount.2005-12-29
diff -ruN ipfcount.2005-12-29/Makefile ipfcount/Makefile
--- ipfcount.2005-12-29/Makefile Thu Dec 22 22:25:14 2005
+++ ipfcount/Makefile Thu Dec 29 01:57:54 2005
@@ -7,6 +7,7 @@
PORTNAME= ipfcount
PORTVERSION= 0.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \
http://users.netleader.com.au/~rob/
@@ -27,7 +28,7 @@
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 5006
+.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6 or higher - see the lang/perl5.8 port
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list