1 |
vapier 14/01/31 08:19:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: apache-tools-2.4.7-r1.ebuild |
5 |
Log: |
6 |
Fix src_install errors and install of dbmanage helper #459446 by Thomas Stein. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.175 app-admin/apache-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.175&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?rev=1.175&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/ChangeLog?r1=1.174&r2=1.175 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v |
20 |
retrieving revision 1.174 |
21 |
retrieving revision 1.175 |
22 |
diff -u -r1.174 -r1.175 |
23 |
--- ChangeLog 31 Jan 2014 08:17:39 -0000 1.174 |
24 |
+++ ChangeLog 31 Jan 2014 08:19:52 -0000 1.175 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-admin/apache-tools |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.174 2014/01/31 08:17:39 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/ChangeLog,v 1.175 2014/01/31 08:19:52 vapier Exp $ |
30 |
+ |
31 |
+*apache-tools-2.4.7-r1 (31 Jan 2014) |
32 |
+ |
33 |
+ 31 Jan 2014; Mike Frysinger <vapier@g.o> +apache-tools-2.4.7-r1.ebuild, |
34 |
+ +files/apache-tools-2.4.7-Makefile.patch: |
35 |
+ Fix src_install errors and install of dbmanage helper #459446 by Thomas Stein. |
36 |
|
37 |
31 Jan 2014; Mike Frysinger <vapier@g.o> apache-tools-2.4.7.ebuild: |
38 |
Simplify src_compile/src_install a bit -- no real functional changes. |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-admin/apache-tools/apache-tools-2.4.7-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.7-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.7-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: apache-tools-2.4.7-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 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.4.7-r1.ebuild,v 1.1 2014/01/31 08:19:52 vapier Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
inherit flag-o-matic eutils multilib |
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 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc64-solaris ~x64-solaris" |
63 |
IUSE="ssl" |
64 |
RESTRICT="test" |
65 |
|
66 |
RDEPEND=">=dev-libs/apr-1.5.0:1 |
67 |
dev-libs/apr-util:1 |
68 |
dev-libs/libpcre |
69 |
ssl? ( dev-libs/openssl )" |
70 |
|
71 |
DEPEND="${RDEPEND} |
72 |
sys-devel/libtool" |
73 |
|
74 |
S="${WORKDIR}/httpd-${PV}" |
75 |
|
76 |
src_prepare() { |
77 |
epatch "${FILESDIR}"/${PN}-2.4.7-Makefile.patch #459446 |
78 |
} |
79 |
|
80 |
src_configure() { |
81 |
local myconf=() |
82 |
|
83 |
# Brain dead check. |
84 |
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
85 |
|
86 |
# Instead of filtering --as-needed (bug #128505), append --no-as-needed |
87 |
append-ldflags $(no-as-needed) |
88 |
|
89 |
use ssl && myconf+=( --with-ssl="${EPREFIX}"/usr --enable-ssl ) |
90 |
|
91 |
# econf overwrites the stuff from config.layout, so we have to put them into |
92 |
# our myconf line too |
93 |
econf \ |
94 |
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules \ |
95 |
--sbindir="${EPREFIX}"/usr/sbin \ |
96 |
--with-perl="${EPREFIX}"/usr/bin/perl \ |
97 |
--with-expat="${EPREFIX}"/usr \ |
98 |
--with-z="${EPREFIX}"/usr \ |
99 |
--with-apr="${EPREFIX}"/usr \ |
100 |
--with-apr-util="${EPREFIX}"/usr \ |
101 |
--with-pcre="${EPREFIX}"/usr \ |
102 |
"${myconf[@]}" |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
emake -C support |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
emake -C support DESTDIR="${D}" install |
111 |
dodoc CHANGES |
112 |
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ |
113 |
docs/man/{htcacheclean,rotatelogs}.8 |
114 |
|
115 |
# Providing compatiblity symlinks for #177697 (which we'll stop to install |
116 |
# at some point). |
117 |
pushd "${ED}"/usr/sbin >/dev/null |
118 |
local i |
119 |
for i in *; do |
120 |
dosym ${i} /usr/sbin/${i}2 |
121 |
done |
122 |
popd >/dev/null |
123 |
|
124 |
# Provide a symlink for ab-ssl |
125 |
if use ssl; then |
126 |
dosym ab /usr/bin/ab-ssl |
127 |
dosym ab /usr/bin/ab2-ssl |
128 |
fi |
129 |
} |