summaryrefslogtreecommitdiff
path: root/sys-apps/s6-rc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-15 00:09:17 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-15 00:09:17 +0100
commit6a7029e0f7370d4d5dfe9e31cc2719a870482392 (patch)
tree28c6c747114eaedfd2db81f86ac2ff3d7d13111e /sys-apps/s6-rc
parent5e41a38157bb40e8513e8e34426e85faba672fe7 (diff)
gentoo auto-resync : 15:06:2024 - 00:09:17
Diffstat (limited to 'sys-apps/s6-rc')
-rw-r--r--sys-apps/s6-rc/Manifest2
-rw-r--r--sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/sys-apps/s6-rc/Manifest b/sys-apps/s6-rc/Manifest
index 0c8e66d81b0b..b7aa4ddfa132 100644
--- a/sys-apps/s6-rc/Manifest
+++ b/sys-apps/s6-rc/Manifest
@@ -1,3 +1,5 @@
DIST s6-rc-0.5.4.2.tar.gz 100896 BLAKE2B d9e6f580a32d27950c7c525a5b657b429616d1c937c71cee302939b847a58bae1d5e209f53113dc82b953b5aa14c6078b206566e4809902a8f06b17c5621205f SHA512 f04e94db957e6d0033e328cc63530f64c9db101815bcafdb00a23205f4e75039dd3e593f93d48e4d9877b0696ea734ca62f672d92ff31e4e07aa19d26d809443
+DIST s6-rc-0.5.4.3.tar.gz 101738 BLAKE2B fbf69bff42c999af063810fd92467de5357d9405dbb3767064ab1aa12bda1262f5622884a1d547ca4d2c03cb9714f0f53acc4389949c65f606780837dcd0ccf7 SHA512 7a54a32ea1261de79b9494adde74b50dbefce831f5a00f9d3772c9b64fd71918ce54a16dff828de0fb762633255226ca935357f9f31c4264716b7041a5f5f8bb
EBUILD s6-rc-0.5.4.2.ebuild 1627 BLAKE2B 9b7f35d16fa9e955d310d9fe0ad39a1da58365709a624b325cfc94a391b5e6e3313aa8012d1a9a937f227c5e130751235c6ce3dab5252abf97623233f8b79c82 SHA512 86a5f5b1ef6aba4a10a7d6d01593eeb2e509568ef7e445cc445dccc534faeddd75c1ade25d15a9afa231223b1bdfe80f4c04930a15299579d2c7dcbb71797588
+EBUILD s6-rc-0.5.4.3.ebuild 1630 BLAKE2B 8201e6c4347b112520ea63c4f0896e6827fe3eac65f2f4de606511d313dfcde4afb52b0601d75c18f0f1aa22704e948d930dbcc77362904d4e8a385e035326ea SHA512 d1b07a88300e79e44e818f3316186009eac0328e63dc3172036d870b22158c233c560d6f4dc17167b91247a24b174960ddf56eef9bbaa8232e8a6974055fcade
MISC metadata.xml 612 BLAKE2B 5512fe794ae7362a22aab418fd82bcc6f0fc4713dee0657166f045f9c6d0a06e15a1d97ddae56556d996c887a93c401e0874c999b8b5e6bc7a6bb5815ab3921f SHA512 787bcdaaf32e0bda6270e0d21eb0a98e8105055bfe7f681b1bde6ec286df6036a4f4c40641c94341a95d74ff289b7d922774e88605907d64a8f2b1ef5963c689
diff --git a/sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild b/sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild
new file mode 100644
index 000000000000..0a8af8cd7296
--- /dev/null
+++ b/sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature toolchain-funcs
+
+DESCRIPTION="Service manager for the s6 supervision suite"
+HOMEPAGE="https://www.skarnet.org/software/s6-rc/"
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+
+RDEPEND="
+ dev-lang/execline:=
+ >=dev-libs/skalibs-2.14.0.0:=
+ >=sys-apps/s6-2.11.3.0:=[execline]
+"
+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)"
+ --libdir="/usr/$(get_libdir)/${PN}"
+ --libexecdir=/lib/s6
+ --with-dynlib="/$(get_libdir)"
+ --with-lib="/usr/$(get_libdir)/execline"
+ --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[@]}"
+}
+
+pkg_postinst() {
+ for ver in ${REPLACING_VERSIONS}; do
+ if ver_test "${ver}" -lt "0.5.4.0"; then
+ elog "Location of helper utilities was changed from /usr/libexec to /lib/s6 in"
+ elog "version 0.5.4.0. It is necessary to recompile and update s6-rc database and"
+ elog "restart s6rc-oneshot-runner service because you are upgrading from older"
+ elog "version."
+ fi
+ done
+
+ optfeature "man pages" app-doc/s6-rc-man-pages
+}