Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/apache-tools: apache-tools-2.4.7.ebuild ChangeLog
Date: Tue, 26 Nov 2013 03:18:50
Message-Id: 20131126031844.35AE120035@flycatcher.gentoo.org
1 patrick 13/11/26 03:18:44
2
3 Modified: ChangeLog
4 Added: apache-tools-2.4.7.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.169 app-admin/apache-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.169&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.169&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?r1=1.168&r2=1.169
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v
20 retrieving revision 1.168
21 retrieving revision 1.169
22 diff -u -r1.168 -r1.169
23 --- ChangeLog 20 Nov 2013 17:50:19 -0000 1.168
24 +++ ChangeLog 26 Nov 2013 03:18:44 -0000 1.169
25 @@ -1,6 +1,11 @@
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.168 2013/11/20 17:50:19 polynomial-c Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.169 2013/11/26 03:18:44 patrick Exp $
30 +
31 +*apache-tools-2.4.7 (26 Nov 2013)
32 +
33 + 26 Nov 2013; Patrick Lauer <patrick@g.o> +apache-tools-2.4.7.ebuild:
34 + Bump
35
36 *apache-tools-2.2.26 (20 Nov 2013)
37
38
39
40
41 1.1 app-admin/apache-tools/apache-tools-2.4.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: apache-tools-2.4.7.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.7.ebuild,v 1.1 2013/11/26 03:18:44 patrick Exp $
51
52 EAPI="3"
53 inherit flag-o-matic eutils multilib
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 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc64-solaris ~x64-solaris"
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
70 DEPEND="${RDEPEND}
71 sys-devel/libtool"
72
73 S="${WORKDIR}/httpd-${PV}"
74
75 src_configure() {
76 local myconf=""
77
78 # Instead of filtering --as-needed (bug #128505), append --no-as-needed
79 append-ldflags $(no-as-needed)
80
81 use ssl && myconf+=" --with-ssl=${EPREFIX}/usr --enable-ssl"
82
83 # econf overwrites the stuff from config.layout, so we have to put them into
84 # our myconf line too
85 econf \
86 --libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules \
87 --sbindir="${EPREFIX}"/usr/sbin \
88 --with-perl="${EPREFIX}"/usr/bin/perl \
89 --with-expat="${EPREFIX}"/usr \
90 --with-z="${EPREFIX}"/usr \
91 --with-apr="${EPREFIX}"/usr \
92 --with-apr-util="${EPREFIX}"/usr \
93 --with-pcre="${EPREFIX}"/usr \
94 ${myconf}
95 }
96
97 src_compile() {
98 cd support || die
99 emake
100 }
101
102 src_install () {
103 cd support || die
104
105 make DESTDIR="${D}" install
106
107 # install manpages
108 doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
109 "${S}"/docs/man/{htcacheclean,rotatelogs}.8
110
111 # Providing compatiblity symlinks for #177697 (which we'll stop to install
112 # at some point).
113 pushd "${ED}"/usr/sbin/ >/dev/null
114 for i in *; do
115 dosym /usr/sbin/${i} /usr/sbin/${i}2
116 done
117 popd "${ED}"/usr/sbin/ >/dev/null
118
119 # Provide a symlink for ab-ssl
120 if use ssl; then
121 dosym /usr/bin/ab /usr/bin/ab-ssl
122 dosym /usr/bin/ab /usr/bin/ab2-ssl
123 fi
124
125 dodoc "${S}"/CHANGES
126 }