diff options
author | Michael Cummings <mcummings@gentoo.org> | 2007-05-31 11:15:50 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2007-05-31 11:15:50 +0000 |
commit | 12f29c23a782ce085f91554c541ae2252d2073ce (patch) | |
tree | a575d38583a3647a544ddffe595d16e033a3da0f /www-misc/libapreq2 | |
parent | stable x86, security bug 180120 (diff) | |
download | historical-12f29c23a782ce085f91554c541ae2252d2073ce.tar.gz historical-12f29c23a782ce085f91554c541ae2252d2073ce.tar.bz2 historical-12f29c23a782ce085f91554c541ae2252d2073ce.zip |
Bug 177467, perl modules. Thanks bor :)
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'www-misc/libapreq2')
-rw-r--r-- | www-misc/libapreq2/ChangeLog | 8 | ||||
-rw-r--r-- | www-misc/libapreq2/Manifest | 23 | ||||
-rw-r--r-- | www-misc/libapreq2/files/digest-libapreq2-2.08-r1 | 3 | ||||
-rw-r--r-- | www-misc/libapreq2/libapreq2-2.08-r1.ebuild | 96 |
4 files changed, 121 insertions, 9 deletions
diff --git a/www-misc/libapreq2/ChangeLog b/www-misc/libapreq2/ChangeLog index 6568930e653c..43ab687830b2 100644 --- a/www-misc/libapreq2/ChangeLog +++ b/www-misc/libapreq2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-misc/libapreq2 # Copyright 2003-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/libapreq2/ChangeLog,v 1.8 2007/05/20 07:06:02 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-misc/libapreq2/ChangeLog,v 1.9 2007/05/31 11:15:50 mcummings Exp $ + +*libapreq2-2.08-r1 (31 May 2007) + + 31 May 2007; Michael Cummings <mcummings@gentoo.org> + +libapreq2-2.08-r1.ebuild: + Bug 177467, perl modules. Thanks bor :) 20 May 2007; Christian Faulhammer <opfer@gentoo.org> libapreq2-2.08.ebuild: diff --git a/www-misc/libapreq2/Manifest b/www-misc/libapreq2/Manifest index 53401bd367d3..13231717a3bc 100644 --- a/www-misc/libapreq2/Manifest +++ b/www-misc/libapreq2/Manifest @@ -27,14 +27,18 @@ EBUILD libapreq2-2.07.ebuild 2250 RMD160 0c52c461e136d6354327849d859a4fd098c7048 MD5 30a0427393ecdd96627dc103714f23aa libapreq2-2.07.ebuild 2250 RMD160 0c52c461e136d6354327849d859a4fd098c70481 libapreq2-2.07.ebuild 2250 SHA256 64a77fb55d2ab625cc917447e141acca8ac8a539eea89607ebcc3cc268388899 libapreq2-2.07.ebuild 2250 +EBUILD libapreq2-2.08-r1.ebuild 2454 RMD160 63da57c1d5b734ebd81908edfe43693277895b32 SHA1 aaf03a45080b7da8611af85b77287562200e5ea9 SHA256 c577d8dd1f9da0b36935fac73fccc6123acbc3e1b7fa63cfce2c869467eeb6d9 +MD5 e2eea09cd6d15dd695546fe340f6c26f libapreq2-2.08-r1.ebuild 2454 +RMD160 63da57c1d5b734ebd81908edfe43693277895b32 libapreq2-2.08-r1.ebuild 2454 +SHA256 c577d8dd1f9da0b36935fac73fccc6123acbc3e1b7fa63cfce2c869467eeb6d9 libapreq2-2.08-r1.ebuild 2454 EBUILD libapreq2-2.08.ebuild 2379 RMD160 5b4989b4609f3c8325d8ae310657e0bb95ebe322 SHA1 f7fb5dcc87d3a0e6426f2c97652bf5c0e40d5619 SHA256 03992fab80e6052e8bf173b9d6fb78b62786deb8d567197a4330579cee5a1851 MD5 06a639fbf89fc96a4f850fd11a409353 libapreq2-2.08.ebuild 2379 RMD160 5b4989b4609f3c8325d8ae310657e0bb95ebe322 libapreq2-2.08.ebuild 2379 SHA256 03992fab80e6052e8bf173b9d6fb78b62786deb8d567197a4330579cee5a1851 libapreq2-2.08.ebuild 2379 -MISC ChangeLog 4246 RMD160 b1de5bbea679dc4e9c4656189543f4956f1a8cb0 SHA1 ee66dc94e8824d6824c21597aa2b81b6777eef38 SHA256 af33cd6664d2951225b25f953fdaa2fc9b1403144a6af58bde158a8ce26b4fd1 -MD5 ecb8f6e0129847c89e215d08ec12141e ChangeLog 4246 -RMD160 b1de5bbea679dc4e9c4656189543f4956f1a8cb0 ChangeLog 4246 -SHA256 af33cd6664d2951225b25f953fdaa2fc9b1403144a6af58bde158a8ce26b4fd1 ChangeLog 4246 +MISC ChangeLog 4411 RMD160 f4325a349c983309aaf702947cfb447887556d74 SHA1 6ac9ced5bfc396194b8de984416d5539f98747e1 SHA256 cda01b1cd67ad0d6eac28a80862f5bff9026d80bcddb67dccf4c956140a0fea8 +MD5 ce50daf52ba6631f8e711b203735cd8e ChangeLog 4411 +RMD160 f4325a349c983309aaf702947cfb447887556d74 ChangeLog 4411 +SHA256 cda01b1cd67ad0d6eac28a80862f5bff9026d80bcddb67dccf4c956140a0fea8 ChangeLog 4411 MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305 @@ -48,10 +52,13 @@ SHA256 613856dc61b68fcc28caa5a5732099d91684de5410bfd534085dc7c40a5b096a files/di MD5 3d2a029cfdc7669a6e46eee1c2060a15 files/digest-libapreq2-2.08 244 RMD160 550819715d5252aad8e2a5a170d7c98297abda2d files/digest-libapreq2-2.08 244 SHA256 f6c3ace6b6f1614b668431878e597b872ba8a33c6b98315a01b8fabf35f43f1e files/digest-libapreq2-2.08 244 +MD5 3d2a029cfdc7669a6e46eee1c2060a15 files/digest-libapreq2-2.08-r1 244 +RMD160 550819715d5252aad8e2a5a170d7c98297abda2d files/digest-libapreq2-2.08-r1 244 +SHA256 f6c3ace6b6f1614b668431878e597b872ba8a33c6b98315a01b8fabf35f43f1e files/digest-libapreq2-2.08-r1 244 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.7 (GNU/Linux) +Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGT/NgNQqtfCuFneMRAu9fAJ9NYBvARZp8C3HN8KkWZgcYIxZS8gCfahUF -rB/hzJC4lDH9Oo7u8uysADw= -=53+f +iD8DBQFGXq5stG5z4I8BtQoRAiAxAKCDzr1Gono0q4ExaVGMu1KVHMZ1RACfTs9p +WKYM8Q/VGXwXFS0o8pSmA8Q= +=LiXw -----END PGP SIGNATURE----- diff --git a/www-misc/libapreq2/files/digest-libapreq2-2.08-r1 b/www-misc/libapreq2/files/digest-libapreq2-2.08-r1 new file mode 100644 index 000000000000..a40f7d75d8ff --- /dev/null +++ b/www-misc/libapreq2/files/digest-libapreq2-2.08-r1 @@ -0,0 +1,3 @@ +MD5 9fb3deec448f74c455d4ffc13846ea9f libapreq2-2.08.tar.gz 847527 +RMD160 f2084c709443424c7d749be732924b37d70dee96 libapreq2-2.08.tar.gz 847527 +SHA256 8f8d71852ea3addab7690fa96fc50ea5f221f719156d50995f7f3e0a5a59e932 libapreq2-2.08.tar.gz 847527 diff --git a/www-misc/libapreq2/libapreq2-2.08-r1.ebuild b/www-misc/libapreq2/libapreq2-2.08-r1.ebuild new file mode 100644 index 000000000000..a2e05bed23d7 --- /dev/null +++ b/www-misc/libapreq2/libapreq2-2.08-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/libapreq2/libapreq2-2.08-r1.ebuild,v 1.1 2007/05/31 11:15:50 mcummings Exp $ + +inherit perl-module depend.apache multilib + +IUSE="perl" + +DESCRIPTION="An Apache Request Perl Module" +SRC_URI="mirror://cpan/authors/id/J/JO/JOESUF/${P}.tar.gz" +HOMEPAGE="http://httpd.apache.org/apreq/" +SLOT="2" +LICENSE="Apache-2.0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="${DEPEND} + >=dev-perl/ExtUtils-XSBuilder-0.23 + dev-perl/version + >=net-www/apache-2.0.48 + >=www-apache/mod_perl-2" +RDEPEND="${DEPEND}" + +mydoc="TODO README CHANGES INSTALL" +myconf="--with-apache2-apxs=${APXS2} --libdir=/usr/$(get_libdir)" +SRC_TEST="skip" + +need_apache2 + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/libapreq2-2.08-doc.patch + sed -i -e "s/PERL \$PERL_OPTS/PERL/" ${S}/acinclude.m4 + sed -i -e "s/PERL \$PERL_OPTS/PERL/" ${S}/aclocal.m4 + sed -i -e "s/PERL \$PERL_OPTS/PERL/" ${S}/configure +} +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_compile() { + cd ${S} + if use perl; then + myconf="${myconf} --enable-perl-glue" + fi + ./configure ${myconf} +} +src_install() { + + emake -j1 DESTDIR=${D} LT_LDFLAGS="-L${D}/usr/$(get_libdir)" 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 ${APACHE2_MODULES_CONFDIR} + 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 " ${APACHE2_MODULES_CONFDIR}/76_mod_apreq.conf" + einfo "You may want to edit it before turning the module on in /etc/conf.d/apache2" + einfo + +} |