Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Aug 2003 15:55:58 +0200 (CEST)
From:      Mathieu Arnold <m@absolight.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tobez@FreeBSD.org
Subject:   ports/55311: update www/p5-CGI.pm
Message-ID:  <20030806135558.911E87D29@aragorn.reaumur.absolight.net>
Resent-Message-ID: <200308061400.h76E0MK1020681@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55311
>Category:       ports
>Synopsis:       update www/p5-CGI.pm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 06 07:00:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Jul 18 12:38:14 CEST 2003 root@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386

>Description:
Update www/p5-CGI.pm to 2.99

* Patch from Steve Hay to fix extra Content-type: appearing on browser screen
  when FatalsToBrowser invoked. 
* Patch from Ewann Corvellec to fix cross-site scripting vulnerability. 
* Fixed tmpdir routine for file uploading to solve problem that occurs under
  mod_perl when tmpdir is writable at startup time, but not at session time. 
* Fixed crash in Dump() function

>How-To-Repeat:
>Fix:

--- p5-CGI.pm-2.99,1.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-CGI.pm/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	23 Jun 2003 01:23:50 -0000	1.6
+++ Makefile	6 Aug 2003 13:51:23 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	CGI.pm
-PORTVERSION=	2.97
+PORTVERSION=	2.99
 PORTEPOCH=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
@@ -17,13 +17,11 @@
 COMMENT=	Simple Common Gateway Interface Class for Perl
 
 PERL_CONFIGURE=	yes
+CONFIGURE_ARGS=	INSTALLDIRS=site
 
 MAN3=		CGI.3 CGI::Apache.3 CGI::Carp.3 CGI::Cookie.3 \
 		CGI::Fast.3 CGI::Pretty.3 CGI::Push.3 CGI::Switch.3 \
 		CGI::Util.3
-
-pre-patch:
-	@${PERL} -pi -e '$$_ = "" if /INSTALLDIRS|5\.6\.0/' ${WRKSRC}/Makefile.PL
 
 .include <bsd.port.pre.mk>
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/p5-CGI.pm/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	23 Jun 2003 01:23:50 -0000	1.5
+++ distinfo	6 Aug 2003 13:51:23 -0000
@@ -1 +1 @@
-MD5 (CGI.pm-2.97.tar.gz) = 9648fede296c2cfad0a170a89f6211cf
+MD5 (CGI.pm-2.99.tar.gz) = 8f12c0d0462409ab33447a44dbaefe2b
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/p5-CGI.pm/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	5 Mar 2003 23:26:29 -0000	1.2
+++ pkg-plist	6 Aug 2003 13:51:23 -0000
@@ -1,12 +1,12 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/.packlist
-%%SITE_PERL%%/CGI/Util.pm
+%%SITE_PERL%%/CGI.pm
+%%SITE_PERL%%/CGI/Apache.pm
 %%SITE_PERL%%/CGI/Carp.pm
+%%SITE_PERL%%/CGI/Cookie.pm
 %%SITE_PERL%%/CGI/Fast.pm
 %%SITE_PERL%%/CGI/Pretty.pm
 %%SITE_PERL%%/CGI/Push.pm
-%%SITE_PERL%%/CGI/Cookie.pm
 %%SITE_PERL%%/CGI/Switch.pm
-%%SITE_PERL%%/CGI/Apache.pm
-%%SITE_PERL%%/CGI.pm
+%%SITE_PERL%%/CGI/Util.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/.packlist
 @unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true
 @unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true
--- p5-CGI.pm-2.99,1.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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