public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/
Date: Sat,  3 Aug 2024 16:09:03 +0000 (UTC)	[thread overview]
Message-ID: <1722701328.7890c9c28a2f7e3531232bf115c409bcbe0d2b12.floppym@gentoo> (raw)

commit:     7890c9c28a2f7e3531232bf115c409bcbe0d2b12
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  3 16:08:03 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> 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 <floppym <AT> 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 @@
 		<name>Mike Gilbert</name>
 	</maintainer>
 	<upstream>
-		<remote-id type="github">rhinstaller/efivar</remote-id>
+		<remote-id type="github">rhboot/efivar</remote-id>
 	</upstream>
 </pkgmetadata>


             reply	other threads:[~2024-08-03 16:09 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-03 16:09 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-03 16:11 [gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/ Arthur Zamarin
2024-10-01 23:32 Sam James
2024-10-01 23:32 Sam James
2024-10-01 23:32 Sam James
2024-09-02 22:44 Mike Gilbert
2024-08-03 16:10 Mike Gilbert
2024-02-18 17:54 Mike Gilbert
2022-08-30 16:09 Sam James
2022-08-30  9:25 Jakov Smolić
2022-08-30  5:07 Arthur Zamarin
2022-08-30  5:07 Arthur Zamarin
2022-07-14 19:37 Arthur Zamarin
2022-07-14 19:37 Arthur Zamarin
2022-05-19  8:21 WANG Xuerui
2022-01-19  2:31 Yixun Lan
2022-01-17 15:22 Mike Gilbert
2022-01-16 18:25 Mike Gilbert
2022-01-16 15:30 Mike Gilbert
2021-12-13 18:28 Arthur Zamarin
2021-09-16 12:32 Marek Szuba
2020-08-05  0:14 Sam James
2019-12-11 20:41 Mike Gilbert
2019-06-05  7:28 Agostino Sarubbo
2019-01-14 14:31 Mikle Kolyada
2019-01-10  2:01 Thomas Deutschmann
2019-01-08 23:38 Matt Turner
2018-12-07 17:14 Mike Gilbert
2018-11-18 11:27 Mikle Kolyada
2018-09-10 21:42 Robin H. Johnson
2018-04-10 12:59 Mike Gilbert
2018-02-10 13:38 Sergei Trofimovich
2018-01-24 16:18 Mike Gilbert
2017-11-20 12:55 Manuel Rüger
2017-11-19 19:57 Thomas Deutschmann
2017-03-25 22:56 Mike Gilbert
2017-03-25 22:37 Mike Gilbert
2017-03-25 22:37 Mike Gilbert
2017-02-18 15:08 Mike Gilbert
2017-02-17 20:54 Mike Gilbert
2017-02-13 22:17 Robin H. Johnson
2017-01-30 13:09 Agostino Sarubbo
2016-10-01 13:22 Mike Gilbert
2016-08-20  1:55 Mike Gilbert
2016-08-19 17:59 Mike Gilbert
2016-08-19 17:56 Mike Gilbert
2016-04-26 21:31 Mike Gilbert
2016-02-17 14:06 Justin Lecher
2016-02-16 22:06 Mike Gilbert
2016-02-08  0:11 Robin H. Johnson
2015-10-03 18:07 Mike Gilbert
2015-10-03 18:07 Mike Gilbert
2015-09-24  7:59 Agostino Sarubbo
2015-08-19  3:34 Mike Gilbert
2015-08-11 12:45 Mikle Kolyada
2015-08-09 23:41 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722701328.7890c9c28a2f7e3531232bf115c409bcbe0d2b12.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox