1 |
commit: 5cc1ec1dda7d320ad0fb4016f3b879e7aca71d71 |
2 |
Author: Luis Ressel <aranea <AT> aixah <DOT> de> |
3 |
AuthorDate: Wed Aug 22 21:37:29 2018 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 9 00:11:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc1ec1d |
7 |
|
8 |
net-misc/s6-networking: Bump to 2.3.0.3 |
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-misc/s6-networking/Manifest | 1 + |
18 |
.../s6-networking/s6-networking-2.3.0.3.ebuild | 59 ++++++++++++++++++++++ |
19 |
2 files changed, 60 insertions(+) |
20 |
|
21 |
diff --git a/net-misc/s6-networking/Manifest b/net-misc/s6-networking/Manifest |
22 |
index 282bd55c289..01ee0ebe105 100644 |
23 |
--- a/net-misc/s6-networking/Manifest |
24 |
+++ b/net-misc/s6-networking/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST s6-networking-2.3.0.2.tar.gz 85977 BLAKE2B 883caa1d2376e1897b35fd6992a512bb9915be08b0fed10447fac3bf3acf8587153bb15d3b2c4750b02e7fdba8793253d7145afe9aef83a10efd33df3ee46c67 SHA512 c99afd9bdbd5003f57de8f88f091971f0269cd8efee5791c3c4aa90ad34b978d0f57724d4128e9d20d6a40d731853bb4bdaa76dd860f975ff7f84a56b0050256 |
27 |
+DIST s6-networking-2.3.0.3.tar.gz 86765 BLAKE2B 1454250de9014597e7cf3dfb7364fc5283b26c5510c5b7a825255af0626bd3b12ce456290c7a1fb58f61fae1bb5757ea4cd803a6896b554511e19cd01fa3741e SHA512 f710c8c67b88523d4d461ab775ad3a56ca148e0e5ee4c02fe40d0783ff43af8779e598548db5048cc32852be6659f2feb7ac29ba07a953daa0039cec0fc14762 |
28 |
|
29 |
diff --git a/net-misc/s6-networking/s6-networking-2.3.0.3.ebuild b/net-misc/s6-networking/s6-networking-2.3.0.3.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..337a4b582c3 |
32 |
--- /dev/null |
33 |
+++ b/net-misc/s6-networking/s6-networking-2.3.0.3.ebuild |
34 |
@@ -0,0 +1,59 @@ |
35 |
+# Copyright 1999-2018 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+DESCRIPTION="suite of small networking utilities for Unix systems" |
41 |
+HOMEPAGE="https://www.skarnet.org/software/s6-networking/" |
42 |
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="ISC" |
45 |
+SLOT="0/$(ver_cut 1-2)" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="ssl static static-libs" |
48 |
+ |
49 |
+REQUIRED_USE="static? ( static-libs )" |
50 |
+ |
51 |
+DEPEND=">=dev-lang/execline-2.5.0.1[static-libs?] |
52 |
+ >=sys-apps/s6-2.7.2.0[static-libs?] |
53 |
+ >=net-dns/s6-dns-2.3.0.1[static-libs?] |
54 |
+ >=dev-libs/skalibs-2.7.0.0[static-libs?] |
55 |
+ ssl? ( >=dev-libs/libressl-2.6.5[static-libs?] ) |
56 |
+" |
57 |
+RDEPEND=">=dev-lang/execline-2.5.0.1:= |
58 |
+ >=sys-apps/s6-2.7.2.0:= |
59 |
+ !static? ( |
60 |
+ >=net-dns/s6-dns-2.3.0.1:= |
61 |
+ >=dev-libs/skalibs-2.7.0.0:= |
62 |
+ ssl? ( >=dev-libs/libressl-2.6.5:= ) |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+HTML_DOCS="doc/*" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ # Remove QA warning about LDFLAGS addition |
72 |
+ sed -i "s/tryldflag LDFLAGS_AUTO -Wl,--hash-style=both/:/" "${S}/configure" || die |
73 |
+ |
74 |
+ # configure overrides gentoo's -fstack-protector default |
75 |
+ sed -i "/^tryflag CFLAGS_AUTO -fno-stack-protector$/d" "${S}/configure" || die |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ econf \ |
80 |
+ --bindir=/bin \ |
81 |
+ --dynlibdir=/$(get_libdir) \ |
82 |
+ --libdir=/usr/$(get_libdir)/${PN} \ |
83 |
+ --with-dynlib=/$(get_libdir) \ |
84 |
+ --with-lib=/usr/$(get_libdir)/s6 \ |
85 |
+ --with-lib=/usr/$(get_libdir)/s6-dns \ |
86 |
+ --with-lib=/usr/$(get_libdir)/skalibs \ |
87 |
+ --with-sysdeps=/usr/$(get_libdir)/skalibs \ |
88 |
+ --enable-shared \ |
89 |
+ $(use_enable ssl ssl libressl) \ |
90 |
+ $(use_enable static allstatic) \ |
91 |
+ $(use_enable static static-libc) \ |
92 |
+ $(use_enable static-libs static) |
93 |
+} |