1 |
commit: 5d8860c3ecf0755b4960da94387e732c5e6e2e94 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 3 03:08:58 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 3 03:08:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8860c3 |
7 |
|
8 |
sys-process/tini: version bump to 0.13.2 |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
sys-process/tini/Manifest | 1 + |
13 |
sys-process/tini/tini-0.13.2.ebuild | 43 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/sys-process/tini/Manifest b/sys-process/tini/Manifest |
17 |
index 17dcfad..db45e30 100644 |
18 |
--- a/sys-process/tini/Manifest |
19 |
+++ b/sys-process/tini/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST tini-0.13.0.tar.gz 26098 SHA256 d0788dd2100d1e2d53d79815116f962a76ea17177159eb26e07702445c6cbdfd SHA512 f23b6457f0e19fa13f2148d85e28f09123cedb1ecefae8f6dda06d96e44aec3af1cf98cb4589e8b775158f78532a76b26d233aee78a4d6d2661305d8b5bc4363 WHIRLPOOL e3c5904f69b000aa1c21ede6446f72cd51807bf7a7eb34dbed69bc9f1e48735ddd797da9586127f08eefeb66ca23b4077c47b709fd094ebd9c85ea0a54a381ca |
22 |
+DIST tini-0.13.2.tar.gz 27828 SHA256 85e18a4e4089612821321d1d67c16337797c3c78e81117dea56ad75ece20d05f SHA512 117822bf2e45b7cf732bfcd2aa5ea268a189c395f189c03d0e5dcd982872cff29d50adbb1a4d1b85859db4736e932900cfb64a1c487ba271a305146e9677a1d4 WHIRLPOOL f271b592e5524a2297b5a6b8fb88371a9068f01122e7ea95c4d797d2f5da91847b65675a7b5043398b8c9553746a00e4b5fe5ecfd8a1171d3bba87ee78de9a55 |
23 |
|
24 |
diff --git a/sys-process/tini/tini-0.13.2.ebuild b/sys-process/tini/tini-0.13.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..48e3ffc |
27 |
--- /dev/null |
28 |
+++ b/sys-process/tini/tini-0.13.2.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit cmake-utils flag-o-matic |
37 |
+ |
38 |
+DESCRIPTION="A tiny but valid init for containers" |
39 |
+HOMEPAGE="https://github.com/krallin/tini" |
40 |
+SRC_URI="https://github.com/krallin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="+args static" |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ default |
49 |
+ # Do not strip binary |
50 |
+ sed -i -e 's/-Wl,-s")$/")/' CMakeLists.txt || die |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ local mycmakeargs=() |
55 |
+ use args || mycmakeargs+=(-DMINIMAL=ON) |
56 |
+ |
57 |
+ cmake-utils_src_configure |
58 |
+} |
59 |
+ |
60 |
+src_compile() { |
61 |
+ append-cflags -DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37 |
62 |
+ cmake-utils_src_compile |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ cmake-utils_src_install |
67 |
+ if use static; then |
68 |
+ mv "${ED%/}"/usr/bin/{${PN}-static,${PN}} || die |
69 |
+ else |
70 |
+ rm "${ED%/}"/usr/bin/${PN}-static || die |
71 |
+ fi |
72 |
+} |