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-dns/s6-dns/
Date: Sat, 25 Jun 2022 05:36:34
Message-Id: 1656135314.a9632e47189626a86679f26d8393410754fdcddc.sam@gentoo
1 commit: a9632e47189626a86679f26d8393410754fdcddc
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Wed Jun 15 15:22:04 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 05:35:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9632e47
7
8 net-dns/s6-dns: add 2.3.5.4
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-dns/s6-dns/Manifest | 1 +
14 net-dns/s6-dns/s6-dns-2.3.5.4.ebuild | 50 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 51 insertions(+)
16
17 diff --git a/net-dns/s6-dns/Manifest b/net-dns/s6-dns/Manifest
18 index 0557975166a4..e8c6d65fd7cd 100644
19 --- a/net-dns/s6-dns/Manifest
20 +++ b/net-dns/s6-dns/Manifest
21 @@ -1 +1,2 @@
22 DIST s6-dns-2.3.5.3.tar.gz 84916 BLAKE2B b315e2319c4b15401a6e41847faefc1798c3a945fc78f1601b06ce13ef0a55ddde270549e0585cac0356f9b1558a1433675dc4c636d1cc58aee434b86bd81627 SHA512 f3984913df65823c4edbeddc2f8c534926e74c5b06c357c394b05b25943ac8c6b4154859c93e182c60228f018522eb6173ece0bd2dbeffe8e1cc6fcbe33f6a76
23 +DIST s6-dns-2.3.5.4.tar.gz 84892 BLAKE2B 3bba411b297b85fdf5da7caf251b3c093d0e7108fdf16321e510a485e750ef37c6ec1a923e627a81a9719f211e2e284c9b8d3bcf60a4e18738d0886f931e380d SHA512 04c8fd40c71c9517f4e8d847a0ddf7d60a7759b4d7075035c2e00b4eb34e81edf4608df562929042c294ed671ab953e613374b577210ff49841ceb27dd563ae5
24
25 diff --git a/net-dns/s6-dns/s6-dns-2.3.5.4.ebuild b/net-dns/s6-dns/s6-dns-2.3.5.4.ebuild
26 new file mode 100644
27 index 000000000000..f2aac4dc81a3
28 --- /dev/null
29 +++ b/net-dns/s6-dns/s6-dns-2.3.5.4.ebuild
30 @@ -0,0 +1,50 @@
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 DNS client programs and libraries for Unix systems"
39 +HOMEPAGE="https://www.skarnet.org/software/s6-dns/"
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="static static-libs"
46 +
47 +REQUIRED_USE="static? ( static-libs )"
48 +
49 +RDEPEND=">=dev-libs/skalibs-2.12.0.0:=[static-libs?]"
50 +DEPEND="${RDEPEND}"
51 +
52 +HTML_DOCS=( doc/. )
53 +
54 +src_prepare() {
55 + default
56 +
57 + # Avoid QA warning for LDFLAGS addition
58 + sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
59 +
60 + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
61 +}
62 +
63 +src_configure() {
64 + tc-export AR CC RANLIB
65 +
66 + local myconf=(
67 + --bindir=/bin
68 + --dynlibdir=/usr/$(get_libdir)
69 + --libdir=/usr/$(get_libdir)/${PN}
70 + --with-dynlib=/usr/$(get_libdir)
71 + --with-lib=/usr/$(get_libdir)/skalibs
72 + --with-sysdeps=/usr/$(get_libdir)/skalibs
73 + --enable-shared
74 + $(use_enable static allstatic)
75 + $(use_enable static static-libc)
76 + $(use_enable static-libs static)
77 + )
78 +
79 + econf "${myconf[@]}"
80 +}