commit:     1526f6e2451662ca16c2f8eb0e451a4332b07718
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Mon May  5 13:52:21 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Mon May  5 15:23:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1526f6e2

sys-apps/s6: add 2.13.2.0

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

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

diff --git a/sys-apps/s6/Manifest b/sys-apps/s6/Manifest
index d8e86863758d..8292e173e08a 100644
--- a/sys-apps/s6/Manifest
+++ b/sys-apps/s6/Manifest
@@ -1,2 +1,3 @@
 DIST s6-2.13.0.0.tar.gz 256126 BLAKE2B 
08c20a6e2268bcecea39f7066f8fcbb61723c4c0ae3772af5362b68f53ed65494b824827779d44d64d204688f03634bdd079f08def5b41a5170d88888e2fbc8a
 SHA512 
b54d334496d79d1b845552f5e7763c536d6f253c9bb2d61802695ea1a596af918562daa230f09f4cbfc06614eff70930d0963439d7d84ec8ae0388291912ca9d
 DIST s6-2.13.1.0.tar.gz 256614 BLAKE2B 
806a79e293d50180695beed5c397d60b23e9434dfc48d4bdd835e35e073ef8be2c2105cb421e3329a93ec9855fe86275bf745cffb973a02898d99a58e21b674c
 SHA512 
89912f627d239e9d0b830c97e3b35b0358ac3ea1b3b958de091318e19ee9ca0bac0a008f114682bc0ed8388e15592ffd683c4bbf1128fe7109cad16f18a1065b
+DIST s6-2.13.2.0.tar.gz 261121 BLAKE2B 
4ef65740c2f7b55caf44d3a4088f9b0bf81d7b83f89f24db4f8f685d4130a799b4777ad35b5f576302dc610e5c7d15a0d371e257df9ee1d265b64418c112c5e9
 SHA512 
0ee3b319fb0731681e8823bd6c0b415c556b87819b1ca72be2ff622b4f35f87ffe7a71ccaa2c783933d76eedcde7ded1fe767ee44a63e1717b2299a2b5aa81e1

diff --git a/sys-apps/s6/s6-2.13.2.0.ebuild b/sys-apps/s6/s6-2.13.2.0.ebuild
new file mode 100644
index 000000000000..58cf80b97179
--- /dev/null
+++ b/sys-apps/s6/s6-2.13.2.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.3.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