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: Sat,  7 Jul 2018 07:33:00 +0000 (UTC)	[thread overview]
Message-ID: <1530948759.56f48e0bb084d10dcf3766806bf58114b7080dd6.patrick@gentoo> (raw)

commit:     56f48e0bb084d10dcf3766806bf58114b7080dd6
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  7 07:32:39 2018 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Jul  7 07:32:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f48e0b

sys-apps/toybox: Bump

Package-Manager: Portage-2.3.41, Repoman-2.3.9

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

diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest
index cf338fb8dad..7fc0f6a8456 100644
--- a/sys-apps/toybox/Manifest
+++ b/sys-apps/toybox/Manifest
@@ -1,2 +1,3 @@
 DIST toybox-0.7.5.tar.gz 818815 BLAKE2B 0d91eb07b9c2e64c611be24eb09aac7ffc26d65f3dd39ee7663419e4eff1e9d559b7b6e8df0dc8e13986124aefa706b343c4a3521466f2bdf657d4c9a82a9fc2 SHA512 f0cc54da2394ed14b41dbc80bf674f86989f0312b645b9e1e5403fb0a3282cafce9608b2d738ab2dbb6fe3779eed70d51133a867c6ea76683dd7e6de245df127
 DIST toybox-0.7.6.tar.gz 834351 BLAKE2B 7c6737a8b16f77fd7a5e389be17ef8eb41d28718e46231ec1aa48af0a0ec1cbdc1c0b74670c3f79f58a5b0547f47aa6e5ccbaccc5451b12a80e1c566ee49a30d SHA512 1ed06114f5feb46e642bfeee517366a16c0a5d76562841a3cdf6b003bb330be10d4ac5009c7cf845eb5ea99bb8ae8b4291c413bbd45fd89c2ae3e4a69c1455bb
+DIST toybox-0.7.7.tar.gz 843039 BLAKE2B fb4ef2ad483acd2b42905e765f7287b41fa8b1822796579c4a57a8ad3f5a3cdb8bbcd0e6790eddc8daf2ec41c50be478c7d19623d1c8db2e7b1d4db8b52fbbc6 SHA512 89369662eaf48bb52909f49932b98395eed6e672f6a37387819a02ba9c33f6b737686782ca3bf0ed0f9b60e1e2fff88ad1ebb678999582986acfec371d100827

diff --git a/sys-apps/toybox/toybox-0.7.7.ebuild b/sys-apps/toybox/toybox-0.7.7.ebuild
new file mode 100644
index 00000000000..876ef47e346
--- /dev/null
+++ b/sys-apps/toybox/toybox-0.7.7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 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:[~2018-07-07  7:33 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-07  7:33 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-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=1530948759.56f48e0bb084d10dcf3766806bf58114b7080dd6.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