public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/toybox/
Date: Mon, 16 Oct 2017 07:00:31 +0000 (UTC)	[thread overview]
Message-ID: <1508137211.4469ca414be60969b9f50fdc68bc071eb5a920f3.patrick@gentoo> (raw)

commit:     4469ca414be60969b9f50fdc68bc071eb5a920f3
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 07:00:11 2017 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 07:00:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4469ca41

sys-apps/toybox: Bump

Package-Manager: Portage-2.3.11, Repoman-2.3.3

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

diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest
index 62c3ae0207e..9709be05898 100644
--- a/sys-apps/toybox/Manifest
+++ b/sys-apps/toybox/Manifest
@@ -5,3 +5,4 @@ DIST toybox-0.7.1.tar.gz 779835 SHA256 5bb3069f58faf12940d5cfde3209ac7f63210bebd
 DIST toybox-0.7.2.tar.gz 798101 SHA256 79da71c7c39cef0a5f7b834f0b17d0d436e7994dd33e912f581b4c12d3b1681f SHA512 ce579be77b628a8466718c13b28390dd2988bbdd5d51b8fac5cc18125cd13968105bd991dc8bf1e6a9618e8a9c07eded361f6371e2f02f4cd7181b42c135f1ef WHIRLPOOL 63666d100880034ea9b74f0983cea2fce6e0b594e6668371d833e02a7a24d602ff5132d02d103a61fb89a5e595baf27b9c58d19d69cdced11eff8e865b0f0f0f
 DIST toybox-0.7.3.tar.gz 806773 SHA256 e6469b508224e0d2e4564dda05c4bb47aef5c28bf29d6c983bcdc6e3a0cd29d6 SHA512 8f6fcf156fbfedb706f3048b535369e235c47a40087405e54f0b0de877691c41b700b2ddd8c0d5abd6e09367f313c2eef1bc659331b2391738f6f0eefc9115fd WHIRLPOOL 5ebdfb133203405379d2d7f1cbb50e54dc23cb5e9126fb794dbdebb5d7ef43998be501c70443b1f644d7a10d70b9a185656187535a4aac4d1d5b93eb71cc5c7e
 DIST toybox-0.7.4.tar.gz 817027 SHA256 49d74ca897501e5c981516719870fe08581726f5c018abe35ef52c6f0de113e7 SHA512 380e8c22f1bcea34ee345b9bcfd9459c7bcde8518d0f5c74227ced2e59b063f619e1b6314c1af4e0371d7300fe916d55510272469a061c4232005b7533b09022 WHIRLPOOL 21a7db472d642e3e78af9252e662c86a2756771ea0ee13a97f51b902f5e5ab66be993e014b0f56af01c523e258456d7504ddd27c6d48b34a9898a0ab8923d497
+DIST toybox-0.7.5.tar.gz 818815 SHA256 3ada450ac1eab1dfc352fee915ea6129b9a4349c1885f1394b61bd2d89a46c04 SHA512 f0cc54da2394ed14b41dbc80bf674f86989f0312b645b9e1e5403fb0a3282cafce9608b2d738ab2dbb6fe3779eed70d51133a867c6ea76683dd7e6de245df127 WHIRLPOOL 61b59a29e4c5e507e126488818111397c81f4b3ed8dced2f7a7ec87f462db01de8d521a2385257aab09752deab73932f9537ae253c121be911a59d890ddeff08

diff --git a/sys-apps/toybox/toybox-0.7.5.ebuild b/sys-apps/toybox/toybox-0.7.5.ebuild
new file mode 100644
index 00000000000..85540763608
--- /dev/null
+++ b/sys-apps/toybox/toybox-0.7.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multiprocessing savedconfig toolchain-funcs
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/gfto/toybox.git"
+else
+	SRC_URI="http://landley.net/code/toybox/downloads/${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+# makefile is stupid
+RESTRICT="test"
+
+DESCRIPTION="Common linux commands in a multicall binary"
+HOMEPAGE="http://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"
+IUSE=""
+
+src_prepare() {
+	epatch_user
+	restore_config .config
+}
+
+src_configure() {
+	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 defconfig > /dev/null
+	fi
+}
+
+src_compile() {
+	tc-export CC STRIP
+	export HOSTCC=$(tc-getBUILD_CC)
+	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:[~2017-10-16  7:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16  7:00 Patrick Lauer [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
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-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=1508137211.4469ca414be60969b9f50fdc68bc071eb5a920f3.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