logo

overlay

My (experimental) gentoo overlay
commit: beae7049c1110dd11f14c4a5f2f8917560756412
parent: 2aa30307b42c2f12ffed60f9224ca3fb7240e25f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 20 Apr 2019 17:48:27 +0200

sys-apps/openrc: Add USE=init to replace sysvinit

Diffstat:

Msys-apps/openrc/metadata.xml1+
Msys-apps/openrc/openrc-0.38.3-r1.ebuild5+++--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-apps/openrc/metadata.xml b/sys-apps/openrc/metadata.xml @@ -11,6 +11,7 @@ </flag> <flag name="netifrc">enable Gentoo's network stack (net.* scripts)</flag> <flag name="newnet">enable the new network stack (experimental)</flag> + <flag name="init">install as a replacement of <pkg>sys-apps/sysvinit</pkg></flag> </use> <upstream> <remote-id type="github">openrc/openrc</remote-id> diff --git a/sys-apps/openrc/openrc-0.38.3-r1.ebuild b/sys-apps/openrc/openrc-0.38.3-r1.ebuild @@ -18,7 +18,7 @@ fi LICENSE="BSD-2" SLOT="0" -IUSE="audit debug ncurses pam newnet prefix +netifrc selinux static-libs +IUSE="audit debug ncurses init pam newnet prefix +netifrc selinux static-libs unicode kernel_linux kernel_FreeBSD" COMMON_DEPEND="kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd ) ) @@ -44,7 +44,7 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} !prefix? ( kernel_linux? ( - >=sys-apps/sysvinit-2.86-r6[selinux?] + !init? ( >=sys-apps/sysvinit-2.86-r6[selinux?] ) virtual/tmpfiles ) kernel_FreeBSD? ( sys-freebsd/freebsd-sbin ) @@ -76,6 +76,7 @@ src_compile() { MKBASHCOMP=yes MKNET=$(usex newnet) MKSELINUX=$(usex selinux) + MKSYSVINIT=$(usex init) MKAUDIT=$(usex audit) MKPAM=$(usev pam) MKSTATICLIBS=$(usex static-libs)