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: Fri,  8 Jul 2022 10:25:08 +0000 (UTC)	[thread overview]
Message-ID: <1657275906.cd1ea337cd0752a316c8244fdeea48734652e9f0.patrick@gentoo> (raw)

commit:     cd1ea337cd0752a316c8244fdeea48734652e9f0
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  8 10:25:01 2022 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 10:25:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd1ea337

sys-apps/toybox: Bump to 0.8.7

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

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

diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest
index 05dc9f25f79c..acf73a473af1 100644
--- a/sys-apps/toybox/Manifest
+++ b/sys-apps/toybox/Manifest
@@ -1,3 +1,4 @@
 DIST toybox-0.8.4.tar.gz 1133770 BLAKE2B adc695c2ddd592b9de7137db623621410afaa4cdf2dfde647f24f25d38de99ad38907b5e5aa2ded0d6b2eceafc71763a25e04abc33e8f057934fceed6df22e69 SHA512 507604f96ee89094ca7b4b218985659a8de41578d1a4f267c7282baf11306419e94bb4bfcb06835dff3e46f974a0bb49f89e4c427c69c590738a4a37b62969b8
 DIST toybox-0.8.5.tar.gz 2378469 BLAKE2B 9054c07fd8bd477a4995b14fcea091a1602b039216ec9acb4f60e39eb10bba88924c19084c7e28d4c0b7cd72b0e0ab46a892cd427909e073dfad3e2f7416d600 SHA512 deb3743a10278ba236e95a1f3995555c745c2909381d2692a42920615c002a5cc6f9cccffee84ec2fcf1188d8f8c0a11e2b7f6a7798f0b7f5d33a0c1c3149237
 DIST toybox-0.8.6.tar.gz 3458765 BLAKE2B 2ff0b898758660c242dd9fd11c5911840ce67122214bed6e3ba8af3dc2b3dbf3c0c467863ca69392e473db232130ddba9cac2d888c20990e2e02181be76afe25 SHA512 2d8f9cc3a6bd7ee5bd4bce77399916aa90cd8acb90448f4e1b79c605c7f854c19016f5eb3704f112855c8347e69f0f4dc42f9755dd2ec975ac7799d00bc597be
+DIST toybox-0.8.7.tar.gz 3479081 BLAKE2B 5ccf1fe67cfb1cdc4a86656ca7a6161dfe13e55881b65c2f753d87446d4fd323558384e1dc6e7c8742630e2fcb479aec2c939870e5ab5cd8f8352de920673968 SHA512 a32a764c393edad55fe2e17120daf5b098e42886659a9dc15186db2795e980024be24c6276b4c5936733d3769a90bbf3918251c515450ec3eafb7a50ca8cc59f

diff --git a/sys-apps/toybox/toybox-0.8.7.ebuild b/sys-apps/toybox/toybox-0.8.7.ebuild
new file mode 100644
index 000000000000..6bd1e37d8b83
--- /dev/null
+++ b/sys-apps/toybox/toybox-0.8.7.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 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 ~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
+}
+
+src_test() {
+	emake test
+}
+
+src_install() {
+	save_config .config
+	newbin generated/unstripped/toybox toybox
+}


             reply	other threads:[~2022-07-08 10:25 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08 10:25 罗百科 [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-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=1657275906.cd1ea337cd0752a316c8244fdeea48734652e9f0.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