From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/toybox/
Date: Sun, 10 Jan 2021 14:54:57 +0000 (UTC) [thread overview]
Message-ID: <1610290495.f327534e8ce5e8789495fa46d60d18eeb5f8071c.sam@gentoo> (raw)
commit: f327534e8ce5e8789495fa46d60d18eeb5f8071c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 14:54:04 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 14:54:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f327534e
sys-apps/toybox: bump to 0.8.4
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/toybox/Manifest | 1 +
sys-apps/toybox/toybox-0.8.4.ebuild | 58 +++++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest
index c168599c736..94ad70b1f9e 100644
--- a/sys-apps/toybox/Manifest
+++ b/sys-apps/toybox/Manifest
@@ -1,3 +1,4 @@
DIST toybox-0.8.0.tar.gz 975002 BLAKE2B e137c3616d2affaf8b6f234cab49190b98540fe8f954244172f9ca80c749069f85ff8addd94e1018d3680f1a307df54671ee9b01726c5279f340f8fee3669609 SHA512 aeb15a02782cc0b3b46a892e2d82834e5172a7da04e2498eaefec58221305dd24a86aada5ce05978bd4694895ffeb94ae980fd767f4ee00c499b3dd518fd3e20
DIST toybox-0.8.1.tar.gz 1015363 BLAKE2B a765a133910b7c8d903a1fa95338b8dee1267c3b7430267d47c4157d966256d16c615500acc38428296b9612649fafdaa111a149df7415ac580c01cfdd361025 SHA512 22f91046c75f986e44927ec89feab6c6afa1f614e5b0eae73e43f6ccd5c4328991ad283858fb1a5cb4d697806f38b8ab81782c160860a2c34ecbef3885636d5e
DIST toybox-0.8.3.tar.gz 1098057 BLAKE2B d962c4fd1c79229ace5a0836b6170e3ce8a5435df660b5306f5dd0aab32f4509b5c3cf5cc87eea597d336c7cdd51ca4895cadd420febeb9ef9270e85909f8dec SHA512 e2c5a22547cbd85bfee84c4aed3016895e4e0eba9b6f3dfc6cdfa0a0d59dfd74203a35389dcd0b2c557dd04eebbb051f9a458762af3abb32b473bd8924ed7b74
+DIST toybox-0.8.4.tar.gz 1133770 BLAKE2B adc695c2ddd592b9de7137db623621410afaa4cdf2dfde647f24f25d38de99ad38907b5e5aa2ded0d6b2eceafc71763a25e04abc33e8f057934fceed6df22e69 SHA512 507604f96ee89094ca7b4b218985659a8de41578d1a4f267c7282baf11306419e94bb4bfcb06835dff3e46f974a0bb49f89e4c427c69c590738a4a37b62969b8
diff --git a/sys-apps/toybox/toybox-0.8.4.ebuild b/sys-apps/toybox/toybox-0.8.4.ebuild
new file mode 100644
index 00000000000..6abff1d6eb8
--- /dev/null
+++ b/sys-apps/toybox/toybox-0.8.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multiprocessing savedconfig toolchain-funcs
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/landley/toybox.git"
+else
+ SRC_URI="https://landley.net/code/toybox/downloads/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Common linux commands in a multicall binary"
+HOMEPAGE="https://landley.net/code/toybox/"
+
+# The source code does not explicitly say that it's BSD, but the author has repeatedly said it
+LICENSE="BSD-2"
+SLOT="0"
+
+# makefile is stupid
+#RESTRICT="test"
+
+src_prepare() {
+ default
+ restore_config .config
+}
+
+src_configure() {
+ tc-export CC STRIP
+ export HOSTCC="$(tc-getBUILD_CC)"
+ export OPTIMIZE="${CFLAGS}"
+
+ if [[ -f .config ]]; then
+ yes "" | emake -j1 oldconfig > /dev/null
+ return 0
+ else
+ einfo "Could not locate user configfile, so we will save a default one"
+ emake -j1 defconfig > /dev/null
+ fi
+}
+
+src_compile() {
+ unset CROSS_COMPILE
+ export CPUS=$(makeopts_jobs)
+ emake V=1
+}
+
+src_test() {
+ emake test
+}
+
+src_install() {
+ save_config .config
+ newbin generated/unstripped/toybox toybox
+}
next reply other threads:[~2021-01-10 14:55 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-10 14:54 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-24 5:58 [gentoo-commits] repo/gentoo:master commit in: sys-apps/toybox/ 罗百科
2023-02-08 6:12 罗百科
2023-02-08 6:12 罗百科
2022-08-19 6:35 罗百科
2022-08-16 0:19 Sam James
2022-07-08 10:25 罗百科
2022-01-01 9:19 罗百科
2021-12-13 2:06 Sam James
2021-06-27 21:50 Mike Gilbert
2021-06-12 7:06 罗百科
2021-04-19 22:56 Sam James
2021-03-27 6:03 Ulrich Müller
2021-01-10 14:54 Sam James
2020-06-21 6:33 罗百科
2020-06-21 6:33 罗百科
2020-06-14 16:08 Mike Gilbert
2019-05-31 5:28 Patrick Lauer
2019-02-16 9:30 Patrick Lauer
2018-12-10 16:45 Thomas Deutschmann
2018-07-07 7:33 Patrick Lauer
2018-02-27 17:22 Patrick Lauer
2018-02-27 17:22 Patrick Lauer
2017-10-16 7:00 Patrick Lauer
2017-06-26 13:50 Patrick Lauer
2017-03-10 15:40 Patrick Lauer
2016-10-27 17:51 Patrick Lauer
2016-06-08 9:31 Patrick Lauer
2016-02-04 18:39 Patrick Lauer
2016-02-04 18:39 Patrick Lauer
2015-12-21 10:27 Patrick Lauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1610290495.f327534e8ce5e8789495fa46d60d18eeb5f8071c.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox