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
This commit is contained in:
adam 2013-06-04 13:48:40 +00:00
parent 37536f36b8
commit 7990af24b1
2 changed files with 9 additions and 11 deletions

View file

@ -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"

View file

@ -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