summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-05-24 08:46:40 +0000
committerPeter Volkov <pva@gentoo.org>2011-05-24 08:46:40 +0000
commita113a4228c8eaa77da69ed556accafcf161fa831 (patch)
treebd0ef7ac554c8bf079624f20081720b2f51e5476 /www-apache
parentVersion bump. (diff)
downloadgentoo-2-a113a4228c8eaa77da69ed556accafcf161fa831.tar.gz
gentoo-2-a113a4228c8eaa77da69ed556accafcf161fa831.tar.bz2
gentoo-2-a113a4228c8eaa77da69ed556accafcf161fa831.zip
Version bump.
(Portage version: 2.1.9.49/cvs/Linux x86_64)
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/libapreq2/ChangeLog9
-rw-r--r--www-apache/libapreq2/libapreq2-2.13.ebuild66
2 files changed, 73 insertions, 2 deletions
diff --git a/www-apache/libapreq2/ChangeLog b/www-apache/libapreq2/ChangeLog
index 63f861edcf5f..bf4447020092 100644
--- a/www-apache/libapreq2/ChangeLog
+++ b/www-apache/libapreq2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apache/libapreq2
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.38 2009/09/05 08:49:49 tove Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.39 2011/05/24 08:46:40 pva Exp $
+
+*libapreq2-2.13 (24 May 2011)
+
+ 24 May 2011; Peter Volkov <pva@gentoo.org> +libapreq2-2.13.ebuild:
+ Version bump.
05 Sep 2009; Torsten Veller <tove@gentoo.org> libapreq2-2.08-r2.ebuild,
libapreq2-2.12.ebuild:
diff --git a/www-apache/libapreq2/libapreq2-2.13.ebuild b/www-apache/libapreq2/libapreq2-2.13.ebuild
new file mode 100644
index 000000000000..bca1b59f8f20
--- /dev/null
+++ b/www-apache/libapreq2/libapreq2-2.13.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/libapreq2-2.13.ebuild,v 1.1 2011/05/24 08:46:40 pva Exp $
+
+inherit apache-module perl-module multilib
+
+DESCRIPTION="A library for manipulating client request data via the Apache API"
+SRC_URI="mirror://apache/httpd/libapreq/${P}.tar.gz"
+HOMEPAGE="http://httpd.apache.org/apreq/"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="perl"
+
+DEPEND="${DEPEND}
+ perl? (
+ >=dev-perl/ExtUtils-XSBuilder-0.23
+ virtual/perl-version
+ >=www-apache/mod_perl-2
+ )"
+RDEPEND="${DEPEND}"
+
+APACHE2_MOD_FILE="module/apache2/.libs/mod_apreq2.so"
+APACHE2_MOD_CONF="76_mod_apreq"
+APACHE2_MOD_DEFINE="APREQ"
+DOCFILES="docs/html/*.html CHANGES README INSTALL MANIFEST"
+
+need_apache2
+
+pkg_setup() {
+ perl-module_pkg_setup
+}
+
+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_compile() {
+ econf \
+ --with-apache2-apxs=${APXS} \
+ $(use_enable perl perl-glue)
+ emake || die "emake failed"
+}
+
+src_install() {
+ apache-module_src_install
+
+ make DESTDIR="${D}" INSTALLDIRS=vendor install || die "make install failed"
+ doman docs/man/man3/*.3
+
+ fixlocalpod
+
+ for i in $(find "${D}" -type f -not -name '*.so'); do
+ if file ${i} | grep -i " text"; then
+ sed -i -e "s:${D}:/:g" ${i}
+ fi
+ done
+}