commit:     d7f7d8a5eeef84e882688c89850db6376b42f766
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 20:07:13 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 20:15:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f7d8a5

Revert "eclass/apache-2.eclass: migrate to GLEP 81"

This reverts commit 187721bffbea19bc37969fb70de400a391171611.

Bug: https://bugs.gentoo.org/802495
Bug: https://bugs.gentoo.org/803500
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 eclass/apache-2.eclass | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 3da388952c4..a67597447ba 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -10,7 +10,7 @@
 # This eclass handles apache-2.x ebuild functions such as LoadModule generation
 # and inter-module dependency checking.
 
-inherit autotools flag-o-matic multilib ssl-cert toolchain-funcs
+inherit autotools flag-o-matic multilib ssl-cert user toolchain-funcs
 
 [[ ${CATEGORY}/${PN} != www-servers/apache ]] \
        && die "Do not use this eclass with anything else than 
www-servers/apache ebuilds!"
@@ -136,8 +136,6 @@ unset -f _apache2_set_mpms
 
 # Dependencies
 RDEPEND="
-       acct-group/apache
-       acct-user/apache
        dev-lang/perl
        >=dev-libs/apr-1.5.1:=
        =dev-libs/apr-util-1*:=[gdbm=,ldap?]
@@ -437,6 +435,10 @@ check_upgrade() {
 apache-2_pkg_setup() {
        check_upgrade
 
+       # setup apache user and group
+       enewgroup apache 81
+       enewuser apache 81 -1 /var/www apache
+
        setup_mpm
        setup_modules
 

Reply via email to