Gentoo Archives: gentoo-commits

From: "Alexander Vershilov (qnikst)" <qnikst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/apache-tools: apache-tools-2.4.3-r1.ebuild ChangeLog apache-tools-2.4.3.ebuild
Date: Thu, 01 Nov 2012 06:55:59
Message-Id: 20121101065540.DCD2C21600@flycatcher.gentoo.org
1 qnikst 12/11/01 06:55:40
2
3 Modified: ChangeLog
4 Added: apache-tools-2.4.3-r1.ebuild
5 Removed: apache-tools-2.4.3.ebuild
6 Log:
7 fix symlinks (#410733), thanks to Michael Weiser
8
9 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.127 app-admin/apache-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.127&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.127&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?r1=1.126&r2=1.127
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v
21 retrieving revision 1.126
22 retrieving revision 1.127
23 diff -u -r1.126 -r1.127
24 --- ChangeLog 20 Oct 2012 16:32:41 -0000 1.126
25 +++ ChangeLog 1 Nov 2012 06:55:40 -0000 1.127
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-admin/apache-tools
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.126 2012/10/20 16:32:41 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.127 2012/11/01 06:55:40 qnikst Exp $
31 +
32 +*apache-tools-2.4.3-r1 (31 Oct 2012)
33 +
34 + 31 Oct 2012; Alexander Vershilov <qnikst@g.o>
35 + +apache-tools-2.4.3-r1.ebuild, -apache-tools-2.4.3.ebuild:
36 + fix symlinks (#410733), thanks to Michael Weiser
37
38 20 Oct 2012; Raúl Porcel <armin76@g.o> apache-tools-2.2.23.ebuild:
39 alpha/ia64/s390/sh/sparc stable wrt #432284
40
41
42
43 1.1 app-admin/apache-tools/apache-tools-2.4.3-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.3-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.3-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: apache-tools-2.4.3-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.3-r1.ebuild,v 1.1 2012/11/01 06:55:40 qnikst Exp $
53
54 EAPI="3"
55 inherit flag-o-matic eutils
56
57 DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
58 HOMEPAGE="http://httpd.apache.org/"
59 SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
60
61 LICENSE="Apache-2.0"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
64 IUSE="ssl"
65 RESTRICT="test"
66
67 RDEPEND="=dev-libs/apr-1*
68 =dev-libs/apr-util-1*
69 dev-libs/libpcre
70 ssl? ( dev-libs/openssl )"
71
72 DEPEND="${RDEPEND}
73 sys-devel/libtool"
74
75 S="${WORKDIR}/httpd-${PV}"
76
77 src_configure() {
78 local myconf=""
79
80 # Instead of filtering --as-needed (bug #128505), append --no-as-needed
81 append-ldflags $(no-as-needed)
82
83 use ssl && myconf+=" --with-ssl=/usr --enable-ssl"
84
85 # econf overwrites the stuff from config.layout, so we have to put them into
86 # our myconf line too
87 econf \
88 --sbindir=/usr/sbin \
89 --with-z=/usr \
90 --with-apr=/usr \
91 --with-apr-util=/usr \
92 --with-pcre=/usr \
93 ${myconf}
94 }
95
96 src_compile() {
97 cd support || die
98 emake
99 }
100
101 src_install () {
102 cd support || die
103
104 make DESTDIR="${ED}" install
105
106 # install manpages
107 doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
108 "${S}"/docs/man/{htcacheclean,rotatelogs}.8
109
110 # Providing compatiblity symlinks for #177697 (which we'll stop to install
111 # at some point).
112 pushd "${ED}"/usr/sbin/ >/dev/null
113 for i in *; do
114 dosym /usr/sbin/${i} /usr/sbin/${i}2
115 done
116 popd "${ED}"/usr/sbin/ >/dev/null
117
118 # Provide a symlink for ab-ssl
119 if use ssl; then
120 dosym /usr/bin/ab /usr/bin/ab-ssl
121 dosym /usr/bin/ab /usr/bin/ab2-ssl
122 fi
123
124 dodoc "${S}"/CHANGES
125 }