summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-10-30 07:20:41 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-10-30 07:20:41 +0000
commit5ddd2991137f49bf91ce06e9d9d190d01c0f3476 (patch)
tree7a2d4cd4d465ecf4ea3e10a00f8e0b1a3330b97a /dev-perl/mod_perl
parentMasking Speex cause someone has to (diff)
downloadgentoo-2-5ddd2991137f49bf91ce06e9d9d190d01c0f3476.tar.gz
gentoo-2-5ddd2991137f49bf91ce06e9d9d190d01c0f3476.tar.bz2
gentoo-2-5ddd2991137f49bf91ce06e9d9d190d01c0f3476.zip
revision bumps to force installations into correct locations after MakeMaker upgrade
Diffstat (limited to 'dev-perl/mod_perl')
-rw-r--r--dev-perl/mod_perl/ChangeLog9
-rw-r--r--dev-perl/mod_perl/files/digest-mod_perl-1.27-r11
-rw-r--r--dev-perl/mod_perl/mod_perl-1.27-r1.ebuild58
3 files changed, 66 insertions, 2 deletions
diff --git a/dev-perl/mod_perl/ChangeLog b/dev-perl/mod_perl/ChangeLog
index 1eeb47074393..df2be1283170 100644
--- a/dev-perl/mod_perl/ChangeLog
+++ b/dev-perl/mod_perl/ChangeLog
@@ -1,6 +1,11 @@
-# ChangeLog for dev-perl/mod_perl
+# ChangeLog for dev-perlmod_perlChangeLog/
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/ChangeLog,v 1.8 2002/09/16 04:57:48 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/ChangeLog,v 1.9 2002/10/30 07:20:41 seemant Exp $
+
+ 29 Oct 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog :
+
+ forced version bump to install into correct locations
+# ChangeLog for dev-perl/mod_perl
*mod_perl-1.27 (20 Jun 2002)
diff --git a/dev-perl/mod_perl/files/digest-mod_perl-1.27-r1 b/dev-perl/mod_perl/files/digest-mod_perl-1.27-r1
new file mode 100644
index 000000000000..100b74cf1c13
--- /dev/null
+++ b/dev-perl/mod_perl/files/digest-mod_perl-1.27-r1
@@ -0,0 +1 @@
+MD5 bd07f4f1065eb0d0a8d8004219357d8c mod_perl-1.27.tar.gz 372525
diff --git a/dev-perl/mod_perl/mod_perl-1.27-r1.ebuild b/dev-perl/mod_perl/mod_perl-1.27-r1.ebuild
new file mode 100644
index 000000000000..2e64cb92feaf
--- /dev/null
+++ b/dev-perl/mod_perl/mod_perl-1.27-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2002 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.27-r1.ebuild,v 1.1 2002/10/30 07:20:41 seemant 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 ppc sparc sparc64 alpha"
+
+DEPEND="sys-devel/perl
+ dev-perl/libwww-perl
+ >=net-www/apache-1.3.24-r1"
+
+src_compile() {
+ perl Makefile.PL USE_APXS=1 \
+ PREFIX=${D}/usr \
+ 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 () {
+ make \
+ PREFIX=${D}/usr \
+ INSTALLMAN1DIR=${D}/usr/share/man/man1 \
+ INSTALLMAN3DIR=${D}/usr/share/man/man3 \
+ 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
+
+ :;
+}