Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/apache-tools: apache-tools-2.2.12.ebuild ChangeLog apache-tools-2.2.10.ebuild
Date: Wed, 29 Jul 2009 08:10:24
Message-Id: E1MW4Ev-0001Y4-3L@stork.gentoo.org
1 hollow 09/07/29 08:10:21
2
3 Modified: ChangeLog
4 Added: apache-tools-2.2.12.ebuild
5 Removed: apache-tools-2.2.10.ebuild
6 Log:
7 version bump
8 (Portage version: 2.2_rc33/cvs/Linux i686)
9
10 Revision Changes Path
11 1.60 app-admin/apache-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.60&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.60&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apache-tools/ChangeLog?r1=1.59&r2=1.60
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v
20 retrieving revision 1.59
21 retrieving revision 1.60
22 diff -u -r1.59 -r1.60
23 --- ChangeLog 5 Jul 2009 16:07:10 -0000 1.59
24 +++ ChangeLog 29 Jul 2009 08:10:21 -0000 1.60
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-admin/apache-tools
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.59 2009/07/05 16:07:10 hollow Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.60 2009/07/29 08:10:21 hollow Exp $
30 +
31 +*apache-tools-2.2.12 (29 Jul 2009)
32 +
33 + 29 Jul 2009; Benedikt Böhm <hollow@g.o>
34 + -apache-tools-2.2.10.ebuild, +apache-tools-2.2.12.ebuild:
35 + version bump
36
37 05 Jul 2009; Benedikt Böhm <hollow@g.o>
38 -apache-tools-2.2.8.ebuild, -apache-tools-2.2.9.ebuild,
39
40
41
42 1.1 app-admin/apache-tools/apache-tools-2.2.12.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.12.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.12.ebuild?rev=1.1&content-type=text/plain
46
47 Index: apache-tools-2.2.12.ebuild
48 ===================================================================
49 # Copyright 1999-2009 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.12.ebuild,v 1.1 2009/07/29 08:10:21 hollow Exp $
52
53 inherit flag-o-matic eutils
54
55 DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
56 HOMEPAGE="http://httpd.apache.org/"
57 SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
58
59 LICENSE="Apache-2.0"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
62 IUSE="ssl"
63 RESTRICT="test"
64
65 RDEPEND="=dev-libs/apr-1*
66 =dev-libs/apr-util-1*
67 dev-libs/libpcre
68 ssl? ( dev-libs/openssl )
69 !<www-servers/apache-2.2.4"
70
71 DEPEND="${RDEPEND}"
72
73 S="${WORKDIR}/httpd-${PV}"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 # Apply these patches:
80 # (1) apache-tools-Makefile.patch:
81 # - fix up the `make install' for support/
82 # - remove envvars from `make install'
83 epatch "${FILESDIR}"/${PN}-Makefile.patch
84 }
85
86 src_compile() {
87 local myconf=""
88 cd "${S}"
89
90 # Instead of filtering --as-needed (bug #128505), append --no-as-needed
91 # Thanks to Harald van Dijk
92 append-ldflags -Wl,--no-as-needed
93
94 if use ssl ; then
95 myconf="${myconf} --with-ssl=/usr --enable-ssl"
96 fi
97
98 # econf overwrites the stuff from config.layout, so we have to put them into
99 # our myconf line too
100 econf \
101 --sbindir=/usr/sbin \
102 --with-z=/usr \
103 --with-apr=/usr \
104 --with-apr-util=/usr \
105 --with-pcre=/usr \
106 ${myconf} || die "econf failed!"
107
108 cd support
109 emake || die "emake support/ failed!"
110 }
111
112 src_install () {
113 cd "${S}"/support
114
115 make DESTDIR="${D}" install || die "make install failed!"
116
117 # install manpages
118 doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
119 "${S}"/docs/man/{ab,htcacheclean,logresolve,rotatelogs}.8
120
121 # Providing compatiblity symlinks for #177697 (which we'll stop to install
122 # at some point).
123
124 for i in $(ls "${D}"/usr/sbin 2>/dev/null); do
125 dosym /usr/sbin/${i} /usr/sbin/${i}2
126 done
127
128 # Provide a symlink for ab-ssl
129 if use ssl ; then
130 dosym /usr/sbin/ab /usr/sbin/ab-ssl
131 dosym /usr/sbin/ab /usr/sbin/ab2-ssl
132 fi
133
134 # make htpasswd accessible for non-root users
135 dosym /usr/sbin/htpasswd /usr/bin/htpasswd
136 dosym /usr/sbin/htdigest /usr/bin/htdigest
137
138 dodoc "${S}"/CHANGES
139 }