diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2024-10-24 11:15:26 +0200 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-10-24 11:38:23 +0200 |
commit | 3d6ca75ba48ada9776b53c8374677ad8f9295805 (patch) | |
tree | 758067fb76c5c3c6e852e9993da089c2765718eb /net-misc/s6-networking | |
parent | net-dns/s6-dns: add 2.4.0.0 (diff) | |
download | gentoo-3d6ca75ba48ada9776b53c8374677ad8f9295805.tar.gz gentoo-3d6ca75ba48ada9776b53c8374677ad8f9295805.tar.bz2 gentoo-3d6ca75ba48ada9776b53c8374677ad8f9295805.zip |
net-misc/s6-networking: add 2.7.0.4
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.4.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-misc/s6-networking/Manifest b/net-misc/s6-networking/Manifest index 14a5d49dbd53..6c712b89f414 100644 --- a/net-misc/s6-networking/Manifest +++ b/net-misc/s6-networking/Manifest @@ -1 +1,2 @@ DIST s6-networking-2.7.0.3.tar.gz 116055 BLAKE2B 1f2a6c3796aac95526fac68c8918831089eecb1536f42e4bfd85640eac8e4b0197ca03a039eb37671e1f0032419dfa4f7397b03a352b8c38c17609e75d79f09c SHA512 50d369303bd448d09a3f6431e64fb0f0b13383c92764b499ed881af3a6a8c4f779f1f9d98341943f6fdc8b18d16df444897d3750212df89efd838b6de562eede +DIST s6-networking-2.7.0.4.tar.gz 116031 BLAKE2B 514d49abd9cd3111ee06f4a09ab8ad382d62acbc68dcddaa7b89049cb19be834bd7fa070f413406323b576b1c1d08699dbf34c80061b0e22f7f57e80ecb20274 SHA512 2a789cbc2f901e78fffb959fcbddf89c71de75c0d57d3fb1a927418fa8a43f71057c2b50b03e15aa45d5d7ee6521e76b697ae57eef2b7eea760ef9295314dc9b diff --git a/net-misc/s6-networking/s6-networking-2.7.0.4.ebuild b/net-misc/s6-networking/s6-networking-2.7.0.4.ebuild new file mode 100644 index 000000000000..7d7abc64001e --- /dev/null +++ b/net-misc/s6-networking/s6-networking-2.7.0.4.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 ~ppc ~ppc64 ~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 +} |