From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AFB8E159C9B for ; Sat, 3 Aug 2024 16:09:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEC852BC094; Sat, 3 Aug 2024 16:09:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1AF52BC094 for ; Sat, 3 Aug 2024 16:09:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C34C833BE19 for ; Sat, 3 Aug 2024 16:09:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 261F51D9C for ; Sat, 3 Aug 2024 16:09:03 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1722701328.7890c9c28a2f7e3531232bf115c409bcbe0d2b12.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/efivar/Manifest sys-libs/efivar/efivar-39.ebuild sys-libs/efivar/metadata.xml X-VCS-Directories: sys-libs/efivar/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 7890c9c28a2f7e3531232bf115c409bcbe0d2b12 X-VCS-Branch: master Date: Sat, 3 Aug 2024 16:09:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 10bbadb7-94e8-48e5-bd28-8f46f306d4d4 X-Archives-Hash: b83d2118318553bc97becad4dcbc848c commit: 7890c9c28a2f7e3531232bf115c409bcbe0d2b12 Author: Mike Gilbert gentoo org> AuthorDate: Sat Aug 3 16:08:03 2024 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Aug 3 16:08:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7890c9c2 sys-libs/efivar: add 39 Signed-off-by: Mike Gilbert gentoo.org> sys-libs/efivar/Manifest | 1 + sys-libs/efivar/efivar-39.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++ sys-libs/efivar/metadata.xml | 2 +- 3 files changed, 72 insertions(+), 1 deletion(-) diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest index 70de2f8e537c..afd23f75ab3c 100644 --- a/sys-libs/efivar/Manifest +++ b/sys-libs/efivar/Manifest @@ -1 +1,2 @@ DIST efivar-38.tar.bz2 320221 BLAKE2B 0b96f3d71ddc2246e6a11a5cd32af3d007823c4a283186a428c3f145cd74425a31bd22c4671ad1ab252a3c572991bb1698381cb8bdf51efcbebd62befdc6c070 SHA512 c2f17297c863ece134a9dd758d237fd2df8c8d072f87af1d0bf2bcf9acfc7a53c25597f03fd4fb8cc664b205743d4ffa0ef1b068d0f73c58fa573d40993f3155 +DIST efivar-39.tar.gz 463349 BLAKE2B 73ea4b3293cd708923bcd4332a8c7a5a8bbf539d81300c502a764a2ac205ba7cdf1e30b3432c42a101f56c0b6e31af2907a6a38ada69ace3b0d60e90515094cd SHA512 04493c30efbfc2773abac9a3dd93aa13403c05e29e3bfc72877d2054930811fae99119aadcb1729b6ca85abf5a24db786ea0c27c16d5458ef1b19e74696f5ff7 diff --git a/sys-libs/efivar/efivar-39.ebuild b/sys-libs/efivar/efivar-39.ebuild new file mode 100644 index 000000000000..be7185d01a41 --- /dev/null +++ b/sys-libs/efivar/efivar-39.ebuild @@ -0,0 +1,70 @@ +# Copyright 2014-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} diff --git a/sys-libs/efivar/metadata.xml b/sys-libs/efivar/metadata.xml index 0a27d363fed2..09743f0f8998 100644 --- a/sys-libs/efivar/metadata.xml +++ b/sys-libs/efivar/metadata.xml @@ -6,6 +6,6 @@ Mike Gilbert - rhinstaller/efivar + rhboot/efivar