diff options
Diffstat (limited to 'sys-apps/s6-linux-init')
-rw-r--r-- | sys-apps/s6-linux-init/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/s6-linux-init/s6-linux-init-1.0.3.1.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-apps/s6-linux-init/Manifest b/sys-apps/s6-linux-init/Manifest index 2dfa089ea725..0b68337637ac 100644 --- a/sys-apps/s6-linux-init/Manifest +++ b/sys-apps/s6-linux-init/Manifest @@ -1,7 +1,9 @@ DIST s6-linux-init-0.3.1.1.tar.gz 25955 BLAKE2B 46e8e88c9c48fd00819cd0f437eea7ca6a5c08751aa3196dda24a8d3a22fdb14270ae99c74134ab0e123dde65bf3cc86c7916a157e447a72428db9b3870ffe3f SHA512 b8a44e09fc6770e91f1ffeed3267bf5fb83cf857653727d52773674db5942fbbc010355bdf24e456d2b2df5a1ac72888b78b2ec502c0d42770af58aaaec00648 DIST s6-linux-init-0.4.0.0.tar.gz 26744 BLAKE2B d56ba8def4e4a0158721fd9b9c4f19aa2e13e615e7e598fdced2b7c341820f31830c021d9181792bfd324e70163fed826c691a80fbbb7ae6f30be46eeb6330b9 SHA512 5b53d3afad28b476d366d649f9989de79adaaa3b7d255323bb121a6f8e6fef051306cd6368ddcc3745b6472bf4ac2ccb7f4088f6addeb6d52ebc40e703dcbb44 DIST s6-linux-init-1.0.2.0.tar.gz 47666 BLAKE2B 95b092d624db23c0a31a3af8d381e471221f7e7608cad4b49e07ef1e12f6526532e912bd75ef9dd739e14dc1ca99f4aa80e8923ac31beee42828cdcc9c71030d SHA512 1140434b07bf85956382a43bc8f58fa32cbefc43e40a48825b9e938d7950d988585e872667b79ba1bd44f0befb69202bcb7347c0e722ab5d20dc9304cd1be843 +DIST s6-linux-init-1.0.3.1.tar.gz 48888 BLAKE2B 0633b66840396029686c32e13223527436db118a59abab5800d59c0baad8788c0dd4ff5e97704f680fce2182a64212394dc6a8e7dab6ae8028dbd8cfbf72dd4d SHA512 71b380ff0eaa1d297bf6af5a1c979efdf34d10ec1e440fd1ee3fcab8ddf2c5d7c903d151986ecb5f01a9e0135bedc8021e5fbf82a3fd66abfebcb5e3cbf19242 EBUILD s6-linux-init-0.3.1.1.ebuild 1472 BLAKE2B b2d10b719f4668df01bbf241390d6203cf489786e0129e4076336a5a5ef6e44de370749313e06e008984ea78b0f07014d68288fb33912902bee21f2bfb59c887 SHA512 57607c57abc5adb22a22c1aa3d24545d591d83c9a7bfb87931a394229fd4ace887b5a5e859983c5b30fb6d08d151bc76f6cc88b69d31154d218b258221aebb89 EBUILD s6-linux-init-0.4.0.0.ebuild 1472 BLAKE2B b68c06f32c2f3482ba1f4bb38e70bc0fcde3d8523d74c77867811231e1126e26a042bffc3aa7b6a98e1d39fbf3d37f4a39f604e02e397d085a43e85a795ad58f SHA512 2cdfdb084ab008bd5ae29b63eaca26be3e8d6e40520e2d6c266f4072cf98709872ef0d79bf39d22a62a144c50c413e95eea6016ec3999286b7db75ea1d50a0a9 EBUILD s6-linux-init-1.0.2.0.ebuild 1670 BLAKE2B 8232e58ef6708936d98b6b3ed12ca25155174c7307cf7dd5cdd245625a89d74f2361ee2cbba1f5811f509c1fe2591343f6625bf51b3b481ade8fb9f86fd777d9 SHA512 ffef1f4e994d727ec80bb23fe2f2fb42b2950010753d83ba459071984c8880f5085bb083c623f39289a93604231014d9d8a02cf0faeae923477915e0f5fe513c +EBUILD s6-linux-init-1.0.3.1.ebuild 1670 BLAKE2B 44ebba5c2c178321335dd0d9ace64c3b9c0afb759058f5e4dd753e6f70e4a3e973aa6598d4165588b7a188b7c7316cea76993a44f2f6daa38efab3d928a2815f SHA512 448bc4a1680f3c01dec7c8841d38e5f70c7deeb3f8640e11100b66604fc9b1e38541cd9355f1e270498d68e66052341db038e2bb80d66169a46aa08c278cff43 MISC metadata.xml 716 BLAKE2B 5c64e105fb653ff7705fff6ce4f233f11d0609eb0e6d154272bb8ddad00aa12d90a5bf37b5d6ea4e093d5d15d40d0936820b8e5789a4a94fb02aad6e77c68272 SHA512 866135f814d842aa697d455d2e154f2525f8e1f533bf9e7fcf4cfcbaeec429a13b7f4c33e2f4f714a0f513a3c5bb0a6983bb1f273fc42c8043e35e27299b5ccb diff --git a/sys-apps/s6-linux-init/s6-linux-init-1.0.3.1.ebuild b/sys-apps/s6-linux-init/s6-linux-init-1.0.3.1.ebuild new file mode 100644 index 000000000000..e8370a330209 --- /dev/null +++ b/sys-apps/s6-linux-init/s6-linux-init-1.0.3.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" +IUSE="static static-libs +sysv-utils" + +REQUIRED_USE="static? ( static-libs )" + +RDEPEND=">=dev-lang/execline-2.5.3.0:=[static-libs?] + >=dev-libs/skalibs-2.9.1.0:=[static-libs?] + >=sys-apps/s6-2.9.0.1:=[static-libs?] + sysv-utils? ( + !sys-apps/systemd[sysv-utils] + !sys-apps/sysvinit + ) +" +DEPEND="${RDEPEND}" + +HTML_DOCS=( doc/. ) + +src_prepare() { + default + + # Avoid QA warning for LDFLAGS addition; avoid overriding -fstack-protector + sed -i -e 's/.*-Wl,--hash-style=both$/:/' -e '/-fno-stack-protector$/d' \ + configure || die +} + +src_configure() { + econf \ + --bindir=/bin \ + --dynlibdir=/usr/$(get_libdir) \ + --skeldir=/etc/s6-linux-init/skel \ + --libdir=/usr/$(get_libdir)/${PN} \ + --with-dynlib=/usr/$(get_libdir) \ + --with-lib=/usr/$(get_libdir)/s6 \ + --with-lib=/usr/$(get_libdir)/skalibs \ + --with-sysdeps=/usr/$(get_libdir)/skalibs \ + --enable-shared \ + $(use_enable static allstatic) \ + $(use_enable static static-libc) \ + $(use_enable static-libs static) +} + +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." +} |