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: Fri, 28 Jan 2022 08:00:21
Message-Id: 1643356758.c554cac7b9508d308eb41b02894ed5fee9f4b4aa.sam@gentoo
1 commit: c554cac7b9508d308eb41b02894ed5fee9f4b4aa
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Sun Jan 23 15:10:26 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 28 07:59:18 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c554cac7
7
8 net-dns/s6-dns: add 2.3.5.3
9
10 -fno-stack-protector flag was removed from configure script in upstream
11 in version 2.3.4.0.
12
13 Upstream-commit: 5b063a4db3e6 ("Don't put -fno-stack-protector in default CFLAGS")
14 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 net-dns/s6-dns/Manifest | 1 +
18 net-dns/s6-dns/s6-dns-2.3.5.3.ebuild | 50 ++++++++++++++++++++++++++++++++++++
19 2 files changed, 51 insertions(+)
20
21 diff --git a/net-dns/s6-dns/Manifest b/net-dns/s6-dns/Manifest
22 index 7893fa209ad5..a91e6a5c3680 100644
23 --- a/net-dns/s6-dns/Manifest
24 +++ b/net-dns/s6-dns/Manifest
25 @@ -1 +1,2 @@
26 DIST s6-dns-2.3.3.0.tar.gz 83398 BLAKE2B dc4408a608324bdecd363c8a7a92d878983075e93af66905e4315e34e8d1fb1fdecc78fcd7e56fabdfdcbdcda81cc39bc93044730a0bafed26df40ca70110a71 SHA512 f711ff3f7ea7ae2eecf46b6742f61e970aed8776fcaa4f7902da0864c97f71296bc1651c08ff6f98d6474ccb0ee904c2d7497d7a1d28d48db8df78865b2a9e79
27 +DIST s6-dns-2.3.5.3.tar.gz 84916 BLAKE2B b315e2319c4b15401a6e41847faefc1798c3a945fc78f1601b06ce13ef0a55ddde270549e0585cac0356f9b1558a1433675dc4c636d1cc58aee434b86bd81627 SHA512 f3984913df65823c4edbeddc2f8c534926e74c5b06c357c394b05b25943ac8c6b4154859c93e182c60228f018522eb6173ece0bd2dbeffe8e1cc6fcbe33f6a76
28
29 diff --git a/net-dns/s6-dns/s6-dns-2.3.5.3.ebuild b/net-dns/s6-dns/s6-dns-2.3.5.3.ebuild
30 new file mode 100644
31 index 000000000000..14abc3c2c212
32 --- /dev/null
33 +++ b/net-dns/s6-dns/s6-dns-2.3.5.3.ebuild
34 @@ -0,0 +1,50 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +inherit toolchain-funcs
41 +
42 +DESCRIPTION="Suite of DNS client programs and libraries for Unix systems"
43 +HOMEPAGE="https://www.skarnet.org/software/s6-dns/"
44 +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="ISC"
47 +SLOT="0/$(ver_cut 1-2)"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="static static-libs"
50 +
51 +REQUIRED_USE="static? ( static-libs )"
52 +
53 +RDEPEND=">=dev-libs/skalibs-2.11.1.0:=[static-libs?]"
54 +DEPEND="${RDEPEND}"
55 +
56 +HTML_DOCS=( doc/. )
57 +
58 +src_prepare() {
59 + default
60 +
61 + # Avoid QA warning for LDFLAGS addition
62 + sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
63 +
64 + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
65 +}
66 +
67 +src_configure() {
68 + tc-export AR CC RANLIB
69 +
70 + local myconf=(
71 + --bindir=/bin
72 + --dynlibdir=/usr/$(get_libdir)
73 + --libdir=/usr/$(get_libdir)/${PN}
74 + --with-dynlib=/usr/$(get_libdir)
75 + --with-lib=/usr/$(get_libdir)/skalibs
76 + --with-sysdeps=/usr/$(get_libdir)/skalibs
77 + --enable-shared
78 + $(use_enable static allstatic)
79 + $(use_enable static static-libc)
80 + $(use_enable static-libs static)
81 + )
82 +
83 + econf "${myconf[@]}"
84 +}