sys-apps/systemd: use more acct-group packages
authorMike Gilbert <floppym@gentoo.org>
Sat, 27 Jul 2019 13:55:12 +0000 (09:55 -0400)
committerMike Gilbert <floppym@gentoo.org>
Mon, 29 Jul 2019 16:14:33 +0000 (12:14 -0400)
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
sys-apps/systemd/systemd-242-r6.ebuild
sys-apps/systemd/systemd-9999.ebuild

index ddab71ac353b73bac26eae4321de01b8a3bc0f15..21fd6ed84c4d08619ca6500951933e01bebc6adb 100644 (file)
@@ -16,7 +16,7 @@ fi
 
 PYTHON_COMPAT=( python{3_5,3_6,3_7} )
 
-inherit bash-completion-r1 linux-info meson multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev user
+inherit bash-completion-r1 linux-info meson multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev
 
 DESCRIPTION="System and service manager for Linux"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
@@ -72,6 +72,20 @@ DEPEND="${COMMON_DEPEND}
 
 # baselayout-2.2 has /run
 RDEPEND="${COMMON_DEPEND}
+       acct-group/adm
+       acct-group/wheel
+       acct-group/kmem
+       acct-group/tty
+       acct-group/utmp
+       acct-group/audio
+       acct-group/cdrom
+       acct-group/dialout
+       acct-group/disk
+       acct-group/input
+       acct-group/kvm
+       acct-group/render
+       acct-group/tape
+       acct-group/video
        acct-group/systemd-journal
        acct-user/systemd-journal-remote
        acct-user/systemd-coredump
@@ -433,10 +447,6 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       enewgroup input
-       enewgroup kvm 78
-       enewgroup render
-
        systemd_update_catalog
 
        # Keep this here in case the database format changes so it gets updated
index f128a67ba4856ec3d6e8d6768058ab4ce9dfa370..b1f134c418dcc115ec689838b4cacfe43d2fa0a6 100644 (file)
@@ -16,7 +16,7 @@ fi
 
 PYTHON_COMPAT=( python{3_5,3_6,3_7} )
 
-inherit bash-completion-r1 linux-info meson multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev user
+inherit bash-completion-r1 linux-info meson multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev
 
 DESCRIPTION="System and service manager for Linux"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
@@ -72,6 +72,20 @@ DEPEND="${COMMON_DEPEND}
 
 # baselayout-2.2 has /run
 RDEPEND="${COMMON_DEPEND}
+       acct-group/adm
+       acct-group/wheel
+       acct-group/kmem
+       acct-group/tty
+       acct-group/utmp
+       acct-group/audio
+       acct-group/cdrom
+       acct-group/dialout
+       acct-group/disk
+       acct-group/input
+       acct-group/kvm
+       acct-group/render
+       acct-group/tape
+       acct-group/video
        acct-group/systemd-journal
        acct-user/systemd-journal-remote
        acct-user/systemd-coredump
@@ -426,10 +440,6 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       enewgroup input
-       enewgroup kvm 78
-       enewgroup render
-
        systemd_update_catalog
 
        # Keep this here in case the database format changes so it gets updated