diff options
author | gls <gls@pkgsrc.org> | 2011-05-25 20:13:59 +0000 |
---|---|---|
committer | gls <gls@pkgsrc.org> | 2011-05-25 20:13:59 +0000 |
commit | 5d5c2fe50cfbee2c7a00ab9c8efdbb214396dde8 (patch) | |
tree | 87b01f3a8931cfaff4aa578af2cdc3f3feae9b8a /www/p5-CGI | |
parent | 4bf9361a823fe45b39b178cf912084b8d08f1073 (diff) | |
download | pkgsrc-5d5c2fe50cfbee2c7a00ab9c8efdbb214396dde8.tar.gz |
Update www/p5-CGI to 3.54
Upstream changes:
Version 3.54, Apr 28, 2011
No code changes
[INTERNALS]
- Address test failures in t/tmpdir.t, thanks to Niko Tyni.
Some tests here are failing on some platforms and have been marked as TODO.
Version 3.53, Apr 25, 2011
[NEW FEATURES]
- The DELETE HTTP verb is now supported.
(RT#52614, James Robson, Eduardo Ari#o de la Rubia)
[INTERNALS]
- Correct t/tmpdir.t MANIFEST entry. (RT#64949)
- Update minimum required Perl version to be Perl 5.8.1, which
has been out since 2003. This allows us to drop some hacks
and exceptions (Mark Stosberg)
Version 3.52, Jan 24, 2011
[DOCUMENTATION]
- The documentation for multi-line header handling was been updated to reflect
the changes in 3.51. (Mark Stosberg, ntyni@iki.fi)
[INTERNALS]
- Add missing t/tmpfile.t file. (RT#64949)
- Fix warning in t/cookie.t (RT#64570, Chris Williams, Rainer Tammer, Mark Stosberg)
- Fixed logic bug in t/multipart_init.t (RT#64261, Niko Tyni)
Version 3.51, Jan 5, 2011
[NEW FEATURES]
- A new option to set $CGI::Carp::TO_BROWSER = 0, allows you to explicitly
exclude a particular scope from triggering printing to the browser when
fatatlsToBrowser is set. (RT#62783, Thanks to papowell)
- The <script> tag now supports the "charset" attribute.
(RT#62907, Thanks to Fabrice Metge)
- In CGI::Cookie, "Max-Age" is now supported for better spec compliance.
(Mark Stosberg)
[BUG FIXES]
- Setting charset() now works for all content types, not just "text/*".
(RT#57945, Thanks to Yanick and Gerv.)
- support for user temporary directories ($HOME/tmp) was commented out
in 2.61 but the documentation wasn't updated (Peter Gervai, Niko Tyni)
- setting $CGITempFile::TMPDIRECTORY before loading CGI.pm has been
working but undocumented since 3.12 (which listed it in Changes as
$CGI::TMPDIRECTORY) (Peter Gervai, Niko Tyni)
- unfortunately the previous change broke the runtime check for looking
for a new temporary directory if the current one suddenly became
unwritable (Peter Gervai, Niko Tyni)
- A bug was fixed in CGI::Carp triggered by certain death cases in
the BEGIN phase of parent classes.
(RT#57224, Thanks to UNERA, Yanick Champoux, Mark Stosberg)
- CGI::Cookie->new() now follows the documentation and returns undef
if the -name and -value args aren't provided. This new behavior is also
consistent with the docs and code of CGI::Simple::Cookie. (Mark Stosberg)
- CGI::Cookie->parse() now trims leading and trailing whitespace from cookie
elements as intended. The change also makes this part of the parsing
identical to CGI::Simple::Cookie (Mark Stosberg)
- Temp file handling was improved (RT#62762)
[SECURITY]
- Further improvements have been made to guard against newline injections
in headers. (Thanks to Max Kanat-Alexander, Yanick Champoux, Mark Stosberg)
[PERFORMANCE]
- Make EBCDIC a compile-time constant so there's zero overhead (and less
compiled code) in subroutines that test for it. (Tim Bunce)
- If you just want to use CGI::Cookie, CGI.pm will no longer be loaded
unless you call the bake() method, which requires it. (Mark Stosberg)
[DOCUMENTATION]
- quit referring to the <link> tag as being "rarely used". (Victor Sanders)
- typo and whitespace fixes (RT#62785, thanks to scop@cpan.org)
- The -dtd argument to start_html() is now documented
(RT#60473, Thanks to giecrilj and steve@fisharerojo.org)
- CGI::Carp doc are updated to reflect that it can work with mod_perl 2.0.
- when creating a temporary file in the directory fails, the error message
could indicate the root of the problem better (Peter Gervai, Niko Tyni)
[INTERNALS]
- Re-fixing https test in http.t. (RT#54768, thanks to SPROUT)
- param_fetch no longer triggers a warning when called with no arguments (ysth, Mark Stosberg)
Version 3.50, Nov 8, 2010
[SECURITY]
1. The MIME boundary in multipart_init is now random.
Thanks to Byron Jones, Masahiro Yamada, Reed Loden, and Mark Stosberg
2. Further improvements to handling of newlines embedded in header values.
An exception is thrown if header values contain invalid newlines.
Thanks to Michal Zalewski, Max Kanat-Alexander, Yanick Champoux,
Lincoln Stein, Fr#d#ric Buclin and Mark Stosberg
[DOCUMENTATION]
1. Correcting/clarifying documentation for param_fetch(). Thanks to
Ren#e B#cker. (RT#59132)
[INTERNALS]
1. Fixing https test in http.t. (RT#54768)
2. Tests were added for multipart_init(). Thanks to Mark Stosberg and CGI::Simple.
Diffstat (limited to 'www/p5-CGI')
-rw-r--r-- | www/p5-CGI/Makefile | 5 | ||||
-rw-r--r-- | www/p5-CGI/PLIST | 3 | ||||
-rw-r--r-- | www/p5-CGI/distinfo | 8 |
3 files changed, 7 insertions, 9 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile index bd2b8cdfe22..13475fcf60b 100644 --- a/www/p5-CGI/Makefile +++ b/www/p5-CGI/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.54 2010/08/21 16:36:37 seb Exp $ +# $NetBSD: Makefile,v 1.55 2011/05/25 20:13:59 gls Exp $ -VERS= 3.49 +VERS= 3.54 DISTNAME= CGI.pm-${VERS} PKGNAME= p5-CGI-${VERS} -PKGREVISION= 1 SVR4_PKGNAME= p5cgi CATEGORIES= www perl5 MASTER_SITES+= ${MASTER_SITE_PERL_CPAN:=CGI/} diff --git a/www/p5-CGI/PLIST b/www/p5-CGI/PLIST index 50ba5bf03a9..c827a95e288 100644 --- a/www/p5-CGI/PLIST +++ b/www/p5-CGI/PLIST @@ -1,5 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 22:00:30 joerg Exp $ -share/doc/p5-CGI/cgi-lib_porting.html +@comment $NetBSD: PLIST,v 1.4 2011/05/25 20:13:59 gls Exp $ share/doc/p5-CGI/cgi_docs.html share/doc/p5-CGI/examples/caution.xbm share/doc/p5-CGI/examples/clickable_image.cgi diff --git a/www/p5-CGI/distinfo b/www/p5-CGI/distinfo index ef0ae4485ee..c8cd8b6204c 100644 --- a/www/p5-CGI/distinfo +++ b/www/p5-CGI/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.24 2010/02/07 16:02:20 wiz Exp $ +$NetBSD: distinfo,v 1.25 2011/05/25 20:13:59 gls Exp $ -SHA1 (CGI.pm-3.49.tar.gz) = 4f4e9a7725ae8d937efdbd6052fa7a8672560e35 -RMD160 (CGI.pm-3.49.tar.gz) = 5a47fc4d989e68cb872b0220d8a2757afea411ce -Size (CGI.pm-3.49.tar.gz) = 241762 bytes +SHA1 (CGI.pm-3.54.tar.gz) = 6024cf9ac3d151ff7f4db0afa19c642f04c09dbc +RMD160 (CGI.pm-3.54.tar.gz) = 1b56886be2a22eebc797d3e658ba9efc4cc3367b +Size (CGI.pm-3.54.tar.gz) = 242967 bytes |