Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/s6-networking/
Date: Sat, 25 Jun 2022 05:36:35
Message-Id: 1656135315.88cff07972f0b4378d56a4a0458988df02713527.sam@gentoo
1 commit: 88cff07972f0b4378d56a4a0458988df02713527
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Thu Jun 16 11:44:29 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 05:35:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88cff079
7
8 net-misc/s6-networking: add 2.5.1.1
9
10 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-misc/s6-networking/Manifest | 1 +
14 .../s6-networking/s6-networking-2.5.1.1.ebuild | 63 ++++++++++++++++++++++
15 2 files changed, 64 insertions(+)
16
17 diff --git a/net-misc/s6-networking/Manifest b/net-misc/s6-networking/Manifest
18 index f3dca2950b68..e9e03e4c193a 100644
19 --- a/net-misc/s6-networking/Manifest
20 +++ b/net-misc/s6-networking/Manifest
21 @@ -1 +1,2 @@
22 DIST s6-networking-2.5.1.0.tar.gz 110443 BLAKE2B 489676bcb050d57482b0901742b53ce6cff00e25c1d8effc5c3d96d8e8ad0d32d42a62c15c73155d3b21fcfe6f310fc0f0c020bf945ac1a4b1c7fb9e9785adf4 SHA512 5d64420811d8d8a0034431dccda82b7ddd546f3b7c40ed02e05565c29c3ec14b75477306fea1a1e4aacc898e66e03718d7ac229b85be82d62bfe26c3ffc5fdf8
23 +DIST s6-networking-2.5.1.1.tar.gz 110431 BLAKE2B 67776a8aa6b02d20ed73c8b8d45e255677c3688973f9ee5f8dcc0de5cfd26146b7ccdc680b22a57e2523d8ab3c08d6e090252e376d09c1edd971a391632d83a0 SHA512 a9c1970cad5b3aeee447cce7c858e8bd88ee378fe456cc68d032f195373dabf658eacf55d9fa39ec635e893116296c1c614b89d97c5045b90dbe745a52e24021
24
25 diff --git a/net-misc/s6-networking/s6-networking-2.5.1.1.ebuild b/net-misc/s6-networking/s6-networking-2.5.1.1.ebuild
26 new file mode 100644
27 index 000000000000..b5098c86c898
28 --- /dev/null
29 +++ b/net-misc/s6-networking/s6-networking-2.5.1.1.ebuild
30 @@ -0,0 +1,63 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit toolchain-funcs
37 +
38 +DESCRIPTION="Suite of small networking utilities for Unix systems"
39 +HOMEPAGE="https://www.skarnet.org/software/s6-networking/"
40 +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="ISC"
43 +SLOT="0/$(ver_cut 1-2)"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="ssl static static-libs"
46 +
47 +REQUIRED_USE="static? ( static-libs )
48 + ssl? ( !static !static-libs )"
49 +
50 +RDEPEND="dev-lang/execline:=[static-libs?]
51 + >=dev-libs/skalibs-2.12:=[static-libs?]
52 + sys-apps/s6:=[execline,static-libs?]
53 + ssl? ( dev-libs/libretls )
54 + !static? (
55 + net-dns/s6-dns:=
56 + )
57 +"
58 +DEPEND="${RDEPEND}
59 + net-dns/s6-dns[static-libs?]
60 +"
61 +
62 +HTML_DOCS=( doc/. )
63 +
64 +src_prepare() {
65 + default
66 +
67 + # Avoid QA warning for LDFLAGS addition
68 + sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
69 +
70 + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
71 +}
72 +
73 +src_configure() {
74 + tc-export AR CC RANLIB
75 +
76 + local myconf=(
77 + --bindir=/bin
78 + --dynlibdir=/usr/$(get_libdir)
79 + --libdir=/usr/$(get_libdir)/${PN}
80 + --with-dynlib=/usr/$(get_libdir)
81 + --with-lib=/usr/$(get_libdir)/s6
82 + --with-lib=/usr/$(get_libdir)/s6-dns
83 + --with-lib=/usr/$(get_libdir)/skalibs
84 + --with-sysdeps=/usr/$(get_libdir)/skalibs
85 + --enable-shared
86 + $(use_enable ssl ssl libtls)
87 + $(use_enable static allstatic)
88 + $(use_enable static static-libc)
89 + $(use_enable static-libs static)
90 + )
91 +
92 + econf "${myconf[@]}"
93 +}