bda38b5f89
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
29 lines
787 B
Makefile
29 lines
787 B
Makefile
# $NetBSD: Makefile,v 1.44 2013/06/04 13:48:40 adam Exp $
|
|
|
|
DISTNAME= mod_perl-2.0.8
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= http://apache.org/dist/perl/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://perl.apache.org/
|
|
COMMENT= Module that embeds a Perl interpreter into Apache
|
|
LICENSE= apache-2.0
|
|
|
|
CONFLICTS= ap-perl-[0-9]* p5-Apache-Reload-[0-9]* p5-Apache-Test-[0-9]*
|
|
|
|
PKG_APACHE_ACCEPTED= apache2 apache22
|
|
|
|
APACHE_MODULE= yes
|
|
PERL5_PACKLIST= auto/mod_perl2/.packlist
|
|
|
|
MAKE_PARAMS+= MP_APXS=${APXS}
|
|
|
|
INSTALLATION_DIRS= ${PREFIX}/share/doc/mod_perl
|
|
|
|
post-install:
|
|
${CP} -R ${WRKSRC}/docs/* ${DESTDIR}${PREFIX}/share/doc/mod_perl
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/apache.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|