commit: e5e49a8d1c2d3cc457505c7ae275bb938bed36d8
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 28 22:44:24 2023 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Sep 28 22:47:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5e49a8d
sys-apps/openrc: add sysvinit use flag
This flag defaults to on and if i5t is disabled it dropps the dependency
on sysvinit.
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
sys-apps/openrc/metadata.xml | 3 +++
sys-apps/openrc/openrc-0.50.ebuild | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/sys-apps/openrc/metadata.xml b/sys-apps/openrc/metadata.xml
index d33b00eb93a4..5595214c4a76 100644
--- a/sys-apps/openrc/metadata.xml
+++ b/sys-apps/openrc/metadata.xml
@@ -12,6 +12,9 @@
<flag name="netifrc">enable Gentoo's network stack (net.*
scripts)</flag>
<flag name="newnet">enable the new network stack
(experimental)</flag>
<flag name="sysv-utils">Install sysvinit compatibility scripts
for halt, init, poweroff, reboot and shutdown</flag>
+ <flag name="sysvinit">
+ control the dependency on sysvinit (experimental)
+ </flag>
</use>
<upstream>
<remote-id type="github">openrc/openrc</remote-id>
diff --git a/sys-apps/openrc/openrc-0.50.ebuild
b/sys-apps/openrc/openrc-0.50.ebuild
index 11d77ecda370..7f75c67451a3 100644
--- a/sys-apps/openrc/openrc-0.50.ebuild
+++ b/sys-apps/openrc/openrc-0.50.ebuild
@@ -18,7 +18,7 @@ fi
LICENSE="BSD-2"
SLOT="0"
-IUSE="audit bash debug ncurses pam newnet +netifrc selinux sysv-utils unicode"
+IUSE="audit bash debug ncurses pam newnet +netifrc selinux +sysvinit
sysv-utils unicode"
COMMON_DEPEND="
ncurses? ( sys-libs/ncurses:0= )
@@ -41,7 +41,7 @@ RDEPEND="${COMMON_DEPEND}
)
!sysv-utils? (
|| (
- >=sys-apps/sysvinit-2.86-r6[selinux?]
+ sysvinit? ( >=sys-apps/sysvinit-2.86-r6[selinux?] )
sys-apps/s6-linux-init[sysv-utils(-)]
)
)