diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2024-01-16 11:42:07 +0100 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-01-16 11:44:32 +0100 |
commit | 82b6cb5f08e44cc998b93e1d5ea826e759b64a7e (patch) | |
tree | 14f05b40cc3c2b59d93f5b03eae08baf84b18d79 /net-misc/s6-networking | |
parent | games-util/lutris: drop 0.5.15 (diff) | |
download | gentoo-82b6cb5f08e44cc998b93e1d5ea826e759b64a7e.tar.gz gentoo-82b6cb5f08e44cc998b93e1d5ea826e759b64a7e.tar.bz2 gentoo-82b6cb5f08e44cc998b93e1d5ea826e759b64a7e.zip |
net-misc/s6-networking: add 2.7.0.2
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'net-misc/s6-networking')
-rw-r--r-- | net-misc/s6-networking/Manifest | 1 | ||||
-rw-r--r-- | net-misc/s6-networking/s6-networking-2.7.0.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-misc/s6-networking/Manifest b/net-misc/s6-networking/Manifest index a361b82262f1..6c18735b9969 100644 --- a/net-misc/s6-networking/Manifest +++ b/net-misc/s6-networking/Manifest @@ -2,3 +2,4 @@ DIST s6-networking-2.5.1.3.tar.gz 114490 BLAKE2B 09b74ff4c881e0c30162a1a01d0d372 DIST s6-networking-2.6.0.0.tar.gz 112145 BLAKE2B 1e111614da26283c0a9ee46b0d09d554c4efaf6866b322d5850512058d3237cc060b2ca6d5d1bd0e60791598e034c5fe222a2b6cf5bf271af8ee9e4403f61ea3 SHA512 dcd9a9c8e2d17fcfca96d44b1b86760a0f0e303a638f566ba064b4eb071e18736baa188cfcdb2ae27c0b00a2ed7876a9da6361a8e3a4719b70f462925df913e7 DIST s6-networking-2.7.0.0.tar.gz 114592 BLAKE2B ce4eab80788bd4c7406e4b5732cb035e483ef1d788ea24a61886fa23402af5df23380d17464020ea562810563162e18fbd49644e9ac3d4827802e2caf294bab7 SHA512 b0dd1b0007704ca087bf49ae93cc09b7cbaa59f6ab99a0281f6bb9de38b25da18be925bc27f1bb74f984f60579f4ebdba41f276ea529b77344d9f3155bad314c DIST s6-networking-2.7.0.1.tar.gz 115939 BLAKE2B da3edb3401a64ab343a40f584c9ccf183268a0ac3ab5e642734fb7a7ce4eba42a08b8642188ce2cee0b561363feb1b61f3ee21c66d3639ffc735af0677b8837d SHA512 3074c24e833f6f19bfc016c264963457f8a9df6b07bab1c0a58dc4cd0b464371051d1d5af0d5ac5544751ffa18514e2f078f329249fe97955657a3aab9ebaa99 +DIST s6-networking-2.7.0.2.tar.gz 115997 BLAKE2B 24728f3b5e08eb94b295f345231a348c072c08a84d42585763bed8fe7057eeee6860b0d00f8548a86a896db98f1c4f51346b12f9361d500f962de6defe39308e SHA512 49f80c68d639f2b7ac7451ca2ace828ca4e8c1eeffec4a9b31f8157c26a87228275ea14d8b6495b0af0879a961b37910aa2b769d8db56d8731d0827c96053631 diff --git a/net-misc/s6-networking/s6-networking-2.7.0.2.ebuild b/net-misc/s6-networking/s6-networking-2.7.0.2.ebuild new file mode 100644 index 000000000000..f5b5ff1a8ae0 --- /dev/null +++ b/net-misc/s6-networking/s6-networking-2.7.0.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 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 ~x86" +IUSE="ssl" + +RDEPEND=" + dev-lang/execline:= + >=dev-libs/skalibs-2.14.1.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 + + # 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-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 +} |