summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-26 10:53:20 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-26 11:48:30 +0100
commitb0b2554899b7adfcb4ac1340ef88f25afdd10378 (patch)
tree52286f3f462c31cc84ff9abdb07065255a944a7e /eclass
parentwww-servers/apache: Renamed CDEPEND to COMMON_DEPEND (diff)
downloadgentoo-b0b2554899b7adfcb4ac1340ef88f25afdd10378.tar.gz
gentoo-b0b2554899b7adfcb4ac1340ef88f25afdd10378.tar.bz2
gentoo-b0b2554899b7adfcb4ac1340ef88f25afdd10378.zip
www-servers/apache: Moved IUSE handling back to eclass
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/apache-2.eclass12
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 9e80b914afe4..e51c12cb0a28 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -88,10 +88,18 @@ SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2
# built-in modules
IUSE_MPMS="${IUSE_MPMS_FORK} ${IUSE_MPMS_THREAD}"
-IUSE="${IUSE} debug doc gdbm ldap libressl selinux ssl static suexec threads"
+IUSE="${IUSE} debug doc gdbm ldap libressl selinux ssl static suexec +suexec-caps suexec-syslog split-usr threads"
for module in ${IUSE_MODULES} ; do
- IUSE="${IUSE} apache2_modules_${module}"
+ case ${module} in
+ # Enable http2 by default (bug #563452)
+ http2)
+ IUSE+=" +apache2_modules_${module}"
+ ;;
+ *)
+ IUSE+=" apache2_modules_${module}"
+ ;;
+ esac
done
_apache2_set_mpms() {