summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2007-01-20 15:10:24 +0000
committerMichael Cummings <mcummings@gentoo.org>2007-01-20 15:10:24 +0000
commit615a0a1b723d890b59e78325b63582bab8244385 (patch)
treedabc2ccfdc8c163b74543e77d105afb2174fc292 /www-misc
parentStable on ppc wrt bug 162682 (diff)
downloadgentoo-2-615a0a1b723d890b59e78325b63582bab8244385.tar.gz
gentoo-2-615a0a1b723d890b59e78325b63582bab8244385.tar.bz2
gentoo-2-615a0a1b723d890b59e78325b63582bab8244385.zip
Moving libapreq2, bug 162120
(Portage version: 2.1.2-r1)
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/libapreq2/ChangeLog97
-rw-r--r--www-misc/libapreq2/Manifest35
-rw-r--r--www-misc/libapreq2/files/76_mod_apreq.conf15
-rw-r--r--www-misc/libapreq2/files/digest-libapreq2-2.073
-rw-r--r--www-misc/libapreq2/files/digest-libapreq2-2.07-r13
-rw-r--r--www-misc/libapreq2/files/libapreq2-2.0-binloc.patch65
-rw-r--r--www-misc/libapreq2/files/libapreq2-2.0-sandbox.patch33
-rw-r--r--www-misc/libapreq2/libapreq2-2.07-r1.ebuild89
-rw-r--r--www-misc/libapreq2/libapreq2-2.07.ebuild90
-rw-r--r--www-misc/libapreq2/metadata.xml10
10 files changed, 440 insertions, 0 deletions
diff --git a/www-misc/libapreq2/ChangeLog b/www-misc/libapreq2/ChangeLog
new file mode 100644
index 000000000000..a99395f02cad
--- /dev/null
+++ b/www-misc/libapreq2/ChangeLog
@@ -0,0 +1,97 @@
+# ChangeLog for www-apache/libapreq2
+# Copyright 2003-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/libapreq2/ChangeLog,v 1.1 2007/01/20 15:10:24 mcummings Exp $
+
+ 20 Jan 2007; Michael Cummings <mcummings@gentoo.org>
+ +files/libapreq2-2.0-binloc.patch, +files/libapreq2-2.0-sandbox.patch,
+ +files/76_mod_apreq.conf, +metadata.xml, +libapreq2-2.07.ebuild,
+ +libapreq2-2.07-r1.ebuild:
+ Moving libapreq2, bug 162120
+
+ 20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> libapreq2-2.07.ebuild:
+ Stable on Alpha.
+
+*libapreq2-2.07-r1 (21 Aug 2006)
+
+ 21 Aug 2006; Yuval Yaari <yuval@gentoo.org> +libapreq2-2.07-r1.ebuild:
+ (Bug #129432) Revision-bump; removed un-needed dep (app-doc/doxygen -- only
+ needed when building apreq from svn)
+
+ 20 Aug 2006; Yuval Yaari <yuval@gentoo.org> -libapreq2-2.04.03.ebuild,
+ -libapreq2-2.06.ebuild:
+ security cleanup (bug #140543)
+
+ 02 Jul 2006; Michael Cummings <mcummings@gentoo.org>
+ libapreq2-2.07.ebuild:
+ Marking stable amd64
+
+ 04 Jun 2006; Michael Stewart <vericgar@gentoo.org> libapreq2-2.07.ebuild:
+ Address dependency issues caused by depend.apache. Refer to bug 107127.
+
+ 11 Apr 2006; <mcummings@gentoo.org> libapreq2-2.07.ebuild:
+ Marking sparc stable
+
+ 09 Apr 2006; <mcummings@gentoo.org> libapreq2-2.07.ebuild:
+ Syntax fixes, closes bug 77547
+
+ 08 Apr 2006; Bryan Østergaard <kloeri@gentoo.org libapreq2-2.07.ebuild:
+ Stable on x86, bug 128610.
+
+ 03 Apr 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ libapreq2-2.07.ebuild:
+ ppc stable, bug #128610
+
+ 11 Mar 2006; Michael Hanselmann <hansmi@gentoo.org> libapreq2-2.06.ebuild:
+ Stable on ppc.
+
+ 27 Feb 2006; <mcumming@gentoo.org> libapreq2-2.07.ebuild:
+ Removed doc from iuse - no longer do i use. ha.
+
+ 27 Feb 2006; <mcumming@gentoo.org> libapreq2-2.07.ebuild:
+ Trailing white space, oh the humanity (thanks rl03 for noticing both typos btw)
+
+ 27 Feb 2006; <mcumming@gentoo.org> libapreq2-2.07.ebuild:
+ doxygen is no longer optional; syntax in unpack
+
+*libapreq2-2.07 (26 Feb 2006)
+
+ 26 Feb 2006; Michael Cummings <mcummings@gentoo.org>
+ libapreq2-2.06.ebuild, +libapreq2-2.07.ebuild:
+ Marking 2.06 stable, adding 2.07
+
+ 14 Aug 2005; Fernando J. Pereda <ferdy@gentoo.org> libapreq2-2.06.ebuild:
+ keyworded ~alpha, wrt bug #102503
+
+ 14 Aug 2005; Michael Cummings <mcummings@gentoo.org>
+ libapreq2-2.06.ebuild:
+ Keywording sparc
+
+*libapreq2-2.06 (03 Aug 2005)
+
+ 03 Aug 2005; Michael Cummings <mcummings@gentoo.org>
+ +files/76_mod_apreq.conf, +libapreq2-2.06.ebuild:
+ Another product of rendhalver, tested and true, with some mods for
+ documentation by myself. With this commit I will be removing the
+ package.mask entry for this.
+
+*libapreq2-2.04.03 (10 May 2005)
+
+ 10 May 2005; Elfyn McBratney <beu@gentoo.org>
+ +files/libapreq2-2.0-binloc.patch, +files/libapreq2-2.0-sandbox.patch,
+ +metadata.xml, +libapreq2-2.04.03.ebuild:
+ dev-perl/libapreq{,2} -> www-apache
+
+ 09 May 2005; Elfyn McBratney <beu@gentoo.org> libapreq2-2.04.03.ebuild:
+ dev-perl/mod_perl -> www-apache/mod_perl
+
+ 11 Apr 2005; Christian Parpart <trapni@gentoo.org>
+ libapreq2-2.04.03.ebuild:
+ fixed licence item
+
+*libapreq2-2.04.03 (28 Sep 2004)
+
+ 28 Sep 2004; Robert Coie <rac@gentoo.org> +files/libapreq2-2.0-binloc.patch,
+ +files/libapreq2-2.0-sandbox.patch, +libapreq2-2.04.03.ebuild:
+ mod_perl 2 version of libapreq. tests are not perfect yet, and reliability is
+ suspect
+
diff --git a/www-misc/libapreq2/Manifest b/www-misc/libapreq2/Manifest
new file mode 100644
index 000000000000..03a223ae78a7
--- /dev/null
+++ b/www-misc/libapreq2/Manifest
@@ -0,0 +1,35 @@
+AUX 76_mod_apreq.conf 384 RMD160 9e2d4e0ffa5ab3d65becd958bdabc4cd149d291c SHA1 99e39336bf0f90790387c8d34859404ae738c67b SHA256 7d308028c10f8c5a5f665ae894b219282de6088bd68ab3a43b51b788878f4a4e
+MD5 72ff7fa68f0ab905336522c6398b4f17 files/76_mod_apreq.conf 384
+RMD160 9e2d4e0ffa5ab3d65becd958bdabc4cd149d291c files/76_mod_apreq.conf 384
+SHA256 7d308028c10f8c5a5f665ae894b219282de6088bd68ab3a43b51b788878f4a4e files/76_mod_apreq.conf 384
+AUX libapreq2-2.0-binloc.patch 3154 RMD160 d95215452341d4f37374ae33262e8930faf64e00 SHA1 d20c1c39c7e6c4c9850bfaa4c77eabc20e8beb78 SHA256 ce2be0098984f50eff8c03eb38eb1c42c938ec4ff4a4986a4283853facbd8cf7
+MD5 b6b2398e58512016392bd02a5bd2b548 files/libapreq2-2.0-binloc.patch 3154
+RMD160 d95215452341d4f37374ae33262e8930faf64e00 files/libapreq2-2.0-binloc.patch 3154
+SHA256 ce2be0098984f50eff8c03eb38eb1c42c938ec4ff4a4986a4283853facbd8cf7 files/libapreq2-2.0-binloc.patch 3154
+AUX libapreq2-2.0-sandbox.patch 1169 RMD160 877dbf70eba927c56e7295a3943979a575bb15df SHA1 f49c1f2c6689f4525ba90e23fa9b4f580e269e58 SHA256 e0647cc7cacf1e4e88e19834b08643117cbc233355f2a33d4bcb87c3021f63cd
+MD5 7e7f7ff87f41a04bb85b1bf4792eafd5 files/libapreq2-2.0-sandbox.patch 1169
+RMD160 877dbf70eba927c56e7295a3943979a575bb15df files/libapreq2-2.0-sandbox.patch 1169
+SHA256 e0647cc7cacf1e4e88e19834b08643117cbc233355f2a33d4bcb87c3021f63cd files/libapreq2-2.0-sandbox.patch 1169
+DIST libapreq2-2.07.tar.gz 787249 RMD160 74050bf847ae5b0e199d3b53227897d48afad919 SHA1 49c0359faae36b1fefbf226ef782d2be11a879a2 SHA256 27c8ea5b58cf5873ae7227d149914f39d44836e47785ddac6b7da48076669147
+EBUILD libapreq2-2.07-r1.ebuild 2133 RMD160 e805ac9a68b5023ef248494e47d0f61f30404e83 SHA1 e5b68ff89d377a5635f79f9e91762248598184b0 SHA256 d5220fd659f30e89c9c47d17a3d872a5620d03e572a0e08212b2c15e497a373a
+MD5 296218e9e04d4c543ec96cb66e8d307e libapreq2-2.07-r1.ebuild 2133
+RMD160 e805ac9a68b5023ef248494e47d0f61f30404e83 libapreq2-2.07-r1.ebuild 2133
+SHA256 d5220fd659f30e89c9c47d17a3d872a5620d03e572a0e08212b2c15e497a373a libapreq2-2.07-r1.ebuild 2133
+EBUILD libapreq2-2.07.ebuild 2145 RMD160 a8e74abba39e6a11e5ec6e7461c1ad4636f66b19 SHA1 9bb994471f7790a01b55642fb9559f9f3a863f59 SHA256 f00162fc64e1e23c47c64c1cac47dc34c8d72739a50b94e84a08437076fdf0dd
+MD5 b99762a989f57a9379b9366f635db719 libapreq2-2.07.ebuild 2145
+RMD160 a8e74abba39e6a11e5ec6e7461c1ad4636f66b19 libapreq2-2.07.ebuild 2145
+SHA256 f00162fc64e1e23c47c64c1cac47dc34c8d72739a50b94e84a08437076fdf0dd libapreq2-2.07.ebuild 2145
+MISC ChangeLog 3357 RMD160 99bcd048717c42832ce39c51a0761c135e4f0bf9 SHA1 1bcad5b00e91a1a6895d4c97beeedcd338f96c0e SHA256 58ce643336ae69bd68f1034d266a0f01228ca3bd64a83990eff57169c75b2378
+MD5 a1ee1ccae62273b8f34d7e3fdac5fe99 ChangeLog 3357
+RMD160 99bcd048717c42832ce39c51a0761c135e4f0bf9 ChangeLog 3357
+SHA256 58ce643336ae69bd68f1034d266a0f01228ca3bd64a83990eff57169c75b2378 ChangeLog 3357
+MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca
+MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305
+SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca metadata.xml 305
+MD5 9de3e2ed1cd800b636f8e5a3dbf22e9e files/digest-libapreq2-2.07 244
+RMD160 c56d8dc35babb262f6830df405cf3dfb750c6d51 files/digest-libapreq2-2.07 244
+SHA256 613856dc61b68fcc28caa5a5732099d91684de5410bfd534085dc7c40a5b096a files/digest-libapreq2-2.07 244
+MD5 9de3e2ed1cd800b636f8e5a3dbf22e9e files/digest-libapreq2-2.07-r1 244
+RMD160 c56d8dc35babb262f6830df405cf3dfb750c6d51 files/digest-libapreq2-2.07-r1 244
+SHA256 613856dc61b68fcc28caa5a5732099d91684de5410bfd534085dc7c40a5b096a files/digest-libapreq2-2.07-r1 244
diff --git a/www-misc/libapreq2/files/76_mod_apreq.conf b/www-misc/libapreq2/files/76_mod_apreq.conf
new file mode 100644
index 000000000000..165dae819ac5
--- /dev/null
+++ b/www-misc/libapreq2/files/76_mod_apreq.conf
@@ -0,0 +1,15 @@
+<IfDefine APREQ>
+ <IfModule !mod_apreq.c>
+ LoadModule apreq_module modules/mod_apreq2.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_apreq2.c>
+ # load the PerlModules modules
+ # uncomment the ones you require
+ #PerlModule APR::Request::Apache2
+ #PerlModule APR::Request::CGI
+ #PerlModule APR::Request::Cookie
+ #PerlModule Apache2::Cookie
+ #PerlModule Apache2::Request
+</ifModule>
diff --git a/www-misc/libapreq2/files/digest-libapreq2-2.07 b/www-misc/libapreq2/files/digest-libapreq2-2.07
new file mode 100644
index 000000000000..f5d991996046
--- /dev/null
+++ b/www-misc/libapreq2/files/digest-libapreq2-2.07
@@ -0,0 +1,3 @@
+MD5 6f2e5e4a14e8b190dead0fe91fc13080 libapreq2-2.07.tar.gz 787249
+RMD160 74050bf847ae5b0e199d3b53227897d48afad919 libapreq2-2.07.tar.gz 787249
+SHA256 27c8ea5b58cf5873ae7227d149914f39d44836e47785ddac6b7da48076669147 libapreq2-2.07.tar.gz 787249
diff --git a/www-misc/libapreq2/files/digest-libapreq2-2.07-r1 b/www-misc/libapreq2/files/digest-libapreq2-2.07-r1
new file mode 100644
index 000000000000..f5d991996046
--- /dev/null
+++ b/www-misc/libapreq2/files/digest-libapreq2-2.07-r1
@@ -0,0 +1,3 @@
+MD5 6f2e5e4a14e8b190dead0fe91fc13080 libapreq2-2.07.tar.gz 787249
+RMD160 74050bf847ae5b0e199d3b53227897d48afad919 libapreq2-2.07.tar.gz 787249
+SHA256 27c8ea5b58cf5873ae7227d149914f39d44836e47785ddac6b7da48076669147 libapreq2-2.07.tar.gz 787249
diff --git a/www-misc/libapreq2/files/libapreq2-2.0-binloc.patch b/www-misc/libapreq2/files/libapreq2-2.0-binloc.patch
new file mode 100644
index 000000000000..dc27ca383953
--- /dev/null
+++ b/www-misc/libapreq2/files/libapreq2-2.0-binloc.patch
@@ -0,0 +1,65 @@
+diff -burN libapreq2-2.04-dev.orig/Makefile.PL libapreq2-2.04-dev/Makefile.PL
+--- libapreq2-2.04-dev.orig/Makefile.PL 2004-08-29 16:30:15.000000000 -0700
++++ libapreq2-2.04-dev/Makefile.PL 2004-09-27 23:40:29.184738303 -0700
+@@ -23,7 +23,7 @@
+ system(@args) == 0 or die "system @args failed: $?";
+ }
+ else {
+- my @opts = qw(with-apache2-apxs with-apache2-src
++ my @opts = qw(with-apache2-apxs with-apache2-src with-apache2-httpd
+ with-apr-config with-apu-config apxs);
+
+ my @flags = qw/enable-maintainer-mode enable-perl-glue disable-perl-glue/;
+diff -burN libapreq2-2.04-dev.orig/acinclude.m4 libapreq2-2.04-dev/acinclude.m4
+--- libapreq2-2.04-dev.orig/acinclude.m4 2004-09-27 23:33:48.000000000 -0700
++++ libapreq2-2.04-dev/acinclude.m4 2004-09-27 23:37:03.659353161 -0700
+@@ -12,6 +12,9 @@
+ AC_ARG_WITH(apache2-apxs,
+ AC_HELP_STRING([--with-apache2-apxs],[path to apache2's apxs]),
+ [APACHE2_APXS=$withval],[APACHE2_APXS="apxs"])
++ AC_ARG_WITH(apache2-httpd,
++ AC_HELP_STRING([--with-apache2-httpd],[path to apache2 httpd binary]),
++ [APACHE2_HTTPD=$withval],[APACHE2_HTTPD=""])
+ AC_ARG_WITH(apache2-src,
+ AC_HELP_STRING([--with-apache2-src],[path to httpd-2 source]),
+ [APACHE2_SRC=$withval],[APACHE2_SRC=""])
+@@ -25,7 +28,9 @@
+ AC_MSG_ERROR([invalid Apache2 source directory]))
+
+ APACHE2_INCLUDES=-I$APACHE2_SRC/include
++ if test -z "${APACHE2_HTTPD}"; then
+ APACHE2_HTTPD=$APACHE2_SRC/httpd
++ fi
+ AC_ARG_WITH(apr-config,
+ AC_HELP_STRING([ --with-apr-config],[path to apr-config (requires --with-apache2-src)]),
+ [APR_CONFIG=$withval],[APR_CONFIG="$APACHE2_SRC/srclib/apr/apr-config"])
+@@ -35,7 +40,9 @@
+
+ else
+ APACHE2_INCLUDES=-I`$APACHE2_APXS -q INCLUDEDIR`
++ if test -z "${APACHE2_HTTPD}"; then
+ APACHE2_HTTPD=`$APACHE2_APXS -q SBINDIR`/httpd
++ fi
+ APR_MAJOR_VERSION=`$APACHE2_APXS -q APR_VERSION | cut -d. -f 1`
+ if test ${APR_MAJOR_VERSION:=0} -eq 0; then
+ APR_CONFIG=apr-config
+@@ -47,6 +54,7 @@
+ APR_CONFIG=`$APACHE2_APXS -q APR_BINDIR`/$APR_CONFIG
+ APU_CONFIG=`$APACHE2_APXS -q APU_BINDIR`/$APU_CONFIG
+
++ echo "checking with $APACHE2_HTTPD"
+ if test -z "`$prereq_check apache2 $APACHE2_HTTPD`"; then
+ AC_MSG_ERROR([Bad apache2 version])
+ fi
+diff -burN libapreq2-2.04-dev.orig/glue/Makefile.am libapreq2-2.04-dev/glue/Makefile.am
+--- libapreq2-2.04-dev.orig/glue/Makefile.am 2004-06-21 15:19:10.000000000 -0700
++++ libapreq2-2.04-dev/glue/Makefile.am 2004-09-28 00:00:08.547277068 -0700
+@@ -6,7 +6,7 @@
+ cd perl; @PERL@ ../../build/xsbuilder.pl run
+
+ perl/Makefile: perl/xsbuilder perl/Makefile.PL
+- cd perl; @PERL@ Makefile.PL -apxs @APACHE2_APXS@
++ cd perl; @PERL@ Makefile.PL INSTALLDIRS=vendor -apxs @APACHE2_APXS@
+
+ perl_glue: perl/Makefile
+ cd perl; $(MAKE)
diff --git a/www-misc/libapreq2/files/libapreq2-2.0-sandbox.patch b/www-misc/libapreq2/files/libapreq2-2.0-sandbox.patch
new file mode 100644
index 000000000000..309cfc56c8a3
--- /dev/null
+++ b/www-misc/libapreq2/files/libapreq2-2.0-sandbox.patch
@@ -0,0 +1,33 @@
+*** env/Makefile.am.orig Fri Nov 7 10:55:14 2003
+--- env/Makefile.am Mon Apr 5 17:41:46 2004
+***************
+*** 3,8 ****
+--- 3,12 ----
+ TEST_CONFIG_SCRIPT = package Apache::TestMM; filter_args(); generate_script("t/TEST")
+ EXTRA_DIST = t c-modules
+
++ INSTDSO = $(shell $(APR_CONFIG) --installbuilddir)/instdso.sh
++ SHLIBTOOL = $(shell $(APR_CONFIG) --installbuilddir)/libtool
++ APACHE2MODS = /usr/lib/apache2/extramodules
++
+ check_PROGRAMS = test_cgi
+
+ if BUILD_HTTPD
+***************
+*** 31,37 ****
+ mod_apreq_la_LDFLAGS = -export-dynamic -module -avoid-version -rpath $(APACHE2_MODULES)
+
+ install-exec-local: mod_apreq.la
+! @APACHE2_APXS@ -i -a -n apreq mod_apreq.la
+
+ t/TEST : Makefile.am t/TEST.PL
+ @PERL@ -MApache::TestMM -e '$(TEST_CONFIG_SCRIPT)' -- -apxs @APACHE2_APXS@
+--- 35,42 ----
+ mod_apreq_la_LDFLAGS = -export-dynamic -module -avoid-version -rpath $(APACHE2_MODULES)
+
+ install-exec-local: mod_apreq.la
+! mkdir -p $(DESTDIR)$(APACHE2MODS)
+! $(INSTDSO) SH_LIBTOOL=$(SHLIBTOOL) mod_apreq.la $(DESTDIR)$(APACHE2MODS)
+
+ t/TEST : Makefile.am t/TEST.PL
+ @PERL@ -MApache::TestMM -e '$(TEST_CONFIG_SCRIPT)' -- -apxs @APACHE2_APXS@
diff --git a/www-misc/libapreq2/libapreq2-2.07-r1.ebuild b/www-misc/libapreq2/libapreq2-2.07-r1.ebuild
new file mode 100644
index 000000000000..33acb8eb81d1
--- /dev/null
+++ b/www-misc/libapreq2/libapreq2-2.07-r1.ebuild
@@ -0,0 +1,89 @@
+# 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.07-r1.ebuild,v 1.1 2007/01/20 15:10:24 mcummings Exp $
+
+inherit perl-module depend.apache
+
+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 ~sparc ~x86"
+
+DEPEND="${DEPEND}
+ >=dev-perl/ExtUtils-XSBuilder-0.23
+ >=www-apache/mod_perl-2"
+RDEPEND="${DEPEND}"
+
+mydoc="TODO README CHANGES INSTALL"
+myconf="--with-apache2-apxs=${APXS2}"
+SRC_TEST="skip"
+
+need_apache2
+
+src_unpack() {
+ unpack ${A}
+ 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}
+ perl Makefile.PL ${myconf}
+}
+src_install() {
+
+ emake -j1 DESTDIR=${D} LT_LDFLAGS="-L${D}/usr/lib" 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
+
+}
diff --git a/www-misc/libapreq2/libapreq2-2.07.ebuild b/www-misc/libapreq2/libapreq2-2.07.ebuild
new file mode 100644
index 000000000000..94d01dca809f
--- /dev/null
+++ b/www-misc/libapreq2/libapreq2-2.07.ebuild
@@ -0,0 +1,90 @@
+# 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.07.ebuild,v 1.1 2007/01/20 15:10:24 mcummings Exp $
+
+inherit perl-module depend.apache
+
+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 sparc x86"
+
+DEPEND="${DEPEND}
+ >=dev-perl/ExtUtils-XSBuilder-0.23
+ app-doc/doxygen
+ >=www-apache/mod_perl-2"
+RDEPEND="${DEPEND}"
+
+mydoc="TODO README CHANGES INSTALL"
+myconf="--with-apache2-apxs=${APXS2}"
+SRC_TEST="skip"
+
+need_apache2
+
+src_unpack() {
+ unpack ${A}
+ 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}
+ perl Makefile.PL ${myconf}
+}
+src_install() {
+
+ emake -j1 DESTDIR=${D} LT_LDFLAGS="-L${D}/usr/lib" 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
+
+}
diff --git a/www-misc/libapreq2/metadata.xml b/www-misc/libapreq2/metadata.xml
new file mode 100644
index 000000000000..86672fe64c10
--- /dev/null
+++ b/www-misc/libapreq2/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <maintainer>
+ <email>perl@gentoo.org</email>
+ <description>Primary Maintainer</description>
+ </maintainer>
+ <longdescription></longdescription>
+</pkgmetadata>