diff options
author | Elfyn McBratney <beu@gentoo.org> | 2005-05-10 00:13:37 +0000 |
---|---|---|
committer | Elfyn McBratney <beu@gentoo.org> | 2005-05-10 00:13:37 +0000 |
commit | c18d9f208282de9fa243230351687e89ca240c84 (patch) | |
tree | 325708fcc314e1b4648a363c7b55e52eda3596e2 /www-apache | |
parent | dev-perl/libapreq{,2} -> www-apache (diff) | |
download | historical-c18d9f208282de9fa243230351687e89ca240c84.tar.gz historical-c18d9f208282de9fa243230351687e89ca240c84.tar.bz2 historical-c18d9f208282de9fa243230351687e89ca240c84.zip |
dev-perl/libapreq{,2} -> www-apache
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'www-apache')
20 files changed, 513 insertions, 0 deletions
diff --git a/www-apache/libapreq/ChangeLog b/www-apache/libapreq/ChangeLog new file mode 100644 index 000000000000..af8315d79ea0 --- /dev/null +++ b/www-apache/libapreq/ChangeLog @@ -0,0 +1,93 @@ +# ChangeLog for dev-perl/libapreq +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq/ChangeLog,v 1.1 2005/05/10 00:12:19 beu Exp $ + +*libapreq-1.3 (10 May 2005) +*libapreq-1.2-r1 (10 May 2005) +*libapreq-1.2 (10 May 2005) +*libapreq-1.0-r3 (10 May 2005) + + 10 May 2005; Elfyn McBratney <beu@gentoo.org> + +files/libapreq-1.2-statlink.patch, +files/libapreq-1.3-statlink.patch, + +metadata.xml, +libapreq-1.0-r3.ebuild, +libapreq-1.2.ebuild, + +libapreq-1.2-r1.ebuild, +libapreq-1.3.ebuild: + dev-perl/libapreq{,2} -> www-apache + + 09 May 2005; Elfyn McBratney <beu@gentoo.org> libapreq-1.0-r3.ebuild, + libapreq-1.2.ebuild, libapreq-1.2-r1.ebuild, libapreq-1.3.ebuild: + dev-perl/mod_perl -> www-apache/mod_perl + + 20 Apr 2005; Gustavo Zacarias <gustavoz@gentoo.org> libapreq-1.3.ebuild: + Stable on sparc + + 19 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> + libapreq-1.2-r1.ebuild: + Stable on ppc. + + 11 Apr 2005; Markus Rothe <corsair@gentoo.org> libapreq-1.3.ebuild: + Added ~ppc64 to KEYWORDS + + 04 Jan 2005; Michael Cummings <mcummings@gentoo.org> + libapreq-1.0-r3.ebuild, libapreq-1.2-r1.ebuild, libapreq-1.2.ebuild: + bug 76590 + + 24 Feb 2004; <agriffis@gentoo.org> libapreq-1.3.ebuild: + stable on alpha and ia64 + + 18 Jan 2004; <tuxus@gentoo.org> libapreq-1.2-r1.ebuild: + Added ~mips to KEYWORDS. + +*libapreq-1.3 (23 Dec 2003) + + 23 Dec 2003; <rac@gentoo.org> libapreq-1.3.ebuild, + files/libapreq-1.3-statlink.patch: + Add 1.3 + +*libapreq-1.2-r1 (04 Nov 2003) + + 04 Nov 2003; <rac@gentoo.org> libapreq-1.2-r1.ebuild, + files/libapreq-1.2-statlink.patch: + Apply patch from + http://www.gossamer-threads.com/archive/mod_perl_C1/modperl_F7/need_your_help_ + to_test_mod_perl_with_perl-5.8.1-RC3_P73457/ to attempt to fix problems with + recent makemakers and shared versus static linking of libapreq.so + +*libapreq-1.2 (20 Jun 2003) + + 20 Jun 2003; Michael Cummings <mcummings@gentoo.org> libapreq-1.2.ebuild: + New version includes new depend + +*libapreq-1.0-r3 (30 May 2003) + + 30 May 2003; Seemant Kulleen <seemant@gentoo.org> libapreq-1.0-r3.ebuild: + proper use of perl-module eclass + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 29 Oct 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog : + + forced version bump to install into correct locations +# ChangeLog for dev-perl/libapreq + +*libapreq-1.01-r1 (24 Jul 2002) + + 16 Dec 2002; Brandon Low <lostlogic@gentoo.org> libapreq-1.01-r1.ebuild : + Fix dep on mod-perl-1 not mod-perl-2. + + 1 Aug 2002; Calum Selkirk <cselkirk@gentoo.org> libapreq-1.01-r1.ebuild: : + + Added ppc to KEYWORDS. + + 24 Jul 2002; Seemant Kulleen <seemant@gentoo.org> libapreq-1.01-r1.ebuild: + + Fell through the cracks during the great eclassing. + +*libapreq-0.31 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/www-apache/libapreq/Manifest b/www-apache/libapreq/Manifest new file mode 100644 index 000000000000..2671183bba96 --- /dev/null +++ b/www-apache/libapreq/Manifest @@ -0,0 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 f862ac7f8b421dd13447f14e7e69b3ab libapreq-1.2-r1.ebuild 665 +MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 +MD5 e21b3cef5a657358131d2e5f3355af38 ChangeLog 2863 +MD5 a57258962995b708c36343fdf6676b81 libapreq-1.0-r3.ebuild 548 +MD5 ded60f38598b7c4e82fc96ec81479bc2 libapreq-1.2.ebuild 574 +MD5 9ea520990bcb82beb1be9e7586f9b110 libapreq-1.3.ebuild 667 +MD5 4527276b891721c635158cd57532a64c files/digest-libapreq-1.2 64 +MD5 9a5be609da3f50ae8fb88e38aa702f04 files/digest-libapreq-1.3 64 +MD5 fedd3f5e45b0f5814cadcea36607baad files/libapreq-1.3-statlink.patch 988 +MD5 6b94213da4a46d8ecdc031e39dfd9233 files/digest-libapreq-1.0-r3 64 +MD5 fedd3f5e45b0f5814cadcea36607baad files/libapreq-1.2-statlink.patch 988 +MD5 4527276b891721c635158cd57532a64c files/digest-libapreq-1.2-r1 64 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCfzw5jUHll2nfF60RAl8dAJsF16/Wk9AcjjDkamdmGA03TgUS/gCfbypA +ujAfNtYHlSN/gSw6zvLMzH0= +=Jh6o +-----END PGP SIGNATURE----- diff --git a/www-apache/libapreq/files/digest-libapreq-1.0-r3 b/www-apache/libapreq/files/digest-libapreq-1.0-r3 new file mode 100644 index 000000000000..6cc7f2ba4089 --- /dev/null +++ b/www-apache/libapreq/files/digest-libapreq-1.0-r3 @@ -0,0 +1 @@ +MD5 26b9c4c6667ce367cd28c46805bee2dd libapreq-1.0.tar.gz 160944 diff --git a/www-apache/libapreq/files/digest-libapreq-1.2 b/www-apache/libapreq/files/digest-libapreq-1.2 new file mode 100644 index 000000000000..8290e8b300c3 --- /dev/null +++ b/www-apache/libapreq/files/digest-libapreq-1.2 @@ -0,0 +1 @@ +MD5 ae08726f11ca25a215d4d854d675c3ff libapreq-1.2.tar.gz 277549 diff --git a/www-apache/libapreq/files/digest-libapreq-1.2-r1 b/www-apache/libapreq/files/digest-libapreq-1.2-r1 new file mode 100644 index 000000000000..8290e8b300c3 --- /dev/null +++ b/www-apache/libapreq/files/digest-libapreq-1.2-r1 @@ -0,0 +1 @@ +MD5 ae08726f11ca25a215d4d854d675c3ff libapreq-1.2.tar.gz 277549 diff --git a/www-apache/libapreq/files/digest-libapreq-1.3 b/www-apache/libapreq/files/digest-libapreq-1.3 new file mode 100644 index 000000000000..5243f0296123 --- /dev/null +++ b/www-apache/libapreq/files/digest-libapreq-1.3 @@ -0,0 +1 @@ +MD5 b40854e91a6210a3af47ffffef9a875e libapreq-1.3.tar.gz 279075 diff --git a/www-apache/libapreq/files/libapreq-1.2-statlink.patch b/www-apache/libapreq/files/libapreq-1.2-statlink.patch new file mode 100644 index 000000000000..3f7e79378130 --- /dev/null +++ b/www-apache/libapreq/files/libapreq-1.2-statlink.patch @@ -0,0 +1,24 @@ +diff -burN libapreq-1.2.orig/Cookie/Makefile.PL libapreq-1.2/Cookie/Makefile.PL +--- libapreq-1.2.orig/Cookie/Makefile.PL 2001-04-03 12:24:08.000000000 -0700 ++++ libapreq-1.2/Cookie/Makefile.PL 2003-11-04 15:41:21.000000000 -0800 +@@ -27,7 +27,7 @@ + @mm_args, + 'INC' => "-I../c ". $src->inc, + 'TYPEMAPS' => $src->typemaps, +- 'LIBS' => "-L$root -lapreq", ++ 'OBJECT' => "Cookie.o $root/libapreq.a", + 'dynamic_lib' => { + 'OTHERLDFLAGS' => $src->otherldflags, + }, +diff -burN libapreq-1.2.orig/Request/Makefile.PL libapreq-1.2/Request/Makefile.PL +--- libapreq-1.2.orig/Request/Makefile.PL 2001-04-03 12:24:09.000000000 -0700 ++++ libapreq-1.2/Request/Makefile.PL 2003-11-04 15:43:27.000000000 -0800 +@@ -27,7 +27,7 @@ + @mm_args, + 'INC' => "-I../c ". $src->inc, + 'TYPEMAPS' => $src->typemaps, +- 'LIBS' => "-L$root -lapreq", ++ 'OBJECT' => "Request.o $root/libapreq.a", + 'dynamic_lib' => { + 'OTHERLDFLAGS' => $src->otherldflags, + }, diff --git a/www-apache/libapreq/files/libapreq-1.3-statlink.patch b/www-apache/libapreq/files/libapreq-1.3-statlink.patch new file mode 100644 index 000000000000..3f7e79378130 --- /dev/null +++ b/www-apache/libapreq/files/libapreq-1.3-statlink.patch @@ -0,0 +1,24 @@ +diff -burN libapreq-1.2.orig/Cookie/Makefile.PL libapreq-1.2/Cookie/Makefile.PL +--- libapreq-1.2.orig/Cookie/Makefile.PL 2001-04-03 12:24:08.000000000 -0700 ++++ libapreq-1.2/Cookie/Makefile.PL 2003-11-04 15:41:21.000000000 -0800 +@@ -27,7 +27,7 @@ + @mm_args, + 'INC' => "-I../c ". $src->inc, + 'TYPEMAPS' => $src->typemaps, +- 'LIBS' => "-L$root -lapreq", ++ 'OBJECT' => "Cookie.o $root/libapreq.a", + 'dynamic_lib' => { + 'OTHERLDFLAGS' => $src->otherldflags, + }, +diff -burN libapreq-1.2.orig/Request/Makefile.PL libapreq-1.2/Request/Makefile.PL +--- libapreq-1.2.orig/Request/Makefile.PL 2001-04-03 12:24:09.000000000 -0700 ++++ libapreq-1.2/Request/Makefile.PL 2003-11-04 15:43:27.000000000 -0800 +@@ -27,7 +27,7 @@ + @mm_args, + 'INC' => "-I../c ". $src->inc, + 'TYPEMAPS' => $src->typemaps, +- 'LIBS' => "-L$root -lapreq", ++ 'OBJECT' => "Request.o $root/libapreq.a", + 'dynamic_lib' => { + 'OTHERLDFLAGS' => $src->otherldflags, + }, diff --git a/www-apache/libapreq/libapreq-1.0-r3.ebuild b/www-apache/libapreq/libapreq-1.0-r3.ebuild new file mode 100644 index 000000000000..6fd3669ff228 --- /dev/null +++ b/www-apache/libapreq/libapreq-1.0-r3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq/libapreq-1.0-r3.ebuild,v 1.1 2005/05/10 00:12:19 beu Exp $ + +inherit perl-module + +DESCRIPTION="A Apache Request Perl Module" +SRC_URI="mirror://cpan/authors/id/J/JI/JIMW/${P}.tar.gz" +HOMEPAGE="http://search.cpan.org/~jimw/${P}/" + +SLOT="0" +LICENSE="Apache-1.1 as-is" +KEYWORDS="x86 amd64 ppc sparc alpha" +IUSE="" + +DEPEND="${DEPEND} + >=sys-apps/sed-4 + <www-apache/mod_perl-1.99" + +mydoc="TODO" diff --git a/www-apache/libapreq/libapreq-1.2-r1.ebuild b/www-apache/libapreq/libapreq-1.2-r1.ebuild new file mode 100644 index 000000000000..ab8ad6ef7570 --- /dev/null +++ b/www-apache/libapreq/libapreq-1.2-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq/libapreq-1.2-r1.ebuild,v 1.1 2005/05/10 00:12:19 beu Exp $ + +inherit perl-module eutils + +DESCRIPTION="A Apache Request Perl Module" +SRC_URI="mirror://cpan/authors/id/J/JO/JOESUF/${P}.tar.gz" +HOMEPAGE="http://search.cpan.org/~joesuf/${P}/" + +LICENSE="Apache-1.1 as-is" +SLOT="0" +KEYWORDS="x86 amd64 ppc ~sparc ~alpha ~mips" +IUSE="" + +DEPEND=">=sys-apps/sed-4 + dev-perl/Apache-Test + <www-apache/mod_perl-1.99" + +mydoc="TODO" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-statlink.patch || die +} diff --git a/www-apache/libapreq/libapreq-1.2.ebuild b/www-apache/libapreq/libapreq-1.2.ebuild new file mode 100644 index 000000000000..4fd75b402570 --- /dev/null +++ b/www-apache/libapreq/libapreq-1.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq/libapreq-1.2.ebuild,v 1.1 2005/05/10 00:12:19 beu Exp $ + +inherit perl-module + +DESCRIPTION="A Apache Request Perl Module" +SRC_URI="mirror://cpan/authors/id/J/JO/JOESUF/${P}.tar.gz" +HOMEPAGE="http://search.cpan.org/~joesuf/${P}/" + +SLOT="0" +LICENSE="Apache-1.1 as-is" +KEYWORDS="x86 amd64 ~ppc ~sparc ~alpha" +IUSE="" + +DEPEND="${DEPEND} + >=sys-apps/sed-4 + dev-perl/Apache-Test + <www-apache/mod_perl-1.99" + +mydoc="TODO" diff --git a/www-apache/libapreq/libapreq-1.3.ebuild b/www-apache/libapreq/libapreq-1.3.ebuild new file mode 100644 index 000000000000..4246764cf6d7 --- /dev/null +++ b/www-apache/libapreq/libapreq-1.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq/libapreq-1.3.ebuild,v 1.1 2005/05/10 00:12:19 beu Exp $ + +inherit perl-module eutils + +DESCRIPTION="A Apache Request Perl Module" +HOMEPAGE="http://httpd.apache.org/apreq/" +SRC_URI="http://www.apache.org/dist/httpd/libapreq/${P}.tar.gz" + +LICENSE="Apache-1.1 as-is" +SLOT="0" +KEYWORDS="~x86 amd64 ~ppc sparc alpha ia64 ~ppc64" +IUSE="" + +DEPEND=">=sys-apps/sed-4 + dev-perl/Apache-Test + <www-apache/mod_perl-1.99" + +mydoc="TODO" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-statlink.patch || die +} diff --git a/www-apache/libapreq/metadata.xml b/www-apache/libapreq/metadata.xml new file mode 100644 index 000000000000..86672fe64c10 --- /dev/null +++ b/www-apache/libapreq/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> diff --git a/www-apache/libapreq2/ChangeLog b/www-apache/libapreq2/ChangeLog new file mode 100644 index 000000000000..ad47f532b3c9 --- /dev/null +++ b/www-apache/libapreq2/ChangeLog @@ -0,0 +1,25 @@ +# ChangeLog for dev-perl/libapreq2 +# Copyright 2003-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.1 2005/05/10 00:13:37 beu Exp $ + +*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 000000000000..05b5cb0fa88f --- /dev/null +++ b/www-apache/libapreq2/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 +MD5 2325e3ef515318bda1fe9573339ec3f8 ChangeLog 696 +MD5 99ae10d9820d1eb1665fe3bf4dc36059 libapreq2-2.04.03.ebuild 2915 +MD5 b6b2398e58512016392bd02a5bd2b548 files/libapreq2-2.0-binloc.patch 3154 +MD5 1fad30fc51874d46cd39dd7ada8d17d8 files/digest-libapreq2-2.04.03 73 +MD5 7e7f7ff87f41a04bb85b1bf4792eafd5 files/libapreq2-2.0-sandbox.patch 1169 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCfzxyjUHll2nfF60RAuQ8AJ0SdmsZF0AJ2r1Oej4wyBZzVn6hDwCfWBbl +nb5/fVQhdnHUa6k8LkMhJrQ= +=nMQd +-----END PGP SIGNATURE----- diff --git a/www-apache/libapreq2/files/digest-libapreq2-2.04.03 b/www-apache/libapreq2/files/digest-libapreq2-2.04.03 new file mode 100644 index 000000000000..5dd9d5bc65bf --- /dev/null +++ b/www-apache/libapreq2/files/digest-libapreq2-2.04.03 @@ -0,0 +1 @@ +MD5 1f5dd762c877b716f3774d502f575196 libapreq2-2.04_03-dev.tar.gz 592748 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 000000000000..dc27ca383953 --- /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 000000000000..309cfc56c8a3 --- /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.04.03.ebuild b/www-apache/libapreq2/libapreq2-2.04.03.ebuild new file mode 100644 index 000000000000..38ae7f2be595 --- /dev/null +++ b/www-apache/libapreq2/libapreq2-2.04.03.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/libapreq2-2.04.03.ebuild,v 1.1 2005/05/10 00:13:37 beu Exp $ + +inherit libtool eutils flag-o-matic + +MY_P=${P/alpha/} +S=${WORKDIR}/${MY_P%%.[0-9][0-9]}-dev +DESCRIPTION="A Apache Request Perl Module" +MY_SRCBALL=${MY_P%.*}_${MY_P##*.}-dev.tar.gz +SRC_URI="http://www.apache.org/dist/httpd/libapreq/${MY_SRCBALL}" +HOMEPAGE="http://httpd.apache.org/apreq/" +SLOT="2" +LICENSE="Apache-2.0" +KEYWORDS="~x86 ~amd64" + +# the 5.8.4 dep is to ensure Test-More and MakeMaker + +DEPEND="${DEPEND} + >=dev-lang/perl-5.8.4 + >=sys-apps/sed-4 + dev-perl/Apache-Test + >=net-www/apache-2.0.46 + >=www-apache/mod_perl-1.99 + >=dev-perl/ExtUtils-XSBuilder-0.23" + +mydoc="TODO" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-2.0-binloc.patch || die + epatch ${FILESDIR}/${PN}-2.0-sandbox.patch || die + echo "ScriptSock ${T}/run" >> ${S}/env/t/conf/extra.conf.in + echo "ScriptSock ${T}/run2" > ${S}/glue/perl/t/conf/extra.conf.in + elibtoolize --reverse-deps + sed -i -e 's/-apxs @APACHE2_APXS@/-apxs @APACHE2_APXS@ -user portage -group portage/' ${S}/env/Makefile.am + sed -i -e 's/-apxs @APACHE2_APXS@/-apxs @APACHE2_APXS@ -user portage -group portage -port 8549/' ${S}/glue/Makefile.am +} + +src_compile() { + + # the -i is for a missing depcomp + autoreconf -i -f + + # the install process installs libapreq2 first, and then calls + # apxs2 -i, which tries to recompile a libtool thing and fails + # because it can't find libapreq2, which is still sitting in the + # staging directory. this approach thieved from subversion ebuild, + # suggested by pauldv. that didn't work, neither did the + # LD_LIBRARY_PATH thing. I'm at the end of my rope for now on + # this, so i'm disabling relink. Anybody that can figure out a + # cleaner way is certainly welcome to do so. + + sed -i -e 's/need_relink=yes/#ouch need_relink=yes/' ${S}/ltmain.sh + + # this may only be needed on 64-bit arches + + append-flags -fPIC + + econf --with-apache2-apxs=/usr/sbin/apxs2 \ + --with-apache2-httpd=/usr/sbin/apache2 \ + --enable-perl-glue + + emake LT_LDFLAGS="-L${D}/usr/lib" || die + + hasq maketest $FEATURES && src_test +} + +src_test() { + # ccache breaks the cgi portion of make test + # thieved from lilypond ebuild + PATH="$(echo ":${PATH}:" | sed 's/:[^:]*ccache[^:]*:/:/;s/^://;s/:$//;')" + + # even after all that, cgi.t can't find what it needs in its @INC. + # don't see how this ever ran for anybody. disabling for now + echo "cgi" > ${S}/env/t/SKIP + echo "cgi" > ${S}/glue/perl/t/SKIP + + chown portage ${S}/.. + chown portage ${S} + chown portage ${S}/env + + # tests too flaky yet to || die + + APACHE_TEST_NO_STICKY_PREFERENCES=1 HOME="${T}" emake test +} + +src_install() { + emake -j1 DESTDIR=${D} LT_LDFLAGS="-L${D}/usr/lib" install || die + insinto /etc/apache2/conf/modules.d + doins ${FILESDIR}/76_mod_apreq.conf +} diff --git a/www-apache/libapreq2/metadata.xml b/www-apache/libapreq2/metadata.xml new file mode 100644 index 000000000000..86672fe64c10 --- /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> |