summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-06-28 16:32:35 +0200
committerDavid Seifert <soap@gentoo.org>2022-06-28 16:32:35 +0200
commit1b40dc15f782daaa5af23887d71bf0fcab00f5dd (patch)
tree52f91ec3afb46e34a80dc4bca2e3ef5a458421e5
parentwww-apache/mod_perl: update EAPI 5 -> 7 (diff)
downloadgentoo-1b40dc15f782daaa5af23887d71bf0fcab00f5dd.tar.gz
gentoo-1b40dc15f782daaa5af23887d71bf0fcab00f5dd.tar.bz2
gentoo-1b40dc15f782daaa5af23887d71bf0fcab00f5dd.zip
www-apache/mpm_itk: update EAPI 5 -> 7
Closes: https://bugs.gentoo.org/828744 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--www-apache/mpm_itk/mpm_itk-2.4.7_p4-r2.ebuild (renamed from www-apache/mpm_itk/mpm_itk-2.4.7_p4-r1.ebuild)14
1 files changed, 9 insertions, 5 deletions
diff --git a/www-apache/mpm_itk/mpm_itk-2.4.7_p4-r1.ebuild b/www-apache/mpm_itk/mpm_itk-2.4.7_p4-r2.ebuild
index 7c684962d23..093dfa16ab3 100644
--- a/www-apache/mpm_itk/mpm_itk-2.4.7_p4-r1.ebuild
+++ b/www-apache/mpm_itk/mpm_itk-2.4.7_p4-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
+
inherit apache-module linux-info
MY_PN=${PN/_/-}
@@ -11,13 +12,11 @@ MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Run virtual hosts under separate users/groups"
HOMEPAGE="http://mpm-itk.sesse.net/"
SRC_URI="http://mpm-itk.sesse.net/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
-
-S="${WORKDIR}/${MY_P}"
# The libcap dependency is automagic, so we require it
# unconditionally. Reported upstream at,
@@ -35,6 +34,7 @@ RDEPEND="${DEPEND}"
APACHE2_MOD_CONF="00_${PN}"
APACHE2_MOD_DEFINE="MPM_ITK"
APXS2_ARGS="-c ${PN}.c seccomp.c -lcap"
+
need_apache2_4
pkg_setup() {
@@ -47,4 +47,8 @@ pkg_setup() {
ewarn "for LimitUIDRange and LimitGIDRange which we include by"
ewarn "default in ${APACHE2_MOD_CONF}.conf."
fi
+
+ # Work around bug #616612
+ _init_apache2
+ _init_apache2_late
}