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