From add278b9601ff9e4af091c91c851ee46a185be8f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 10 Sep 2024 12:30:41 +0100 Subject: gentoo auto-resync : 10:09:2024 - 12:30:41 --- sys-boot/gnu-efi/Manifest | 2 +- sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild | 128 ---------------------------- sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild | 133 ++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+), 129 deletions(-) delete mode 100644 sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild create mode 100644 sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild (limited to 'sys-boot/gnu-efi') diff --git a/sys-boot/gnu-efi/Manifest b/sys-boot/gnu-efi/Manifest index d42e00506ba0..eb6f6a5c2b2d 100644 --- a/sys-boot/gnu-efi/Manifest +++ b/sys-boot/gnu-efi/Manifest @@ -8,5 +8,5 @@ EBUILD gnu-efi-3.0.15.ebuild 1923 BLAKE2B 754b9d84be37fa39d42a752c8ea63754d7acc1 EBUILD gnu-efi-3.0.17.ebuild 1954 BLAKE2B 03313137ea41a1a8ad4880076296e7dbc38e1276ff3a46187c8c5fe0db7b833c437e21fb86e15a992ec45824a23798bdd53d16770b0bb1117c9a1afec578ed3d SHA512 c113cdd429bdb6c86641b8e76c859f4e28d377d7f2d441857d077cca0b7b6bc1e54071f4354cef2fc5d17ae2cf7e4312b0a76b622f6428a51ce4a02413c2bc41 EBUILD gnu-efi-3.0.18-r2.ebuild 1938 BLAKE2B 18a2d294be0f855a8302806af7c893c6febbe598bd993e8036ef763ed9e5cac353a7ed87f5c572d3d6e9db8f8ab28eace207e14059493e656364c7c1b8248ca1 SHA512 7344022247b0cc0107f695893e20da5b62519e7f36dbd5b98d2195ade76f32e83e0e756cff8b877f14a9860743cc148380168de780c58b36eaf22a1c415e0bce EBUILD gnu-efi-3.0.18-r3.ebuild 2469 BLAKE2B 22b830bd1505d31aef5c9ecdb71e0fc2ae2649a455e944b5cd78e81ef0d2aa9d822fa81cb8ed6653ed4d4aa6637e153092e85abb74f6eb0e8d49caa9801ce028 SHA512 2a7b871f4145ea2984dcebe26c8fa3c3e4c94c0c1152fd84ca13d8977ab54581861c05211d64a4a7d3bdb855c9f7fecfbcd4eb3a86e79a5141f1849df0b3d7b2 -EBUILD gnu-efi-3.0.18-r4.ebuild 3064 BLAKE2B f9ffecbdfcafdbf663a0d4e2cc7c14dc7bd4570a3087c4791bcbf30e86cb0d6a1b0430c5d5914b0fefa63f74141d02ede852c6efa9b4c978592bbf71b8902432 SHA512 101f633e684f2d3e22dc3e128f99b8f95b0ee293426ff8da826a4e15ab8fad03fff8018cd884e2681c146653146593289f15d7e353254b107575575cb2913fbb +EBUILD gnu-efi-3.0.18-r5.ebuild 3245 BLAKE2B 5ce4a6fea44f848ca976d08a941fadc12666d005de9871e4a0bb163cc49320c6034ffd006d07a0d9c747e743e1dc72238a633cb326ecafcd9f432e501badec70 SHA512 ef88bf783c507b2751b4021cefcca4c357387e264e114aa462d34f96556665ecf45891d43854ce182cad65713884d3b1f1daacd8ba1004db5834aa0f0f067548 MISC metadata.xml 381 BLAKE2B a3cbadc2ae97d29ac87c04f3209cd7f4879ef70903907f319b425f038f07fd6bbc357a0291e70909a3b0b2097de6b63daf0f568d0fd7097c7bd2d9c9c7f3a963 SHA512 abbdda69a47f94442977af7491596e40873767256f5e75c3c06b614a369ec8cb7103a132e77a95c99ba24e4b205e5c3fc267039c920c1268a19b17e4ac779b79 diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild deleted file mode 100644 index 7185e2dbb78c..000000000000 --- a/sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 2004-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Library for build EFI Applications" -HOMEPAGE="https://sourceforge.net/projects/gnu-efi/" -SRC_URI="https://downloads.sourceforge.net/gnu-efi/${P}.tar.bz2" - -# inc/, lib/ dirs (README.efilib) -# - BSD-2 -# gnuefi dir: -# - BSD (3-cluase): crt0-efi-ia32.S -# - GPL-2+ : setjmp_ia32.S -LICENSE="GPL-2+ BSD BSD-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64 ~ia64 ~riscv ~x86" -IUSE="abi_x86_32 abi_x86_64 custom-cflags" -REQUIRED_USE=" - amd64? ( || ( abi_x86_32 abi_x86_64 ) ) - x86? ( || ( abi_x86_32 abi_x86_64 ) ) -" - -# for ld.bfd and objcopy -BDEPEND="sys-devel/binutils" - -# These objects get run early boot (i.e. not inside of Linux), -# so doing these QA checks on them doesn't make sense. -QA_EXECSTACK="usr/*/lib*efi.a:* usr/*/crt*.o" -RESTRICT="strip" - -PATCHES=( - "${FILESDIR}"/${P}-clang.patch - "${FILESDIR}"/${PN}-3.0.18-remove-linux-headers.patch -) - -check_and_set_objcopy() { - if [[ ${MERGE_TYPE} != "binary" ]]; then - # bug #931792 - # llvm-objcopy does not support EFI target, try to use binutils objcopy or fail - tc-export OBJCOPY - OBJCOPY="${OBJCOPY/llvm-/}" - LC_ALL=C "${OBJCOPY}" --help | grep -q '\ /dev/null | grep ^install: | cut -f2 -d' ')/include - elif tc-is-clang; then - CPPINCLUDEDIR=$(LC_ALL=C ${CC} -print-resource-dir 2> /dev/null)/include - fi - append-cflags "-nostdinc -isystem ${CPPINCLUDEDIR} -isystem ${ESYSROOT}/usr/include" - - if use amd64 || use x86; then - use abi_x86_32 && CHOST=i686 ABI=x86 efimake - use abi_x86_64 && CHOST=x86_64 ABI=amd64 efimake - else - efimake - fi -} - -src_install() { - if use amd64 || use x86; then - use abi_x86_32 && CHOST=i686 ABI=x86 efimake INSTALLROOT="${D}" install - use abi_x86_64 && CHOST=x86_64 ABI=amd64 efimake INSTALLROOT="${D}" install - else - efimake INSTALLROOT="${D}" install - fi - einstalldocs -} diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild new file mode 100644 index 000000000000..d492de252a80 --- /dev/null +++ b/sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild @@ -0,0 +1,133 @@ +# Copyright 2004-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Library for build EFI Applications" +HOMEPAGE="https://sourceforge.net/projects/gnu-efi/" +SRC_URI="https://downloads.sourceforge.net/gnu-efi/${P}.tar.bz2" + +# inc/, lib/ dirs (README.efilib) +# - BSD-2 +# gnuefi dir: +# - BSD (3-cluase): crt0-efi-ia32.S +# - GPL-2+ : setjmp_ia32.S +LICENSE="GPL-2+ BSD BSD-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~ia64 ~riscv ~x86" +IUSE="abi_x86_32 abi_x86_64 custom-cflags" +REQUIRED_USE=" + amd64? ( || ( abi_x86_32 abi_x86_64 ) ) + x86? ( || ( abi_x86_32 abi_x86_64 ) ) +" + +# for ld.bfd and objcopy +BDEPEND="sys-devel/binutils" + +# These objects get run early boot (i.e. not inside of Linux), +# so doing these QA checks on them doesn't make sense. +QA_EXECSTACK="usr/*/lib*efi.a:* usr/*/crt*.o" +RESTRICT="strip" + +PATCHES=( + "${FILESDIR}"/${P}-clang.patch + "${FILESDIR}"/${PN}-3.0.18-remove-linux-headers.patch +) + +check_and_set_objcopy() { + if [[ ${MERGE_TYPE} != "binary" ]]; then + # bug #931792 + # llvm-objcopy does not support EFI target, try to use binutils objcopy or fail + tc-export OBJCOPY + OBJCOPY="${OBJCOPY/llvm-/}" + if ! use arm && ! use riscv; then + # bug #939338 + # objcopy does not understand PE/COFF on these arches: arm32, riscv64 and mips64le + # gnu-efi containes a workaround + LC_ALL=C "${OBJCOPY}" --help | grep -q '\ /dev/null | grep ^install: | cut -f2 -d' ')/include + elif tc-is-clang; then + CPPINCLUDEDIR=$(LC_ALL=C ${CC} -print-resource-dir 2> /dev/null)/include + fi + append-cflags "-nostdinc -isystem ${CPPINCLUDEDIR} -isystem ${ESYSROOT}/usr/include" + + if use amd64 || use x86; then + use abi_x86_32 && CHOST=i686 ABI=x86 efimake + use abi_x86_64 && CHOST=x86_64 ABI=amd64 efimake + else + efimake + fi +} + +src_install() { + if use amd64 || use x86; then + use abi_x86_32 && CHOST=i686 ABI=x86 efimake INSTALLROOT="${D}" install + use abi_x86_64 && CHOST=x86_64 ABI=amd64 efimake INSTALLROOT="${D}" install + else + efimake INSTALLROOT="${D}" install + fi + einstalldocs +} -- cgit v1.2.3