Updating package www/p5-CGI from 3.44 to 3.45 Upstream changes: Version 3.45 [BUG FIXES] 1. Prevent warnings about "uninitialized values" for REQUEST_URI, HTTP_USER_AGENT and other environment variables. Patches by Callum Gibson, heiko and Mark Stosberg. (RT#24684, RT#29065) 2. Avoid death in some cases when running under Taint mode on Windows. Patch by Peter Hancock (RT#43796) 3. Allow 0 to be used as a default value in popup_menu(). This was broken starting in 3.37. Thanks to Haze, who was the first to report this and supply a patch, and pfschill, who pinpointed when the bug was introduced. A regression test for this was also added. (RT#37908) 4. Allow "+" as a valid character in file names, which fixes temp file creation on OS X Leopard. Thanks to Andy Armstrong, and alech for patches. (RT#30504) 5. Set binmode() on the Netware platform, thanks to Guenter Knauf (RT#27455) 6. Don't allow a CGI::Carp error handler to die recursively. Print a warning and exit instead. Thanks to Marc Chantreux. (RT#45956) 7. The Dump() method now is fixed to escape HTML properly. Thanks to Mark Stosberg (RT#21341) 8. Support for <optgroup> with scrolling_list() now works the same way as it does for popup_menu(). Thanks to Stuart Johnston (RT#30097) 9. CGI::Pretty now works properly when $" is set to ''. Thanks to Jim Keenan (RT#12401) 10. Fix crash when used in combination with PerlEx::DBI. Thanks to Burak G"ursoy (RT#19902) [DOCUMENTATION] 1. Several typos were fixed, Thanks to ambs. (RT#41105) 2. A typo related to the nosticky pragma was fixed, thanks to Britton Kerin. (RT#43220) 3. examples/nph-clock.cgi is now more portable, by calling localtime() rather than `/bin/date`, thanks to Guenter Knauf. (RT#27456). 4. In CGI::Carp, the SEE ALSO section was cleaned up, thanks to Slaven Rezic. (RT#32769) 5. The docs for redirect() were updated to reflect that most headers are ignored during redirection. Thanks to Mark Stosberg (RT#44911) [INTERNALS] 1. New t/unescapeHTML.t test script has been added. It includes a TODO test for a pre-existing bug which could use a patch. Thanks to Pete Gamache and Mark Stosberg (RT#39122) 2. New test scripts have been added for user_agent(), popup_menu() and query_string(), scrolling_list() and Dump() Thanks to Mark Stosberg and Stuart Johnston. (RT#37908, RT#43006, RT#21341, RT#30097) 3. CGI::Carp and CGI::Util have been updated to have non-developer version numbers. Thanks to Slaven Rezic. (RT#48425) 4. CGI::Switch and CGI::Apache now properly set their VERSION in their own name space. Thanks to Alexey Tourbin (RT#11941,RT#11942)diff -r1.49 -r1.50 pkgsrc/www/p5-CGI/Makefile
(sno)
@@ -1,40 +1,40 @@ | @@ -1,40 +1,40 @@ | |||
1 | # $NetBSD: Makefile,v 1.49 2009/08/09 13:01:48 sno Exp $ | 1 | # $NetBSD: Makefile,v 1.50 2009/08/18 14:23:26 sno Exp $ | |
2 | 2 | |||
3 | VERS= 3.44 | 3 | VERS= 3.45 | |
4 | DISTNAME= CGI.pm-${VERS} | 4 | DISTNAME= CGI.pm-${VERS} | |
5 | PKGNAME= p5-CGI-${VERS} | 5 | PKGNAME= p5-CGI-${VERS} | |
6 | SVR4_PKGNAME= p5cgi | 6 | SVR4_PKGNAME= p5cgi | |
7 | CATEGORIES= www perl5 | 7 | CATEGORIES= www perl5 | |
8 | MASTER_SITES+= ${MASTER_SITE_PERL_CPAN:=CGI/} | 8 | MASTER_SITES+= ${MASTER_SITE_PERL_CPAN:=CGI/} | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://search.cpan.org/dist/CGI.pm/ | 11 | HOMEPAGE= http://search.cpan.org/dist/CGI.pm/ | |
12 | COMMENT= Perl5 module for writing forms-based CGI programs | 12 | COMMENT= Perl5 module for writing forms-based CGI programs | |
13 | LICENSE= gnu-gpl-v2 OR artistic-2.0 | 13 | LICENSE= gnu-gpl-v2 OR artistic-2.0 | |
14 | 14 | |||
15 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
16 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 16 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
17 | 17 | |||
18 | USE_LANGUAGES= # empty | 18 | USE_LANGUAGES= # empty | |
19 | USE_TOOLS+= perl | 19 | USE_TOOLS+= perl | |
20 | PERL5_PACKLIST= auto/CGI/.packlist | 20 | PERL5_PACKLIST= auto/CGI/.packlist | |
21 | REPLACE_PERL+= examples/*.pl | 21 | REPLACE_PERL+= examples/*.pl | |
22 | REPLACE_PERL+= examples/*.cgi | 22 | REPLACE_PERL+= examples/*.cgi | |
23 | 23 | |||
24 | HTMLDIR= ${PREFIX}/share/doc/p5-CGI | 24 | HTMLDIR= ${PREFIX}/share/doc/p5-CGI | |
25 | DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI | 25 | DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI | |
26 | 26 | |||
27 | post-build: | 27 | post-build: | |
28 | cd ${WRKSRC}/examples && chmod +x *.cgi && perl make_links.pl | 28 | cd ${WRKSRC}/examples && chmod +x *.cgi && perl make_links.pl | |
29 | 29 | |||
30 | post-install: | 30 | post-install: | |
31 | ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} | 31 | ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} | |
32 | ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}/examples | 32 | ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}/examples | |
33 | cd ${WRKSRC} && ${INSTALL_DATA} *.html ${DESTDIR}${HTMLDIR} | 33 | cd ${WRKSRC} && ${INSTALL_DATA} *.html ${DESTDIR}${HTMLDIR} | |
34 | cd ${WRKSRC}/examples && \ | 34 | cd ${WRKSRC}/examples && \ | |
35 | ${INSTALL_DATA} *.gif *.html *.txt *.xbm \ | 35 | ${INSTALL_DATA} *.gif *.html *.txt *.xbm \ | |
36 | ${DESTDIR}${HTMLDIR}/examples && ${INSTALL_SCRIPT} *.cgi \ | 36 | ${DESTDIR}${HTMLDIR}/examples && ${INSTALL_SCRIPT} *.cgi \ | |
37 | ${DESTDIR}${HTMLDIR}/examples | 37 | ${DESTDIR}${HTMLDIR}/examples | |
38 | 38 | |||
39 | .include "../../lang/perl5/module.mk" | 39 | .include "../../lang/perl5/module.mk" | |
40 | .include "../../mk/bsd.pkg.mk" | 40 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.20 2009/08/09 13:01:48 sno Exp $ | 1 | $NetBSD: distinfo,v 1.21 2009/08/18 14:23:26 sno Exp $ | |
2 | 2 | |||
3 | SHA1 (CGI.pm-3.44.tar.gz) = af50b9810ec8b1e7d908a00a0842661aa5223fd2 | 3 | SHA1 (CGI.pm-3.45.tar.gz) = 50b9023efe13df0494e13fdb3b3b029d5c5afccf | |
4 | RMD160 (CGI.pm-3.44.tar.gz) = 2db431fe8ef877985e7677519f55311f1a0d5aee | 4 | RMD160 (CGI.pm-3.45.tar.gz) = 64ddbe7103c719d269d1291d6cef62dd9b1a3db4 | |
5 | Size (CGI.pm-3.44.tar.gz) = 240731 bytes | 5 | Size (CGI.pm-3.45.tar.gz) = 244821 bytes |