Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/apache-tools: ChangeLog apache-tools-2.2.24.ebuild
Date: Thu, 28 Feb 2013 22:06:49
Message-Id: 20130228220645.3F13B2171D@flycatcher.gentoo.org
1 chainsaw 13/02/28 22:06:45
2
3 Modified: ChangeLog
4 Added: apache-tools-2.2.24.ebuild
5 Log:
6 Version bump as required for =www-servers/apache-2.2.24; for security bug #438680 filed by Hanno Boeck.
7
8 (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
9
10 Revision Changes Path
11 1.132 app-admin/apache-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.132&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.132&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?r1=1.131&r2=1.132
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v
20 retrieving revision 1.131
21 retrieving revision 1.132
22 diff -u -r1.131 -r1.132
23 --- ChangeLog 27 Feb 2013 06:54:34 -0000 1.131
24 +++ ChangeLog 28 Feb 2013 22:06:45 -0000 1.132
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-admin/apache-tools
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.131 2013/02/27 06:54:34 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.132 2013/02/28 22:06:45 chainsaw Exp $
30 +
31 +*apache-tools-2.2.24 (28 Feb 2013)
32 +
33 + 28 Feb 2013; Tony Vroon <chainsaw@g.o> +apache-tools-2.2.24.ebuild:
34 + Version bump as required for =www-servers/apache-2.2.24; for security bug
35 + #438680 filed by Hanno Boeck.
36
37 *apache-tools-2.4.4 (27 Feb 2013)
38
39
40
41
42 1.1 app-admin/apache-tools/apache-tools-2.2.24.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.24.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.24.ebuild?rev=1.1&content-type=text/plain
46
47 Index: apache-tools-2.2.24.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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.24.ebuild,v 1.1 2013/02/28 22:06:45 chainsaw 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 ~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/libpcre
69 ssl? ( dev-libs/openssl )
70 !<www-servers/apache-2.2.4"
71
72 DEPEND="${RDEPEND}
73 sys-devel/libtool"
74
75 S="${WORKDIR}/httpd-${PV}"
76
77 src_prepare() {
78 # Apply these patches:
79 # (1) apache-tools-2.2.20-Makefile.patch:
80 # - fix up the `make install' for support/
81 # - remove envvars from `make install'
82 epatch "${FILESDIR}"/${PN}-2.2.20-Makefile.patch
83 }
84
85 src_configure() {
86 local myconf=""
87
88 # Instead of filtering --as-needed (bug #128505), append --no-as-needed
89 append-ldflags $(no-as-needed)
90
91 use ssl && myconf+=" --with-ssl=/usr --enable-ssl"
92
93 # econf overwrites the stuff from config.layout, so we have to put them into
94 # our myconf line too
95 econf \
96 --sbindir=/usr/sbin \
97 --with-z=/usr \
98 --with-apr=/usr \
99 --with-apr-util=/usr \
100 --with-pcre=/usr \
101 ${myconf}
102 }
103
104 src_compile() {
105 cd support || die
106 emake
107 }
108
109 src_install () {
110 cd support || die
111
112 make DESTDIR="${D}" install
113
114 # install manpages
115 doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
116 "${S}"/docs/man/{htcacheclean,rotatelogs,ab,logresolve}.8
117
118 # Providing compatiblity symlinks for #177697 (which we'll stop to install
119 # at some point).
120 pushd "${D}"/usr/sbin/ >/dev/null
121 for i in *; do
122 dosym /usr/sbin/${i} /usr/sbin/${i}2
123 done
124 popd "${D}"/usr/sbin/ >/dev/null
125
126 # Provide a symlink for ab-ssl
127 if use ssl; then
128 dosym /usr/sbin/ab /usr/sbin/ab-ssl
129 dosym /usr/sbin/ab /usr/sbin/ab2-ssl
130 fi
131
132 # make htpasswd accessible for non-root users
133 dosym /usr/sbin/htpasswd /usr/bin/htpasswd
134 dosym /usr/sbin/htdigest /usr/bin/htdigest
135
136 dodoc "${S}"/CHANGES
137 }