mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
sys-apps/dinit: new package, add 0.22.1, 9999
Signed-off-by: Emi <reedy.sailors.8t@icloud.com>
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
|
||||
# New entries go on top.
|
||||
|
||||
# Emi <reedy.sailors.8t@icloud.com> (2026-07-15)
|
||||
# Depends on https://github.com/gentoo/gentoo/pull/46572
|
||||
sys-apps/dinit sysv-utils
|
||||
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2026-03-20)
|
||||
# dev-python/mkdocs have been last rited.
|
||||
dev-games/surgescript doc
|
||||
|
||||
1
sys-apps/dinit/Manifest
Normal file
1
sys-apps/dinit/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST dinit-0.22.1.tar.xz 322760 BLAKE2B 75413cac506d86815b6514f712221a383743c22c0d463e6fb1cbb545ac20e9d39a1ed426874df57cf8c1b94faaf5ce4cb648ee7f8def8e2f87a94f4b16f42604 SHA512 8ccd54e1d1cab4df5b3f3a3b2a6852c58ccdbf81cde7a8eccef41a7f4a5bb94e4b9aff372d6a445e4d096e7a1a6be12093903d80836bebf42a16df2ffcac2967
|
||||
43
sys-apps/dinit/dinit-0.22.1.ebuild
Normal file
43
sys-apps/dinit/dinit-0.22.1.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
DESCRIPTION="The dinit service supervision + init suite"
|
||||
HOMEPAGE="https://github.com/davmac314/dinit"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/davmac314/${PN}.git"
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/davmac314/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+cgroups +caps sysv-utils"
|
||||
|
||||
RDEPEND="
|
||||
caps? ( sys-libs/libcap )
|
||||
sysv-utils? (
|
||||
!sys-apps/openrc[sysv-utils(-)]
|
||||
!sys-apps/s6-linux-init[sysv-utils(-)]
|
||||
!sys-apps/systemd[sysv-utils(+)]
|
||||
!sys-apps/sysvinit
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable sysv-utils shutdown) \
|
||||
$(use_enable cgroups) \
|
||||
$(use_enable caps capabilities) \
|
||||
--disable-strip
|
||||
}
|
||||
|
||||
src_install(){
|
||||
default
|
||||
if use sysv-utils; then
|
||||
dosym dinit /sbin/init
|
||||
fi
|
||||
}
|
||||
43
sys-apps/dinit/dinit-9999.ebuild
Normal file
43
sys-apps/dinit/dinit-9999.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
DESCRIPTION="The dinit service supervision + init suite"
|
||||
HOMEPAGE="https://github.com/davmac314/dinit"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/davmac314/${PN}.git"
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/davmac314/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+cgroups +caps sysv-utils"
|
||||
|
||||
RDEPEND="
|
||||
caps? ( sys-libs/libcap )
|
||||
sysv-utils? (
|
||||
!sys-apps/openrc[sysv-utils(-)]
|
||||
!sys-apps/s6-linux-init[sysv-utils(-)]
|
||||
!sys-apps/systemd[sysv-utils(+)]
|
||||
!sys-apps/sysvinit
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable sysv-utils shutdown) \
|
||||
$(use_enable cgroups) \
|
||||
$(use_enable caps capabilities) \
|
||||
--disable-strip
|
||||
}
|
||||
|
||||
src_install(){
|
||||
default
|
||||
if use sysv-utils; then
|
||||
dosym dinit /sbin/init
|
||||
fi
|
||||
}
|
||||
23
sys-apps/dinit/metadata.xml
Normal file
23
sys-apps/dinit/metadata.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>reedy.sailors.8t@icloud.com</email>
|
||||
<name>Emi</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<doc>https://davmac.org/projects/dinit/</doc>
|
||||
<remote-id type="github">davmac314/dinit</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="cgroups">Enable cgroups support</flag>
|
||||
<flag name="sysv-utils">Install sysvinit compatibility symlinks for halt, init, poweroff, reboot and shutdown</flag>
|
||||
</use>
|
||||
<longdescription>
|
||||
Dinit is a service supervisor with dependency support which can also act as the system "init" program.
|
||||
It was created with the intention of providing a portable init system with dependency management,
|
||||
that was functionally superior to many extant inits. Development goals include clean design,
|
||||
robustness, portability, usability, and avoiding feature bloat
|
||||
(whilst still handling common - and some less-common - use cases).
|
||||
Dinit is designed to integrate with rather than subsume or replace other system software.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user