summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2011-09-08 19:49:45 +0000
committerwiz <wiz>2011-09-08 19:49:45 +0000
commitb713b33e46ad5b7619cdfb0ecc15035dbc77463f (patch)
treeaec8b2dbce576b6908292195059bb6e71b2b1d2c
parent52dc3616cd97583e9f70683e3c3207a8107ccd79 (diff)
downloadpkgsrc-b713b33e46ad5b7619cdfb0ecc15035dbc77463f.tar.gz
Update to 1.113 based on a patch by Stephan Tesch.
1.113 2010-12-27 - (thanks to Yamada Masahiro) randomise multipart boundary string (security). - Numerous changes from Mark Stosberg: Port max-age support from CGI.pm, to improve compatibility and RFC-compliance Correct header comment in cookie.t It claims that is a simple copy/paste/modify from CGI.pm's test by the same name, but this has not been true for some time-- CGI::Simple added httponly tests that CGI.pm lacks, for example. Sync cookie references with CGI.pm: add reference to the newer RFC 2695 "Interface to browse cookies" looks like it was typo for "browser". HTTP is more precise. Fix awkward "CGI::Simple.pm" language. It looks like it probably originated from the CGI.pm form. "CGI::Simple" is used instead. Best Practice: eliminate indirect object notation from new(), parse() and fetch() calls Security: Fix handling of embedded malicious newlines in header values This is a direct port of the same security fix that Security: use a random MIME boundary by default in multipart_init(). This is a direct port of the same issue which was addressed in CGI.pm, preventing some kinds of potential header injection attacks. Port from CGI.pm: Fix multi-line header parsing. This fix is covered by the tests in t/header.t added in the previous patch. If you run those tests without this patch, you'll see how the headers would be malformed without this fix. Port CRLF injection prevention from CGI.pm Optimize Vars(): Don't build %hash if we aren't going to use it. Micro-optimization to Vars(): Don't call "tie" unless we need to. - Numerous changes from K. Berov: Added "+" to the mime character class. Added tests for C<$mime = $q->upload_info( $filename, 'mime' );> Fixed wrong match for mimetypes. Example: matched only 'application/vnd' instead of 'application/vnd.ms-excel'. Added "\." to the mime character class
-rw-r--r--www/p5-CGI-Simple/Makefile7
-rw-r--r--www/p5-CGI-Simple/distinfo8
2 files changed, 8 insertions, 7 deletions
diff --git a/www/p5-CGI-Simple/Makefile b/www/p5-CGI-Simple/Makefile
index 1518b860e9e..ed8b41237ed 100644
--- a/www/p5-CGI-Simple/Makefile
+++ b/www/p5-CGI-Simple/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2011/08/14 16:05:46 obache Exp $
+# $NetBSD: Makefile,v 1.8 2011/09/08 19:49:45 wiz Exp $
-DISTNAME= CGI-Simple-1.112
+DISTNAME= CGI-Simple-1.113
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 2
SVR4_PKGNAME= p5cgs
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
@@ -12,6 +11,8 @@ HOMEPAGE= http://search.cpan.org/dist/CGI-Simple/
COMMENT= Simple totally OO CGI interface that is CGI.pm compliant
LICENSE= ${PERL5_LICENSE}
+DEPENDS+= p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
+
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/CGI/Simple/.packlist
PERL5_MODULE_TYPE= Module::Build
diff --git a/www/p5-CGI-Simple/distinfo b/www/p5-CGI-Simple/distinfo
index 508436e1e88..dd2910d85d5 100644
--- a/www/p5-CGI-Simple/distinfo
+++ b/www/p5-CGI-Simple/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2009/06/12 07:45:56 sno Exp $
+$NetBSD: distinfo,v 1.5 2011/09/08 19:49:45 wiz Exp $
-SHA1 (CGI-Simple-1.112.tar.gz) = 9899a4efcd8d6f5ee31448297db47c8515000281
-RMD160 (CGI-Simple-1.112.tar.gz) = f61baca2afbc900bb42aca438d4deeb514de5bac
-Size (CGI-Simple-1.112.tar.gz) = 100173 bytes
+SHA1 (CGI-Simple-1.113.tar.gz) = 8540a0a5fcb044425b04c7c2bf2a5585f78782b6
+RMD160 (CGI-Simple-1.113.tar.gz) = 37867a79abc0f4aa319dcaf5f7d1577cd32c48b5
+Size (CGI-Simple-1.113.tar.gz) = 103884 bytes