summaryrefslogtreecommitdiff
path: root/www-apache/libapreq2
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2006-11-03 02:46:55 +0100
committerBertrand Jacquin <beber@meleeweb.net>2006-11-03 02:46:55 +0100
commitee7540ba68007cdd985601f871f089b2d75e6a54 (patch)
treea0caafc33cb74f0de739e6e0652fac6b14623ecd /www-apache/libapreq2
parenttest3 (diff)
downloadportage-ee7540ba68007cdd985601f871f089b2d75e6a54.tar.xz
add deps for alphamail
Diffstat (limited to 'www-apache/libapreq2')
-rw-r--r--www-apache/libapreq2/ChangeLog91
-rw-r--r--www-apache/libapreq2/Manifest28
-rw-r--r--www-apache/libapreq2/files/76_mod_apreq.conf15
-rw-r--r--www-apache/libapreq2/files/digest-libapreq2-2.083
-rw-r--r--www-apache/libapreq2/files/libapreq2-2.0-binloc.patch65
-rw-r--r--www-apache/libapreq2/files/libapreq2-2.0-sandbox.patch33
-rw-r--r--www-apache/libapreq2/libapreq2-2.08.ebuild90
-rw-r--r--www-apache/libapreq2/metadata.xml10
8 files changed, 335 insertions, 0 deletions
diff --git a/www-apache/libapreq2/ChangeLog b/www-apache/libapreq2/ChangeLog
new file mode 100644
index 00000000..783c4099
--- /dev/null
+++ b/www-apache/libapreq2/ChangeLog
@@ -0,0 +1,91 @@
+# ChangeLog for www-apache/libapreq2
+# Copyright 2003-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.19 2006/10/20 19:45:32 kloeri Exp $
+
+ 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-apache/libapreq2/Manifest b/www-apache/libapreq2/Manifest
new file mode 100644
index 00000000..c1eeb81a
--- /dev/null
+++ b/www-apache/libapreq2/Manifest
@@ -0,0 +1,28 @@
+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.08.tar.gz 847527 RMD160 f2084c709443424c7d749be732924b37d70dee96 SHA1 e2ac823724f4b54c000138d4c660d438e8fffe16 SHA256 8f8d71852ea3addab7690fa96fc50ea5f221f719156d50995f7f3e0a5a59e932
+EBUILD libapreq2-2.08.ebuild 2250 RMD160 71ef3a26b7b6497b9c4e7846cd9809582b7f6c37 SHA1 a743d61ef63d20c50cd7db4a175975fb00fc43df SHA256 8ac58f87f88249f7b05bd46f4d88030c265207646f2e9fb01c3e5d6ba2c287b1
+MD5 4f3280d00ab8c565ee59dc2560dcccfa libapreq2-2.08.ebuild 2250
+RMD160 71ef3a26b7b6497b9c4e7846cd9809582b7f6c37 libapreq2-2.08.ebuild 2250
+SHA256 8ac58f87f88249f7b05bd46f4d88030c265207646f2e9fb01c3e5d6ba2c287b1 libapreq2-2.08.ebuild 2250
+MISC ChangeLog 3194 RMD160 3f829805238189cae556ecebc6129a90394262a5 SHA1 612d5222a052a0b9853720ef7a0ce6c9ca5b4a71 SHA256 636b6a7f62efe5ce1fada25f653e89f900c942f4392eb83027a7c520a7f00af9
+MD5 b0f323fdfdaed60fb2ddf3c56546e82b ChangeLog 3194
+RMD160 3f829805238189cae556ecebc6129a90394262a5 ChangeLog 3194
+SHA256 636b6a7f62efe5ce1fada25f653e89f900c942f4392eb83027a7c520a7f00af9 ChangeLog 3194
+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 3d2a029cfdc7669a6e46eee1c2060a15 files/digest-libapreq2-2.08 244
+RMD160 550819715d5252aad8e2a5a170d7c98297abda2d files/digest-libapreq2-2.08 244
+SHA256 f6c3ace6b6f1614b668431878e597b872ba8a33c6b98315a01b8fabf35f43f1e files/digest-libapreq2-2.08 244
diff --git a/www-apache/libapreq2/files/76_mod_apreq.conf b/www-apache/libapreq2/files/76_mod_apreq.conf
new file mode 100644
index 00000000..165dae81
--- /dev/null
+++ b/www-apache/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-apache/libapreq2/files/digest-libapreq2-2.08 b/www-apache/libapreq2/files/digest-libapreq2-2.08
new file mode 100644
index 00000000..a40f7d75
--- /dev/null
+++ b/www-apache/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-apache/libapreq2/files/libapreq2-2.0-binloc.patch b/www-apache/libapreq2/files/libapreq2-2.0-binloc.patch
new file mode 100644
index 00000000..dc27ca38
--- /dev/null
+++ b/www-apache/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-apache/libapreq2/files/libapreq2-2.0-sandbox.patch b/www-apache/libapreq2/files/libapreq2-2.0-sandbox.patch
new file mode 100644
index 00000000..309cfc56
--- /dev/null
+++ b/www-apache/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-apache/libapreq2/libapreq2-2.08.ebuild b/www-apache/libapreq2/libapreq2-2.08.ebuild
new file mode 100644
index 00000000..20621d41
--- /dev/null
+++ b/www-apache/libapreq2/libapreq2-2.08.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/libapreq2-2.07.ebuild,v 1.11 2006/10/20 19:45:32 kloeri 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-apache/libapreq2/metadata.xml b/www-apache/libapreq2/metadata.xml
new file mode 100644
index 00000000..86672fe6
--- /dev/null
+++ b/www-apache/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>