Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 77551 | Differences between
and this patch

Collapse All | Expand All

(-)Manifest (-23 / +30 lines)
Lines 1-33 Link Here
1
MD5 a1141c430c0b7356ce812dd1bfd8854a mod_perl-1.99.08.ebuild 1237
2
MD5 0525b089ad91f31dffd83c0d1300ffc4 mod_perl-1.99.11.ebuild 3783
3
MD5 66a0226a2c0f697be1dabcaecac8adfa mod_perl-1.99.17.ebuild 3825
4
MD5 8d2945f86f75caca1f479d2053b912ac mod_perl-1.99.16.ebuild 3813
5
MD5 e48765f4129ef6e27824df62a47fd14a mod_perl-1.29.ebuild 2470
6
MD5 0013befe326225d2f22917b3e5d39e4f ChangeLog 6164
1
MD5 0013befe326225d2f22917b3e5d39e4f ChangeLog 6164
7
MD5 883e4913a359e585ff84d4f53f629035 mod_perl-1.27-r4.ebuild 2179
2
MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
8
MD5 b101308b1017072f3d62def1ed834ab1 mod_perl-1.99.09.ebuild 3673
9
MD5 8a0d2f0c7b7d8c36e2ddb832c504ed9f mod_perl-1.27-r2.ebuild 1817
10
MD5 5ae689acb9f9ed419a3b1542bab72e5b mod_perl-1.99.17-r1.ebuild 4217
11
MD5 bfb9cdc72acb74032ddf255b4d1a5a2e mod_perl-1.27-r1.ebuild 1423
3
MD5 bfb9cdc72acb74032ddf255b4d1a5a2e mod_perl-1.27-r1.ebuild 1423
4
MD5 8a0d2f0c7b7d8c36e2ddb832c504ed9f mod_perl-1.27-r2.ebuild 1817
5
MD5 883e4913a359e585ff84d4f53f629035 mod_perl-1.27-r4.ebuild 2179
12
MD5 c614eea076228afa05a30a7f0dbadf2a mod_perl-1.27.ebuild 1417
6
MD5 c614eea076228afa05a30a7f0dbadf2a mod_perl-1.27.ebuild 1417
13
MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
7
MD5 e48765f4129ef6e27824df62a47fd14a mod_perl-1.29.ebuild 2470
8
MD5 a1141c430c0b7356ce812dd1bfd8854a mod_perl-1.99.08.ebuild 1237
9
MD5 b101308b1017072f3d62def1ed834ab1 mod_perl-1.99.09.ebuild 3673
14
MD5 a366c1cb1f861c8f0041d9ce4e210698 mod_perl-1.99.10.ebuild 3824
10
MD5 a366c1cb1f861c8f0041d9ce4e210698 mod_perl-1.99.10.ebuild 3824
15
MD5 4869c6ea8e02d871a03455d28b6f6cfb files/digest-mod_perl-1.99.08 68
11
MD5 0525b089ad91f31dffd83c0d1300ffc4 mod_perl-1.99.11.ebuild 3783
16
MD5 2937c8efc4e2d9dd8fff843ab63f5c14 files/digest-mod_perl-1.99.17 69
12
MD5 8d2945f86f75caca1f479d2053b912ac mod_perl-1.99.16.ebuild 3813
13
MD5 5ae689acb9f9ed419a3b1542bab72e5b mod_perl-1.99.17-r1.ebuild 4217
14
MD5 66a0226a2c0f697be1dabcaecac8adfa mod_perl-1.99.17.ebuild 3825
15
MD5 620eaac080f7e6f22d18b9d73bb6f876 mod_perl-2.0.0_rc4.ebuild 3384
16
MD5 460b2c916a67bd5cbbfd0eea978b6afe mod_perl-1.29-r1.ebuild 2044
17
MD5 2415e6be73ba155382b34b5e2fad4951 files/75_mod_perl.conf 247
18
MD5 39a4d91d1d90d32f90dea3c00a1680d7 files/apache2-mod_perl-startup.pl 483
19
MD5 1e0341f9b7bd3c3f74c25e60eb3188c8 files/mod_perl-1.27-ipv6.patch 1207
17
MD5 1e0341f9b7bd3c3f74c25e60eb3188c8 files/mod_perl-1.29-ipv6.patch 1207
20
MD5 1e0341f9b7bd3c3f74c25e60eb3188c8 files/mod_perl-1.29-ipv6.patch 1207
18
MD5 e749acb150e339917257be38febb568e files/mod_perl-1.99.10-nonukes.patch 777
21
MD5 e749acb150e339917257be38febb568e files/mod_perl-1.99.10-nonukes.patch 777
19
MD5 39a4d91d1d90d32f90dea3c00a1680d7 files/apache2-mod_perl-startup.pl 483
22
MD5 8c8ec63f03d3ffb51fa26b6df03a5710 files/mod_perl-1.99.16-sneak-tmpdir.patch 395
20
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27 65
21
MD5 2937c8efc4e2d9dd8fff843ab63f5c14 files/digest-mod_perl-1.99.17-r1 69
22
MD5 300bce7b1dad6fda0b18cfdbf592a828 files/mod_perl-1.99.17-Apache2.pm 1149
23
MD5 300bce7b1dad6fda0b18cfdbf592a828 files/mod_perl-1.99.17-Apache2.pm 1149
23
MD5 5ff16293368688eefecc4a6066eb8914 files/digest-mod_perl-1.99.10 69
24
MD5 1e0341f9b7bd3c3f74c25e60eb3188c8 files/mod_perl-1.27-ipv6.patch 1207
25
MD5 5fb9123a821e261a210c5fca0ff94976 files/digest-mod_perl-1.99.09 68
26
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27-r2 65
27
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27-r1 65
24
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27-r1 65
25
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27-r2 65
26
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27-r4 65
27
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27 65
28
MD5 33270eaaa2c9bc9cef3a4a45afaeca34 files/digest-mod_perl-1.29-r1 65
28
MD5 33270eaaa2c9bc9cef3a4a45afaeca34 files/digest-mod_perl-1.29 65
29
MD5 33270eaaa2c9bc9cef3a4a45afaeca34 files/digest-mod_perl-1.29 65
29
MD5 2415e6be73ba155382b34b5e2fad4951 files/75_mod_perl.conf 247
30
MD5 4869c6ea8e02d871a03455d28b6f6cfb files/digest-mod_perl-1.99.08 68
30
MD5 13d314750ba5772dc7de4d9023d137ad files/digest-mod_perl-1.99.16 69
31
MD5 5fb9123a821e261a210c5fca0ff94976 files/digest-mod_perl-1.99.09 68
31
MD5 8c8ec63f03d3ffb51fa26b6df03a5710 files/mod_perl-1.99.16-sneak-tmpdir.patch 395
32
MD5 5ff16293368688eefecc4a6066eb8914 files/digest-mod_perl-1.99.10 69
32
MD5 278c6266498d8bef49b54f30774aa305 files/digest-mod_perl-1.99.11 69
33
MD5 278c6266498d8bef49b54f30774aa305 files/digest-mod_perl-1.99.11 69
33
MD5 05455750ba5b64e18dbcfd113193e7cd files/digest-mod_perl-1.27-r4 65
34
MD5 13d314750ba5772dc7de4d9023d137ad files/digest-mod_perl-1.99.16 69
35
MD5 2937c8efc4e2d9dd8fff843ab63f5c14 files/digest-mod_perl-1.99.17-r1 69
36
MD5 2937c8efc4e2d9dd8fff843ab63f5c14 files/digest-mod_perl-1.99.17 69
37
MD5 474fcc8181b63d8ef9b8baa3de1c4622 files/digest-mod_perl-2.0.0_rc4 71
38
MD5 021468d364eaa007ab27fd2351f5374e files/2.0.0/75_mod_perl.conf 224
39
MD5 aa43b5a8a5cc777a979de6b8956eeeaa files/2.0.0/apache2-mod_perl-startup.pl 486
40
MD5 b3fcafd0b6d40149efa9127fd3023924 files/1.29/75_mod_perl.conf 113
(-)mod_perl-1.29-r1.ebuild (+70 lines)
Added Link Here
1
# Copyright 1999-2004 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/mod_perl-1.29.ebuild,v 1.7 2004/07/14 19:39:45 agriffis Exp $
4
5
inherit eutils fixheadtails apache-module
6
7
DESCRIPTION="A Perl Module for Apache"
8
SRC_URI="http://perl.apache.org/dist/${P}.tar.gz"
9
HOMEPAGE="http://perl.apache.org"
10
11
SLOT="0"
12
LICENSE="Apache-1.1"
13
KEYWORDS="~x86 ~amd64 ~ppc ~sparc alpha ia64"
14
IUSE="ipv6"
15
16
DEPEND="dev-lang/perl dev-perl/libwww-perl >=sys-apps/sed-4"
17
18
APACHE1_MOD_FILE="${S}/apaci/libperl.so"
19
APACHE1_MOD_CONF="1.29/75_${PN}"
20
APACHE1_MOD_DEFINE="PERL"
21
22
DOCFILES="Changes CREDITS MANIFEST README SUPPORT ToDo"
23
24
need_apache1
25
26
src_unpack() {
27
	unpack ${A} || die "unpack failed"
28
	cd ${S} || die "cd to \$S failed"
29
30
	if has_version '>=apache-1.3.27-r4' && useq ipv6; then
31
		# This patch originally came from
32
		# http://pasky.ji.cz/~pasky/dev/apache/mod_perl-1.27+ipv6.patch.
33
		# It allows mod_perl to correctly build with an IPv6-enabled
34
		# Apache (bug #6986).
35
		# Robert Coie <rac@gentoo.org> 2002.02.19
36
		epatch ${FILESDIR}/${P}-ipv6.patch
37
	fi
38
39
	ht_fix_file apaci/mod_perl.config.sh
40
	ht_fix_file apaci/libperl.module
41
}
42
43
src_compile() {
44
	perl Makefile.PL INSTALLDIRS=vendor USE_APXS=1 \
45
		WITH_APXS=${APXS1} EVERYTHING=1 || die "configure failed"
46
	emake || die "make failed"
47
}
48
49
src_install () {
50
	eval `perl '-V:installvendorarch'`
51
	eval `perl '-V:installvendorlib'`
52
53
	make PREFIX=${D}/usr \
54
		INSTALLVENDORARCH=${D}/${installvendorarch}	\
55
		INSTALLVENDORLIB=${D}/${installvendorlib}	\
56
		INSTALLVENDORMAN1DIR=${D}/usr/share/man/man1	\
57
		INSTALLVENDORMAN3DIR=${D}/usr/share/man/man3	\
58
		pure_vendor_install || die "make instal failed"
59
60
	dohtml -r ./
61
62
	# The following kludge is from the perl-module eclass to correct
63
	# the packlist file. packlist is used by other apps to determine
64
	# where to find parts of mod-perl
65
	for FILE in `find ${D} -type f -name "*.html" -o -name ".packlist"`; do
66
		sed -i -e "s:${D}:/:g" ${FILE}
67
	done
68
69
	apache-module_src_install
70
}
(-)mod_perl-2.0.0_rc4.ebuild (+109 lines)
Added Link Here
1
# Copyright 1999-2004 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/mod_perl-1.99.17-r1.ebuild,v 1.1 2004/11/14 02:10:02 rac Exp $
4
5
inherit eutils apache-module
6
7
DESCRIPTION="An embedded Perl interpreter for Apache2"
8
SRC_URI="http://perl.apache.org/dist/${P/_rc/-RC}.tar.gz"
9
HOMEPAGE="http://perl.apache.org/"
10
11
LICENSE="Apache-2.0"
12
KEYWORDS="~x86"
13
IUSE=""
14
SLOT="1"
15
16
S=${WORKDIR}/${P/_rc/-RC}
17
18
APACHE2_MOD_FILE="${S}/src/modules/perl/mod_perl.so"
19
APACHE2_MOD_CONF="2.0.0/75_${PN}"
20
APACHE2_MOD_DEFINE="PERL"
21
22
DOCFILES="Changes INSTALL LICENSE README STATUS"
23
24
# see bug 30087 for why sudo is in here
25
DEPEND="dev-lang/perl
26
	>=dev-perl/CGI-2.93
