public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "罗百科" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/toybox/
Date: Sun, 24 Sep 2023 05:58:28 +0000 (UTC)	[thread overview]
Message-ID: <1695535107.d6be27559d108dadf5e6c62b5077d2f225dff898.patrick@gentoo> (raw)

commit:     d6be27559d108dadf5e6c62b5077d2f225dff898
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 05:58:11 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 05:58:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6be2755

sys-apps/toybox: add 0.8.10

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sys-apps/toybox/Manifest             |  1 +
 sys-apps/toybox/toybox-0.8.10.ebuild | 58 ++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest
index 20175538592d..c36a8b393055 100644
--- a/sys-apps/toybox/Manifest
+++ b/sys-apps/toybox/Manifest
@@ -1,2 +1,3 @@
+DIST toybox-0.8.10.tar.gz 3534989 BLAKE2B c726cff2e916148b49c17953f25d6d886db77e0fa6ce435373b04bea025edc3f3ba512053d58d5bd3940aca78a9f3eab5d4cb36aaf45569a2ada697553c8602c SHA512 b2c36bc4e41741893a4fe039dd653f552ab987b948f78c1e5d04abb13ffbb8f898af636967739067877afef9ac0af10c259f674acdc4a80084a846fb02742461
 DIST toybox-0.8.8.tar.gz 3492750 BLAKE2B d53864e07392a511e4e861fcf5b0fdc8b43e5d82f13fb9eba62b850053aa547e0e057245062c34d4205019bba6223dff1a514b1bb0dde54734bcd3b1df82b122 SHA512 3ffe4de6b17770ad9c43f98f2c69a110f94e5a85da909f8f770bbc9abaff42a524237b4ffaaa8b9800c8d31f0a8b6d3521f03bfdd0d1260fa421ef2525a34290
 DIST toybox-0.8.9.tar.gz 3517516 BLAKE2B 1c57fe43785c1925762de6d8c3af012d3726b18338b0543ce3c775fefdcf1121327c1486d28786e42aafa5b5e7208475d942a02099715b0cb751e79788326622 SHA512 73a3ec2a0d69b1566e1663e94b2bc7764b9f93e53978725f036f066837ab2769033e8bf17d5550e565656781cacf27d93960dd611ffed5425fa006d1d3104351

diff --git a/sys-apps/toybox/toybox-0.8.10.ebuild b/sys-apps/toybox/toybox-0.8.10.ebuild
new file mode 100644
index 000000000000..35f861185918
--- /dev/null
+++ b/sys-apps/toybox/toybox-0.8.10.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm64 ~x86"
+fi
+
+DESCRIPTION="Common linux commands in a multicall binary"
+HOMEPAGE="https://landley.net/code/toybox/"
+
+LICENSE="0BSD"
+SLOT="0"
+
+DEPEND="virtual/libcrypt:="
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	restore_config .config
+}
+
+src_configure() {
+	tc-export CC STRIP
+	export HOSTCC="$(tc-getBUILD_CC)"
+	# Respect CFLAGS
+	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 NOSTRIP=1
+}
+
+src_test() {
+	emake V=1 tests
+}
+
+src_install() {
+	save_config .config
+	dobin toybox
+}


             reply	other threads:[~2023-09-24  5:58 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-24  5:58 罗百科 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-08  6:12 [gentoo-commits] repo/gentoo:master commit in: sys-apps/toybox/ 罗百科
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
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=1695535107.d6be27559d108dadf5e6c62b5077d2f225dff898.patrick@gentoo \
    --to=patrick@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