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.4.ebuild ChangeLog
Date: Wed, 27 Feb 2013 06:54:38
Message-Id: 20130227065434.C0AD02171D@flycatcher.gentoo.org
1 patrick 13/02/27 06:54:34
2
3 Modified: ChangeLog
4 Added: apache-tools-2.4.4.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.131 app-admin/apache-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.131&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.131&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?r1=1.130&r2=1.131
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v
20 retrieving revision 1.130
21 retrieving revision 1.131
22 diff -u -r1.130 -r1.131
23 --- ChangeLog 16 Feb 2013 12:17:50 -0000 1.130
24 +++ ChangeLog 27 Feb 2013 06:54:34 -0000 1.131
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.130 2013/02/16 12:17:50 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.131 2013/02/27 06:54:34 patrick Exp $
30 +
31 +*apache-tools-2.4.4 (27 Feb 2013)
32 +
33 + 27 Feb 2013; Patrick Lauer <patrick@g.o> +apache-tools-2.4.4.ebuild:
34 + Bump
35
36 16 Feb 2013; Pacho Ramos <pacho@g.o> metadata.xml:
37 Cleanup due bug #96436
38
39
40
41 1.1 app-admin/apache-tools/apache-tools-2.4.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: apache-tools-2.4.4.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.4.ebuild,v 1.1 2013/02/27 06:54:34 patrick Exp $
51
52 EAPI="3"
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 ~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 --sbindir="${EPREFIX}"/usr/sbin \
87 --with-perl="${EPREFIX}"/usr/bin/perl \
88 --with-expat="${EPREFIX}"/usr \
89 --with-z="${EPREFIX}"/usr \
90 --with-apr="${EPREFIX}"/usr \
91 --with-apr-util="${EPREFIX}"/usr \
92 --with-pcre="${EPREFIX}"/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="${D}" 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 }