diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-08-03 23:41:50 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-08-03 23:41:50 +0000 |
commit | b467c45be44adb19e8536a42077fe6bf7bcd18f4 (patch) | |
tree | 8a1833343df9ece2327f15ac4005737e35e07473 /www-apache/libapreq2 | |
parent | Version bump #101203 by Scott Price. (diff) | |
download | gentoo-2-b467c45be44adb19e8536a42077fe6bf7bcd18f4.tar.gz gentoo-2-b467c45be44adb19e8536a42077fe6bf7bcd18f4.tar.bz2 gentoo-2-b467c45be44adb19e8536a42077fe6bf7bcd18f4.zip |
Another product of rendhalver, tested and true, with some mods for documentation by myself. With this commit I will be removing the package.mask entry for this.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-apache/libapreq2')
-rw-r--r-- | www-apache/libapreq2/ChangeLog | 10 | ||||
-rw-r--r-- | www-apache/libapreq2/Manifest | 16 | ||||
-rw-r--r-- | www-apache/libapreq2/files/76_mod_apreq.conf | 15 | ||||
-rw-r--r-- | www-apache/libapreq2/files/digest-libapreq2-2.06 | 1 | ||||
-rw-r--r-- | www-apache/libapreq2/libapreq2-2.06.ebuild | 79 |
5 files changed, 108 insertions, 13 deletions
diff --git a/www-apache/libapreq2/ChangeLog b/www-apache/libapreq2/ChangeLog index 29a42e6ae616..612b215bab6a 100644 --- a/www-apache/libapreq2/ChangeLog +++ b/www-apache/libapreq2/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for www-apache/libapreq2 # Copyright 2003-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.2 2005/05/10 00:29:13 beu Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.3 2005/08/03 23:41:50 mcummings Exp $ + +*libapreq2-2.06 (03 Aug 2005) + + 03 Aug 2005; Michael Cummings <mcummings@gentoo.org> + +files/76_mod_apreq.conf, +libapreq2-2.06.ebuild: + Another product of rendhalver, tested and true, with some mods for + documentation by myself. With this commit I will be removing the + package.mask entry for this. *libapreq2-2.04.03 (10 May 2005) diff --git a/www-apache/libapreq2/Manifest b/www-apache/libapreq2/Manifest index 4c12a4a7bf83..9facdcda79df 100644 --- a/www-apache/libapreq2/Manifest +++ b/www-apache/libapreq2/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 c963ceb69bb70efa9f9563ba42af5158 libapreq2-2.04.03.ebuild 2917 MD5 8276becfec27eb8cd65a7d1207e55cd0 ChangeLog 938 MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 -MD5 7e7f7ff87f41a04bb85b1bf4792eafd5 files/libapreq2-2.0-sandbox.patch 1169 +MD5 c963ceb69bb70efa9f9563ba42af5158 libapreq2-2.04.03.ebuild 2917 +MD5 ca2eb1ecf857d23bae7a66408201154c libapreq2-2.06.ebuild 1922 MD5 b6b2398e58512016392bd02a5bd2b548 files/libapreq2-2.0-binloc.patch 3154 MD5 1fad30fc51874d46cd39dd7ada8d17d8 files/digest-libapreq2-2.04.03 73 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCgkWnI1lqEGTUzyQRAvMjAKDdJpCu0tyfLTa4ATt7kxKhn3IP3QCfeFr5 -eFJ8jP0guyouzny2Xjos290= -=Db98 ------END PGP SIGNATURE----- +MD5 7c185f467441ea2ade1d365a6a917343 files/digest-libapreq2-2.06 70 +MD5 7e7f7ff87f41a04bb85b1bf4792eafd5 files/libapreq2-2.0-sandbox.patch 1169 diff --git a/www-apache/libapreq2/files/76_mod_apreq.conf b/www-apache/libapreq2/files/76_mod_apreq.conf new file mode 100644 index 000000000000..165dae819ac5 --- /dev/null +++ b/www-apache/libapreq2/files/76_mod_apreq.conf @@ -0,0 +1,15 @@ +<IfDefine APREQ> + <IfModule !mod_apreq.c> + LoadModule apreq_module modules/mod_apreq2.so + </IfModule> +</IfDefine> + +<IfModule mod_apreq2.c> + # load the PerlModules modules + # uncomment the ones you require + #PerlModule APR::Request::Apache2 + #PerlModule APR::Request::CGI + #PerlModule APR::Request::Cookie + #PerlModule Apache2::Cookie + #PerlModule Apache2::Request +</ifModule> diff --git a/www-apache/libapreq2/files/digest-libapreq2-2.06 b/www-apache/libapreq2/files/digest-libapreq2-2.06 new file mode 100644 index 000000000000..3f73b862eaa7 --- /dev/null +++ b/www-apache/libapreq2/files/digest-libapreq2-2.06 @@ -0,0 +1 @@ +MD5 e245db341c4967e0a23b7f767d6486d9 libapreq2-2.06-dev.tar.gz 711422 diff --git a/www-apache/libapreq2/libapreq2-2.06.ebuild b/www-apache/libapreq2/libapreq2-2.06.ebuild new file mode 100644 index 000000000000..1efb8d48e539 --- /dev/null +++ b/www-apache/libapreq2/libapreq2-2.06.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2005 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/libapreq2-2.06.ebuild,v 1.1 2005/08/03 23:41:50 mcummings Exp $ + +inherit perl-module + +IUSE="doc" + +MY_P=${P}-dev +S=${WORKDIR}/${MY_P} +DESCRIPTION="An Apache Request Perl Module" +SRC_URI="mirror://cpan/authors/id/J/JO/JOESUF/${MY_P}.tar.gz" +HOMEPAGE="http://httpd.apache.org/apreq/" +SLOT="2" +LICENSE="Apache-2.0" +KEYWORDS="~x86 ~amd64 ~ppc" + +DEPEND="${DEPEND} + >=dev-perl/ExtUtils-XSBuilder-0.23 + >=net-www/apache-2.0.48 + doc? ( app-doc/doxygen ) + >=www-apache/mod_perl-2" + +mydoc="TODO README CHANGES INSTALL" +myconf="--with-apache2-apxs=/usr/sbin/apxs2" +SRC_TEST="skip" + +src_test() { + if [ "${SRC_TEST}" == "do" ]; then + if [ "`id -u`" == '0' ]; then + chown nobody:nobody ${S}/module/t + chown nobody:nobody ${T} + GROUP="nobody" USER="nobody" \ + APACHE_TEST_NO_STICKY_PREFERENCES=1 \ + TMPDIR="${T}" HOME="${T}/" echo "" | emake test + else + APACHE_TEST_NO_STICKY_PREFERENCES=1 TMPDIR="${T}" HOME="${T}/" emake test + fi + fi +} + +src_install() { + emake -j1 DESTDIR=${D} LT_LDFLAGS="-L${D}/usr/lib" install || die + make docs + rm -f ${S}/docs/man/man3/_* + for doc in `ls ${S}/docs/man/man3/*.3`; do + doman $doc + done + # install the html docs + dohtml ${S}/docs/html/*.html + + insinto /etc/apache2/modules.d + doins ${FILESDIR}/76_mod_apreq.conf + + fixlocalpod + + for FILE in `find ${D} -type f |grep -v '.so'`; do + STAT=`file $FILE| grep -i " text"` + if [ "${STAT}x" != "x" ]; then + sed -i -e "s:${D}:/:g" ${FILE} + fi + done + + for doc in Change* MANIFEST* README* ${mydoc}; do + [ -s "$doc" ] && dodoc $doc + done + +} + +pkg_postinst() { + einfo + einfo "To enable ${PN}, you need to edit your /etc/conf.d/apache2 file and" + einfo "add '-D APREQ' to APACHE2_OPTS." + einfo "Configuration file installed as" + einfo " /etc/apache2/modules.d/76_mod_apreq.conf" + einfo "You may want to edit it before turning the module on in /etc/conf.d/apache2" + einfo + +} |