commit:     2b9a9e840f26049e951230d9ff5185b83d3b213f
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 26 19:58:28 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Fri Dec 26 20:23:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b9a9e84

sys-apps/s6-portable-utils: add 2.3.1.1

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

 sys-apps/s6-portable-utils/Manifest                |  1 +
 .../s6-portable-utils-2.3.1.1.ebuild               | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/sys-apps/s6-portable-utils/Manifest 
b/sys-apps/s6-portable-utils/Manifest
index 191a66505d13..d00bed636c61 100644
--- a/sys-apps/s6-portable-utils/Manifest
+++ b/sys-apps/s6-portable-utils/Manifest
@@ -1 +1,2 @@
 DIST s6-portable-utils-2.3.1.0.tar.gz 54818 BLAKE2B 
b59dad3d829764884c48bac51b41658c6ca4f263aa2bf1f3c789f25182615ef86c539196375ef259351b39a4464043b2a66a991fa72795d837225ff91d54f2d6
 SHA512 
80ab6152d5c3f88449d77924ceb43ccef12a41918d2fd8042ded15423b8f65e612d582c6475d73c500380018a91f7adc48c71740c898015565a046a8fbef1cd5
+DIST s6-portable-utils-2.3.1.1.tar.gz 55245 BLAKE2B 
98186d8dba02c1f4f16bc26bbf02d7ad743478cdfef62870668681f83c8a7fb87e7755c8dff23df15a85ed87d3940b9027cab8ca1f49cf9607675926c27c44b5
 SHA512 
b1a0f8dc565dad0fc1d6f8edb3a6427896b5179509f11941cd67cecc33debaf5e7a84ae90457d5ae4ed2829ea93bc6800eff4f626a959b0eeda168f523555d34

diff --git a/sys-apps/s6-portable-utils/s6-portable-utils-2.3.1.1.ebuild 
b/sys-apps/s6-portable-utils/s6-portable-utils-2.3.1.1.ebuild
new file mode 100644
index 000000000000..c894d45193a9
--- /dev/null
+++ b/sys-apps/s6-portable-utils/s6-portable-utils-2.3.1.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature toolchain-funcs
+
+DESCRIPTION="Set of tiny portable unix utilities"
+HOMEPAGE="https://www.skarnet.org/software/s6-portable-utils/";
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz";
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+RDEPEND=">=dev-libs/skalibs-2.14.0.0:="
+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}"
+               --with-dynlib="/$(get_libdir)"
+               --with-lib="/usr/$(get_libdir)/skalibs"
+               --with-sysdeps="/usr/$(get_libdir)/skalibs"
+               --disable-allstatic
+               --disable-static
+               --disable-static-libc
+       )
+
+       econf "${myconf[@]}"
+}
+
+pkg_postinst() {
+       optfeature "man pages" app-doc/s6-portable-utils-man-pages
+}

Reply via email to