27
	>=sys-apps/sed-4
28
	app-admin/sudo"
29
30
need_apache2
31
32
src_unpack() {
33
	unpack ${A} || die "unpack failed"
34
	cd ${S} || die "cd failed"
35
36
	# I am not entirely happy with this solution, but here's what's
37
	# going on here if someone wants to take a stab at another
38
	# approach.  When userpriv compilation is off, then the make
39
	# process drops to user "nobody" to run the test servers.  This
40
	# server is closed, and then the socket is rebound using
41
	# SO_REUSEADDR.  If the same user does this, there is no problem,
42
	# and the socket may be rebound immediately.  If a different user
43
	# (yes, in my testing, even root) attempts to rebind, it fails.
44
	# Since the "is the socket available yet" code and the
45
	# second-batch bind call both run as root, this will fail.  
46
47
	# The upstream settings on my test machine cause the second batch
48
	# of tests to fail, believing the socket to still be in use.  I
49
	# tried patching various parts to make them run as the user
50
	# specified in $config->{vars}{user} using getpwnam, but found
51
	# this patch to be fairly intrusive, because the userid must be
52
	# restored and the patch must be applied to multiple places.
53
54
	# For now, we will simply extend the timeout in hopes that in the
55
	# non-userpriv case, the socket will clear from the kernel tables
56
	# normally, and the tests will proceed.
57
58
	# If anybody is still having problems, then commenting out "make
59
	# test" below should allow the software to build properly.
60
61
	# Robert Coie <rac@gentoo.org> 2003.05.06
62
63
	sed -i -e "s/sleep \$_/sleep \$_ << 2/" ${S}/Apache-Test/lib/Apache/TestServer.pm || die "problem editing TestServer.pm"
64
}
65
66
src_compile() {
67
	perl Makefile.PL \
68
		PREFIX=${D}/usr \
69
		MP_TRACE=1 \
70
		MP_DEBUG=1 \
71
		MP_USE_DSO=3 \
72
		MP_INST_APACHE2=1 \
73
		MP_APXS=${APXS2}  \
74
		CCFLAGS="${CFLAGS} -fPIC" \
75
		INSTALLDIRS=vendor </dev/null || die
76
77
	# reported that parallel make is broken in bug 30257
78
	emake -j1 || die
79
80
	hasq maketest $FEATURES && src_test
81
}
82
83
src_test() {
84
	# make test notes whether it is running as root, and drops
85
	# privileges all the way to "nobody" if so, so we must adjust
86
	# write permissions accordingly in this case.
87
88
	if [ "`id -u`" == '0' ]; then
89
		chown nobody:nobody ${WORKDIR}
90
		chown nobody:nobody ${T}
91
	fi
92
93
	# this does not || die because of bug 21325.  kudos to smark for
94
	# the idea of setting HOME.
95
96
	HOME="${T}/" make test
97
}
98
99
src_install() {
100
	make install \
101
		MODPERL_AP_LIBEXECDIR=${D}${APACHE2_MODULESDIR} \
102
		MODPERL_AP_INCLUDEDIR=${D}/usr/include/apache2 \
103
		MP_INST_APACHE2=1 \
104
		INSTALLDIRS=vendor || die
105
106
	apache-module_src_install
107
	insinto ${APACHE2_MODULES_CONFDIR}
108
	doins ${FILESDIR}/2.0.0/apache2-mod_perl-startup.pl
109
}
(-)files/digest-mod_perl-1.29-r1 (+1 lines)
Added Link Here
1
MD5 1491931790509b9af06fc037d02b0e7a mod_perl-1.29.tar.gz 378877
(-)files/digest-mod_perl-2.0.0_rc4 (+1 lines)
Added Link Here
1
MD5 062af5ab71cfd0868b4e5a3b95aabf25 mod_perl-2.0.0-RC4.tar.gz 1418497
(-)files/1.29/75_mod_perl.conf (+5 lines)
Added Link Here
1
<IfDefine PERL>
2
  <IfModule !mod_perl.c>
