diff options
Diffstat (limited to 'www-apache/libapreq2')
-rw-r--r-- | www-apache/libapreq2/ChangeLog | 5 | ||||
-rw-r--r-- | www-apache/libapreq2/libapreq2-2.08.ebuild | 93 |
2 files changed, 4 insertions, 94 deletions
diff --git a/www-apache/libapreq2/ChangeLog b/www-apache/libapreq2/ChangeLog index db5c3d69f756..9cefeb790bfe 100644 --- a/www-apache/libapreq2/ChangeLog +++ b/www-apache/libapreq2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-apache/libapreq2 # Copyright 2003-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.33 2008/03/22 17:02:13 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.34 2008/03/22 17:09:35 hollow Exp $ + + 22 Mar 2008; Benedikt Böhm <hollow@gentoo.org> -libapreq2-2.08.ebuild: + get rid of old libapreq2 ebuild (finally) 22 Mar 2008; Markus Meier <maekke@gentoo.org> libapreq2-2.08-r2.ebuild: amd64 stable, bug #205225 diff --git a/www-apache/libapreq2/libapreq2-2.08.ebuild b/www-apache/libapreq2/libapreq2-2.08.ebuild deleted file mode 100644 index 3f8737c87471..000000000000 --- a/www-apache/libapreq2/libapreq2-2.08.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/libapreq2-2.08.ebuild,v 1.2 2008/01/29 18:25:18 hollow Exp $ - -inherit perl-module depend.apache multilib - -IUSE="" - -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 - >=www-servers/apache-2.0.48 - >=www-apache/mod_perl-2" -RDEPEND="${DEPEND}" - -mydoc="TODO README CHANGES INSTALL" -myconf="--with-apache2-apxs=${APXS} --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} - ./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 ${APACHE_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 " ${APACHE_MODULES_CONFDIR}/76_mod_apreq.conf" - einfo "You may want to edit it before turning the module on in /etc/conf.d/apache2" - einfo - -} |