From b7a75ffc5003a5749603a073aa75a7a88e171f55 Mon Sep 17 00:00:00 2001 From: Luca Longinotti Date: Thu, 25 Jan 2007 20:16:42 +0000 Subject: [PATCH] Initial parts of cleanup. Package-Manager: portage-2.1.2-r4 --- www-apache/mod_perl/ChangeLog | 9 +- www-apache/mod_perl/Manifest | 39 +---- .../mod_perl/files/2.0.1/75_mod_perl.conf | 56 ------- .../files/2.0.1/apache2-mod_perl-startup.pl | 24 --- .../mod_perl/files/digest-mod_perl-2.0.1-r2 | 3 - .../mod_perl/files/digest-mod_perl-2.0.1-r3 | 3 - .../files/mod_perl-1.99.16-sneak-tmpdir.patch | 11 -- .../files/mod_perl-1.99.17-Apache2.pm | 48 ------ www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild | 155 ------------------ www-apache/mod_perl/mod_perl-2.0.1-r3.ebuild | 155 ------------------ 10 files changed, 12 insertions(+), 491 deletions(-) delete mode 100644 www-apache/mod_perl/files/2.0.1/75_mod_perl.conf delete mode 100644 www-apache/mod_perl/files/2.0.1/apache2-mod_perl-startup.pl delete mode 100644 www-apache/mod_perl/files/digest-mod_perl-2.0.1-r2 delete mode 100644 www-apache/mod_perl/files/digest-mod_perl-2.0.1-r3 delete mode 100644 www-apache/mod_perl/files/mod_perl-1.99.16-sneak-tmpdir.patch delete mode 100644 www-apache/mod_perl/files/mod_perl-1.99.17-Apache2.pm delete mode 100644 www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild delete mode 100644 www-apache/mod_perl/mod_perl-2.0.1-r3.ebuild diff --git a/www-apache/mod_perl/ChangeLog b/www-apache/mod_perl/ChangeLog index 69bc70aee88c..823d9531bd74 100644 --- a/www-apache/mod_perl/ChangeLog +++ b/www-apache/mod_perl/ChangeLog @@ -1,6 +1,13 @@ # 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.34 2007/01/19 22:11:25 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_perl/ChangeLog,v 1.35 2007/01/25 20:16:42 chtekk Exp $ + + 25 Jan 2007; Luca Longinotti + -files/mod_perl-1.99.16-sneak-tmpdir.patch, -files/2.0.1/75_mod_perl.conf, + -files/mod_perl-1.99.17-Apache2.pm, + -files/2.0.1/apache2-mod_perl-startup.pl, -mod_perl-2.0.1-r2.ebuild, + -mod_perl-2.0.1-r3.ebuild: + Initial parts of cleanup. 19 Jan 2007; Markus Rothe mod_perl-2.0.2.ebuild: Stable on ppc64; bug #162244 diff --git a/www-apache/mod_perl/Manifest b/www-apache/mod_perl/Manifest index d1b0f0547ca3..d073fe4bb2be 100644 --- a/www-apache/mod_perl/Manifest +++ b/www-apache/mod_perl/Manifest @@ -2,14 +2,6 @@ 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 2.0.1/75_mod_perl.conf 1527 RMD160 004a033bff0767a6ac6bbca7a4e72b7aaf9c512b SHA1 932200f5ecbe5b509f3fc71d91a5ca227286115f SHA256 9a0daac395f370a2c1146db519f8ac9a99e716479a26c58ff794028f4660efd4 -MD5 4dcf07748f65bc0682e4d739ec14535d files/2.0.1/75_mod_perl.conf 1527 -RMD160 004a033bff0767a6ac6bbca7a4e72b7aaf9c512b files/2.0.1/75_mod_perl.conf 1527 -SHA256 9a0daac395f370a2c1146db519f8ac9a99e716479a26c58ff794028f4660efd4 files/2.0.1/75_mod_perl.conf 1527 -AUX 2.0.1/apache2-mod_perl-startup.pl 478 RMD160 ef12070dd5e5707286e3c714ec3aeae78ce5cfd4 SHA1 80ece64910771b6c36d7b2d30373287bc1bf4b87 SHA256 f77741fb3bb18928fb15f95c6908a17d8f06d7efbb6785e0732f201347e26544 -MD5 39bbf08146125b9be7559d5c2d16b400 files/2.0.1/apache2-mod_perl-startup.pl 478 -RMD160 ef12070dd5e5707286e3c714ec3aeae78ce5cfd4 files/2.0.1/apache2-mod_perl-startup.pl 478 -SHA256 f77741fb3bb18928fb15f95c6908a17d8f06d7efbb6785e0732f201347e26544 files/2.0.1/apache2-mod_perl-startup.pl 478 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 @@ -34,21 +26,12 @@ AUX apache2-mod_perl-startup.pl 485 RMD160 9bcfe312a3c76fac9fa89d4c6d26997e82b22 MD5 6dbf85f6df302959fc9decf11eb6e5f5 files/apache2-mod_perl-startup.pl 485 RMD160 9bcfe312a3c76fac9fa89d4c6d26997e82b22f83 files/apache2-mod_perl-startup.pl 485 SHA256 336c0c85ec9e1075b69c7b73e3ea2de1d7b091ce69bc1af75dd8e8302a6b84f7 files/apache2-mod_perl-startup.pl 485 -AUX mod_perl-1.99.16-sneak-tmpdir.patch 395 RMD160 60a7d4d21041ef0b3de237692c251b3fc819bbb4 SHA1 d05b1d1d066813f265c55537fc28ec8da5522e44 SHA256 ca4822241bfa97c65e7ec726c1a5b5029f79ac21d4672cf67277a19861a9f03a -MD5 8c8ec63f03d3ffb51fa26b6df03a5710 files/mod_perl-1.99.16-sneak-tmpdir.patch 395 -RMD160 60a7d4d21041ef0b3de237692c251b3fc819bbb4 files/mod_perl-1.99.16-sneak-tmpdir.patch 395 -SHA256 ca4822241bfa97c65e7ec726c1a5b5029f79ac21d4672cf67277a19861a9f03a files/mod_perl-1.99.16-sneak-tmpdir.patch 395 -AUX mod_perl-1.99.17-Apache2.pm 1149 RMD160 30371def1cc7cfb184640736ac940087d27756f3 SHA1 583a4b30f6cc6fc9777674f9f7960401228f8e87 SHA256 f96d89b285e1018cdd20f6c80b7703030b42b1fd4329f4fce9107b427e3be633 -MD5 300bce7b1dad6fda0b18cfdbf592a828 files/mod_perl-1.99.17-Apache2.pm 1149 -RMD160 30371def1cc7cfb184640736ac940087d27756f3 files/mod_perl-1.99.17-Apache2.pm 1149 -SHA256 f96d89b285e1018cdd20f6c80b7703030b42b1fd4329f4fce9107b427e3be633 files/mod_perl-1.99.17-Apache2.pm 1149 AUX mod_perl-2.0.1-sneak-tmpdir.patch 337 RMD160 56c6023dc46bb5531fa44730f52b68b8333155f0 SHA1 96b2a385e5934d99222de545836329ea359b8115 SHA256 1f319a15e3d12a349c46c0783c7ad840d81d01ed41adda55c47d4ac31595615d 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-2.0.1.tar.gz 3694355 RMD160 06e921614c030a3b25d224cd88825d4b15aeb761 SHA1 173bc012a00fbe0ee8c51d6ce18c2fa7c33249b3 SHA256 918588fc3944fb9c57ccf87ee8554a6f95b1d8fe6ba894d1111c16048070f136 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 @@ -59,14 +42,6 @@ EBUILD mod_perl-1.29.ebuild 1861 RMD160 44fb45f36f5985b8ba47e2e92ebe4f158f057999 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-2.0.1-r2.ebuild 5287 RMD160 8668ac4ccd94ff6594681aa9e5c998e48a29084c SHA1 084936bd9b65bad77c0204bd94a6289f6bcb5b6a SHA256 b0912040b7421da24a1287a1d31a326a2130b5712c3308444fa8288a1a9b088e -MD5 1e1abe5d6a08fd1074da60abac6c798d mod_perl-2.0.1-r2.ebuild 5287 -RMD160 8668ac4ccd94ff6594681aa9e5c998e48a29084c mod_perl-2.0.1-r2.ebuild 5287 -SHA256 b0912040b7421da24a1287a1d31a326a2130b5712c3308444fa8288a1a9b088e mod_perl-2.0.1-r2.ebuild 5287 -EBUILD mod_perl-2.0.1-r3.ebuild 5299 RMD160 d2b0355e2bccdb15e22f978fd22cdb5ef1e75d6d SHA1 392aa9c8b6f6dbdde6e8a7fa3821c654d9acd74f SHA256 23b9ce2f36b8721577a86d14ee8a1a2e4f9a432998818abac084212423b34baa -MD5 53b1076a86a0d37844521b865905b197 mod_perl-2.0.1-r3.ebuild 5299 -RMD160 d2b0355e2bccdb15e22f978fd22cdb5ef1e75d6d mod_perl-2.0.1-r3.ebuild 5299 -SHA256 23b9ce2f36b8721577a86d14ee8a1a2e4f9a432998818abac084212423b34baa mod_perl-2.0.1-r3.ebuild 5299 EBUILD mod_perl-2.0.2.ebuild 5287 RMD160 5ced8f51347f4f889e7f114a024addc6c5c8c09a SHA1 83315f779a79ecd12a64103b4a01ad1b0c9cf49a SHA256 222a8f35c7ff251f7c224e4cc04bd0c29d98121bde7e570afb8c119383c30d42 MD5 844237794ad001c733b7a3464478f3ec mod_perl-2.0.2.ebuild 5287 RMD160 5ced8f51347f4f889e7f114a024addc6c5c8c09a mod_perl-2.0.2.ebuild 5287 @@ -75,10 +50,10 @@ EBUILD mod_perl-2.0.3.ebuild 5249 RMD160 b4090927e89972e3032a4b160b4e34f613f228f MD5 7aba7243d9188f2ab11c0f7013a5c33d mod_perl-2.0.3.ebuild 5249 RMD160 b4090927e89972e3032a4b160b4e34f613f228fb mod_perl-2.0.3.ebuild 5249 SHA256 ea12105c89712b76a94518f9153c8c00a65ef3d4e5ebfadce3f672bb0529077b mod_perl-2.0.3.ebuild 5249 -MISC ChangeLog 14602 RMD160 093c107b740f8ac687a688637ae4b56214d5d58e SHA1 ab18676983b5ee000767e9550b35ef60eb602cc1 SHA256 fcbc8c5e79ec3815eca2de7a2d0e93fb87748f1d8a64fbcf4b51a0c1457c010c -MD5 e250cda3d3676d531fad8d256524d661 ChangeLog 14602 -RMD160 093c107b740f8ac687a688637ae4b56214d5d58e ChangeLog 14602 -SHA256 fcbc8c5e79ec3815eca2de7a2d0e93fb87748f1d8a64fbcf4b51a0c1457c010c ChangeLog 14602 +MISC ChangeLog 14896 RMD160 8d44f8041fdd39bdfd2b40829d24dab5a41a8349 SHA1 3b35261cd123cd4f2e8cc983d754d01efa8e1a5f SHA256 ac3160e65e1797fa11894c833caf182e58c85831a7f94d6783be6917b6fcdb2a +MD5 a339cc8890db9ca72a5a29446b84f92d ChangeLog 14896 +RMD160 8d44f8041fdd39bdfd2b40829d24dab5a41a8349 ChangeLog 14896 +SHA256 ac3160e65e1797fa11894c833caf182e58c85831a7f94d6783be6917b6fcdb2a ChangeLog 14896 MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305 @@ -89,12 +64,6 @@ SHA256 afb76867511553b26c685069b8dbc11b285c11331649e64273c40ccb94988513 files/di 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 598abf5bae9374d1487becf1fc62fe75 files/digest-mod_perl-2.0.1-r2 247 -RMD160 3d686e6a0a9383bdc00dbb3131ed5f3732784edf files/digest-mod_perl-2.0.1-r2 247 -SHA256 e81d562bc8866db9682f8988ef03c8c3a14445893d35a078eb18b46b30ca1146 files/digest-mod_perl-2.0.1-r2 247 -MD5 598abf5bae9374d1487becf1fc62fe75 files/digest-mod_perl-2.0.1-r3 247 -RMD160 3d686e6a0a9383bdc00dbb3131ed5f3732784edf files/digest-mod_perl-2.0.1-r3 247 -SHA256 e81d562bc8866db9682f8988ef03c8c3a14445893d35a078eb18b46b30ca1146 files/digest-mod_perl-2.0.1-r3 247 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 diff --git a/www-apache/mod_perl/files/2.0.1/75_mod_perl.conf b/www-apache/mod_perl/files/2.0.1/75_mod_perl.conf deleted file mode 100644 index 96455b51e209..000000000000 --- a/www-apache/mod_perl/files/2.0.1/75_mod_perl.conf +++ /dev/null @@ -1,56 +0,0 @@ - - - LoadModule perl_module modules/mod_perl.so - - - - - #PerlTrace all - PerlRequire "/etc/apache2/modules.d/apache2-mod_perl-startup.pl" - - #Provide two aliases to the same cgi-bin directory, - #to see the effects of the 2 different mod_perl modes - #for Apache2::Registry Mode - Alias /perl/ /var/www/localhost/perl/ - #for Apache2::Perlrun Mode - Alias /cgi-perl/ /var/www/localhost/perl/ - - - - SetHandler perl-script - PerlResponseHandler Apache2::Status - Order deny,allow - Deny from all - Allow from 127.0.0.1 - - - - - SetHandler perl-script - PerlResponseHandler ModPerl::PerlRun - Options -Indexes ExecCGI - PerlOptions +ParseHeaders - - - PerlModule ModPerl::Registry - #set Apache::Registry Mode for /perl Alias - # To set subdirectories to use perl set the following - # and comment the orignial: - # - - SetHandler perl-script - PerlResponseHandler ModPerl::Registry - Options -Indexes ExecCGI - PerlSendHeader On - - - #set Apache::PerlRun Mode for /cgi-perl Alias - - SetHandler perl-script - PerlResponseHandler ModPerl::PerlRun - Options -Indexes ExecCGI - PerlSendHeader On - - - - diff --git a/www-apache/mod_perl/files/2.0.1/apache2-mod_perl-startup.pl b/www-apache/mod_perl/files/2.0.1/apache2-mod_perl-startup.pl deleted file mode 100644 index afc048ac125b..000000000000 --- a/www-apache/mod_perl/files/2.0.1/apache2-mod_perl-startup.pl +++ /dev/null @@ -1,24 +0,0 @@ -use lib qw(/home/httpd/perl); - -# enable if the mod_perl 1.0 compatibility is needed -#use Apache2::compat (); - -use ModPerl::Util (); #for CORE::GLOBAL::exit - -use Apache2::RequestRec (); -use Apache2::RequestIO (); -use Apache2::RequestUtil (); - -use Apache2::ServerRec (); -use Apache2::ServerUtil (); -use Apache2::Connection (); -use Apache2::Log (); - -use APR::Table (); - -use ModPerl::Registry (); - -use Apache2::Const -compile => ':common'; -use APR::Const -compile => ':common'; - -1; diff --git a/www-apache/mod_perl/files/digest-mod_perl-2.0.1-r2 b/www-apache/mod_perl/files/digest-mod_perl-2.0.1-r2 deleted file mode 100644 index a25249354088..000000000000 --- a/www-apache/mod_perl/files/digest-mod_perl-2.0.1-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 fd9cb8ce794bb3ae3c8c288e18bf5b8f mod_perl-2.0.1.tar.gz 3694355 -RMD160 06e921614c030a3b25d224cd88825d4b15aeb761 mod_perl-2.0.1.tar.gz 3694355 -SHA256 918588fc3944fb9c57ccf87ee8554a6f95b1d8fe6ba894d1111c16048070f136 mod_perl-2.0.1.tar.gz 3694355 diff --git a/www-apache/mod_perl/files/digest-mod_perl-2.0.1-r3 b/www-apache/mod_perl/files/digest-mod_perl-2.0.1-r3 deleted file mode 100644 index a25249354088..000000000000 --- a/www-apache/mod_perl/files/digest-mod_perl-2.0.1-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 fd9cb8ce794bb3ae3c8c288e18bf5b8f mod_perl-2.0.1.tar.gz 3694355 -RMD160 06e921614c030a3b25d224cd88825d4b15aeb761 mod_perl-2.0.1.tar.gz 3694355 -SHA256 918588fc3944fb9c57ccf87ee8554a6f95b1d8fe6ba894d1111c16048070f136 mod_perl-2.0.1.tar.gz 3694355 diff --git a/www-apache/mod_perl/files/mod_perl-1.99.16-sneak-tmpdir.patch b/www-apache/mod_perl/files/mod_perl-1.99.16-sneak-tmpdir.patch deleted file mode 100644 index a2fb226ed323..000000000000 --- a/www-apache/mod_perl/files/mod_perl-1.99.16-sneak-tmpdir.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- t/conf/modperl_extra.pl.orig 2004-09-23 21:56:23.443749414 -0700 -+++ t/conf/modperl_extra.pl 2004-09-23 21:55:22.149258138 -0700 -@@ -52,6 +52,8 @@ - - #see t/response/TestModperl/env.pm - $ENV{MODPERL_EXTRA_PL} = __FILE__; -+$ENV{TMPDIR} = __FILE__; -+$ENV{TMPDIR} =~ s,/work/.*,/temp,; - - my $ap_mods = scalar grep { /^Apache/ } keys %INC; - my $apr_mods = scalar grep { /^APR/ } keys %INC; diff --git a/www-apache/mod_perl/files/mod_perl-1.99.17-Apache2.pm b/www-apache/mod_perl/files/mod_perl-1.99.17-Apache2.pm deleted file mode 100644 index a06332a2287f..000000000000 --- a/www-apache/mod_perl/files/mod_perl-1.99.17-Apache2.pm +++ /dev/null @@ -1,48 +0,0 @@ -package Apache2; - -sub BEGIN { - use Config; - - @inc = ( '/etc/perl', - $Config{sitearchexp}, - $Config{sitelibexp}, - $Config{vendorarchexp}, - $Config{vendorlibexp}, - $Config{archlibexp}, - $Config{privlibexp}, - ); - - my @sfxs = split( / /, $Config{inc_version_list} ); - - # this fails if we have numbers over 9. the goal is to get newer - # versions earlier in the list. - @sfxs = sort { $b cmp $a } @sfxs; - - my $site_pfx = $Config{sitelib_stem}; - my $vend_pfx = $Config{vendorlib_stem}; - for my $sfx ( @sfxs ) { - push( @inc, "$site_pfx/$sfx", "$vend_pfx/$sfx" ); - } - - push( @inc, - "/usr/local/lib/site_perl", - "/usr/lib/apache2", - "/usr/lib/apache2/lib/perl", - ); - - # no . here because it doesn't make sense for us - - # ok, now prepend Apache2 subdirectories of anything and take out - # nonexistent directories. a case could be made that leaving - # nonexistent directories on here would be a good idea, but i'm - # going to go with the "reduce clutter" goal for now. - - @INC = (); - for my $cd ( @inc ) { - next unless -d $cd; - push( @INC, "$cd/Apache2" ) if -d "$cd/Apache2"; - push( @INC, $cd ); - } -} - -1; diff --git a/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild b/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild deleted file mode 100644 index a8c0c6ff59d2..000000000000 --- a/www-apache/mod_perl/mod_perl-2.0.1-r2.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2006 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.1-r2.ebuild,v 1.13 2006/10/16 02:07:39 mcummings Exp $ - -inherit apache-module perl-module eutils multilib -DESCRIPTION="An embedded Perl interpreter for Apache2" -SRC_URI="mirror://cpan/authors/id/G/GO/GOZER/${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 - dev-lang/perl - >=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="$(${ROOT}/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}/${P}-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}/${P}-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