diff options
author | Robert Coie <rac@gentoo.org> | 2003-12-23 20:45:14 +0000 |
---|---|---|
committer | Robert Coie <rac@gentoo.org> | 2003-12-23 20:45:14 +0000 |
commit | 7bc5b9e8aece9bc522ad1f77aeb1ca4a683dd702 (patch) | |
tree | 41aa35d1ce66e3a9d7d12dc4e4579eaec1a8a954 | |
parent | 1.29 (diff) | |
download | historical-7bc5b9e8aece9bc522ad1f77aeb1ca4a683dd702.tar.gz historical-7bc5b9e8aece9bc522ad1f77aeb1ca4a683dd702.tar.bz2 historical-7bc5b9e8aece9bc522ad1f77aeb1ca4a683dd702.zip |
1.29
-rw-r--r-- | dev-perl/mod_perl/Manifest | 4 | ||||
-rw-r--r-- | dev-perl/mod_perl/files/digest-mod_perl-1.29 | 1 | ||||
-rw-r--r-- | dev-perl/mod_perl/mod_perl-1.29.ebuild | 85 |
3 files changed, 88 insertions, 2 deletions
diff --git a/dev-perl/mod_perl/Manifest b/dev-perl/mod_perl/Manifest index 5ab7701bd37c..d85eb8bfc87a 100644 --- a/dev-perl/mod_perl/Manifest +++ b/dev-perl/mod_perl/Manifest @@ -2,11 +2,11 @@ MD5 9eb488a8d217058474db6e04e22c62fa mod_perl-1.99.09.ebuild 3613 MD5 b04e594ce1aa3379787924322454aba5 mod_perl-1.27.ebuild 1416 MD5 0bf9316fb68b93b9bd9b72555e81b41b mod_perl-1.27-r2.ebuild 1821 MD5 8b395a2985103819def72cc269b3dbc8 mod_perl-1.99.10.ebuild 3811 -MD5 ca7b02d02b05f693bb730fd5eb8e6627 mod_perl-1.29.ebuild 2196 +MD5 417f65370b2776415f4296252d8e5cf0 mod_perl-1.29.ebuild 2195 MD5 ca7b02d02b05f693bb730fd5eb8e6627 mod_perl-1.27-r4.ebuild 2196 MD5 026fbb84b447f735b4c86b46860f2afb mod_perl-1.99.08.ebuild 1244 MD5 58ceed38b57307fa4190170a23408524 mod_perl-1.27-r1.ebuild 1421 -MD5 58a23902bcc6b02377052c0fd8f8fac2 ChangeLog 3857 +MD5 6882f3b52dc39c3698bd01971a7486d1 ChangeLog 3959 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 MD5 b8bea8f6d6e415b81c96ea0ff36478eb mod_perl-1.27-r3.ebuild 2031 MD5 36e45151ca1f70491b941ed4707ea0c1 mod_perl-1.99.11.ebuild 3750 diff --git a/dev-perl/mod_perl/files/digest-mod_perl-1.29 b/dev-perl/mod_perl/files/digest-mod_perl-1.29 new file mode 100644 index 000000000000..0fcee8122ce2 --- /dev/null +++ b/dev-perl/mod_perl/files/digest-mod_perl-1.29 @@ -0,0 +1 @@ +MD5 1491931790509b9af06fc037d02b0e7a mod_perl-1.29.tar.gz 378877 diff --git a/dev-perl/mod_perl/mod_perl-1.29.ebuild b/dev-perl/mod_perl/mod_perl-1.29.ebuild new file mode 100644 index 000000000000..7d75e499075d --- /dev/null +++ b/dev-perl/mod_perl/mod_perl-1.29.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/mod_perl-1.29.ebuild,v 1.1 2003/12/23 20:45:08 rac Exp $ + +S=${WORKDIR}/${P} +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="~x86 ~amd64 ~ppc ~sparc ~alpha" + +DEPEND="dev-lang/perl dev-perl/libwww-perl =net-www/apache-1* >=sys-apps/sed-4" + +IUSE="ipv6" + +inherit eutils + +src_unpack() { + unpack ${A} + + if has_version '>=apache-1.3.27-r4' && use ipv6; then + # This patch originally came from + # http://pasky.ji.cz/~pasky/dev/apache/mod_perl-1.27+ipv6.patch. + # It allows mod_perl to correctly build with an IPv6-enabled + # Apache (bug #6986). + # Robert Coie <rac@gentoo.org> 2002.02.19 + + cd ${S}; epatch ${FILESDIR}/${P}-ipv6.patch + fi + + 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=/usr/sbin/apxs EVERYTHING=1 + + cp Makefile Makefile.orig + sed -e "s:apxs_install doc_install:doc_install:" Makefile.orig > Makefile + emake || 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 ./ + + cd apaci + exeinto /usr/lib/apache-extramodules + doexe libperl.so +} + +pkg_postinst() { + einfo + einfo "Execute \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" + einfo "to have your apache.conf auto-updated for use with this module." + einfo "You should then edit your /etc/conf.d/apache file to suit." + einfo +} + +pkg_config() { + ${ROOT}/usr/sbin/apacheaddmod \ + ${ROOT}/etc/apache/conf/apache.conf \ + extramodules/libperl.so mod_perl.c perl_module \ + define=PERL + :; +} |