Gentoo Archives: gentoo-commits

From: "罗百科" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/toybox/
Date: Fri, 19 Aug 2022 06:35:41
Message-Id: 1660890934.d5277109c1b389133963301c5fdaf1f19b054567.patrick@gentoo
1 commit: d5277109c1b389133963301c5fdaf1f19b054567
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 19 06:34:05 2022 +0000
4 Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 19 06:35:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5277109
7
8 sys-apps/toybox: Add 0.8.8
9
10 Also remove old
11
12 Bug: https://bugs.gentoo.org/858110
13 Package-Manager: Portage-3.0.30, Repoman-3.0.3
14 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
15
16 sys-apps/toybox/Manifest | 5 +-
17 sys-apps/toybox/toybox-0.8.4-r1.ebuild | 58 ----------------------
18 sys-apps/toybox/toybox-0.8.5-r1.ebuild | 58 ----------------------
19 sys-apps/toybox/toybox-0.8.6.ebuild | 58 ----------------------
20 .../{toybox-0.8.7.ebuild => toybox-0.8.8.ebuild} | 2 +-
21 5 files changed, 2 insertions(+), 179 deletions(-)
22
23 diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest
24 index acf73a473af1..ba6f861052d8 100644
25 --- a/sys-apps/toybox/Manifest
26 +++ b/sys-apps/toybox/Manifest
27 @@ -1,4 +1 @@
28 -DIST toybox-0.8.4.tar.gz 1133770 BLAKE2B adc695c2ddd592b9de7137db623621410afaa4cdf2dfde647f24f25d38de99ad38907b5e5aa2ded0d6b2eceafc71763a25e04abc33e8f057934fceed6df22e69 SHA512 507604f96ee89094ca7b4b218985659a8de41578d1a4f267c7282baf11306419e94bb4bfcb06835dff3e46f974a0bb49f89e4c427c69c590738a4a37b62969b8
29 -DIST toybox-0.8.5.tar.gz 2378469 BLAKE2B 9054c07fd8bd477a4995b14fcea091a1602b039216ec9acb4f60e39eb10bba88924c19084c7e28d4c0b7cd72b0e0ab46a892cd427909e073dfad3e2f7416d600 SHA512 deb3743a10278ba236e95a1f3995555c745c2909381d2692a42920615c002a5cc6f9cccffee84ec2fcf1188d8f8c0a11e2b7f6a7798f0b7f5d33a0c1c3149237
30 -DIST toybox-0.8.6.tar.gz 3458765 BLAKE2B 2ff0b898758660c242dd9fd11c5911840ce67122214bed6e3ba8af3dc2b3dbf3c0c467863ca69392e473db232130ddba9cac2d888c20990e2e02181be76afe25 SHA512 2d8f9cc3a6bd7ee5bd4bce77399916aa90cd8acb90448f4e1b79c605c7f854c19016f5eb3704f112855c8347e69f0f4dc42f9755dd2ec975ac7799d00bc597be
31 -DIST toybox-0.8.7.tar.gz 3479081 BLAKE2B 5ccf1fe67cfb1cdc4a86656ca7a6161dfe13e55881b65c2f753d87446d4fd323558384e1dc6e7c8742630e2fcb479aec2c939870e5ab5cd8f8352de920673968 SHA512 a32a764c393edad55fe2e17120daf5b098e42886659a9dc15186db2795e980024be24c6276b4c5936733d3769a90bbf3918251c515450ec3eafb7a50ca8cc59f
32 +DIST toybox-0.8.8.tar.gz 3492750 BLAKE2B d53864e07392a511e4e861fcf5b0fdc8b43e5d82f13fb9eba62b850053aa547e0e057245062c34d4205019bba6223dff1a514b1bb0dde54734bcd3b1df82b122 SHA512 3ffe4de6b17770ad9c43f98f2c69a110f94e5a85da909f8f770bbc9abaff42a524237b4ffaaa8b9800c8d31f0a8b6d3521f03bfdd0d1260fa421ef2525a34290
33
34 diff --git a/sys-apps/toybox/toybox-0.8.4-r1.ebuild b/sys-apps/toybox/toybox-0.8.4-r1.ebuild
35 deleted file mode 100644
36 index 888ca615d7a4..000000000000
37 --- a/sys-apps/toybox/toybox-0.8.4-r1.ebuild
38 +++ /dev/null
39 @@ -1,58 +0,0 @@
40 -# Copyright 1999-2021 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=7
44 -
45 -inherit multiprocessing savedconfig toolchain-funcs
46 -
47 -if [[ ${PV} == 9999 ]]; then
48 - inherit git-r3
49 - EGIT_REPO_URI="https://github.com/landley/toybox.git"
50 -else
51 - SRC_URI="https://landley.net/code/toybox/downloads/${P}.tar.gz"
52 - KEYWORDS="~amd64 ~x86"
53 -fi
54 -
55 -DESCRIPTION="Common linux commands in a multicall binary"
56 -HOMEPAGE="https://landley.net/code/toybox/"
57 -
58 -LICENSE="0BSD"
59 -SLOT="0"
60 -
61 -DEPEND="virtual/libcrypt:="
62 -RDEPEND="${DEPEND}"
63 -
64 -src_prepare() {
65 - default
66 - restore_config .config
67 -}
68 -
69 -src_configure() {
70 - tc-export CC STRIP
71 - export HOSTCC="$(tc-getBUILD_CC)"
72 - # Respect CFLAGS
73 - export OPTIMIZE="${CFLAGS}"
74 -
75 - if [[ -f .config ]]; then
76 - yes "" | emake -j1 oldconfig > /dev/null
77 - return 0
78 - else
79 - einfo "Could not locate user configfile, so we will save a default one"
80 - emake -j1 defconfig > /dev/null
81 - fi
82 -}
83 -
84 -src_compile() {
85 - unset CROSS_COMPILE
86 - export CPUS=$(makeopts_jobs)
87 - emake V=1
88 -}
89 -
90 -src_test() {
91 - emake test
92 -}
93 -
94 -src_install() {
95 - save_config .config
96 - newbin generated/unstripped/toybox toybox
97 -}
98
99 diff --git a/sys-apps/toybox/toybox-0.8.5-r1.ebuild b/sys-apps/toybox/toybox-0.8.5-r1.ebuild
100 deleted file mode 100644
101 index 323c71ec6cc8..000000000000
102 --- a/sys-apps/toybox/toybox-0.8.5-r1.ebuild
103 +++ /dev/null
104 @@ -1,58 +0,0 @@
105 -# Copyright 1999-2021 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=7
109 -
110 -inherit multiprocessing savedconfig toolchain-funcs
111 -
112 -if [[ ${PV} == 9999 ]]; then
113 - inherit git-r3
114 - EGIT_REPO_URI="https://github.com/landley/toybox.git"
115 -else
116 - SRC_URI="https://landley.net/code/toybox/downloads/${P}.tar.gz"
117 - KEYWORDS="~amd64 ~arm64 ~x86"
118 -fi
119 -
120 -DESCRIPTION="Common linux commands in a multicall binary"
121 -HOMEPAGE="https://landley.net/code/toybox/"
122 -
123 -LICENSE="0BSD"
124 -SLOT="0"
125 -
126 -DEPEND="virtual/libcrypt:="
127 -RDEPEND="${DEPEND}"
128 -
129 -src_prepare() {
130 - default
131 - restore_config .config
132 -}
133 -
134 -src_configure() {
135 - tc-export CC STRIP
136 - export HOSTCC="$(tc-getBUILD_CC)"
137 - # Respect CFLAGS
138 - export OPTIMIZE="${CFLAGS}"
139 -
140 - if [[ -f .config ]]; then
141 - yes "" | emake -j1 oldconfig > /dev/null
142 - return 0
143 - else
144 - einfo "Could not locate user configfile, so we will save a default one"
145 - emake -j1 defconfig > /dev/null
146 - fi
147 -}
148 -
149 -src_compile() {
150 - unset CROSS_COMPILE
151 - export CPUS=$(makeopts_jobs)
152 - emake V=1
153 -}
154 -
155 -src_test() {
156 - emake test
157 -}
158 -
159 -src_install() {
160 - save_config .config
161 - newbin generated/unstripped/toybox toybox
162 -}
163
164 diff --git a/sys-apps/toybox/toybox-0.8.6.ebuild b/sys-apps/toybox/toybox-0.8.6.ebuild
165 deleted file mode 100644
166 index 6bd1e37d8b83..000000000000
167 --- a/sys-apps/toybox/toybox-0.8.6.ebuild
168 +++ /dev/null
169 @@ -1,58 +0,0 @@
170 -# Copyright 1999-2022 Gentoo Authors
171 -# Distributed under the terms of the GNU General Public License v2
172 -
173 -EAPI=7
174 -
175 -inherit multiprocessing savedconfig toolchain-funcs
176 -
177 -if [[ ${PV} == 9999 ]]; then
178 - inherit git-r3
179 - EGIT_REPO_URI="https://github.com/landley/toybox.git"
180 -else
181 - SRC_URI="https://landley.net/code/toybox/downloads/${P}.tar.gz"
182 - KEYWORDS="~amd64 ~arm64 ~x86"
183 -fi
184 -
185 -DESCRIPTION="Common linux commands in a multicall binary"
186 -HOMEPAGE="https://landley.net/code/toybox/"
187 -
188 -LICENSE="0BSD"
189 -SLOT="0"
190 -
191 -DEPEND="virtual/libcrypt:="
192 -RDEPEND="${DEPEND}"
193 -
194 -src_prepare() {
195 - default
196 - restore_config .config
197 -}
198 -
199 -src_configure() {
200 - tc-export CC STRIP
201 - export HOSTCC="$(tc-getBUILD_CC)"
202 - # Respect CFLAGS
203 - export OPTIMIZE="${CFLAGS}"
204 -
205 - if [[ -f .config ]]; then
206 - yes "" | emake -j1 oldconfig > /dev/null
207 - return 0
208 - else
209 - einfo "Could not locate user configfile, so we will save a default one"
210 - emake -j1 defconfig > /dev/null
211 - fi
212 -}
213 -
214 -src_compile() {
215 - unset CROSS_COMPILE
216 - export CPUS=$(makeopts_jobs)
217 - emake V=1
218 -}
219 -
220 -src_test() {
221 - emake test
222 -}
223 -
224 -src_install() {
225 - save_config .config
226 - newbin generated/unstripped/toybox toybox
227 -}
228
229 diff --git a/sys-apps/toybox/toybox-0.8.7.ebuild b/sys-apps/toybox/toybox-0.8.8.ebuild
230 similarity index 96%
231 rename from sys-apps/toybox/toybox-0.8.7.ebuild
232 rename to sys-apps/toybox/toybox-0.8.8.ebuild
233 index 6bd1e37d8b83..01a70f0ff7e1 100644
234 --- a/sys-apps/toybox/toybox-0.8.7.ebuild
235 +++ b/sys-apps/toybox/toybox-0.8.8.ebuild
236 @@ -54,5 +54,5 @@ src_test() {
237
238 src_install() {
239 save_config .config
240 - newbin generated/unstripped/toybox toybox
241 + newbin toybox toybox
242 }