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 D7C1C1382C5 for ; Tue, 27 Feb 2018 17:22:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2367EE08A2; Tue, 27 Feb 2018 17:22:07 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7DC9E08A2 for ; Tue, 27 Feb 2018 17:22:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 80EC9335C34 for ; Tue, 27 Feb 2018 17:22:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34B091ED for ; Tue, 27 Feb 2018 17:22:03 +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: <1519752076.2d9a1958cfc5de5e89783bef40764e433dc1e535.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.6.ebuild X-VCS-Directories: sys-apps/toybox/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 2d9a1958cfc5de5e89783bef40764e433dc1e535 X-VCS-Branch: master Date: Tue, 27 Feb 2018 17:22:03 +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: 92b64286-0160-4c4e-9971-61790775ce14 X-Archives-Hash: 7f422d2dedca37edf6310f3f7b01472f commit: 2d9a1958cfc5de5e89783bef40764e433dc1e535 Author: Patrick Lauer gentoo org> AuthorDate: Tue Feb 27 17:21:16 2018 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Tue Feb 27 17:21:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d9a1958 sys-apps/toybox: Bump Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-apps/toybox/Manifest | 1 + sys-apps/toybox/toybox-0.7.6.ebuild | 57 +++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest index db9b937421e..0a2df354758 100644 --- a/sys-apps/toybox/Manifest +++ b/sys-apps/toybox/Manifest @@ -6,3 +6,4 @@ DIST toybox-0.7.2.tar.gz 798101 BLAKE2B 0d134fdfe10f77cf4083c5609a9e4ba94bdbfa17 DIST toybox-0.7.3.tar.gz 806773 BLAKE2B 25b9cc7b5edcb342fb4aa51917d66bb6ff8f683399647655754759f55854569e264d68adeb3b180008fa7f0665a708b3935898b7c032947430261510df5377a8 SHA512 8f6fcf156fbfedb706f3048b535369e235c47a40087405e54f0b0de877691c41b700b2ddd8c0d5abd6e09367f313c2eef1bc659331b2391738f6f0eefc9115fd DIST toybox-0.7.4.tar.gz 817027 BLAKE2B 46997663edea326eb04c630217cca09a61c5add9f01813357831ad1a33ea99870c094abf15aa16c5ad4a5a21ada9a7d7de7660ad2a4831824a7170d472c58f3b SHA512 380e8c22f1bcea34ee345b9bcfd9459c7bcde8518d0f5c74227ced2e59b063f619e1b6314c1af4e0371d7300fe916d55510272469a061c4232005b7533b09022 DIST toybox-0.7.5.tar.gz 818815 BLAKE2B 0d91eb07b9c2e64c611be24eb09aac7ffc26d65f3dd39ee7663419e4eff1e9d559b7b6e8df0dc8e13986124aefa706b343c4a3521466f2bdf657d4c9a82a9fc2 SHA512 f0cc54da2394ed14b41dbc80bf674f86989f0312b645b9e1e5403fb0a3282cafce9608b2d738ab2dbb6fe3779eed70d51133a867c6ea76683dd7e6de245df127 +DIST toybox-0.7.6.tar.gz 834351 BLAKE2B 7c6737a8b16f77fd7a5e389be17ef8eb41d28718e46231ec1aa48af0a0ec1cbdc1c0b74670c3f79f58a5b0547f47aa6e5ccbaccc5451b12a80e1c566ee49a30d SHA512 1ed06114f5feb46e642bfeee517366a16c0a5d76562841a3cdf6b003bb330be10d4ac5009c7cf845eb5ea99bb8ae8b4291c413bbd45fd89c2ae3e4a69c1455bb diff --git a/sys-apps/toybox/toybox-0.7.6.ebuild b/sys-apps/toybox/toybox-0.7.6.ebuild new file mode 100644 index 00000000000..876ef47e346 --- /dev/null +++ b/sys-apps/toybox/toybox-0.7.6.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 +}