commit: 5150b2a5ff54bd6ccc9c584331c0fc33f79705b9
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 05:53:56 2025 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 05:54:25 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5150b2a5
sys-apps/toybox: add 0.8.13
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
sys-apps/toybox/Manifest | 2 ++
sys-apps/toybox/toybox-0.8.13.ebuild | 58 ++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/sys-apps/toybox/Manifest b/sys-apps/toybox/Manifest
index c3497a7e46a7..0483a56116dd 100644
--- a/sys-apps/toybox/Manifest
+++ b/sys-apps/toybox/Manifest
@@ -1 +1,3 @@
+DIST toybox-0.8.11.tar.gz 3550912 BLAKE2B
2ce35c3f0f0b6d704d66c5c5bc187b6e32ad6809f15468a8f02d246578321660ea9bd70c38add1baa3ef93f8461dc832702301131a5118f1a024f97d8c902195
SHA512
ec442a65666e2e9dc46b3cd1e49d2c69eae62df9e10ccf15632b75529d4381a3f828b05f48a7e24844d386fd94f015e338705550fb2a1ecc57eb96268515162c
DIST toybox-0.8.12.tar.gz 3600320 BLAKE2B
c63cee7663d1f7a7858ca7e0525ef4dea7d701f4d0210582af9e545ccf8595eddb52ccb3885623fe4dea4d368dabbcb2e4430aeb76cbff516f56559dbb0add44
SHA512
b6984d475b253ecf2b2fdcb3107fab690f794442dd7e3cd8b9b598381e19eaaa0ab2c2d96f4f97b27b668c5c45e61d3bab5647015fa66314d8e565337f54d775
+DIST toybox-0.8.13.tar.gz 3610158 BLAKE2B
ce78eb48dc253b3484443515ee139bc160ae543213ab3389b15d504ab490cffbeddcc473828de41e600cc03c6bc007ba0b16f4b739111d6b50f53408e2fde8dd
SHA512
073064c6a31f26727af1e097966e0c6c56a6d5b226cab13cd31b4e40c88ff2b6f8206c1a1e37fefd885481f9e66b246820a3cbc460d2436b34becace3706b59f
diff --git a/sys-apps/toybox/toybox-0.8.13.ebuild
b/sys-apps/toybox/toybox-0.8.13.ebuild
new file mode 100644
index 000000000000..c68731ab936d
--- /dev/null
+++ b/sys-apps/toybox/toybox-0.8.13.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 NOSTRIP=1
+}
+
+src_test() {
+ emake V=1 tests
+}
+
+src_install() {
+ save_config .config
+ dobin toybox
+}