Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/libapreq2: libapreq2-2.13-r1.ebuild ChangeLog
Date: Sun, 24 Aug 2014 16:45:09
Message-Id: 20140824164503.035DD3CFC@oystercatcher.gentoo.org
1 dilfridge 14/08/24 16:45:02
2
3 Modified: ChangeLog
4 Added: libapreq2-2.13-r1.ebuild
5 Log:
6 Bump to EAPI 5
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)
9
10 Revision Changes Path
11 1.49 www-apache/libapreq2/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/libapreq2/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/libapreq2/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/libapreq2/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 27 Nov 2012 19:02:39 -0000 1.48
24 +++ ChangeLog 24 Aug 2014 16:45:02 -0000 1.49
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-apache/libapreq2
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.48 2012/11/27 19:02:39 pacho Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/ChangeLog,v 1.49 2014/08/24 16:45:02 dilfridge Exp $
31 +
32 +*libapreq2-2.13-r1 (24 Aug 2014)
33 +
34 + 24 Aug 2014; Andreas K. Huettel <dilfridge@g.o>
35 + +libapreq2-2.13-r1.ebuild:
36 + Bump to EAPI 5
37
38 27 Nov 2012; Pacho Ramos <pacho@g.o> metadata.xml:
39 Drop apache herd as discussed in http://www.gossamer-
40
41
42
43 1.1 www-apache/libapreq2/libapreq2-2.13-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/libapreq2/libapreq2-2.13-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/libapreq2/libapreq2-2.13-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libapreq2-2.13-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/www-apache/libapreq2/libapreq2-2.13-r1.ebuild,v 1.1 2014/08/24 16:45:02 dilfridge Exp $
53
54 EAPI=5
55
56 inherit apache-module perl-module multilib
57
58 DESCRIPTION="A library for manipulating client request data via the Apache API"
59 SRC_URI="mirror://apache/httpd/libapreq/${P}.tar.gz"
60 HOMEPAGE="http://httpd.apache.org/apreq/"
61
62 LICENSE="Apache-2.0"
63 SLOT="2"
64 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
65 IUSE="perl"
66
67 DEPEND="${DEPEND}
68 perl? (
69 >=dev-perl/ExtUtils-XSBuilder-0.23
70 virtual/perl-version
71 >=www-apache/mod_perl-2
72 )"
73 RDEPEND="${DEPEND}"
74
75 APACHE2_MOD_FILE="module/apache2/.libs/mod_apreq2.so"
76 APACHE2_MOD_CONF="76_mod_apreq"
77 APACHE2_MOD_DEFINE="APREQ"
78 DOCFILES="docs/html/*.html CHANGES README INSTALL MANIFEST"
79
80 need_apache2
81
82 pkg_setup() {
83 perl-module_pkg_setup
84 }
85
86 src_prepare() {
87 epatch "${FILESDIR}"/libapreq2-2.08-doc.patch
88
89 sed -i -e "s/PERL \$PERL_OPTS/PERL/" "${S}"/acinclude.m4 || die
90 sed -i -e "s/PERL \$PERL_OPTS/PERL/" "${S}"/aclocal.m4 || die
91 sed -i -e "s/PERL \$PERL_OPTS/PERL/" "${S}"/configure || die
92 }
93
94 src_configure() {
95 econf \
96 --with-apache2-apxs=${APXS} \
97 $(use_enable perl perl-glue)
98 }
99
100 src_install() {
101 apache-module_src_install
102
103 make DESTDIR="${D}" INSTALLDIRS=vendor install || die "make install failed"
104 doman docs/man/man3/*.3
105
106 fixlocalpod
107
108 for i in $(find "${D}" -type f -not -name '*.so'); do
109 if file ${i} | grep -i " text"; then
110 sed -i -e "s:${D}:/:g" ${i}
111 fi
112 done
113 }