1 |
commit: fe8dc6b02a1cb193702f25897d27978f2223c11b |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 27 12:42:17 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 27 12:42:17 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe8dc6b0 |
7 |
|
8 |
sys-process/tini: Version bump to 0.17.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-process/tini/Manifest | 1 + |
13 |
sys-process/tini/tini-0.17.0.ebuild | 42 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/sys-process/tini/Manifest b/sys-process/tini/Manifest |
17 |
index b97fe34541f..9ac50c9b988 100644 |
18 |
--- a/sys-process/tini/Manifest |
19 |
+++ b/sys-process/tini/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST tini-0.13.2.tar.gz 27828 BLAKE2B 2a983cc654c6553d372ee425d4d153b50522a5e3ee0190262383b650e63c3239f30553504f49925b6e7caaa721fc350bab98e0c87446757d65d4056df58ee4a3 SHA512 117822bf2e45b7cf732bfcd2aa5ea268a189c395f189c03d0e5dcd982872cff29d50adbb1a4d1b85859db4736e932900cfb64a1c487ba271a305146e9677a1d4 |
22 |
DIST tini-0.15.0.tar.gz 29473 BLAKE2B 24aa6ec5f0d24603907d7de816d15d1b6cb6c90a254e5b0f6a52f29ba1dc2ffd7b578b67a97b68230f49b22b7848a677f73db06c659d60eeef48ca46764c961e SHA512 774addddeb2bcefd1db2e4bff7c55bba6c3f4adc41e0b2a647059eef8cc5cc9d4a47b68cb4b89aa4e9e52b85916fe2680dad2a414c82b3c276beea89e3689481 |
23 |
DIST tini-0.16.1.tar.gz 29641 BLAKE2B 637ee17bbf8553b7803dc78cc40ec55ea919ec003005c7f2524322df6cc93a2e4c6fc017fa25c581f50eb17482956ebf37bf49c7796c33d227c7327ca467a906 SHA512 aa0a802c403a07771a2b28a07b97fa2c93d40b5d5be2cba6556c8e7a92e608453010625d0236d26c27bdd2820aed3ad9ca676b70f7fcd5986d7f91eb928d053c |
24 |
+DIST tini-0.17.0.tar.gz 30881 BLAKE2B 8212bfa56b6ade3b79e1d4d3144b10b98e4daf19e9a9c93f6db44dfea22f80b4c6810619832b339984681d1933d00964f7cfbf516286354141f795d3cb5e745f SHA512 4e59241bd621cd89f9c07dcd7a21754a947c87d3571b06bc5f034c0059a20cbc02d4d22fd08a79633b84fd47980dbf5240e2d2fa382aaf5c32e6003710b7691a |
25 |
|
26 |
diff --git a/sys-process/tini/tini-0.17.0.ebuild b/sys-process/tini/tini-0.17.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..15f145ee4ab |
29 |
--- /dev/null |
30 |
+++ b/sys-process/tini/tini-0.17.0.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit cmake-utils flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="A tiny but valid init for containers" |
40 |
+HOMEPAGE="https://github.com/krallin/tini" |
41 |
+SRC_URI="https://github.com/krallin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~x86" |
46 |
+IUSE="+args +static" |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ cmake-utils_src_prepare |
50 |
+ # Do not strip binary |
51 |
+ sed -i -e 's/-Wl,-s")$/")/' CMakeLists.txt || die |
52 |
+} |
53 |
+ |
54 |
+src_configure() { |
55 |
+ local mycmakeargs=() |
56 |
+ use args || mycmakeargs+=(-DMINIMAL=ON) |
57 |
+ |
58 |
+ cmake-utils_src_configure |
59 |
+} |
60 |
+ |
61 |
+src_compile() { |
62 |
+ append-cflags -DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37 |
63 |
+ cmake-utils_src_compile |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ cmake-utils_src_install |
68 |
+ if use static; then |
69 |
+ mv "${ED%/}"/usr/bin/{${PN}-static,${PN}} || die |
70 |
+ else |
71 |
+ rm "${ED%/}"/usr/bin/${PN}-static || die |
72 |
+ fi |
73 |
+} |