From f8bc64bc28314bf76793a51b2ac34e327f2a80ea Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Fri, 11 Oct 2024 21:47:29 -0600 Subject: [PATCH] dev-embedded/u-boot-tools: Removed old ebuild, incompatible with EAPI 6 --- dev-embedded/u-boot-tools/Manifest | 3 - .../files/u-boot-2018.05-libressl.patch | 69 ------------------- .../u-boot-tools-2018.05-r100.ebuild | 47 ------------- 3 files changed, 119 deletions(-) delete mode 100644 dev-embedded/u-boot-tools/Manifest delete mode 100644 dev-embedded/u-boot-tools/files/u-boot-2018.05-libressl.patch delete mode 100644 dev-embedded/u-boot-tools/u-boot-tools-2018.05-r100.ebuild diff --git a/dev-embedded/u-boot-tools/Manifest b/dev-embedded/u-boot-tools/Manifest deleted file mode 100644 index cfa3709..0000000 --- a/dev-embedded/u-boot-tools/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -AUX u-boot-2018.05-libressl.patch 2457 BLAKE2B aee792111149eda59e6986a4f97efd2502e3e679627694dcc33b24edddf12de8995755c06f800e3dc0d1ad6f1512edea0bf7ba80b424f50d5833318802a9bef8 SHA512 2602d4121837c62e990482255007017fc5cb1cb4a27828e75a407b28c121dfe3fd39e7305c794757fa5f6ba13aacf6ea0c84408dbc874fb049b445e0477b6ace -DIST u-boot-2018.05.tar.bz2 12469276 BLAKE2B b09189d9bf8554c21630d42024d64894270c02e3efa8046bc2bef0efd68b9e0a02c3290228ffb71a4bab524d46111e32adb492c3ce9a3ef1be32287a3bbdb36a SHA512 218f71282c9d027b0faf210ce2d4d713779e0c61ea4a23f03d5dec0ca8836a3c26b46c5e258d583834f5b5a2f4663f98729ca4b0101a60f85457eb892f8370d2 -EBUILD u-boot-tools-2018.05-r100.ebuild 1023 BLAKE2B 5a3e9a88031b0f1c48ae80dd9a1a0ffbb44bc10a2024284c63624549de3c7a8e63ed4a3136523fd86bde875339c68d96b930df8820ec60a3b4721abb7ac8db52 SHA512 4cdad820c9e2a5ea930315f45d57c09081a5af61591f1cd32602d44879d0dcbdde8ca92faff736b30776b617768eda3535fb00b7d73161d53df10834f458ae45 diff --git a/dev-embedded/u-boot-tools/files/u-boot-2018.05-libressl.patch b/dev-embedded/u-boot-tools/files/u-boot-2018.05-libressl.patch deleted file mode 100644 index e429ba3..0000000 --- a/dev-embedded/u-boot-tools/files/u-boot-2018.05-libressl.patch +++ /dev/null @@ -1,69 +0,0 @@ -diff -puriN u-boot-2018.05.orig/lib/rsa/rsa-sign.c u-boot-2018.05/lib/rsa/rsa-sign.c ---- u-boot-2018.05.orig/lib/rsa/rsa-sign.c 2018-05-07 10:32:36.000000000 -0500 -+++ u-boot-2018.05/lib/rsa/rsa-sign.c 2018-10-09 05:12:07.000000000 -0500 -@@ -16,11 +16,13 @@ - #include - #include - --#if OPENSSL_VERSION_NUMBER >= 0x10000000L -+#if OPENSSL_VERSION_NUMBER >= 0x10000000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - #define HAVE_ERR_REMOVE_THREAD_STATE - #endif - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - static void RSA_get0_key(const RSA *r, - const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) - { -@@ -299,7 +301,8 @@ static int rsa_init(void) - { - int ret; - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - ret = SSL_library_init(); - #else - ret = OPENSSL_init_ssl(0, NULL); -@@ -308,7 +311,8 @@ static int rsa_init(void) - fprintf(stderr, "Failure to init SSL library\n"); - return -1; - } --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - SSL_load_error_strings(); - - OpenSSL_add_all_algorithms(); -@@ -354,7 +358,8 @@ err_set_rsa: - err_engine_init: - ENGINE_free(e); - err_engine_by_id: --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - ENGINE_cleanup(); - #endif - return ret; -@@ -362,7 +367,8 @@ err_engine_by_id: - - static void rsa_remove(void) - { --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - CRYPTO_cleanup_all_ex_data(); - ERR_free_strings(); - #ifdef HAVE_ERR_REMOVE_THREAD_STATE -@@ -432,7 +438,8 @@ static int rsa_sign_with_key(RSA *rsa, s - ret = rsa_err("Could not obtain signature"); - goto err_sign; - } -- #if OPENSSL_VERSION_NUMBER < 0x10100000L -+ #if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) - EVP_MD_CTX_cleanup(context); - #else - EVP_MD_CTX_reset(context); diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2018.05-r100.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2018.05-r100.ebuild deleted file mode 100644 index 1eb6e08..0000000 --- a/dev-embedded/u-boot-tools/u-boot-tools-2018.05-r100.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -MY_P="u-boot-${PV/_/-}" -DESCRIPTION="utilities for working with Das U-Boot" -HOMEPAGE="http://www.denx.de/wiki/U-Boot/WebHome" -SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 x86" -IUSE="" - -S=${WORKDIR}/${MY_P} - -PATCHES=" - ${FILESDIR}/${MY_P}-libressl.patch -" - -src_compile() { - # Unset a few KBUILD variables. Bug #540476 - unset KBUILD_OUTPUT KBUILD_SRC - emake defconfig - emake \ - HOSTSTRIP=: \ - STRIP=: \ - HOSTCC="$(tc-getCC)" \ - HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \ - HOSTLDFLAGS="${LDFLAGS}" \ - CONFIG_ENV_OVERWRITE=y \ - tools-all -} - -src_install() { - cd tools || die - dobin bmp_logo dumpimage fdtgrep gen_eth_addr img2srec mkenvimage mkimage - dobin easylogo/easylogo - dobin env/fw_printenv - dosym fw_printenv /usr/bin/fw_setenv - insinto /etc - doins env/fw_env.config - doman "${S}"/doc/mkimage.1 -}