From 3f559ef486314f9b3b48d48eb303d6be68463af9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 3 Sep 2024 12:28:20 +0100 Subject: gentoo auto-resync : 03:09:2024 - 12:28:20 --- sys-libs/efivar/Manifest | 2 +- sys-libs/efivar/efivar-39-r1.ebuild | 71 +++++++++++++++++++++++++++++++++++++ sys-libs/efivar/efivar-39.ebuild | 70 ------------------------------------ 3 files changed, 72 insertions(+), 71 deletions(-) create mode 100644 sys-libs/efivar/efivar-39-r1.ebuild delete mode 100644 sys-libs/efivar/efivar-39.ebuild (limited to 'sys-libs/efivar') diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest index a43aff118005..65d4c4f6be3e 100644 --- a/sys-libs/efivar/Manifest +++ b/sys-libs/efivar/Manifest @@ -11,5 +11,5 @@ AUX efivar-38-march-native.patch 1203 BLAKE2B 950a72a5ae4872894379a6688e80c796dd DIST efivar-38.tar.bz2 320221 BLAKE2B 0b96f3d71ddc2246e6a11a5cd32af3d007823c4a283186a428c3f145cd74425a31bd22c4671ad1ab252a3c572991bb1698381cb8bdf51efcbebd62befdc6c070 SHA512 c2f17297c863ece134a9dd758d237fd2df8c8d072f87af1d0bf2bcf9acfc7a53c25597f03fd4fb8cc664b205743d4ffa0ef1b068d0f73c58fa573d40993f3155 DIST efivar-39.tar.gz 463349 BLAKE2B 73ea4b3293cd708923bcd4332a8c7a5a8bbf539d81300c502a764a2ac205ba7cdf1e30b3432c42a101f56c0b6e31af2907a6a38ada69ace3b0d60e90515094cd SHA512 04493c30efbfc2773abac9a3dd93aa13403c05e29e3bfc72877d2054930811fae99119aadcb1729b6ca85abf5a24db786ea0c27c16d5458ef1b19e74696f5ff7 EBUILD efivar-38.ebuild 1645 BLAKE2B 9504ec6b5480c7ead283356c827709683fc0d048adb52fa9ee2a8128f325fda2f426bf1caf29b16b96c3b41c675582f52a57f052b64ed81a5002db5deba4cf95 SHA512 b8edce0e9fb6269e5274feaca14bb02b0c1ef0c8534fc5adcef51f83d7fe54ef6c44bb748cb01af298149df877f81ab3c8192aab55d1d0e97bad90030040bc67 -EBUILD efivar-39.ebuild 1331 BLAKE2B a165e165e1f285459a81cb4f9c0b6a7d900c891de253bc17e42996ef978e28ac91706db350b9908a571743d76a98d99526b416dfb0433dc19fb92324b4e148eb SHA512 2b2d800f9523e231df3faa6026fd3abc05376a415ee6ba50d64d3f0ecf5567533ffa434f97f30bf8030ad62a9442717a951e0b30f73d3ab33900e2c289a1e395 +EBUILD efivar-39-r1.ebuild 1373 BLAKE2B e8b6152f460864575e26cb7d8e364d75b9abcb73ab9c6a77be6b5a3a3a3a65925ed0eb909ae7a1fa16508fb927a17f0af2f013bc7baff9d12d63d6e2ed7c1d00 SHA512 bd4abeda1fddbf55332e266450dc9e5b2035d7d39a012b0ae743a7f5bb3a100e30e46925b68d43cf3f746810ded0181af532603cf89e33ea408e8c3a98909ece MISC metadata.xml 325 BLAKE2B 9cab1cda08c7ca71c0f15baed5011f8d2cd5fa292da287100ddf25d788e5f34cfed94c1543952f445614fd161fbdfbea7fd8f63aec1c912878a973b78ad8ee34 SHA512 b0985f3403b6aa9c806899fe9ca31d3a76c61f62f427ea1aa3b0fb5ecf380e3fef7e8bc1ccfc02c6c04ee1a6a0d370c2cbb7e1bf27cd67f6156758cb53f2319c diff --git a/sys-libs/efivar/efivar-39-r1.ebuild b/sys-libs/efivar/efivar-39-r1.ebuild new file mode 100644 index 000000000000..f980d4096561 --- /dev/null +++ b/sys-libs/efivar/efivar-39-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 2014-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Tools and library to manipulate EFI variables" +HOMEPAGE="https://github.com/rhboot/efivar" +SRC_URI="https://github.com/rhboot/efivar/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + app-text/mandoc + test? ( sys-boot/grub:2 ) +" +RDEPEND=" + dev-libs/popt +" +DEPEND="${RDEPEND} + >=sys-kernel/linux-headers-3.18 + virtual/pkgconfig +" + +src_prepare() { + local PATCHES=( + # Rejected upstream, keep this for ia64 support + "${FILESDIR}"/efivar-38-ia64-relro.patch + ) + default +} + +src_configure() { + unset CROSS_COMPILE + export COMPILER=$(tc-getCC) + export HOSTCC=$(tc-getBUILD_CC) + + tc-ld-disable-gold + + export PREFIX="${EPREFIX}/usr" + export LIBDIR="${EPREFIX}/usr/$(get_libdir)" + + # https://bugs.gentoo.org/562004 + unset LIBS + + # Avoid -Werror + export ERRORS= + + if [[ -n ${GCC_SPECS} ]]; then + # The environment overrides the command line. + GCC_SPECS+=":${S}/src/include/gcc.specs" + fi + + # Used by tests/Makefile + export GRUB_PREFIX=grub +} + +src_compile() { + # HOST_MARCH: https://bugs.gentoo.org/831334 + emake HOST_MARCH= +} + +src_test() { + # https://bugs.gentoo.org/924370 + emake -j1 test +} diff --git a/sys-libs/efivar/efivar-39.ebuild b/sys-libs/efivar/efivar-39.ebuild deleted file mode 100644 index a88ff714f25d..000000000000 --- a/sys-libs/efivar/efivar-39.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2014-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Tools and library to manipulate EFI variables" -HOMEPAGE="https://github.com/rhboot/efivar" -SRC_URI="https://github.com/rhboot/efivar/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/1" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - app-text/mandoc - test? ( sys-boot/grub:2 ) -" -RDEPEND=" - dev-libs/popt -" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-3.18 - virtual/pkgconfig -" - -src_prepare() { - local PATCHES=( - # Rejected upstream, keep this for ia64 support - "${FILESDIR}"/efivar-38-ia64-relro.patch - ) - default -} - -src_configure() { - unset CROSS_COMPILE - export COMPILER=$(tc-getCC) - export HOSTCC=$(tc-getBUILD_CC) - - tc-ld-disable-gold - - export libdir="/usr/$(get_libdir)" - - # https://bugs.gentoo.org/562004 - unset LIBS - - # Avoid -Werror - export ERRORS= - - if [[ -n ${GCC_SPECS} ]]; then - # The environment overrides the command line. - GCC_SPECS+=":${S}/src/include/gcc.specs" - fi - - # Used by tests/Makefile - export GRUB_PREFIX=grub -} - -src_compile() { - # HOST_MARCH: https://bugs.gentoo.org/831334 - emake HOST_MARCH= -} - -src_test() { - # https://bugs.gentoo.org/924370 - emake -j1 test -} -- cgit v1.2.3