commit:     a7fe7ab4fcbd9f3fd2b9d6bc133637858059c7fa
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 26 19:51:32 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Fri Dec 26 20:23:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7fe7ab4

sys-apps/s6: add 2.14.0.0

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 sys-apps/s6/Manifest           |  1 +
 sys-apps/s6/s6-2.14.0.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/sys-apps/s6/Manifest b/sys-apps/s6/Manifest
index aa23dbc2cb21..5f14ae73bce9 100644
--- a/sys-apps/s6/Manifest
+++ b/sys-apps/s6/Manifest
@@ -1 +1,2 @@
 DIST s6-2.13.2.0.tar.gz 261121 BLAKE2B 
4ef65740c2f7b55caf44d3a4088f9b0bf81d7b83f89f24db4f8f685d4130a799b4777ad35b5f576302dc610e5c7d15a0d371e257df9ee1d265b64418c112c5e9
 SHA512 
0ee3b319fb0731681e8823bd6c0b415c556b87819b1ca72be2ff622b4f35f87ffe7a71ccaa2c783933d76eedcde7ded1fe767ee44a63e1717b2299a2b5aa81e1
+DIST s6-2.14.0.0.tar.gz 273416 BLAKE2B 
343ba35499b368ba4f5d85f8cc2cdba0f3acc48a6cff3207b244415786cba2deb3133601130eff2690db4653a3806823b6e325e886166a2b057efcba83a4f0ca
 SHA512 
0a186d0acfbbee78e3ff40a63de35b320cef6a8559bee73f61c2c697bcc2ac1934ec6680846cf2cabcff8dbcd5a27663d0da28dc724d611f0e20e11572aa923d

diff --git a/sys-apps/s6/s6-2.14.0.0.ebuild b/sys-apps/s6/s6-2.14.0.0.ebuild
new file mode 100644
index 000000000000..0d5ec0a98182
--- /dev/null
+++ b/sys-apps/s6/s6-2.14.0.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature toolchain-funcs
+
+DESCRIPTION="skarnet.org's small and secure supervision software suite"
+HOMEPAGE="https://www.skarnet.org/software/s6/";
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz";
+
+LICENSE="ISC"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+execline"
+
+RDEPEND="
+       >=dev-libs/skalibs-2.14.5.0:=
+       execline? ( dev-lang/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)/skalibs"
+               --with-sysdeps="/usr/$(get_libdir)/skalibs"
+
+               --enable-pkgconfig
+               --pkgconfdir="/usr/$(get_libdir)/pkgconfig"
+
+               --enable-shared
+               --disable-allstatic
+               --disable-static
+               --disable-static-libc
+               $(use_enable execline)
+       )
+
+       econf "${myconf[@]}"
+}
+
+pkg_postinst() {
+       optfeature "man pages" app-doc/s6-man-pages
+}

Reply via email to