1 |
commit: a3b3441098db053eedf2882c45fe9205814caacc |
2 |
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> |
3 |
AuthorDate: Sun Jan 23 14:34:01 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 28 07:59:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b34410 |
7 |
|
8 |
sys-apps/s6-linux-init: add 1.0.7.1 |
9 |
|
10 |
-fno-stack-protector flag was removed from configure script in upstream |
11 |
in version 1.0.6.0. |
12 |
|
13 |
Upstream-commit: 5cda6f5fdc8f ("Don't put -fno-stack-protector in default CFLAGS") |
14 |
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
sys-apps/s6-linux-init/Manifest | 1 + |
18 |
.../s6-linux-init/s6-linux-init-1.0.7.1.ebuild | 74 ++++++++++++++++++++++ |
19 |
2 files changed, 75 insertions(+) |
20 |
|
21 |
diff --git a/sys-apps/s6-linux-init/Manifest b/sys-apps/s6-linux-init/Manifest |
22 |
index 521c16d3d02c..3d6e31c1b67b 100644 |
23 |
--- a/sys-apps/s6-linux-init/Manifest |
24 |
+++ b/sys-apps/s6-linux-init/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST s6-linux-init-1.0.4.2.tar.gz 52731 BLAKE2B d9565921c7e3a786c3c9cdd1aae5cc8c1b0939d857b1da668443e756f39c5e454a618d6fc572490e37a01581dae44b799f8df6972701b8d91a947a05695ab604 SHA512 31dfe6911f6de527c43120097bd711cfb84cdec6f056ccaa03d48a1bcecb852caacdbaabddf0188ea30c4827abe3293acb8ebff8dfe80ea8665934802fac0e53 |
27 |
+DIST s6-linux-init-1.0.7.1.tar.gz 58373 BLAKE2B 02d2a3898882a41adea85dfcc3f0e03636dac16758aea88c09bb0309d61fa86526d8e678e0a24b915949d7b76e77b558809be65ccc7b0c0156b852c3d1a587ba SHA512 92ef82c00cd8e6de92adccfe1c61ef23130458f912a6c9a7d52447584a775660446bdef1954bbff3042ecba3de9587fb2dab8e329bc96a8e55b486668b4aaf64 |
28 |
|
29 |
diff --git a/sys-apps/s6-linux-init/s6-linux-init-1.0.7.1.ebuild b/sys-apps/s6-linux-init/s6-linux-init-1.0.7.1.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..2ce334d05831 |
32 |
--- /dev/null |
33 |
+++ b/sys-apps/s6-linux-init/s6-linux-init-1.0.7.1.ebuild |
34 |
@@ -0,0 +1,74 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit toolchain-funcs |
41 |
+ |
42 |
+DESCRIPTION="Generates an init binary for s6-based init systems" |
43 |
+HOMEPAGE="https://www.skarnet.org/software/s6-linux-init/" |
44 |
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="ISC" |
47 |
+SLOT="0/$(ver_cut 1-2)" |
48 |
+KEYWORDS="~amd64 ~arm ~x86" |
49 |
+IUSE="static static-libs +sysv-utils" |
50 |
+ |
51 |
+REQUIRED_USE="static? ( static-libs )" |
52 |
+ |
53 |
+RDEPEND=">=dev-lang/execline-2.8.2.0:=[static-libs?] |
54 |
+ >=dev-libs/skalibs-2.11.1.0:=[static-libs?] |
55 |
+ >=sys-apps/s6-2.11.0.1:=[execline,static-libs?] |
56 |
+ sysv-utils? ( |
57 |
+ !sys-apps/systemd[sysv-utils] |
58 |
+ !sys-apps/sysvinit |
59 |
+ ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND}" |
62 |
+ |
63 |
+HTML_DOCS=( doc/. ) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ |
68 |
+ # Avoid QA warning for LDFLAGS addition |
69 |
+ sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die |
70 |
+ |
71 |
+ sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ tc-export AR CC RANLIB |
76 |
+ |
77 |
+ local myconf=( |
78 |
+ --bindir=/bin |
79 |
+ --dynlibdir=/usr/$(get_libdir) |
80 |
+ --skeldir=/etc/s6-linux-init/skel |
81 |
+ --libdir=/usr/$(get_libdir)/${PN} |
82 |
+ --with-dynlib=/usr/$(get_libdir) |
83 |
+ --with-lib=/usr/$(get_libdir)/s6 |
84 |
+ --with-lib=/usr/$(get_libdir)/skalibs |
85 |
+ --with-sysdeps=/usr/$(get_libdir)/skalibs |
86 |
+ --enable-shared |
87 |
+ $(use_enable static allstatic) |
88 |
+ $(use_enable static static-libc) |
89 |
+ $(use_enable static-libs static) |
90 |
+ ) |
91 |
+ |
92 |
+ econf "${myconf[@]}" |
93 |
+} |
94 |
+ |
95 |
+src_install() { |
96 |
+ default |
97 |
+ |
98 |
+ if use sysv-utils ; then |
99 |
+ "${D}/bin/s6-linux-init-maker" -f "${D}/etc/s6-linux-init/skel" "${T}/dir" || die |
100 |
+ into / |
101 |
+ dosbin "${T}/dir/bin"/{halt,poweroff,reboot,shutdown,telinit} |
102 |
+ fi |
103 |
+} |
104 |
+ |
105 |
+pkg_postinst() { |
106 |
+ einfo "Read ${EROOT}/usr/share/doc/${PF}/html/quickstart.html" |
107 |
+ einfo "for usage instructions." |
108 |
+} |