From 50d96c6315095f31ea0893153a0641e7cbd36d64 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 27 Jun 2021 17:47:54 -0400 Subject: sys-apps/toybox: depend on virtual/libcrypt Signed-off-by: Mike Gilbert --- sys-apps/toybox/toybox-0.8.4-r1.ebuild | 58 ++++++++++++++++++++++++++++++++++ sys-apps/toybox/toybox-0.8.4.ebuild | 55 -------------------------------- sys-apps/toybox/toybox-0.8.5-r1.ebuild | 58 ++++++++++++++++++++++++++++++++++ sys-apps/toybox/toybox-0.8.5.ebuild | 55 -------------------------------- sys-apps/toybox/toybox-9999.ebuild | 3 ++ 5 files changed, 119 insertions(+), 110 deletions(-) create mode 100644 sys-apps/toybox/toybox-0.8.4-r1.ebuild delete mode 100644 sys-apps/toybox/toybox-0.8.4.ebuild create mode 100644 sys-apps/toybox/toybox-0.8.5-r1.ebuild delete mode 100644 sys-apps/toybox/toybox-0.8.5.ebuild (limited to 'sys-apps/toybox') diff --git a/sys-apps/toybox/toybox-0.8.4-r1.ebuild b/sys-apps/toybox/toybox-0.8.4-r1.ebuild new file mode 100644 index 000000000000..888ca615d7a4 --- /dev/null +++ b/sys-apps/toybox/toybox-0.8.4-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~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 +} + +src_test() { + emake test +} + +src_install() { + save_config .config + newbin generated/unstripped/toybox toybox +} diff --git a/sys-apps/toybox/toybox-0.8.4.ebuild b/sys-apps/toybox/toybox-0.8.4.ebuild deleted file mode 100644 index ca78edf8b366..000000000000 --- a/sys-apps/toybox/toybox-0.8.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 ~x86" -fi - -DESCRIPTION="Common linux commands in a multicall binary" -HOMEPAGE="https://landley.net/code/toybox/" - -LICENSE="0BSD" -SLOT="0" - -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 -} - -src_test() { - emake test -} - -src_install() { - save_config .config - newbin generated/unstripped/toybox toybox -} diff --git a/sys-apps/toybox/toybox-0.8.5-r1.ebuild b/sys-apps/toybox/toybox-0.8.5-r1.ebuild new file mode 100644 index 000000000000..888ca615d7a4 --- /dev/null +++ b/sys-apps/toybox/toybox-0.8.5-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~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 +} + +src_test() { + emake test +} + +src_install() { + save_config .config + newbin generated/unstripped/toybox toybox +} diff --git a/sys-apps/toybox/toybox-0.8.5.ebuild b/sys-apps/toybox/toybox-0.8.5.ebuild deleted file mode 100644 index ca78edf8b366..000000000000 --- a/sys-apps/toybox/toybox-0.8.5.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 ~x86" -fi - -DESCRIPTION="Common linux commands in a multicall binary" -HOMEPAGE="https://landley.net/code/toybox/" - -LICENSE="0BSD" -SLOT="0" - -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 -} - -src_test() { - emake test -} - -src_install() { - save_config .config - newbin generated/unstripped/toybox toybox -} diff --git a/sys-apps/toybox/toybox-9999.ebuild b/sys-apps/toybox/toybox-9999.ebuild index ca78edf8b366..888ca615d7a4 100644 --- a/sys-apps/toybox/toybox-9999.ebuild +++ b/sys-apps/toybox/toybox-9999.ebuild @@ -19,6 +19,9 @@ HOMEPAGE="https://landley.net/code/toybox/" LICENSE="0BSD" SLOT="0" +DEPEND="virtual/libcrypt:=" +RDEPEND="${DEPEND}" + src_prepare() { default restore_config .config -- cgit v1.2.3-65-gdbad