Tue Jun 4 13:48:40 2013 UTC ()
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


(adam)
diff -r1.43 -r1.44 pkgsrc/www/ap2-perl/Makefile
diff -r1.15 -r1.16 pkgsrc/www/ap2-perl/distinfo

cvs diff -r1.43 -r1.44 pkgsrc/www/ap2-perl/Makefile (expand / switch to unified diff)

--- pkgsrc/www/ap2-perl/Makefile 2013/05/31 12:42:30 1.43
+++ pkgsrc/www/ap2-perl/Makefile 2013/06/04 13:48:40 1.44
@@ -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
3DISTNAME= mod_perl-2.0.7 3DISTNAME= mod_perl-2.0.8
4PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//} 4PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
5PKGREVISION= 1 
6CATEGORIES= www perl5 5CATEGORIES= www perl5
7MASTER_SITES= http://perl.apache.org/dist/ 6MASTER_SITES= http://apache.org/dist/perl/
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://perl.apache.org/ 9HOMEPAGE= http://perl.apache.org/
11COMMENT= Module that embeds a Perl interpreter into Apache 10COMMENT= Module that embeds a Perl interpreter into Apache
12LICENSE= apache-2.0 11LICENSE= apache-2.0
13 12
14CONFLICTS= ap-perl-[0-9]* p5-Apache-Reload-[0-9]* p5-Apache-Test-[0-9]* 13CONFLICTS= ap-perl-[0-9]* p5-Apache-Reload-[0-9]* p5-Apache-Test-[0-9]*
15 14
16PKG_APACHE_ACCEPTED= apache2 apache22 15PKG_APACHE_ACCEPTED= apache2 apache22
17 16
18APACHE_MODULE= yes 17APACHE_MODULE= yes
19PERL5_PACKLIST= auto/mod_perl2/.packlist 18PERL5_PACKLIST= auto/mod_perl2/.packlist
20 19
21MAKE_PARAMS+= MP_APXS=${APXS} 20MAKE_PARAMS+= MP_APXS=${APXS}
22 21
23MODPERLDOCSDIR= ${PREFIX}/share/doc/mod_perl 22INSTALLATION_DIRS= ${PREFIX}/share/doc/mod_perl
24INSTALLATION_DIRS= ${MODPERLDOCSDIR} 
25 23
26post-install: 24post-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"

cvs diff -r1.15 -r1.16 pkgsrc/www/ap2-perl/distinfo (expand / switch to unified diff)

--- pkgsrc/www/ap2-perl/distinfo 2012/10/05 09:29:40 1.15
+++ pkgsrc/www/ap2-perl/distinfo 2013/06/04 13:48:40 1.16
@@ -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
3SHA1 (mod_perl-2.0.7.tar.gz) = 364143b2aef3c6dae69a8a2ea5d8ea2462882cd3 3SHA1 (mod_perl-2.0.8.tar.gz) = 165b1062f9680d1ccc92a88f1699797b6860c499
4RMD160 (mod_perl-2.0.7.tar.gz) = 14505fd08f6915c8a260c9068608bde6ebcbac24 4RMD160 (mod_perl-2.0.8.tar.gz) = 5863f229c1fe982852f05bf5c1af5d28dae28b7f
5Size (mod_perl-2.0.7.tar.gz) = 3784950 bytes 5Size (mod_perl-2.0.8.tar.gz) = 3790026 bytes