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/
Date: Sat, 25 Jun 2022 05:36:33
Message-Id: 1656135312.53c83c8af6130f233d4af428644bc98c6ff3cdb2.sam@gentoo
1 commit: 53c83c8af6130f233d4af428644bc98c6ff3cdb2
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Tue Jun 14 21:09:07 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 05:35:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c83c8a
7
8 sys-apps/s6: add 2.11.1.1
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/Manifest | 1 +
14 sys-apps/s6/s6-2.11.1.1.ebuild | 54 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/sys-apps/s6/Manifest b/sys-apps/s6/Manifest
18 index a9f6ac81ca9e..6eaa14d7d718 100644
19 --- a/sys-apps/s6/Manifest
20 +++ b/sys-apps/s6/Manifest
21 @@ -1 +1,2 @@
22 DIST s6-2.11.1.0.tar.gz 228745 BLAKE2B 872ac1f736337a8e6617c46af92f8e894c06a4b40501ebf58568dc6a58cb594fdf36654cdb8cfd8e922431c17f9b4f82441296a3ce8031ba8b1f27fa1ba8a051 SHA512 ab3cb4a61fae21537eacffdaa427a0a6b23b12088586f0cd8dc993e0de29e9863d04c8706cb044acdc08254002b19eb5f894262d37348d467f8c713d8124e738
23 +DIST s6-2.11.1.1.tar.gz 228878 BLAKE2B c94c18b66862c7945a317ab76d933d40fc360847b71c6fb3d507535ee41637d60327a05486a93ab7aec630a0c8ead61d6c17bfc064bd9f94b39a7cc56f76cb49 SHA512 f5fc903c11b57b2a83d9e120a51f64b63984a2af9b772dd6fd64f268b512a083350abedcae04c926deb6751b5ae30e992d6a4128ddf4ab1d49c548ef8f3d7752
24
25 diff --git a/sys-apps/s6/s6-2.11.1.1.ebuild b/sys-apps/s6/s6-2.11.1.1.ebuild
26 new file mode 100644
27 index 000000000000..ba06fd3ede5b
28 --- /dev/null
29 +++ b/sys-apps/s6/s6-2.11.1.1.ebuild
30 @@ -0,0 +1,54 @@
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="skarnet.org's small and secure supervision software suite"
39 +HOMEPAGE="https://www.skarnet.org/software/s6/"
40 +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="ISC"
43 +SLOT="0/$(ver_cut 1-2)"
44 +KEYWORDS="~amd64 ~arm ~x86"
45 +IUSE="+execline static static-libs"
46 +
47 +REQUIRED_USE="static? ( static-libs )"
48 +
49 +RDEPEND="dev-libs/skalibs:=[static-libs?]
50 + execline? ( dev-lang/execline:=[static-libs?] )
51 +"
52 +DEPEND="${RDEPEND}"
53 +
54 +HTML_DOCS=( doc/. )
55 +
56 +src_prepare() {
57 + default
58 +
59 + # Avoid QA warning for LDFLAGS addition
60 + sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
61 +
62 + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
63 +}
64 +
65 +src_configure() {
66 + tc-export AR CC RANLIB
67 +
68 + local myconf=(
69 + --bindir=/bin
70 + --dynlibdir=/usr/$(get_libdir)
71 + --libdir=/usr/$(get_libdir)/${PN}
72 + --with-dynlib=/usr/$(get_libdir)
73 + --with-lib=/usr/$(get_libdir)/execline
74 + --with-lib=/usr/$(get_libdir)/skalibs
75 + --with-sysdeps=/usr/$(get_libdir)/skalibs
76 + --enable-shared
77 + $(use_enable static allstatic)
78 + $(use_enable static static-libc)
79 + $(use_enable static-libs static)
80 + $(use_enable execline)
81 + )
82 +
83 + econf "${myconf[@]}"
84 +}