summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-09-28 17:44:24 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-09-28 17:47:27 -0500
commite5e49a8d1c2d3cc457505c7ae275bb938bed36d8 (patch)
treebea573fd670db331678c53ee71b9d96e82c8ce5f /sys-apps/openrc
parentdev-go/go-md2man: drop 2.0.0 (diff)
downloadgentoo-e5e49a8d1c2d3cc457505c7ae275bb938bed36d8.tar.gz
gentoo-e5e49a8d1c2d3cc457505c7ae275bb938bed36d8.tar.bz2
gentoo-e5e49a8d1c2d3cc457505c7ae275bb938bed36d8.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/metadata.xml3
-rw-r--r--sys-apps/openrc/openrc-0.50.ebuild4
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(-)]
)
)