summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-06-27 16:44:41 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-06-27 16:44:41 +0000
commit72f09c39fda76d2d47d4632ace173195a1170efe (patch)
tree3f60000b1915e584e01c2ca0c927db8675e3ea60 /www-apache
parentTemporary Qt 4.5.2 mask, until all ebuilds are committed (diff)
downloadgentoo-2-72f09c39fda76d2d47d4632ace173195a1170efe.tar.gz
gentoo-2-72f09c39fda76d2d47d4632ace173195a1170efe.tar.bz2
gentoo-2-72f09c39fda76d2d47d4632ace173195a1170efe.zip
Bump to 2.12, fixes #275390
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/libapreq2/ChangeLog7
-rw-r--r--www-apache/libapreq2/libapreq2-2.12.ebuild67
2 files changed, 73 insertions, 1 deletions
diff --git a/www-apache/libapreq2/ChangeLog b/www-apache/libapreq2/ChangeLog
index 7aebd5a4adb2..d3214b83c230 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.36 2009/05/26 17:47:32 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.37 2009/06/27 16:44:41 patrick Exp $
+
+*libapreq2-2.12 (27 Jun 2009)
+
+ 27 Jun 2009; Patrick Lauer <patrick@gentoo.org> +libapreq2-2.12.ebuild:
+ Bump to 2.12, fixes #275390
26 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
libapreq2-2.08-r2.ebuild:
diff --git a/www-apache/libapreq2/libapreq2-2.12.ebuild b/www-apache/libapreq2/libapreq2-2.12.ebuild
new file mode 100644
index 000000000000..18ebc099b6b3
--- /dev/null
+++ b/www-apache/libapreq2/libapreq2-2.12.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/libapreq2-2.12.ebuild,v 1.1 2009/06/27 16:44:41 patrick 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) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ apache-module_src_install
+
+ make DESTDIR="${D}" 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
+}