1 |
commit: 2d9a1958cfc5de5e89783bef40764e433dc1e535 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 27 17:21:16 2018 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 27 17:21:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d9a1958 |
7 |
|
8 |
sys-apps/toybox: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/toybox/Manifest | 1 + |
13 |
sys-apps/toybox/toybox-0.7.6.ebuild | 57 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest |
17 |
index db9b937421e..0a2df354758 100644 |
18 |
--- a/sys-apps/toybox/Manifest |
19 |
+++ b/sys-apps/toybox/Manifest |
20 |
@@ -6,3 +6,4 @@ DIST toybox-0.7.2.tar.gz 798101 BLAKE2B 0d134fdfe10f77cf4083c5609a9e4ba94bdbfa17 |
21 |
DIST toybox-0.7.3.tar.gz 806773 BLAKE2B 25b9cc7b5edcb342fb4aa51917d66bb6ff8f683399647655754759f55854569e264d68adeb3b180008fa7f0665a708b3935898b7c032947430261510df5377a8 SHA512 8f6fcf156fbfedb706f3048b535369e235c47a40087405e54f0b0de877691c41b700b2ddd8c0d5abd6e09367f313c2eef1bc659331b2391738f6f0eefc9115fd |
22 |
DIST toybox-0.7.4.tar.gz 817027 BLAKE2B 46997663edea326eb04c630217cca09a61c5add9f01813357831ad1a33ea99870c094abf15aa16c5ad4a5a21ada9a7d7de7660ad2a4831824a7170d472c58f3b SHA512 380e8c22f1bcea34ee345b9bcfd9459c7bcde8518d0f5c74227ced2e59b063f619e1b6314c1af4e0371d7300fe916d55510272469a061c4232005b7533b09022 |
23 |
DIST toybox-0.7.5.tar.gz 818815 BLAKE2B 0d91eb07b9c2e64c611be24eb09aac7ffc26d65f3dd39ee7663419e4eff1e9d559b7b6e8df0dc8e13986124aefa706b343c4a3521466f2bdf657d4c9a82a9fc2 SHA512 f0cc54da2394ed14b41dbc80bf674f86989f0312b645b9e1e5403fb0a3282cafce9608b2d738ab2dbb6fe3779eed70d51133a867c6ea76683dd7e6de245df127 |
24 |
+DIST toybox-0.7.6.tar.gz 834351 BLAKE2B 7c6737a8b16f77fd7a5e389be17ef8eb41d28718e46231ec1aa48af0a0ec1cbdc1c0b74670c3f79f58a5b0547f47aa6e5ccbaccc5451b12a80e1c566ee49a30d SHA512 1ed06114f5feb46e642bfeee517366a16c0a5d76562841a3cdf6b003bb330be10d4ac5009c7cf845eb5ea99bb8ae8b4291c413bbd45fd89c2ae3e4a69c1455bb |
25 |
|
26 |
diff --git a/sys-apps/toybox/toybox-0.7.6.ebuild b/sys-apps/toybox/toybox-0.7.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..876ef47e346 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/toybox/toybox-0.7.6.ebuild |
31 |
@@ -0,0 +1,57 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+inherit eutils multiprocessing savedconfig toolchain-funcs |
38 |
+ |
39 |
+if [[ ${PV} == 9999 ]]; then |
40 |
+ inherit git-r3 |
41 |
+ EGIT_REPO_URI="https://github.com/gfto/toybox.git" |
42 |
+else |
43 |
+ SRC_URI="http://landley.net/code/toybox/downloads/${P}.tar.gz" |
44 |
+ KEYWORDS="~amd64 ~x86" |
45 |
+fi |
46 |
+ |
47 |
+# makefile is stupid |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+DESCRIPTION="Common linux commands in a multicall binary" |
51 |
+HOMEPAGE="http://landley.net/code/toybox/" |
52 |
+ |
53 |
+# The source code does not explicitly say that it's BSD, but the author has repeatedly said it |
54 |
+LICENSE="BSD-2" |
55 |
+SLOT="0" |
56 |
+IUSE="" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ epatch_user |
60 |
+ restore_config .config |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ if [ -f .config ]; then |
65 |
+ yes "" | emake -j1 oldconfig > /dev/null |
66 |
+ return 0 |
67 |
+ else |
68 |
+ einfo "Could not locate user configfile, so we will save a default one" |
69 |
+ emake defconfig > /dev/null |
70 |
+ fi |
71 |
+} |
72 |
+ |
73 |
+src_compile() { |
74 |
+ tc-export CC STRIP |
75 |
+ export HOSTCC=$(tc-getBUILD_CC) |
76 |
+ unset CROSS_COMPILE |
77 |
+ export CPUS=$(makeopts_jobs) |
78 |
+ emake V=1 |
79 |
+} |
80 |
+ |
81 |
+src_test() { |
82 |
+ emake test |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ save_config .config |
87 |
+ newbin generated/unstripped/toybox toybox |
88 |
+} |