1 |
commit: dea12a74cc8763a7160a3a7d5e0f247f032796f1 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 15 02:04:20 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 15 02:05:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea12a74 |
7 |
|
8 |
sys-process/tini: drop 0.18.0, 0.19.0 |
9 |
|
10 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
11 |
|
12 |
sys-process/tini/Manifest | 1 - |
13 |
sys-process/tini/tini-0.18.0.ebuild | 59 ------------------------------------- |
14 |
sys-process/tini/tini-0.19.0.ebuild | 59 ------------------------------------- |
15 |
3 files changed, 119 deletions(-) |
16 |
|
17 |
diff --git a/sys-process/tini/Manifest b/sys-process/tini/Manifest |
18 |
index e704ce94a15..3f871251407 100644 |
19 |
--- a/sys-process/tini/Manifest |
20 |
+++ b/sys-process/tini/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST tini-0.18.0.tar.gz 32152 BLAKE2B d676f0f1b4d9f6dca98cdb626aa7c525ec55e090cfeb1cf0e9ab167f1ef4285123223873e92e81d5d62ceb631e26e9012f16b28b1d35813ac801f8e4594be70b SHA512 83279180b6a875aaff9b6b7446ee7e71fd05357279744afcb4db67c76572dc871acfba86c035857009b5dd88ca75d9f2e815d6a925563cdb3e6e771eb83be9b1 |
23 |
DIST tini-0.19.0.tar.gz 32369 BLAKE2B 5d86f6299b92152063974e6ecd347e1a2ba90f0188f2a702ddb6c814fc1c9723062481fe560caa89e9f74883017ee833566adf1eb1f11fe625671eced47f3296 SHA512 1fa85b56e2c6085ea474f251928e7a40510d92aeef60b3c145b0496969c1b5df86835d143cb91ef5b4bf4da63fa8a56947cc39a4276e4b72faa57276d432b292 |
24 |
|
25 |
diff --git a/sys-process/tini/tini-0.18.0.ebuild b/sys-process/tini/tini-0.18.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index d892a5882f5..00000000000 |
28 |
--- a/sys-process/tini/tini-0.18.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,59 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit cmake-utils flag-o-matic |
37 |
- |
38 |
-GIT_COMMIT=fec3683b971d9c3ef73f284f176672c44b448662 |
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 arm64 ppc64 ~x86" |
46 |
-IUSE="+args +static" |
47 |
- |
48 |
-src_prepare() { |
49 |
- cmake-utils_src_prepare |
50 |
- |
51 |
- local sed_args=( |
52 |
- # Do not strip binary |
53 |
- -e 's/-Wl,-s")$/")/' |
54 |
- |
55 |
- # Remove -Werror and -pedantic-errors in order to allow macro |
56 |
- # redefinition, so that CFLAGS="-U_FORTIFY_SOURCE" does not |
57 |
- # trigger an error due to add_definitions(-D_FORTIFY_SOURCE=2) |
58 |
- # in CMakeLists.txt (bug 626438). |
59 |
- -e "s/ -Werror / /" |
60 |
- -e "s/ -pedantic-errors / /" |
61 |
- ) |
62 |
- |
63 |
- sed -i "${sed_args[@]}" \ |
64 |
- -e "s/git.*status --porcelain.*/true/" \ |
65 |
- -e "s/git.*log -n 1.*/true/" \ |
66 |
- -e "s/git.\${tini_VERSION_GIT}/git.${GIT_COMMIT}/" \ |
67 |
- CMakeLists.txt || die |
68 |
-} |
69 |
- |
70 |
-src_configure() { |
71 |
- local mycmakeargs=() |
72 |
- use args || mycmakeargs+=(-DMINIMAL=ON) |
73 |
- |
74 |
- cmake-utils_src_configure |
75 |
-} |
76 |
- |
77 |
-src_compile() { |
78 |
- append-cflags -DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37 |
79 |
- cmake-utils_src_compile |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- cmake-utils_src_install |
84 |
- if use static; then |
85 |
- mv "${ED}"/usr/bin/{${PN}-static,${PN}} || die |
86 |
- else |
87 |
- rm "${ED}"/usr/bin/${PN}-static || die |
88 |
- fi |
89 |
-} |
90 |
|
91 |
diff --git a/sys-process/tini/tini-0.19.0.ebuild b/sys-process/tini/tini-0.19.0.ebuild |
92 |
deleted file mode 100644 |
93 |
index fe82e25bfc5..00000000000 |
94 |
--- a/sys-process/tini/tini-0.19.0.ebuild |
95 |
+++ /dev/null |
96 |
@@ -1,59 +0,0 @@ |
97 |
-# Copyright 1999-2021 Gentoo Authors |
98 |
-# Distributed under the terms of the GNU General Public License v2 |
99 |
- |
100 |
-EAPI=7 |
101 |
- |
102 |
-inherit cmake flag-o-matic |
103 |
- |
104 |
-GIT_COMMIT=fec3683b971d9c3ef73f284f176672c44b448662 |
105 |
-DESCRIPTION="A tiny but valid init for containers" |
106 |
-HOMEPAGE="https://github.com/krallin/tini" |
107 |
-SRC_URI="https://github.com/krallin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
108 |
- |
109 |
-LICENSE="MIT" |
110 |
-SLOT="0" |
111 |
-KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" |
112 |
-IUSE="+args +static" |
113 |
- |
114 |
-src_prepare() { |
115 |
- cmake_src_prepare |
116 |
- |
117 |
- local sed_args=( |
118 |
- # Do not strip binary |
119 |
- -e 's/-Wl,-s")$/")/' |
120 |
- |
121 |
- # Remove -Werror and -pedantic-errors in order to allow macro |
122 |
- # redefinition, so that CFLAGS="-U_FORTIFY_SOURCE" does not |
123 |
- # trigger an error due to add_definitions(-D_FORTIFY_SOURCE=2) |
124 |
- # in CMakeLists.txt (bug 626438). |
125 |
- -e "s/ -Werror / /" |
126 |
- -e "s/ -pedantic-errors / /" |
127 |
- ) |
128 |
- |
129 |
- sed -i "${sed_args[@]}" \ |
130 |
- -e "s/git.*status --porcelain.*/true/" \ |
131 |
- -e "s/git.*log -n 1.*/true/" \ |
132 |
- -e "s/git.\${tini_VERSION_GIT}/git.${GIT_COMMIT}/" \ |
133 |
- CMakeLists.txt || die |
134 |
-} |
135 |
- |
136 |
-src_configure() { |
137 |
- local mycmakeargs=() |
138 |
- use args || mycmakeargs+=(-DMINIMAL=ON) |
139 |
- |
140 |
- cmake_src_configure |
141 |
-} |
142 |
- |
143 |
-src_compile() { |
144 |
- append-cflags -DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37 |
145 |
- cmake_src_compile |
146 |
-} |
147 |
- |
148 |
-src_install() { |
149 |
- cmake_src_install |
150 |
- if use static; then |
151 |
- mv "${ED}"/usr/bin/{${PN}-static,${PN}} || die |
152 |
- else |
153 |
- rm "${ED}"/usr/bin/${PN}-static || die |
154 |
- fi |
155 |
-} |