public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/libapreq2/
Date: Tue, 17 Nov 2020 23:02:11 +0000 (UTC)	[thread overview]
Message-ID: <1605654126.22dc9ed6b5cc0884b2724dbc354ae63835ee3673.sam@gentoo> (raw)

commit:     22dc9ed6b5cc0884b2724dbc354ae63835ee3673
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 17 22:59:25 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 17 23:02:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22dc9ed6

www-apache/libapreq2: bump to 2.15

Bug: https://bugs.gentoo.org/755164
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-apache/libapreq2/Manifest              |  1 +
 www-apache/libapreq2/libapreq2-2.15.ebuild | 72 ++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/www-apache/libapreq2/Manifest b/www-apache/libapreq2/Manifest
index 00cb7fd8295..d72320403b1 100644
--- a/www-apache/libapreq2/Manifest
+++ b/www-apache/libapreq2/Manifest
@@ -1 +1,2 @@
 DIST libapreq2-2.13.tar.gz 891320 BLAKE2B 6e896b95a17d7e4eede651bd74f21280d77b38c1c96be790c34993307a0435ea6d4626825dc215680e1fa2cd6a3ec635fcbeb9fda3b34e687ed8f7641b4fee7e SHA512 54553cb90c0d3f6fb34ff19364c5804976c4aff1bae551ae051fdd06f41695770f1e285c40e03dbd93ae738adc332f38f1a1994167598364071feaec833fdf05
+DIST libapreq2-2.15.tar.gz 839618 BLAKE2B 875aa8091512cf6b43c8654579b3d4779ea50835784380dcf69ca048f9b8d4ef6e573fef5ee03c0e47a929dcd8c4643d5dc861d875122095024bca6e8fbbf38c SHA512 abdc34f4867ba891966e7296c8110cffaa723f9b966522a1de352bc459e89e5cfc60de25dcd20cf0fa9b7cdf9282719b0276b621af8aa7bb770c89a7fbae4701

diff --git a/www-apache/libapreq2/libapreq2-2.15.ebuild b/www-apache/libapreq2/libapreq2-2.15.ebuild
new file mode 100644
index 00000000000..03aadcb290e
--- /dev/null
+++ b/www-apache/libapreq2/libapreq2-2.15.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit apache-module perl-module
+
+DESCRIPTION="A library for manipulating client request data via the Apache API"
+SRC_URI="mirror://apache/httpd/libapreq/${P}.tar.gz"
+HOMEPAGE="https://httpd.apache.org/apreq/"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="perl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	perl? (
+		>=dev-perl/ExtUtils-XSBuilder-0.23
+		virtual/perl-version
+		>=www-apache/mod_perl-2
+	)
+"
+DEPEND="${RDEPEND}
+	test? ( dev-perl/Apache-Test )
+"
+
+PATCHES=(
+	"${FILESDIR}"/libapreq2-2.08-doc.patch
+)
+
+APACHE2_MOD_FILE="module/apache2/.libs/mod_apreq2.so"
+APACHE2_MOD_CONF="76_mod_apreq"
+APACHE2_MOD_DEFINE="APREQ"
+DOCFILES="docs/html/*.html CHANGES README INSTALL MANIFEST"
+
+need_apache2
+
+pkg_setup() {
+	perl_set_version
+}
+
+src_prepare() {
+	default
+
+	sed -i -e "s/PERL \$PERL_OPTS/PERL/" "${S}"/acinclude.m4 || die
+	sed -i -e "s/PERL \$PERL_OPTS/PERL/" "${S}"/aclocal.m4 || die
+	sed -i -e "s/PERL \$PERL_OPTS/PERL/" "${S}"/configure  || die
+}
+
+src_configure() {
+	econf \
+		--with-apache2-apxs=${APXS} \
+		$(use_enable perl perl-glue)
+}
+
+src_install() {
+	APACHE_MODULESDIR="/usr/$(get_libdir)/apache2/modules"
+	apache-module_src_install
+
+	make DESTDIR="${D}" INSTALLDIRS=vendor install || die "make install failed"
+	doman docs/man/man3/*.3
+
+	perl_delete_localpod
+
+	for i in $(find "${D}" -type f -not -name '*.so'); do
+		if file ${i} | grep -i " text"; then
+			sed -i -e "s:${D}:/:g" ${i} || die
+		fi
+	done
+}


             reply	other threads:[~2020-11-17 23:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 23:02 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-05 17:09 [gentoo-commits] repo/gentoo:master commit in: www-apache/libapreq2/ Sam James
2020-12-10 21:41 Thomas Deutschmann
2020-12-14  8:09 Sam James
2021-02-25  8:36 Sergei Trofimovich
2021-03-25 13:41 Sam James
2021-05-01 18:07 Sam James
2021-05-16 12:45 Sam James
2021-05-16 12:53 Sam James
2021-05-17  3:03 Sam James
2021-05-17  3:19 Sam James
2021-05-17 13:45 Agostino Sarubbo
2021-05-17 21:00 Sergei Trofimovich
2022-04-17 19:17 Sam James
2022-07-02 22:04 David Seifert
2022-08-26 10:03 Sam James
2022-10-13 22:37 Sam James
2022-10-13 23:04 Sam James
2022-10-14  4:14 Arthur Zamarin
2022-10-14  4:14 Arthur Zamarin
2023-05-03 10:11 Sam James
2024-11-24  7:54 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1605654126.22dc9ed6b5cc0884b2724dbc354ae63835ee3673.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox