commit:     921f99ed92fc0df215c93951fd3f9c7059a85d22
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 16 10:46:03 2026 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 10:46:55 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921f99ed

net-misc/s6-networking: add 2.7.2.0

The package tarball newly includes libstls.a.xyzzy, libstls.pc and
libstls.so.xyzzy. This seems to be a release mistake because previous
releases don't include them.

As a consequence, libstls.pc is not regenerated and it is installed with
wrong configuration. Therefore, mentioned files are removed in prepare
phase.

Link: https://skarnet.org/lists/skaware/2237.html
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 net-misc/s6-networking/Manifest                    |  1 +
 .../s6-networking/s6-networking-2.7.2.0.ebuild     | 68 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/net-misc/s6-networking/Manifest b/net-misc/s6-networking/Manifest
index b441b7397ddd..aa34f6cbcf62 100644
--- a/net-misc/s6-networking/Manifest
+++ b/net-misc/s6-networking/Manifest
@@ -1 +1,2 @@
 DIST s6-networking-2.7.1.0.tar.gz 119190 BLAKE2B 
595cd803354fade5eba438ff9af1a318b3e0906dd26af629198daf85990a5feeb66c8c53f4c7d027b2a2bb64f2a28659c9d035ebb5a0d5e96b98d8d53229c05e
 SHA512 
33741efa5c1908f8e7396929df08c3591e25b7c58335b331a146db17a9b7e5c00b75dd3337aa46114723969b8490fb1b6754a25357003780bdfd0a2fd8e3283c
+DIST s6-networking-2.7.2.0.tar.gz 139189 BLAKE2B 
cc3550ee4379648b270f1d982586f543d3a9b0efac20a88dc59a76c55270c39651cefb32c734806b7983326c27c547aed66957cb7daa5052ddd6058b2f6677d5
 SHA512 
4753ecf9d1263ea1505073374a4e56de670602ccc02f69dd2d5060371e363d56beda8f5c82d14a9907ead2a14d3b254cff8072dae44d60e9dd05744d5d03931b

diff --git a/net-misc/s6-networking/s6-networking-2.7.2.0.ebuild 
b/net-misc/s6-networking/s6-networking-2.7.2.0.ebuild
new file mode 100644
index 000000000000..9baa7939be0a
--- /dev/null
+++ b/net-misc/s6-networking/s6-networking-2.7.2.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature toolchain-funcs
+
+DESCRIPTION="Suite of small networking utilities for Unix systems"
+HOMEPAGE="https://www.skarnet.org/software/s6-networking/";
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz";
+
+LICENSE="ISC"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="ssl"
+
+RDEPEND="
+       dev-lang/execline:=
+       >=dev-libs/skalibs-2.14.5.0:=
+       >=net-dns/s6-dns-2.3.7.0:=
+       sys-apps/s6:=[execline]
+       ssl? ( dev-libs/libretls:= )
+"
+DEPEND="${RDEPEND}"
+
+HTML_DOCS=( doc/. )
+
+src_prepare() {
+       default
+
+       # Remove files that were accidentaly included to the release tar ball
+       rm -f libstls.{pc,{a,so}.xyzzy} || die
+
+       # 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)/s6"
+               --with-lib="/usr/$(get_libdir)/s6-dns"
+               --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 ssl ssl libtls)
+       )
+
+       econf "${myconf[@]}"
+}
+
+pkg_postinst() {
+       optfeature "man pages" app-doc/s6-networking-man-pages
+}

Reply via email to