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