diff options
author | Michael Cummings <mcummings@gentoo.org> | 2007-01-20 15:10:24 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2007-01-20 15:10:24 +0000 |
commit | 1c231c430be0e377666cced3e5d866d1e98cc809 (patch) | |
tree | d81f725e093b2dc7bc188a1e5da711624e7c8bf2 /www-misc | |
parent | Stable on ppc wrt bug 162682 (diff) | |
download | historical-1c231c430be0e377666cced3e5d866d1e98cc809.tar.gz historical-1c231c430be0e377666cced3e5d866d1e98cc809.tar.bz2 historical-1c231c430be0e377666cced3e5d866d1e98cc809.zip |
Moving libapreq2, bug 162120
Package-Manager: portage-2.1.2-r1
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/libapreq2/ChangeLog | 97 | ||||
-rw-r--r-- | www-misc/libapreq2/Manifest | 45 | ||||
-rw-r--r-- | www-misc/libapreq2/files/76_mod_apreq.conf | 15 | ||||
-rw-r--r-- | www-misc/libapreq2/files/digest-libapreq2-2.07 | 3 | ||||
-rw-r--r-- | www-misc/libapreq2/files/digest-libapreq2-2.07-r1 | 3 | ||||
-rw-r--r-- | www-misc/libapreq2/files/libapreq2-2.0-binloc.patch | 65 | ||||
-rw-r--r-- | www-misc/libapreq2/files/libapreq2-2.0-sandbox.patch | 33 | ||||
-rw-r--r-- | www-misc/libapreq2/libapreq2-2.07-r1.ebuild | 89 | ||||
-rw-r--r-- | www-misc/libapreq2/libapreq2-2.07.ebuild | 90 | ||||
-rw-r--r-- | www-misc/libapreq2/metadata.xml | 10 |
10 files changed, 450 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..5b8e5dc679b5 --- /dev/null +++ b/www-misc/libapreq2/Manifest @@ -0,0 +1,45 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 2241 RMD160 789bcd6d405d9369bdbce98e5535be8a13cb2180 SHA1 d045c76bba8b14ddce12ab7d1859c0f0d19da31a SHA256 8283f728201fc8520aa0e7cd98e37556e1db9351a0e11ed16aa35f3ec6cb805b +MD5 1dff34d530f84425a1ce2135f60ce73a libapreq2-2.07-r1.ebuild 2241 +RMD160 789bcd6d405d9369bdbce98e5535be8a13cb2180 libapreq2-2.07-r1.ebuild 2241 +SHA256 8283f728201fc8520aa0e7cd98e37556e1db9351a0e11ed16aa35f3ec6cb805b libapreq2-2.07-r1.ebuild 2241 +EBUILD libapreq2-2.07.ebuild 2250 RMD160 0c52c461e136d6354327849d859a4fd098c70481 SHA1 0e7776940fa2ca0af6af03b7ca272a381c464dec SHA256 64a77fb55d2ab625cc917447e141acca8ac8a539eea89607ebcc3cc268388899 +MD5 30a0427393ecdd96627dc103714f23aa libapreq2-2.07.ebuild 2250 +RMD160 0c52c461e136d6354327849d859a4fd098c70481 libapreq2-2.07.ebuild 2250 +SHA256 64a77fb55d2ab625cc917447e141acca8ac8a539eea89607ebcc3cc268388899 libapreq2-2.07.ebuild 2250 +MISC ChangeLog 3450 RMD160 d48bcd296007d2e76bc9c61b147827b6971e0961 SHA1 d3eed0f608b47034507106577d95e7141ec6d002 SHA256 d442f074ca30194f2ff0f2b168ebd4d6d36d2765324459afc29afc6bd068c9a1 +MD5 4e3a3b8f699d691ef009dedd5086ba6e ChangeLog 3450 +RMD160 d48bcd296007d2e76bc9c61b147827b6971e0961 ChangeLog 3450 +SHA256 d442f074ca30194f2ff0f2b168ebd4d6d36d2765324459afc29afc6bd068c9a1 ChangeLog 3450 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFsjDmtG5z4I8BtQoRAkkSAJ0ZNXTFP26OyBApJCxTRKXry6agogCeO1Ok +UnyDJeIkm46osDrrpws/e98= +=NWWt +-----END PGP SIGNATURE----- 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> |