svn commit: r316159 - head/www/mod_perl2
Olli Hauer
ohauer at FreeBSD.org
Sat Apr 20 16:29:57 UTC 2013
Author: ohauer
Date: Sat Apr 20 16:29:57 2013
New Revision: 316159
URL: http://svnweb.freebsd.org/changeset/ports/316159
Log:
- update to 2.0.8
2.0.8 April 17, 2013
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. [Zefram]
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.
[Zefram]
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. [Steve Hay]
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. [Zefram]
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.
[Hugo van der Sanden]
use APR::Finfo instead of Perl's stat() in ModPerl::RegistryCooker to
generate HTTP code 404 even if the requested filename contains newlines
[Torsten]
Remove all uses of deprecated core perl symbols. [Steve Hay]
Feature safe: yes
with hat apache@
Modified:
head/www/mod_perl2/Makefile
head/www/mod_perl2/distinfo
Modified: head/www/mod_perl2/Makefile
==============================================================================
--- head/www/mod_perl2/Makefile Sat Apr 20 16:19:40 2013 (r316158)
+++ head/www/mod_perl2/Makefile Sat Apr 20 16:29:57 2013 (r316159)
@@ -1,13 +1,8 @@
-# New ports collection makefile for: mod_perl2
-# Date created: February 13th 2003
-# Whom: Lars Eggert <larse at isi.edu>
-#
+# Created by: Lars Eggert <larse at isi.edu>
# $FreeBSD$
-#
PORTNAME= mod_perl
-PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTVERSION= 2.0.8
PORTEPOCH= 3
CATEGORIES= www perl5
MASTER_SITES= APACHE/perl
@@ -96,6 +91,9 @@ PLIST_SUB+= THREADRWLOCK="@comment "
post-patch:
${REINPLACE_CMD} -e 's/APR_INLINE//g' \
${PATCH_WRKSRC}/src/modules/perl/modperl_common_util.h
+ ${REINPLACE_CMD} -e "s|/usr/local/apache/bin/apxs|${APXS}|" \
+ -e "s|'bin', 'apxs'|'sbin', 'apxs'|" \
+ ${WRKSRC}/lib/Apache2/Build.pm
post-configure:
${REINPLACE_CMD} -e 's/-pthread -Wl,-E//g' \
@@ -114,4 +112,7 @@ post-install:
${APXS} -e -A -n perl ${PREFIX}/${APACHEMODDIR}/mod_perl.so
@${CAT} ${PKGMESSAGE}
+test: build
+ -@(cd ${WRKSRC} && ${MAKE} test)
+
.include <bsd.port.post.mk>
Modified: head/www/mod_perl2/distinfo
==============================================================================
--- head/www/mod_perl2/distinfo Sat Apr 20 16:19:40 2013 (r316158)
+++ head/www/mod_perl2/distinfo Sat Apr 20 16:29:57 2013 (r316159)
@@ -1,2 +1,2 @@
-SHA256 (mod_perl-2.0.7.tar.gz) = 53414be9db843054b927f23a35edb7b82d99e32e031b3cd81d5ff2473f51e3c6
-SIZE (mod_perl-2.0.7.tar.gz) = 3784950
+SHA256 (mod_perl-2.0.8.tar.gz) = 35dc1b7a40a90a395ce88bba2df84f22289975f34d1757de6d715560c20a20e6
+SIZE (mod_perl-2.0.8.tar.gz) = 3790026
More information about the svn-ports-all
mailing list