From 171d09fa1f429aa43835c618a2c21753ad5209a4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 Feb 2023 14:24:26 +0000 Subject: gentoo auto-resync : 21:02:2023 - 14:24:25 --- sys-apps/s6-linux-init/Manifest | 2 + .../s6-linux-init/s6-linux-init-1.1.0.0.ebuild | 75 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 sys-apps/s6-linux-init/s6-linux-init-1.1.0.0.ebuild (limited to 'sys-apps/s6-linux-init') diff --git a/sys-apps/s6-linux-init/Manifest b/sys-apps/s6-linux-init/Manifest index e379fc3a2f37..02de109ab0bc 100644 --- a/sys-apps/s6-linux-init/Manifest +++ b/sys-apps/s6-linux-init/Manifest @@ -1,5 +1,7 @@ DIST s6-linux-init-1.0.8.0.tar.gz 58732 BLAKE2B 15e90b1987729f4771ffd294d2a6b4738e0e2d3438c694c1739c6c8ff8bff3a3b9c31565f446e7387fda226b4f0480c36051a593e2e8081301bc83973f9fcb5e SHA512 b64319bc13a98e5f766a118ebd54ccec93163b38b2afc060fe4034a4f2312bb6ae68019e37706338f84c74aa527e5b2ac1f4b29d39255c2d436eab8608483346 DIST s6-linux-init-1.0.8.1.tar.gz 59188 BLAKE2B e0f417fb349b3f47dcaa9f36c6f40d8c58066d62ad953b8f797ce6cce14e8c337acd15d34498b49fc0f9455cf4551c948fd7f16b0947f7cdc376e762594afc3a SHA512 df3b5699f9c04ffc89d219dbc9536a64ad3d2fb1d5c5844b2fb9804ac9e223e8b16fe1084baee9b60d3ab61f228de1b57605c3c0f72227758afb16aea1c68340 +DIST s6-linux-init-1.1.0.0.tar.gz 58588 BLAKE2B c2560a8decdf0ce1570391f1c6915d2368cf2457f30c8432501121f6bd78752f51bfa00d799d5ec0dbfe09addc6bc3822e723261f5db67558f7f111bd0f3df16 SHA512 4d96a7e9786c085445970290bdb77d763b912f8405fa2ca5ccd01c31e18bee67ca4b420f222a7ea599376a9ab4a89269cb7756ef15138b191168bfd01366c3a6 EBUILD s6-linux-init-1.0.8.0-r1.ebuild 1578 BLAKE2B 8678965c43548fb62e98f4c0e2627d62fb45003d2fbb1d5a7712b3a4763c2a3c8aca13be12293c2d7be58b2c12172a169798f3de0c3317ad7ead7b3439fc5413 SHA512 64fb980bbf50d0cb6144a09755e87b60e0dddfd0721b84ac809cf609f22a2e43a4e358e65ec4c80d786095ca640d38948aa304d6b08a12a296bf97cca799843a EBUILD s6-linux-init-1.0.8.1.ebuild 1611 BLAKE2B 00cfe2328547c02e7741e9bbb4a81465158c88c41b20404e68c93f6c58dbcb1d098a934a6759eac3e80e2fc8638f161b12d7eac62431f98059450b9efb41a2a0 SHA512 0c343e02f8ee44fe9a447781673ca0144bbfa80fa67cd42f7eb3ec5f325f770d1aa15a8be845e3350b6bde4277e6ad7ff5cf82ee0ca7fb6a6295cd39fd15cf6e +EBUILD s6-linux-init-1.1.0.0.ebuild 1640 BLAKE2B c264e71cb70a797e70977b61b9b9ed2ecfb13d84a353e1335d2cd6e43c723bb131185a704fba370da7d49e40bc45102852f7f1e2064a51cdc47a616314b6e074 SHA512 17534e767950a70b568c9edc13593e31352e7ae90112b6bf91b02cb5423f90afce2057a3b43266eaa9feb6459c0cb1d3d4899fd68db1bc24340cfdf19645c0bd MISC metadata.xml 762 BLAKE2B 57da7dfce946e1566ada1e25b90a5746cf60e5bfc1fb1aa1e3d0f24b5afb8475a1261dba37dbe5e256215c5e2477c1dc415872f9af1e66b08712be59f69e2b3f SHA512 6d1b096d6996c091bbadbea038fdcde9c8c20f7fa44df5355ab46e3d7b80ef0c3e8609dbf326400a0969e42f03300742887c15c6cc2edc5e6a27d35e5ab79a90 diff --git a/sys-apps/s6-linux-init/s6-linux-init-1.1.0.0.ebuild b/sys-apps/s6-linux-init/s6-linux-init-1.1.0.0.ebuild new file mode 100644 index 000000000000..795a17748e77 --- /dev/null +++ b/sys-apps/s6-linux-init/s6-linux-init-1.1.0.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Generates an init binary for s6-based init systems" +HOMEPAGE="https://www.skarnet.org/software/s6-linux-init/" +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+sysv-utils" + +RDEPEND=" + dev-lang/execline:= + >=dev-libs/skalibs-2.13.0.0:= + sys-apps/s6:=[execline] + sysv-utils? ( + !sys-apps/openrc[sysv-utils(-)] + !sys-apps/systemd[sysv-utils] + !sys-apps/sysvinit + ) +" +DEPEND="${RDEPEND}" + +HTML_DOCS=( doc/. ) + +src_prepare() { + default + + # Avoid QA warning for LDFLAGS addition + sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die + + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die +} + +src_configure() { + tc-export AR CC RANLIB + + local myconf=( + --bindir=/bin + --dynlibdir="/$(get_libdir)" + --skeldir=/etc/s6-linux-init/skel + --libdir="/usr/$(get_libdir)/${PN}" + --libexecdir=/lib/s6 + --with-dynlib="/$(get_libdir)" + --with-lib="/usr/$(get_libdir)/s6" + --with-lib="/usr/$(get_libdir)/skalibs" + --with-sysdeps="/usr/$(get_libdir)/skalibs" + --enable-shared + --disable-allstatic + --disable-static + --disable-static-libc + ) + + econf "${myconf[@]}" +} + +src_install() { + default + + if use sysv-utils ; then + "${D}/bin/s6-linux-init-maker" -f "${D}/etc/s6-linux-init/skel" "${T}/dir" || die + into / + dosbin "${T}/dir/bin"/{halt,poweroff,reboot,shutdown,telinit} + fi +} + +pkg_postinst() { + einfo "Read ${EROOT}/usr/share/doc/${PF}/html/quickstart.html" + einfo "for usage instructions." +} -- cgit v1.2.3