summaryrefslogtreecommitdiff
path: root/www/ap2-perl
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-06-04 13:48:40 +0000
committeradam <adam@pkgsrc.org>2013-06-04 13:48:40 +0000
commit7990af24b18ce46115b2d08d933897f5f70f1161 (patch)
tree391c59ab40acf4f8df8a41850dcf63a7b75a7c4d /www/ap2-perl
parent37536f36b8a028a716a1e4b96949aaec836faa41 (diff)
downloadpkgsrc-7990af24b18ce46115b2d08d933897f5f70f1161.tar.gz
Changes 2.0.8:
Perl 5.16.3's fix for a rehash-based DoS makes it more difficult to invoke the workaround for the old hash collision attack, which breaks mod_perl's t/perl/hash_attack.t. Patch from rt.cpan.org 83916 improves the fix previously applied as revision 1455340. On Perl 5.17.6 and above, hash seeding has changed, and HvREHASH has disappeared. Patch to update mod_perl accordingly from rt.cpan.org 83921. Restore build with Perl 5.8.1, 5.8.2 etc: take care to use $Config{useithreads} rather than $Config{usethreads}, and supply definitions of Newx and Newxz as necessary. On Perl 5.17.9, t/apache/read2.t fails because an "uninitialized value" warning is generated for the buffer being autovivified. This is because the sv_setpvn() that's meant to vivify the buffer doesn't perform set magic; the warning is generated by the immediately following SvPV_force(). Patch to fix this from rt.cpan.org 83922. Fix t/perl/hash_attack.t to work with Perl 5.14.4, 5.16.3 etc, which contain a fix for CVE-2013-1667 (memory exhaustion with arbitrary hash keys). This resolves rt.perl.org 116863, from where the patch was taken. use APR::Finfo instead of Perl's stat() in ModPerl::RegistryCooker to generate HTTP code 404 even if the requested filename contains newlines Remove all uses of deprecated core perl symbols. Add branch release tag to 'make tag' target
Diffstat (limited to 'www/ap2-perl')
-rw-r--r--www/ap2-perl/Makefile12
-rw-r--r--www/ap2-perl/distinfo8
2 files changed, 9 insertions, 11 deletions
diff --git a/www/ap2-perl/Makefile b/www/ap2-perl/Makefile
index 2f0831021e7..295faee9b3d 100644
--- a/www/ap2-perl/Makefile
+++ b/www/ap2-perl/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.43 2013/05/31 12:42:30 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2013/06/04 13:48:40 adam Exp $
-DISTNAME= mod_perl-2.0.7
+DISTNAME= mod_perl-2.0.8
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
-PKGREVISION= 1
CATEGORIES= www perl5
-MASTER_SITES= http://perl.apache.org/dist/
+MASTER_SITES= http://apache.org/dist/perl/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://perl.apache.org/
@@ -20,11 +19,10 @@ PERL5_PACKLIST= auto/mod_perl2/.packlist
MAKE_PARAMS+= MP_APXS=${APXS}
-MODPERLDOCSDIR= ${PREFIX}/share/doc/mod_perl
-INSTALLATION_DIRS= ${MODPERLDOCSDIR}
+INSTALLATION_DIRS= ${PREFIX}/share/doc/mod_perl
post-install:
- ${CP} -R ${WRKSRC}/docs/* ${DESTDIR}${MODPERLDOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/* ${DESTDIR}${PREFIX}/share/doc/mod_perl
.include "../../lang/perl5/module.mk"
.include "../../mk/apache.mk"
diff --git a/www/ap2-perl/distinfo b/www/ap2-perl/distinfo
index 4e61a477890..b1f1ae0b84a 100644
--- a/www/ap2-perl/distinfo
+++ b/www/ap2-perl/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2012/10/05 09:29:40 wiz Exp $
+$NetBSD: distinfo,v 1.16 2013/06/04 13:48:40 adam Exp $
-SHA1 (mod_perl-2.0.7.tar.gz) = 364143b2aef3c6dae69a8a2ea5d8ea2462882cd3
-RMD160 (mod_perl-2.0.7.tar.gz) = 14505fd08f6915c8a260c9068608bde6ebcbac24
-Size (mod_perl-2.0.7.tar.gz) = 3784950 bytes
+SHA1 (mod_perl-2.0.8.tar.gz) = 165b1062f9680d1ccc92a88f1699797b6860c499
+RMD160 (mod_perl-2.0.8.tar.gz) = 5863f229c1fe982852f05bf5c1af5d28dae28b7f
+Size (mod_perl-2.0.8.tar.gz) = 3790026 bytes