From 4b005f66fb87258ea079fc6d97031d3ffcc5deb8 Mon Sep 17 00:00:00 2001 From: Christian Hartmann Date: Tue, 10 Apr 2007 11:47:57 +0000 Subject: [PATCH] Removed vulnerable versions; 1.27-r4 stays for mips only Package-Manager: portage-2.1.2.3 --- www-apache/mod_perl/ChangeLog | 6 +- www-apache/mod_perl/Manifest | 43 ++--- .../mod_perl/files/digest-mod_perl-1.29 | 3 - .../mod_perl/files/digest-mod_perl-2.0.2 | 3 - .../mod_perl/files/digest-mod_perl-2.0.3 | 3 - www-apache/mod_perl/mod_perl-1.27-r4.ebuild | 6 +- www-apache/mod_perl/mod_perl-1.29.ebuild | 71 -------- www-apache/mod_perl/mod_perl-2.0.2.ebuild | 154 ------------------ www-apache/mod_perl/mod_perl-2.0.3.ebuild | 152 ----------------- 9 files changed, 20 insertions(+), 421 deletions(-) delete mode 100644 www-apache/mod_perl/files/digest-mod_perl-1.29 delete mode 100644 www-apache/mod_perl/files/digest-mod_perl-2.0.2 delete mode 100644 www-apache/mod_perl/files/digest-mod_perl-2.0.3 delete mode 100644 www-apache/mod_perl/mod_perl-1.29.ebuild delete mode 100644 www-apache/mod_perl/mod_perl-2.0.2.ebuild delete mode 100644 www-apache/mod_perl/mod_perl-2.0.3.ebuild diff --git a/www-apache/mod_perl/ChangeLog b/www-apache/mod_perl/ChangeLog index 4ca2aa0d70b0..fce9edc98a0c 100644 --- a/www-apache/mod_perl/ChangeLog +++ b/www-apache/mod_perl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apache/mod_perl # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/ChangeLog,v 1.50 2007/04/10 11:13:35 yoswink Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/ChangeLog,v 1.51 2007/04/10 11:47:57 ian Exp $ + + 10 Apr 2007; Christian Hartmann mod_perl-1.27-r4.ebuild, + -mod_perl-1.29.ebuild, -mod_perl-2.0.2.ebuild, -mod_perl-2.0.3.ebuild: + Removed vulnerable versions; 1.27-r4 stays for mips only 10 Apr 2007; Jose Luis Rivero mod_perl-1.30.ebuild: Stable on alpha wrt security bug #172676 diff --git a/www-apache/mod_perl/Manifest b/www-apache/mod_perl/Manifest index 20b29fa8f678..10685c0e2d0a 100644 --- a/www-apache/mod_perl/Manifest +++ b/www-apache/mod_perl/Manifest @@ -2,6 +2,10 @@ AUX 1.29/75_mod_perl.conf 114 RMD160 bbeddcaee1631c2de9e52c68f605f23a420a0ea5 SH MD5 69c875b495ad39b70b13342cf7381ca4 files/1.29/75_mod_perl.conf 114 RMD160 bbeddcaee1631c2de9e52c68f605f23a420a0ea5 files/1.29/75_mod_perl.conf 114 SHA256 111e612b16d4823f380b4b0a249f1157bcedbcde4bdddf0b0fdcbad0c72fd8b4 files/1.29/75_mod_perl.conf 114 +AUX 1.30/75_mod_perl.conf 114 RMD160 bbeddcaee1631c2de9e52c68f605f23a420a0ea5 SHA1 2467ae69ef9d66cff2d3d5fc26737d7414e0966b SHA256 111e612b16d4823f380b4b0a249f1157bcedbcde4bdddf0b0fdcbad0c72fd8b4 +MD5 69c875b495ad39b70b13342cf7381ca4 files/1.30/75_mod_perl.conf 114 +RMD160 bbeddcaee1631c2de9e52c68f605f23a420a0ea5 files/1.30/75_mod_perl.conf 114 +SHA256 111e612b16d4823f380b4b0a249f1157bcedbcde4bdddf0b0fdcbad0c72fd8b4 files/1.30/75_mod_perl.conf 114 AUX 2.0.2/75_mod_perl.conf 1527 RMD160 004a033bff0767a6ac6bbca7a4e72b7aaf9c512b SHA1 932200f5ecbe5b509f3fc71d91a5ca227286115f SHA256 9a0daac395f370a2c1146db519f8ac9a99e716479a26c58ff794028f4660efd4 MD5 4dcf07748f65bc0682e4d739ec14535d files/2.0.2/75_mod_perl.conf 1527 RMD160 004a033bff0767a6ac6bbca7a4e72b7aaf9c512b files/2.0.2/75_mod_perl.conf 1527 @@ -35,38 +39,24 @@ MD5 0729531d2489b4ef91e247076f46ed1e files/mod_perl-2.0.1-sneak-tmpdir.patch 337 RMD160 56c6023dc46bb5531fa44730f52b68b8333155f0 files/mod_perl-2.0.1-sneak-tmpdir.patch 337 SHA256 1f319a15e3d12a349c46c0783c7ad840d81d01ed41adda55c47d4ac31595615d files/mod_perl-2.0.1-sneak-tmpdir.patch 337 DIST mod_perl-1.27.tar.gz 372525 RMD160 a727844f7e6805422f4aa4adad3302adbe4b197a SHA1 bae0fed5b6d252738ba779fbdd049e70e8485199 SHA256 6d13271432ece5a29ac184fb1430b682d822d6f491774f4af1d65df034781507 -DIST mod_perl-1.29.tar.gz 378877 RMD160 4a6eb2223f0bdedf1608bac2dbba543475fed42b SHA1 6cdc30b5bc6db26997a18da02570bd2822cdf956 SHA256 b401efaa105dd5f82d6e61f0efa372d4018db15e0748ca34a52d8daa209dea6b DIST mod_perl-1.30.tar.gz 389029 RMD160 f71613f2fc386e56e49c165123e8d2226f37e7fc SHA1 43e96a1a3656a2b0f9d7c5b0147a02309e0d75fb SHA256 af6e1380a9197750b2d443f02a7a0dba3586c3fc0c8269beaafef09159184a08 -DIST mod_perl-2.0.2.tar.gz 3692744 RMD160 8f58605283b78892e5e4fdac9d6da7d4e0b3b0b5 SHA1 aa2c8b24883d474a236c061a8d2c4eea621380d6 SHA256 64a3f54111c953c46ed7b1bafb4ebb034447ca6baba73a8657ad7a39ddeca906 DIST mod_perl-2.0.3.tar.gz 3714974 RMD160 29662a131c1bef6e4adc551d4467d12931a4d919 SHA1 e5d8b3cd7273c284cfbd79acb953ce179322bdc9 SHA256 df257f233ed6a5c9f8589d6e059563f816bf417f164fc3364a2a434de13045f2 -EBUILD mod_perl-1.27-r4.ebuild 1781 RMD160 61143725260672d46aa76a8930da52fedaaf779d SHA1 9e664a4efca01aaa25bd40ce0a8edcb86ab5ea45 SHA256 8d8008ba1fdd67459f2072ef09825351886071f644f2c1c3e0e08f87a6f2464e -MD5 c2fd4fe8201ab2452e399b0f620e376f mod_perl-1.27-r4.ebuild 1781 -RMD160 61143725260672d46aa76a8930da52fedaaf779d mod_perl-1.27-r4.ebuild 1781 -SHA256 8d8008ba1fdd67459f2072ef09825351886071f644f2c1c3e0e08f87a6f2464e mod_perl-1.27-r4.ebuild 1781 -EBUILD mod_perl-1.29.ebuild 1861 RMD160 44fb45f36f5985b8ba47e2e92ebe4f158f057999 SHA1 07c1312863cb28ea5e317cf14d0b0eb9430f128e SHA256 2586f50f626b1335da0a6758b12ddd533f4c6cf40df2f84e2bc55db076c92f9c -MD5 635a24f3e54965bd9f6a9f66234f9f49 mod_perl-1.29.ebuild 1861 -RMD160 44fb45f36f5985b8ba47e2e92ebe4f158f057999 mod_perl-1.29.ebuild 1861 -SHA256 2586f50f626b1335da0a6758b12ddd533f4c6cf40df2f84e2bc55db076c92f9c mod_perl-1.29.ebuild 1861 +EBUILD mod_perl-1.27-r4.ebuild 1748 RMD160 25f918a13d1cb355c98798866ae26371c62851cf SHA1 e0a587b1b712cc7a2695d3aab369455d7528768e SHA256 3b5b9f215954c4e5f0a4c64978afbcc155e285aa3b1d1ffbb8267c200cc14800 +MD5 da2835b3aca4a5a6a4e9110ae545e5fe mod_perl-1.27-r4.ebuild 1748 +RMD160 25f918a13d1cb355c98798866ae26371c62851cf mod_perl-1.27-r4.ebuild 1748 +SHA256 3b5b9f215954c4e5f0a4c64978afbcc155e285aa3b1d1ffbb8267c200cc14800 mod_perl-1.27-r4.ebuild 1748 EBUILD mod_perl-1.30.ebuild 1862 RMD160 41702d32b57825981985ed817e91a4fdec262720 SHA1 afa12b2dc512ae725cbf953a81de9e1ea8a43264 SHA256 b584bac009a05de73eaaa70ab712613e94a81073a84ef3f1ff45b36e5cbf8305 MD5 fed847c629f46713ad67f63b39798c92 mod_perl-1.30.ebuild 1862 RMD160 41702d32b57825981985ed817e91a4fdec262720 mod_perl-1.30.ebuild 1862 SHA256 b584bac009a05de73eaaa70ab712613e94a81073a84ef3f1ff45b36e5cbf8305 mod_perl-1.30.ebuild 1862 -EBUILD mod_perl-2.0.2.ebuild 5282 RMD160 70d2f21d19b6497b027e0c936a89417da09e0418 SHA1 355d8764b2f75b18bd151bf2665fecce63258713 SHA256 2abb0d2c94d71481ab50da7d07d22047522e31065e4eac36a7b5e92c09c399eb -MD5 e6627efdd23655e130a716a874fbc52b mod_perl-2.0.2.ebuild 5282 -RMD160 70d2f21d19b6497b027e0c936a89417da09e0418 mod_perl-2.0.2.ebuild 5282 -SHA256 2abb0d2c94d71481ab50da7d07d22047522e31065e4eac36a7b5e92c09c399eb mod_perl-2.0.2.ebuild 5282 EBUILD mod_perl-2.0.3-r1.ebuild 5300 RMD160 8a211a19e7c41887bb7bb5b8e2d372a0216947e7 SHA1 a9bb8500a52aceda0406e42325a3ac027a7e2a22 SHA256 17b98c2147fdb484557b671b689f84ad58b8ca39152a6a4d8132195b912d5260 MD5 2690ddaa4aadc6a313d34740b0519931 mod_perl-2.0.3-r1.ebuild 5300 RMD160 8a211a19e7c41887bb7bb5b8e2d372a0216947e7 mod_perl-2.0.3-r1.ebuild 5300 SHA256 17b98c2147fdb484557b671b689f84ad58b8ca39152a6a4d8132195b912d5260 mod_perl-2.0.3-r1.ebuild 5300 -EBUILD mod_perl-2.0.3.ebuild 5245 RMD160 26a66b54e3e472a9812d427ceaba5fe6aba69557 SHA1 820e26107f2ebfd5919fb74e3c18516c7c2fa89d SHA256 3e58626652473a55414a37804fcc904d4b7cf3e8b4ae2790c50be654e750e25e -MD5 0595a729636dd8ce58715ffc935a606e mod_perl-2.0.3.ebuild 5245 -RMD160 26a66b54e3e472a9812d427ceaba5fe6aba69557 mod_perl-2.0.3.ebuild 5245 -SHA256 3e58626652473a55414a37804fcc904d4b7cf3e8b4ae2790c50be654e750e25e mod_perl-2.0.3.ebuild 5245 -MISC ChangeLog 16922 RMD160 8c1b312feb41ccb6120442df9d19dfcd2638b33c SHA1 0f48420a4b6d696feac1bac89cddfae9799289ea SHA256 191f70bbb670780a753886574d5846eeafd502a84e3bbc57e59f88d9a8b0b89c -MD5 934e2ff580fcde389e333828ff52e218 ChangeLog 16922 -RMD160 8c1b312feb41ccb6120442df9d19dfcd2638b33c ChangeLog 16922 -SHA256 191f70bbb670780a753886574d5846eeafd502a84e3bbc57e59f88d9a8b0b89c ChangeLog 16922 +MISC ChangeLog 17127 RMD160 cc797873cc8d47198543bfe3b04a805463390d38 SHA1 257ff7ba3ad5d323045b3689fc5b77206af96147 SHA256 c0a76ec2701e86945471c6a2a23b21b63b68b11ebca161a469f9f6b7ccc45b45 +MD5 701d6143d272a0c74d70c224c4d9431e ChangeLog 17127 +RMD160 cc797873cc8d47198543bfe3b04a805463390d38 ChangeLog 17127 +SHA256 c0a76ec2701e86945471c6a2a23b21b63b68b11ebca161a469f9f6b7ccc45b45 ChangeLog 17127 MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305 @@ -74,18 +64,9 @@ SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca metadata MD5 a0aad98b596791c235cc5ea6703b3f51 files/digest-mod_perl-1.27-r4 241 RMD160 f02c61c2d8a0a7691f2337869e5f87925a2300ce files/digest-mod_perl-1.27-r4 241 SHA256 afb76867511553b26c685069b8dbc11b285c11331649e64273c40ccb94988513 files/digest-mod_perl-1.27-r4 241 -MD5 e8f66ca5678d1d38b68160d0dc2a52fe files/digest-mod_perl-1.29 241 -RMD160 550d7847a129bbec6d48f26e46e5a7158e633926 files/digest-mod_perl-1.29 241 -SHA256 4387286e9fbf493722f7993026afdeefcffbc521034e3ca0d46beea2338e33d9 files/digest-mod_perl-1.29 241 MD5 d7562e1ddf44b8a7d3af7618bb688973 files/digest-mod_perl-1.30 241 RMD160 7d6642f175876552110a277824d7357a4863ae1c files/digest-mod_perl-1.30 241 SHA256 6677f68615aafc0999323fc5e8b28a1ebc890aaafb48aeae5afdfb741c6d9986 files/digest-mod_perl-1.30 241 -MD5 1d8a4a065f61782d1d7a6391572f7a2a files/digest-mod_perl-2.0.2 247 -RMD160 bfb99bae5e4de09562fc79d164a55e9f799f0630 files/digest-mod_perl-2.0.2 247 -SHA256 2891e5a85d9566e61ea1eef0f49ed3a867b67b9159f14792e6ca0a63e64ee585 files/digest-mod_perl-2.0.2 247 -MD5 2cee3dc20b5fa45bf9b68d7c1d48ea0a files/digest-mod_perl-2.0.3 247 -RMD160 67aa385d26608262c1984a6d0e1049aad6100fa7 files/digest-mod_perl-2.0.3 247 -SHA256 8fa24b53fca491ae5c32d3ca402e74417c2d1cb21be10cbd73319ca869b154ba files/digest-mod_perl-2.0.3 247 MD5 2cee3dc20b5fa45bf9b68d7c1d48ea0a files/digest-mod_perl-2.0.3-r1 247 RMD160 67aa385d26608262c1984a6d0e1049aad6100fa7 files/digest-mod_perl-2.0.3-r1 247 SHA256 8fa24b53fca491ae5c32d3ca402e74417c2d1cb21be10cbd73319ca869b154ba files/digest-mod_perl-2.0.3-r1 247 diff --git a/www-apache/mod_perl/files/digest-mod_perl-1.29 b/www-apache/mod_perl/files/digest-mod_perl-1.29 deleted file mode 100644 index 222a0e82e312..000000000000 --- a/www-apache/mod_perl/files/digest-mod_perl-1.29 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 1491931790509b9af06fc037d02b0e7a mod_perl-1.29.tar.gz 378877 -RMD160 4a6eb2223f0bdedf1608bac2dbba543475fed42b mod_perl-1.29.tar.gz 378877 -SHA256 b401efaa105dd5f82d6e61f0efa372d4018db15e0748ca34a52d8daa209dea6b mod_perl-1.29.tar.gz 378877 diff --git a/www-apache/mod_perl/files/digest-mod_perl-2.0.2 b/www-apache/mod_perl/files/digest-mod_perl-2.0.2 deleted file mode 100644 index 42a620656e5b..000000000000 --- a/www-apache/mod_perl/files/digest-mod_perl-2.0.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 ad0a509fd34e3b8452887d80a1d45dea mod_perl-2.0.2.tar.gz 3692744 -RMD160 8f58605283b78892e5e4fdac9d6da7d4e0b3b0b5 mod_perl-2.0.2.tar.gz 3692744 -SHA256 64a3f54111c953c46ed7b1bafb4ebb034447ca6baba73a8657ad7a39ddeca906 mod_perl-2.0.2.tar.gz 3692744 diff --git a/www-apache/mod_perl/files/digest-mod_perl-2.0.3 b/www-apache/mod_perl/files/digest-mod_perl-2.0.3 deleted file mode 100644 index 3678f6181c60..000000000000 --- a/www-apache/mod_perl/files/digest-mod_perl-2.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b40e2adf67c6be15a0041af1c67b6997 mod_perl-2.0.3.tar.gz 3714974 -RMD160 29662a131c1bef6e4adc551d4467d12931a4d919 mod_perl-2.0.3.tar.gz 3714974 -SHA256 df257f233ed6a5c9f8589d6e059563f816bf417f164fc3364a2a434de13045f2 mod_perl-2.0.3.tar.gz 3714974 diff --git a/www-apache/mod_perl/mod_perl-1.27-r4.ebuild b/www-apache/mod_perl/mod_perl-1.27-r4.ebuild index 905f79898b8b..a4b8a1298789 100644 --- a/www-apache/mod_perl/mod_perl-1.27-r4.ebuild +++ b/www-apache/mod_perl/mod_perl-1.27-r4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/mod_perl-1.27-r4.ebuild,v 1.3 2006/10/16 02:07:39 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/mod_perl-1.27-r4.ebuild,v 1.4 2007/04/10 11:47:57 ian Exp $ inherit eutils @@ -10,7 +10,7 @@ HOMEPAGE="http://perl.apache.org" SLOT="0" LICENSE="Apache-1.1 as-is" -KEYWORDS="~alpha amd64 ~mips ppc sparc x86" +KEYWORDS="~mips" DEPEND="dev-lang/perl dev-perl/libwww-perl =net-www/apache-1*" diff --git a/www-apache/mod_perl/mod_perl-1.29.ebuild b/www-apache/mod_perl/mod_perl-1.29.ebuild deleted file mode 100644 index 1fec4cedc409..000000000000 --- a/www-apache/mod_perl/mod_perl-1.29.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/mod_perl-1.29.ebuild,v 1.7 2007/01/16 06:09:19 josejx Exp $ - -inherit eutils apache-module - -DESCRIPTION="A Perl Module for Apache" -SRC_URI="http://perl.apache.org/dist/${P}.tar.gz" -HOMEPAGE="http://perl.apache.org" - -SLOT="0" -LICENSE="Apache-1.1 as-is" -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" - -DEPEND="dev-lang/perl dev-perl/libwww-perl" -RDEPEND="${DEPEND}" - -APACHE1_MOD_DEFINE="PERL" -APACHE1_MOD_CONF="${PV}/75_mod_perl" -APACHE1_MOD_FILE="${S}/apaci/libperl.so" - -IUSE="" - -need_apache1 - -src_unpack() { - unpack ${A} - - cd ${S} - for f in "apaci/mod_perl.config.sh" "apaci/libperl.module" - do - echo "tail -1 fix in ${f}" - sed -i -e "s/tail -1/tail -n1/" ${f} - done -} - -src_compile() { - perl Makefile.PL USE_APXS=1 \ - INSTALLDIRS=vendor \ - WITH_APXS=${APXS1} EVERYTHING=1 PERL_DEBUG=1 - - cp Makefile Makefile.orig - sed -e "s:apxs_install doc_install:doc_install:" Makefile.orig > Makefile - emake -j1 || die -} - -src_install () { - eval `perl '-V:installvendorarch'` - eval `perl '-V:installvendorlib'` - - make \ - PREFIX=${D}/usr \ - INSTALLVENDORARCH=${D}/${installvendorarch} \ - INSTALLVENDORLIB=${D}/${installvendorlib} \ - INSTALLVENDORMAN1DIR=${D}/usr/share/man/man1 \ - INSTALLVENDORMAN3DIR=${D}/usr/share/man/man3 \ - pure_vendor_install || die - - dodoc Changes CREDITS MANIFEST README SUPPORT ToDo - dohtml -r ./ - # The following kludge is from the perl-module eclass to correct - # the packlist file. packlist is used by other apps to determine - # where to find parts of mod-perl - for FILE in `find ${D} -type f -name "*.html" -o -name ".packlist"`; do - sed -i -e "s:${D}:/:g" ${FILE} - done - - apache-module_src_install - - fperms 600 ${APACHE1_MODULES_CONFDIR}/$(basename ${APACHE1_MOD_CONF}) -} diff --git a/www-apache/mod_perl/mod_perl-2.0.2.ebuild b/www-apache/mod_perl/mod_perl-2.0.2.ebuild deleted file mode 100644 index a7043a47ef6b..000000000000 --- a/www-apache/mod_perl/mod_perl-2.0.2.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/mod_perl-2.0.2.ebuild,v 1.11 2007/02/23 14:19:22 mcummings Exp $ - -inherit apache-module perl-module eutils multilib -DESCRIPTION="An embedded Perl interpreter for Apache2" -SRC_URI="mirror://cpan/authors/id/P/PG/PGOLLUCCI/${P}.tar.gz" -HOMEPAGE="http://perl.apache.org/" - -LICENSE="GPL-2" -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" -IUSE="" -SLOT="1" - -# see bug 30087 for why sudo is in here -DEPEND=">=dev-perl/Apache-Test-1.27 - >=virtual/perl-CGI-3.08 - >=dev-perl/Compress-Zlib-1.09 - app-admin/sudo" -RDEPEND="${DEPEND}" - -APACHE2_MOD_CONF="75_${PN}.conf apache2-mod_perl-startup.pl" -DOCFILES="Changes INSTALL LICENSE README STATUS" -APACHE2_MOD_DEFINE="PERL" - -need_apache2 - -src_unpack() { - INSTALLED_MPM="$(/usr/sbin/apxs2 -q MPM_NAME)" - eval `perl '-V:useithreads'` - ITHREADS="${useithreads}" - if [ "${INSTALLED_MPM}" != "prefork" ]; then - if [ "${ITHREADS}" == "undef" ]; then - ewarn "You cannot build mod_perl on a threaded apache" - ewarn "with an unthreaded perl. You must either emerge" - ewarn "perl with ithreads in your USE flags, or emerge" - ewarn "apache without threading support" - exit - fi - fi - - unpack ${A} - - cd ${S} - - # I am not entirely happy with this solution, but here's what's - # going on here if someone wants to take a stab at another - # approach. When userpriv compilation is off, then the make - # process drops to user "nobody" to run the test servers. This - # server is closed, and then the socket is rebound using - # SO_REUSEADDR. If the same user does this, there is no problem, - # and the socket may be rebound immediately. If a different user - # (yes, in my testing, even root) attempts to rebind, it fails. - # Since the "is the socket available yet" code and the - # second-batch bind call both run as root, this will fail. - - # The upstream settings on my test machine cause the second batch - # of tests to fail, believing the socket to still be in use. I - # tried patching various parts to make them run as the user - # specified in $config->{vars}{user} using getpwnam, but found - # this patch to be fairly intrusive, because the userid must be - # restored and the patch must be applied to multiple places. - - # For now, we will simply extend the timeout in hopes that in the - # non-userpriv case, the socket will clear from the kernel tables - # normally, and the tests will proceed. - - # If anybody is still having problems, then commenting out "make - # test" below should allow the software to build properly. - - # Robert Coie 2003.05.06 - - sed -i -e "s/sleep \$_/sleep \$_ << 2/" ${S}/Apache-Test/lib/Apache/TestServer.pm || die "problem editing TestServer.pm" - - # i wonder if this is the same sandbox issue, but TMPDIR is not - # getting through via SetEnv. sneak it through here. - - # rendhalver - this got redone for 2.0.1 and seems to fix the make test problems - epatch ${FILESDIR}/mod_perl-2.0.1-sneak-tmpdir.patch -} - -src_compile() { - perl Makefile.PL \ - PREFIX=${D}/usr \ - MP_TRACE=1 \ - MP_DEBUG=1 \ - MP_USE_DSO=1 \ - MP_APXS=/usr/sbin/apxs2 \ - CCFLAGS="${CFLAGS} -fPIC" \ - TMPDIR=${T} \ - INSTALLDIRS=vendor {vars}{user} using getpwnam, but found - # this patch to be fairly intrusive, because the userid must be - # restored and the patch must be applied to multiple places. - - # For now, we will simply extend the timeout in hopes that in the - # non-userpriv case, the socket will clear from the kernel tables - # normally, and the tests will proceed. - - # If anybody is still having problems, then commenting out "make - # test" below should allow the software to build properly. - - # Robert Coie 2003.05.06 - - sed -i -e "s/sleep \$_/sleep \$_ << 2/" ${S}/Apache-Test/lib/Apache/TestServer.pm || die "problem editing TestServer.pm" - - # i wonder if this is the same sandbox issue, but TMPDIR is not - # getting through via SetEnv. sneak it through here. - - # rendhalver - this got redone for 2.0.1 and seems to fix the make test problems - epatch ${FILESDIR}/mod_perl-2.0.1-sneak-tmpdir.patch -} - -src_compile() { - perl Makefile.PL \ - PREFIX=${D}/usr \ - MP_TRACE=1 \ - MP_DEBUG=1 \ - MP_USE_DSO=1 \ - MP_APXS=/usr/sbin/apxs2 \ - INSTALLDIRS=vendor