Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/s6-portable-utils/
Date: Tue, 09 Oct 2018 00:12:05
Message-Id: 1539043861.7c758a3b52ad5a0654402a4f51709fe5c5b83f45.gyakovlev@gentoo
1 commit: 7c758a3b52ad5a0654402a4f51709fe5c5b83f45
2 Author: Luis Ressel <aranea <AT> aixah <DOT> de>
3 AuthorDate: Wed Aug 22 21:37:23 2018 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 9 00:11:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c758a3b
7
8 sys-apps/s6-portable-utils: Bump to 2.2.1.2
9
10 Bump to EAPI 7.
11
12 Closes: https://github.com/gentoo/gentoo/pull/9675
13 Signed-off-by: Luis Ressel <aranea <AT> aixah.de>
14 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
15
16 sys-apps/s6-portable-utils/Manifest | 1 +
17 .../s6-portable-utils-2.2.1.2.ebuild | 42 ++++++++++++++++++++++
18 2 files changed, 43 insertions(+)
19
20 diff --git a/sys-apps/s6-portable-utils/Manifest b/sys-apps/s6-portable-utils/Manifest
21 index f0eddcc21a0..73c94721643 100644
22 --- a/sys-apps/s6-portable-utils/Manifest
23 +++ b/sys-apps/s6-portable-utils/Manifest
24 @@ -1 +1,2 @@
25 DIST s6-portable-utils-2.2.1.1.tar.gz 47138 BLAKE2B f5519fbedc2599c0b9366bbff38a9438cb4cdf3b770dfec6e519f8857bd77a3bea172284318df224104fe7003af4a68cadc8089d77c98ba4da85eb59d59819f4 SHA512 fba7a4d1f5e0c969dc254775f28c02f1b8673ead28022962175bd605125dc56012cfdeb177037c322780be93a5191a5292a47cb26cf5d466bb5eb081fa5a9657
26 +DIST s6-portable-utils-2.2.1.2.tar.gz 47446 BLAKE2B 31093828bbff8d7ebd68e9b9024abff802511d6def436b6c4a42e127fc8ee84544a3e590db2e59d76f2ab407b29edbd462725d8f6c8b4923b999809c58126c8f SHA512 697356a1bea6a0d9ca2dc995667fb2c3ab0e0ec72f9cba9f64a3b745e17ff85793be4b9a3bfcb8137938b732195fdabd2ffba5cef26f86f3ad2705907c6a8ab4
27
28 diff --git a/sys-apps/s6-portable-utils/s6-portable-utils-2.2.1.2.ebuild b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.1.2.ebuild
29 new file mode 100644
30 index 00000000000..d10b94ff05b
31 --- /dev/null
32 +++ b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.1.2.ebuild
33 @@ -0,0 +1,42 @@
34 +# Copyright 1999-2017 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +DESCRIPTION="set of tiny portable unix utilities"
40 +HOMEPAGE="https://www.skarnet.org/software/s6-portable-utils/"
41 +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="ISC"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="static"
47 +
48 +DEPEND="static? ( >=dev-libs/skalibs-2.7.0.0[static-libs] )
49 + !static? ( >=dev-libs/skalibs-2.7.0.0 )
50 +"
51 +RDEPEND="!static? ( >=dev-libs/skalibs-2.7.0.0:= )"
52 +
53 +HTML_DOCS="doc/*"
54 +
55 +src_prepare() {
56 + default
57 +
58 + # Remove QA warning about LDFLAGS addition
59 + sed -i "s/tryldflag LDFLAGS_AUTO -Wl,--hash-style=both/:/" "${S}/configure" || die
60 +
61 + # configure overrides gentoo's -fstack-protector default
62 + sed -i "/^tryflag CFLAGS_AUTO -fno-stack-protector$/d" "${S}/configure" || die
63 +}
64 +
65 +src_configure() {
66 + econf \
67 + --bindir=/bin \
68 + --dynlibdir=/$(get_libdir) \
69 + --libdir=/usr/$(get_libdir)/${PN} \
70 + --with-dynlib=/$(get_libdir) \
71 + --with-lib=/usr/$(get_libdir)/skalibs \
72 + --with-sysdeps=/usr/$(get_libdir)/skalibs \
73 + $(use_enable static allstatic) \
74 + $(use_enable static static-libc)
75 +}