summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2007-05-05 13:05:23 +0000
committerMichael Cummings <mcummings@gentoo.org>2007-05-05 13:05:23 +0000
commit20d2b328df67d5773fa17f8c2aea6bd4bdae315f (patch)
treec50bb9cf646063ce07b2cb4059e6f5f36c1d24a7 /www-misc
parentStable for HPPA (bug #176808). (diff)
downloadgentoo-2-20d2b328df67d5773fa17f8c2aea6bd4bdae315f.tar.gz
gentoo-2-20d2b328df67d5773fa17f8c2aea6bd4bdae315f.tar.bz2
gentoo-2-20d2b328df67d5773fa17f8c2aea6bd4bdae315f.zip
Bug 158170 for the version bump; also fixed a doxygen compilation problem and fixed multilib-strict support
(Portage version: 2.1.2.3)
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/libapreq2/ChangeLog9
-rw-r--r--www-misc/libapreq2/files/digest-libapreq2-2.083
-rw-r--r--www-misc/libapreq2/files/libapreq2-2.08-doc.patch24
-rw-r--r--www-misc/libapreq2/libapreq2-2.08.ebuild93
4 files changed, 128 insertions, 1 deletions
diff --git a/www-misc/libapreq2/ChangeLog b/www-misc/libapreq2/ChangeLog
index 6d48d0932e27..e727cf8892b5 100644
--- a/www-misc/libapreq2/ChangeLog
+++ b/www-misc/libapreq2/ChangeLog
@@ -1,6 +1,13 @@
# 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.6 2007/05/01 11:44:24 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/libapreq2/ChangeLog,v 1.7 2007/05/05 13:05:23 mcummings Exp $
+
+*libapreq2-2.08 (05 May 2007)
+
+ 05 May 2007; Michael Cummings <mcummings@gentoo.org>
+ +files/libapreq2-2.08-doc.patch, +libapreq2-2.08.ebuild:
+ Bug 158170 for the version bump; also fixed a doxygen compilation problem
+ and fixed multilib-strict support
01 May 2007; Markus Rothe <corsair@gentoo.org> libapreq2-2.07-r1.ebuild:
Added ~ppc64; bug #175872
diff --git a/www-misc/libapreq2/files/digest-libapreq2-2.08 b/www-misc/libapreq2/files/digest-libapreq2-2.08
new file mode 100644
index 000000000000..a40f7d75d8ff
--- /dev/null
+++ b/www-misc/libapreq2/files/digest-libapreq2-2.08
@@ -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/files/libapreq2-2.08-doc.patch b/www-misc/libapreq2/files/libapreq2-2.08-doc.patch
new file mode 100644
index 000000000000..a1e444070320
--- /dev/null
+++ b/www-misc/libapreq2/files/libapreq2-2.08-doc.patch
@@ -0,0 +1,24 @@
+diff -Naurp libapreq2-2.08.old/build/doxygen.conf libapreq2-2.08/build/doxygen.conf
+--- libapreq2-2.08.old/build/doxygen.conf 2006-08-09 00:30:19.000000000 -0400
++++ libapreq2-2.08/build/doxygen.conf 2007-05-05 07:54:21.000000000 -0400
+@@ -27,7 +27,7 @@ WARN_IF_UNDOCUMENTED = YES
+ WARN_IF_DOC_ERROR = YES
+ WARN_FORMAT = "$file:$line: $text"
+
+-INPUT = . include module/apache module/apache2
++INPUT = . include module/apache2
+ FILE_PATTERNS = *.h *.dox CHANGES STATUS
+ RECURSIVE = NO
+ EXTRACT_STATIC = YES
+diff -Naurp libapreq2-2.08.old/build/doxygen.conf.in libapreq2-2.08/build/doxygen.conf.in
+--- libapreq2-2.08.old/build/doxygen.conf.in 2006-08-09 00:26:44.000000000 -0400
++++ libapreq2-2.08/build/doxygen.conf.in 2007-05-05 07:57:18.000000000 -0400
+@@ -27,7 +27,7 @@ WARN_IF_UNDOCUMENTED = YES
+ WARN_IF_DOC_ERROR = YES
+ WARN_FORMAT = "$file:$line: $text"
+
+-INPUT = . include module/apache module/apache2
++INPUT = . include module/apache2
+ FILE_PATTERNS = *.h *.dox CHANGES STATUS
+ RECURSIVE = NO
+ EXTRACT_STATIC = YES
diff --git a/www-misc/libapreq2/libapreq2-2.08.ebuild b/www-misc/libapreq2/libapreq2-2.08.ebuild
new file mode 100644
index 000000000000..af2efd58c670
--- /dev/null
+++ b/www-misc/libapreq2/libapreq2-2.08.ebuild
@@ -0,0 +1,93 @@
+# 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.ebuild,v 1.1 2007/05/05 13:05:23 mcummings 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
+ >=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}
+ ./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
+
+}