Subject: pkg/20323: www/p5-CGI can be updated to 2.88
To: None <gnats-bugs@gnats.netbsd.org>
From: None <norm@sandbox.org.uk>
List: netbsd-bugs
Date: 02/12/2003 21:18:22
>Number: 20323
>Category: pkg
>Synopsis: www/p5-CGI is at version 2.79, which is older than current 2.88
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Feb 12 13:19:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Norm
>Release: NetBSD 1.6_STABLE
>Organization:
>Environment:
System: NetBSD southpaw.cackhanded.net 1.6_STABLE NetBSD 1.6_STABLE (S_CASTLE) #0: Tue Oct 8 18:48:26 BST 2002 norm@castle.i.sandbox.org.uk:/files/netbsd/src/sys/arch/i386/compile/S_CASTLE i386
Architecture: i386
Machine: i386
>Description:
See the synopsis. ;)
>How-To-Repeat:
>Fix:
One way to update would be this, or it's like. This is what I've
used without any problems.
--- Makefile Wed Feb 12 21:00:29 2003
+++ Makefile.new Wed Feb 12 20:59:50 2003
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.19 2002/10/07 22:34:27 seb Exp $
#
-DISTNAME= CGI.pm-2.79
-PKGNAME= p5-CGI-2.79
+DISTNAME= CGI.pm
+PKGNAME= p5-CGI-${CGI_VERSION}
SVR4_PKGNAME= p5cgi
CATEGORIES= www perl5
MASTER_SITES= http://stein.cshl.org/WWW/software/CGI/
@@ -20,6 +20,9 @@
# Some perl packages install their own versions of this module.
# Can't simply define USE_PERL5.
BUILDLINK_DEPENDS.perl=
{perl-5.0*,perl-5.6.0nb2,perl-base>=5.6.0,perl>=5.6.1nb2}
+
+CGI_VERSION= 2.88
+WRKSRC= ${WRKDIR}/CGI.pm-${CGI_VERSION}
USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/.packlist
>Release-Note:
>Audit-Trail:
>Unformatted: