From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 14B8A139696 for ; Mon, 26 Jun 2017 13:50:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08D7521C072; Mon, 26 Jun 2017 13:50:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C414F21C06C for ; Mon, 26 Jun 2017 13:50:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 529F0341790 for ; Mon, 26 Jun 2017 13:50:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B27287490 for ; Mon, 26 Jun 2017 13:50:47 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1498485038.339cca6a6175ed50d7b198fb326c82788ef570df.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/toybox/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/toybox/Manifest sys-apps/toybox/toybox-0.7.4.ebuild X-VCS-Directories: sys-apps/toybox/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 339cca6a6175ed50d7b198fb326c82788ef570df X-VCS-Branch: master Date: Mon, 26 Jun 2017 13:50:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bca04844-e282-4a6c-8e94-45885647f3a0 X-Archives-Hash: 7ff5289302c00291d39eb7162304edb8 commit: 339cca6a6175ed50d7b198fb326c82788ef570df Author: Patrick Lauer gentoo org> AuthorDate: Mon Jun 26 11:53:02 2017 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Mon Jun 26 13:50:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=339cca6a sys-apps/toybox: Bump Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-apps/toybox/Manifest | 1 + sys-apps/toybox/toybox-0.7.4.ebuild | 57 +++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest index 337ff76b193..62c3ae0207e 100644 --- a/sys-apps/toybox/Manifest +++ b/sys-apps/toybox/Manifest @@ -4,3 +4,4 @@ DIST toybox-0.7.0.tar.gz 759570 SHA256 65428816f88ad3fe92b67df86dc05427c8078fe03 DIST toybox-0.7.1.tar.gz 779835 SHA256 5bb3069f58faf12940d5cfde3209ac7f63210bebdd9023979b0c20cede126ea7 SHA512 6347ce8a917e7e7f2046ae2aaefbfffe1c8aca42a4770c57dc23739de93647dc476356a4c3875a75d423bd7fd027c01a1b45627dc16f69801ef0369dbae6799b WHIRLPOOL 4c47aec665f436a9171b7fe6f4b28d8b569aea3565f27ff71b8c9cc070b2c1d5284083b0afd77557700f618cc74dcc2619df28333b1ce1b97f9599ad246951f0 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 diff --git a/sys-apps/toybox/toybox-0.7.4.ebuild b/sys-apps/toybox/toybox-0.7.4.ebuild new file mode 100644 index 00000000000..85540763608 --- /dev/null +++ b/sys-apps/toybox/toybox-0.7.4.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 +}