Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/s6-linux-utils/
Date: Sat, 25 Jun 2022 05:36:34
Message-Id: 1656135313.c79fd5c2af8a728dad887a056ca671266cb9204a.sam@gentoo
1 commit: c79fd5c2af8a728dad887a056ca671266cb9204a
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Wed Jun 15 15:20:20 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 05:35:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c79fd5c2
7
8 sys-apps/s6-linux-utils: add 2.6.0.0
9
10 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sys-apps/s6-linux-utils/Manifest | 1 +
14 .../s6-linux-utils/s6-linux-utils-2.6.0.0.ebuild | 48 ++++++++++++++++++++++
15 2 files changed, 49 insertions(+)
16
17 diff --git a/sys-apps/s6-linux-utils/Manifest b/sys-apps/s6-linux-utils/Manifest
18 index da35203b439d..405ffe98d0dc 100644
19 --- a/sys-apps/s6-linux-utils/Manifest
20 +++ b/sys-apps/s6-linux-utils/Manifest
21 @@ -1 +1,2 @@
22 DIST s6-linux-utils-2.5.1.7.tar.gz 36574 BLAKE2B 53b5c46e84873df2263eb05ef6dae2321957e2065966854402f819cff6712de991a3a3c480325556e53491c9016deb52c0a437a8b9bcc721dac97e31c98ba501 SHA512 dabe510d0a4d045578309beeec17aa1b4f88acb09513be65c31a7b338bd50fcb7cc809015fa7328c4a310b838f1335e754f49a12dcf369483c83294b5957156c
23 +DIST s6-linux-utils-2.6.0.0.tar.gz 39674 BLAKE2B 146b5ef47c00c4e96eb6ea697137cd11732087612df98781e45169ff8503fe3ba9b84cab06e6b96ba373f11c65902f4f5111322d51b0fdb395b3422ba092d836 SHA512 cecd745d473b200e10071d73191d5ec425533818a9775e882a2b8a2fbc98779f2309e17d41f844b171e0625b233804bc7af9585709e8e42dc73ff30afcee06e9
24
25 diff --git a/sys-apps/s6-linux-utils/s6-linux-utils-2.6.0.0.ebuild b/sys-apps/s6-linux-utils/s6-linux-utils-2.6.0.0.ebuild
26 new file mode 100644
27 index 000000000000..7bd912ebe713
28 --- /dev/null
29 +++ b/sys-apps/s6-linux-utils/s6-linux-utils-2.6.0.0.ebuild
30 @@ -0,0 +1,48 @@
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="Set of tiny linux utilities"
39 +HOMEPAGE="https://www.skarnet.org/software/s6-linux-utils/"
40 +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="ISC"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
45 +IUSE="static"
46 +
47 +RDEPEND="!static? ( >=dev-libs/skalibs-2.12.0.0:= )"
48 +DEPEND="${RDEPEND}
49 + static? ( >=dev-libs/skalibs-2.12.0.0[static-libs] )
50 +"
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 + $(use_enable static allstatic)
74 + $(use_enable static static-libc)
75 + )
76 +
77 + econf "${myconf[@]}"
78 +}