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' targetdiff -r1.43 -r1.44 pkgsrc/www/ap2-perl/Makefile
(adam)
@@ -1,31 +1,29 @@ | @@ -1,31 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.43 2013/05/31 12:42:30 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.44 2013/06/04 13:48:40 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= mod_perl-2.0.7 | 3 | DISTNAME= mod_perl-2.0.8 | |
4 | PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//} | 4 | PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= www perl5 | 5 | CATEGORIES= www perl5 | |
7 | MASTER_SITES= http://perl.apache.org/dist/ | 6 | MASTER_SITES= http://apache.org/dist/perl/ | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://perl.apache.org/ | 9 | HOMEPAGE= http://perl.apache.org/ | |
11 | COMMENT= Module that embeds a Perl interpreter into Apache | 10 | COMMENT= Module that embeds a Perl interpreter into Apache | |
12 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
13 | 12 | |||
14 | CONFLICTS= ap-perl-[0-9]* p5-Apache-Reload-[0-9]* p5-Apache-Test-[0-9]* | 13 | CONFLICTS= ap-perl-[0-9]* p5-Apache-Reload-[0-9]* p5-Apache-Test-[0-9]* | |
15 | 14 | |||
16 | PKG_APACHE_ACCEPTED= apache2 apache22 | 15 | PKG_APACHE_ACCEPTED= apache2 apache22 | |
17 | 16 | |||
18 | APACHE_MODULE= yes | 17 | APACHE_MODULE= yes | |
19 | PERL5_PACKLIST= auto/mod_perl2/.packlist | 18 | PERL5_PACKLIST= auto/mod_perl2/.packlist | |
20 | 19 | |||
21 | MAKE_PARAMS+= MP_APXS=${APXS} | 20 | MAKE_PARAMS+= MP_APXS=${APXS} | |
22 | 21 | |||
23 | MODPERLDOCSDIR= ${PREFIX}/share/doc/mod_perl | 22 | INSTALLATION_DIRS= ${PREFIX}/share/doc/mod_perl | |
24 | INSTALLATION_DIRS= ${MODPERLDOCSDIR} | |||
25 | 23 | |||
26 | post-install: | 24 | post-install: | |
27 | ${CP} -R ${WRKSRC}/docs/* ${DESTDIR}${MODPERLDOCSDIR} | 25 | ${CP} -R ${WRKSRC}/docs/* ${DESTDIR}${PREFIX}/share/doc/mod_perl | |
28 | 26 | |||
29 | .include "../../lang/perl5/module.mk" | 27 | .include "../../lang/perl5/module.mk" | |
30 | .include "../../mk/apache.mk" | 28 | .include "../../mk/apache.mk" | |
31 | .include "../../mk/bsd.pkg.mk" | 29 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.15 2012/10/05 09:29:40 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.16 2013/06/04 13:48:40 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (mod_perl-2.0.7.tar.gz) = 364143b2aef3c6dae69a8a2ea5d8ea2462882cd3 | 3 | SHA1 (mod_perl-2.0.8.tar.gz) = 165b1062f9680d1ccc92a88f1699797b6860c499 | |
4 | RMD160 (mod_perl-2.0.7.tar.gz) = 14505fd08f6915c8a260c9068608bde6ebcbac24 | 4 | RMD160 (mod_perl-2.0.8.tar.gz) = 5863f229c1fe982852f05bf5c1af5d28dae28b7f | |
5 | Size (mod_perl-2.0.7.tar.gz) = 3784950 bytes | 5 | Size (mod_perl-2.0.8.tar.gz) = 3790026 bytes |