1 |
commit: cad6db9a116c193e879eb474df503f7f8da6050f |
2 |
Author: Luis Ressel <aranea <AT> aixah <DOT> de> |
3 |
AuthorDate: Wed Aug 22 21:37:27 2018 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 9 00:11:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad6db9a |
7 |
|
8 |
net-dns/s6-dns: Bump to 2.3.0.1 |
9 |
|
10 |
Bump EAPI to 7, always compile shared libs, fix bug with USE="static |
11 |
-static-libs", simplify dependency syntax. |
12 |
|
13 |
Closes: https://github.com/gentoo/gentoo/pull/9675 |
14 |
Signed-off-by: Luis Ressel <aranea <AT> aixah.de> |
15 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
16 |
|
17 |
net-dns/s6-dns/Manifest | 1 + |
18 |
net-dns/s6-dns/s6-dns-2.3.0.1.ebuild | 44 ++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 45 insertions(+) |
20 |
|
21 |
diff --git a/net-dns/s6-dns/Manifest b/net-dns/s6-dns/Manifest |
22 |
index 75fdb3660b5..e0ec7281574 100644 |
23 |
--- a/net-dns/s6-dns/Manifest |
24 |
+++ b/net-dns/s6-dns/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST s6-dns-2.2.0.1.tar.gz 76046 BLAKE2B c7c7e94fa47fc20e2a328f2fc22650585e9bd0260f4676c5ef6078097a62c43d75b18977e31187008b9fb90bebefc9ffb8d999395b012d85bdef9a4220aa7a6d SHA512 9b62ddec94be86d186520f0240dafda95861c54345f92a1fac3251f8560e70932bc5915cca4136d428ed02d0718e8082ad382bffd0c707ae867f1896d93ecaed |
27 |
DIST s6-dns-2.3.0.0.tar.gz 76476 BLAKE2B 6896bf534d872aac19dd6b2ad819d7aee6d52737f33106640ad1c3afc7f8857e5672f3e35f7f2064cb8085a79adc33bdd33a99dc656a656040a93f813a986717 SHA512 9afa98d0a7a9d84311f6f93d5c1742f7dcfb84c76ca363f9e09b3b40cd3faa1721aebb6e974a98991c037d82b2540c1edbc3cc13ea5f7e3dd95a96d14918e454 |
28 |
+DIST s6-dns-2.3.0.1.tar.gz 77836 BLAKE2B 55f83152eea3e3c8f2d774d6330aadcb73ec9b7d1ca4b87d1093fb9ab216ac1ad130bc9437ff30311451b06f820720fec902ac40e9e8d63f9d605cbf13448edf SHA512 69ae32f9b4ff22a5d38e3a2c950357d8c8032a649c1d81e4a4e5f474ae5c1bb1072555baa1a34f955293aa0f66a93f51f2cc8efd8aa56704b906e0b0979f8157 |
29 |
|
30 |
diff --git a/net-dns/s6-dns/s6-dns-2.3.0.1.ebuild b/net-dns/s6-dns/s6-dns-2.3.0.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..de60beb8534 |
33 |
--- /dev/null |
34 |
+++ b/net-dns/s6-dns/s6-dns-2.3.0.1.ebuild |
35 |
@@ -0,0 +1,44 @@ |
36 |
+# Copyright 1999-2018 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+DESCRIPTION="suite of DNS client programs and libraries for Unix systems" |
42 |
+HOMEPAGE="https://www.skarnet.org/software/s6-dns/" |
43 |
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="ISC" |
46 |
+SLOT="0/$(ver_cut 1-2)" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="static static-libs" |
49 |
+ |
50 |
+REQUIRED_USE="static? ( static-libs )" |
51 |
+ |
52 |
+DEPEND=">=dev-libs/skalibs-2.7.0.0[static-libs?]" |
53 |
+RDEPEND="!static? ( >=dev-libs/skalibs-2.7.0.0:= )" |
54 |
+ |
55 |
+HTML_DOCS="doc/*" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ |
60 |
+ # Remove QA warning about LDFLAGS addition |
61 |
+ sed -i "s/tryldflag LDFLAGS_AUTO -Wl,--hash-style=both/:/" "${S}/configure" || die |
62 |
+ |
63 |
+ # configure overrides gentoo's -fstack-protector default |
64 |
+ sed -i "/^tryflag CFLAGS_AUTO -fno-stack-protector$/d" "${S}/configure" || die |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ econf \ |
69 |
+ --bindir=/bin \ |
70 |
+ --dynlibdir=/$(get_libdir) \ |
71 |
+ --libdir=/usr/$(get_libdir)/${PN} \ |
72 |
+ --with-dynlib=/$(get_libdir) \ |
73 |
+ --with-lib=/usr/$(get_libdir)/skalibs \ |
74 |
+ --with-sysdeps=/usr/$(get_libdir)/skalibs \ |
75 |
+ --enable-shared \ |
76 |
+ $(use_enable static allstatic) \ |
77 |
+ $(use_enable static static-libc) \ |
78 |
+ $(use_enable static-libs static) |
79 |
+} |