1 |
commit: 9bcf4b43231553045cc01af491969aa794091761 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 4 10:04:44 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 4 10:12:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bcf4b43 |
7 |
|
8 |
www-servers/apache: Move remaining lua stuff into eclass |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
eclass/apache-2.eclass | 2 ++ |
13 |
www-servers/apache/apache-2.4.51-r2.ebuild | 4 ---- |
14 |
www-servers/apache/apache-2.4.52-r1.ebuild | 4 ---- |
15 |
3 files changed, 2 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass |
18 |
index e6ca32db3ea5..f9223646c8bb 100644 |
19 |
--- a/eclass/apache-2.eclass |
20 |
+++ b/eclass/apache-2.eclass |
21 |
@@ -150,6 +150,7 @@ RDEPEND=" |
22 |
>=net-libs/nghttp2-1.2.1 |
23 |
kernel_linux? ( sys-apps/util-linux ) |
24 |
) |
25 |
+ apache2_modules_lua? ( ${LUA_DEPS} ) |
26 |
apache2_modules_md? ( >=dev-libs/jansson-2.10 ) |
27 |
apache2_modules_mime? ( app-misc/mime-types ) |
28 |
apache2_modules_proxy_http2? ( |
29 |
@@ -181,6 +182,7 @@ PDEPEND="~app-admin/apache-tools-${PV}" |
30 |
|
31 |
REQUIRED_USE+=" |
32 |
apache2_modules_http2? ( ssl ) |
33 |
+ apache2_modules_lua? ( ${LUA_REQUIRED_USE} ) |
34 |
apache2_modules_md? ( ssl ) |
35 |
" |
36 |
|
37 |
|
38 |
diff --git a/www-servers/apache/apache-2.4.51-r2.ebuild b/www-servers/apache/apache-2.4.51-r2.ebuild |
39 |
index 7660f0cbf358..665efaba2fe0 100644 |
40 |
--- a/www-servers/apache/apache-2.4.51-r2.ebuild |
41 |
+++ b/www-servers/apache/apache-2.4.51-r2.ebuild |
42 |
@@ -142,10 +142,6 @@ LICENSE="Apache-2.0 Apache-1.1" |
43 |
SLOT="2" |
44 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x64-macos ~sparc64-solaris ~x64-solaris" |
45 |
|
46 |
-# FIXME! Move this to eclass once all ebuilds are EAPI-7 |
47 |
-RDEPEND+=" apache2_modules_lua? ( ${LUA_DEPS} )" |
48 |
-REQUIRED_USE+=" apache2_modules_lua? ( ${LUA_REQUIRED_USE} )" |
49 |
- |
50 |
PATCHES=( "${FILESDIR}/apache-2.4.51-mpm-itk.patch" ) |
51 |
|
52 |
pkg_setup() { |
53 |
|
54 |
diff --git a/www-servers/apache/apache-2.4.52-r1.ebuild b/www-servers/apache/apache-2.4.52-r1.ebuild |
55 |
index bb742bd17560..34f5fc10b748 100644 |
56 |
--- a/www-servers/apache/apache-2.4.52-r1.ebuild |
57 |
+++ b/www-servers/apache/apache-2.4.52-r1.ebuild |
58 |
@@ -142,10 +142,6 @@ LICENSE="Apache-2.0 Apache-1.1" |
59 |
SLOT="2" |
60 |
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x64-macos ~sparc64-solaris ~x64-solaris" |
61 |
|
62 |
-# FIXME! Move this to eclass once all ebuilds are EAPI-7 |
63 |
-RDEPEND+=" apache2_modules_lua? ( ${LUA_DEPS} )" |
64 |
-REQUIRED_USE+=" apache2_modules_lua? ( ${LUA_REQUIRED_USE} )" |
65 |
- |
66 |
pkg_setup() { |
67 |
# dependend critical modules which are not allowed in global scope due |
68 |
# to USE flag conditionals (bug #499260) |