Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/apache-tools: ChangeLog apache-tools-2.2.31.ebuild
Date: Thu, 23 Jul 2015 14:18:01
Message-Id: 20150723141749.493F9C1@oystercatcher.gentoo.org
1 polynomial-c 15/07/23 14:17:49
2
3 Modified: ChangeLog
4 Added: apache-tools-2.2.31.ebuild
5 Log:
6 Version bump (bug #555658)
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 981CA6FC)
9
10 Revision Changes Path
11 1.207 app-admin/apache-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.207&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.207&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?r1=1.206&r2=1.207
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v
20 retrieving revision 1.206
21 retrieving revision 1.207
22 diff -u -r1.206 -r1.207
23 --- ChangeLog 16 Jul 2015 06:08:19 -0000 1.206
24 +++ ChangeLog 23 Jul 2015 14:17:49 -0000 1.207
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-admin/apache-tools
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.206 2015/07/16 06:08:19 polynomial-c Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.207 2015/07/23 14:17:49 polynomial-c Exp $
30 +
31 +*apache-tools-2.2.31 (23 Jul 2015)
32 +
33 + 23 Jul 2015; Lars Wendler <polynomial-c@g.o>
34 + +apache-tools-2.2.31.ebuild:
35 + Version bump (bug #555658).
36
37 *apache-tools-2.4.16 (16 Jul 2015)
38
39
40
41
42 1.1 app-admin/apache-tools/apache-tools-2.2.31.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.31.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.31.ebuild?rev=1.1&content-type=text/plain
46
47 Index: apache-tools-2.2.31.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.31.ebuild,v 1.1 2015/07/23 14:17:49 polynomial-c Exp $
52
53 EAPI="4"
54 inherit flag-o-matic eutils
55
56 DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
57 HOMEPAGE="http://httpd.apache.org/"
58 SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
59
60 LICENSE="Apache-2.0"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
63 IUSE="ssl"
64 RESTRICT="test"
65
66 RDEPEND="=dev-libs/apr-1*
67 =dev-libs/apr-util-1*
68 dev-libs/expat
69 dev-libs/libpcre
70 kernel_linux? ( sys-apps/util-linux )
71 ssl? ( dev-libs/openssl )
72 !<www-servers/apache-2.2.4"
73
74 DEPEND="${RDEPEND}
75 sys-devel/libtool"
76
77 S="${WORKDIR}/httpd-${PV}"
78
79 src_prepare() {
80 # Apply these patches:
81 # (1) apache-tools-2.2.20-Makefile.patch:
82 # - fix up the `make install' for support/
83 # - remove envvars from `make install'
84 epatch "${FILESDIR}"/${PN}-2.2.20-Makefile.patch
85 }
86
87 src_configure() {
88 # Brain dead check.
89 tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
90
91 # Instead of filtering --as-needed (bug #128505), append --no-as-needed
92 append-ldflags $(no-as-needed)
93
94 # econf overwrites the stuff from config.layout.
95 econf \
96 --sbindir=/usr/sbin \
97 --with-z=/usr \
98 --with-apr=/usr \
99 --with-apr-util=/usr \
100 --with-pcre=/usr \
101 $(use_enable ssl) \
102 $(usex ssl '--with-ssl=/usr' '')
103 }
104
105 src_compile() {
106 cd support || die
107 emake
108 }
109
110 src_install () {
111 cd support || die
112
113 make DESTDIR="${D}" install || die
114
115 # install manpages
116 doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
117 "${S}"/docs/man/{htcacheclean,rotatelogs,ab,logresolve}.8
118
119 # Providing compatiblity symlinks for #177697 (which we'll stop to install
120 # at some point).
121 pushd "${D}"/usr/sbin/ >/dev/null || die
122 for i in *; do
123 dosym /usr/sbin/${i} /usr/sbin/${i}2
124 done
125 popd >/dev/null || die
126
127 # Provide a symlink for ab-ssl
128 if use ssl; then
129 dosym /usr/sbin/ab /usr/sbin/ab-ssl
130 dosym /usr/sbin/ab /usr/sbin/ab2-ssl
131 fi
132
133 # make htpasswd accessible for non-root users
134 dosym /usr/sbin/htpasswd /usr/bin/htpasswd
135 dosym /usr/sbin/htdigest /usr/bin/htdigest
136
137 dodoc "${S}"/CHANGES
138 }