3
    LoadModule perl_module modules/libperl.so
4
  </IfModule>
5
</IfDefine>
(-)files/2.0.0/75_mod_perl.conf (+11 lines)
Added Link Here
1
<IfDefine PERL>
2
  <IfModule !mod_perl.c>
3
    LoadModule perl_module modules/mod_perl.so
4
  </IfModule>
5
</IfDefine>
6
7
<IfModule mod_perl.c>
8
  #PerlTrace all
9
  PerlRequire conf/modules.d/apache2-mod_perl-startup.pl
10
</ifModule>
11
(-)files/2.0.0/apache2-mod_perl-startup.pl (+26 lines)
Added Link Here
1
use Apache2 ();
2
3
use lib qw(/home/httpd/perl);
4
5
# enable if the mod_perl 1.0 compatibility is needed
6
#use Apache::compat ();
7
8
use ModPerl::Util (); #for CORE::GLOBAL::exit
9
10
use Apache::RequestRec ();
11
use Apache::RequestIO ();
12
use Apache::RequestUtil ();
13
14
use Apache::ServerRec ();
15
use Apache::ServerUtil ();
16
use Apache::Connection ();
17
use Apache::Log ();
18
19
use APR::Table ();
20
21
use ModPerl::Registry ();
22
23
use Apache::Const -compile => ':common';
24
use APR::Const -compile => ':common';
25
26
1;

Return to bug 77551