1 |
commit: da5082c0fdb5884003b0ee4cb5948e7f8727d0ef |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 29 09:19:20 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 29 09:20:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da5082c0 |
7 |
|
8 |
app-admin/apache-tools: Bump to version 2.4.47 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
app-admin/apache-tools/Manifest | 1 + |
13 |
app-admin/apache-tools/apache-tools-2.4.47.ebuild | 105 ++++++++++++++++++++++ |
14 |
2 files changed, 106 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/apache-tools/Manifest b/app-admin/apache-tools/Manifest |
17 |
index de9bdf9bd31..f37272884e6 100644 |
18 |
--- a/app-admin/apache-tools/Manifest |
19 |
+++ b/app-admin/apache-tools/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST httpd-2.4.46.tar.bz2 7187805 BLAKE2B 2cd8a40be0b7b60ae5b06a286aa6dd801b8615fd0483a4653ceea6f9832c9ebb111f67ba4f69827b01acd1e5552e70ac0441df49573c9da0ca26d4c2f589f0bc SHA512 5936784bb662e9d8a4f7fe38b70c043b468114d931cd10ea831bfe74461ea5856b64f88f42c567ab791fc8907640a99884ba4b6a600f86d661781812735b6f13 |
22 |
+DIST httpd-2.4.47.tar.bz2 7187445 BLAKE2B ba5b6ebac73aaa6f2f0d7a34d5bf9d13bd4ac862ee9d04b105c315c3aad16401b842b6901424dba6a44a0b5d255c0356e0bf72b5d1898b4b091b12192c204c96 SHA512 ac05e878604037572b484c32c767e022bf027e5efa2a2ed28472939d9f536448f1536ede4d809f1e913a29a0247bdd27981bd00d3d8614f978573c14bce7c7af |
23 |
|
24 |
diff --git a/app-admin/apache-tools/apache-tools-2.4.47.ebuild b/app-admin/apache-tools/apache-tools-2.4.47.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..d3cd3f78096 |
27 |
--- /dev/null |
28 |
+++ b/app-admin/apache-tools/apache-tools-2.4.47.ebuild |
29 |
@@ -0,0 +1,105 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+inherit flag-o-matic multilib toolchain-funcs |
35 |
+ |
36 |
+DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm" |
37 |
+HOMEPAGE="https://httpd.apache.org/" |
38 |
+SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="Apache-2.0" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris" |
43 |
+IUSE="libressl ssl" |
44 |
+RESTRICT="test" |
45 |
+ |
46 |
+RDEPEND=">=dev-libs/apr-1.5.0:1= |
47 |
+ dev-libs/apr-util:1= |
48 |
+ dev-libs/expat |
49 |
+ dev-libs/libpcre |
50 |
+ kernel_linux? ( sys-apps/util-linux ) |
51 |
+ ssl? ( |
52 |
+ !libressl? ( dev-libs/openssl:0= ) |
53 |
+ libressl? ( dev-libs/libressl:0= ) |
54 |
+ )" |
55 |
+ |
56 |
+DEPEND="${RDEPEND} |
57 |
+ sys-devel/libtool" |
58 |
+ |
59 |
+S="${WORKDIR}/httpd-${PV}" |
60 |
+ |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446 |
63 |
+) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ |
68 |
+ # This package really should upgrade to using pcre's .pc file. |
69 |
+ cat <<-\EOF >"${T}"/pcre-config |
70 |
+ #!/bin/bash |
71 |
+ flags=() |
72 |
+ for flag; do |
73 |
+ if [[ ${flag} == "--version" ]]; then |
74 |
+ flags+=( --modversion ) |
75 |
+ else |
76 |
+ flags+=( "${flag}" ) |
77 |
+ fi |
78 |
+ done |
79 |
+ exec ${PKG_CONFIG} libpcre "${flags[@]}" |
80 |
+ EOF |
81 |
+ chmod a+x "${T}"/pcre-config || die |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ # Brain dead check. |
86 |
+ tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
87 |
+ |
88 |
+ tc-export PKG_CONFIG |
89 |
+ |
90 |
+ local myeconfargs=( |
91 |
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules |
92 |
+ --sbindir="${EPREFIX}"/usr/sbin |
93 |
+ --with-perl="${EPREFIX}"/usr/bin/perl |
94 |
+ --with-expat="${EPREFIX}"/usr |
95 |
+ --with-z="${EPREFIX}"/usr |
96 |
+ --with-apr="${SYSROOT}${EPREFIX}"/usr |
97 |
+ --with-apr-util="${SYSROOT}${EPREFIX}"/usr |
98 |
+ --with-pcre="${T}"/pcre-config |
99 |
+ $(use_enable ssl) |
100 |
+ $(usex ssl '--with-ssl="${EPREFIX}"/usr' '') |
101 |
+ ) |
102 |
+ # econf overwrites the stuff from config.layout. |
103 |
+ ac_cv_path_PKGCONFIG="${PKG_CONFIG}" \ |
104 |
+ econf "${myeconfargs[@]}" |
105 |
+ sed -i \ |
106 |
+ -e '/^LTFLAGS/s:--silent::' \ |
107 |
+ build/rules.mk build/config_vars.mk || die |
108 |
+} |
109 |
+ |
110 |
+src_compile() { |
111 |
+ emake -C support |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ emake -C support DESTDIR="${D}" install |
116 |
+ dodoc CHANGES |
117 |
+ doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ |
118 |
+ docs/man/{htcacheclean,rotatelogs}.8 |
119 |
+ |
120 |
+ # Providing compatiblity symlinks for #177697 (which we'll stop to install |
121 |
+ # at some point). |
122 |
+ pushd "${ED}"/usr/sbin >/dev/null || die |
123 |
+ local i |
124 |
+ for i in *; do |
125 |
+ dosym ${i} /usr/sbin/${i}2 |
126 |
+ done |
127 |
+ popd >/dev/null || die |
128 |
+ |
129 |
+ # Provide a symlink for ab-ssl |
130 |
+ if use ssl ; then |
131 |
+ dosym ab /usr/bin/ab-ssl |
132 |
+ dosym ab /usr/bin/ab2-ssl |
133 |
+ fi |
134 |
+} |