[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2024-02-18 Thread Mike Gilbert
commit: c17bf9839f66ef3da664665c30ce7d3d864403aa
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Feb 18 17:53:12 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Feb 18 17:53:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17bf983

sys-libs/efivar: disable parallel testing

Closes: https://bugs.gentoo.org/924370
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index cf449a8640f7..afed8c46956a 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2014-2023 Gentoo Authors
+# Copyright 2014-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -68,3 +68,8 @@ src_configure() {
# Used by tests/Makefile
export GRUB_PREFIX=grub
 }
+
+src_test() {
+   # https://bugs.gentoo.org/924370
+   emake -j1 test
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/, sys-libs/efivar/

2023-05-09 Thread Mike Gilbert
commit: d64ec364c8969acd128144fb878ab64915a40073
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue May  9 20:43:20 2023 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue May  9 20:43:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64ec364

sys-libs/efivar: backport musl fix

Closes: https://bugs.gentoo.org/905930
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild  |  1 +
 sys-libs/efivar/files/efivar-38-64bit-off_t.patch | 46 +++
 2 files changed, 47 insertions(+)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index d00381caef83..cf449a8640f7 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -37,6 +37,7 @@ src_prepare() {
"${FILESDIR}"/efivar-38-lld-fixes.patch
"${FILESDIR}"/efivar-38-efisecdb-musl.patch
"${FILESDIR}"/efivar-38-efisecdb-optarg.patch
+   "${FILESDIR}"/efivar-38-64bit-off_t.patch
 
# Rejected upstream, keep this for ia64 support
"${FILESDIR}"/efivar-38-ia64-relro.patch

diff --git a/sys-libs/efivar/files/efivar-38-64bit-off_t.patch 
b/sys-libs/efivar/files/efivar-38-64bit-off_t.patch
new file mode 100644
index ..d06868b22587
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-38-64bit-off_t.patch
@@ -0,0 +1,46 @@
+https://bugs.gentoo.org/905930
+
+From 914c686cc54b2405dab08bff77cd60827aab54b1 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Wed, 14 Dec 2022 16:55:51 -0800
+Subject: [PATCH] Use off_t instead of off64_t
+
+Pass _FILE_OFFSET_BITS=64 to ensure 64bit off_t
+
+This helps building efivar for 32bit arches on systems using musl C
+library. It works with glibc since _GNU_SOURCE defines
+_LARGEFILE64_SOURCE as well, this feature test macro enables the 64bit
+interfaces which were done as intermediate steps when transition to
+66-bit off_t was done as part olf LFS64 support.
+
+Signed-off-by: Khem Raj 
+---
+ src/error.c | 2 +-
+ src/include/defaults.mk | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/error.c b/src/error.c
+index fcbba0d6..9530e22c 100644
+--- a/src/error.c
 b/src/error.c
+@@ -191,7 +191,7 @@ dbglog_write(void *cookie, const char *buf, size_t size)
+ }
+ 
+ static int
+-dbglog_seek(void *cookie UNUSED, off64_t *offset, int whence)
++dbglog_seek(void *cookie UNUSED, off_t *offset, int whence)
+ {
+   FILE *log = efi_errlog ? efi_errlog : stderr;
+   int rc;
+diff --git a/src/include/defaults.mk b/src/include/defaults.mk
+index 42bd3d6e..bb9c997f 100644
+--- a/src/include/defaults.mk
 b/src/include/defaults.mk
+@@ -34,6 +34,7 @@ CPPFLAGS ?=
+ override _CPPFLAGS := $(CPPFLAGS)
+ override CPPFLAGS = $(_CPPFLAGS) -DLIBEFIVAR_VERSION=$(VERSION) \
+   -D_GNU_SOURCE \
++  -D_FILE_OFFSET_BITS=64 \
+   -I$(TOPDIR)/src/include/
+ CFLAGS ?= $(OPTIMIZE) $(DEBUGINFO) $(WARNINGS) $(ERRORS)
+ CFLAGS_GCC ?= -specs=$(TOPDIR)/src/include/gcc.specs \



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/, sys-libs/efivar/

2023-02-17 Thread Mike Gilbert
commit: e84fe06747ac63707f1a46dd16a658dc033d57f8
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Feb 17 22:08:08 2023 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Feb 17 22:08:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e84fe067

sys-libs/efivar: backport a couple fixes

Closes: https://bugs.gentoo.org/831363
Closes: https://bugs.gentoo.org/895152
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild   |   2 +
 .../efivar/files/efivar-38-efisecdb-musl.patch | 179 +
 .../efivar/files/efivar-38-efisecdb-optarg.patch   |  51 ++
 3 files changed, 232 insertions(+)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index f9ec399b79fb..d00381caef83 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -35,6 +35,8 @@ src_prepare() {
"${FILESDIR}"/efivar-38-ld-locale.patch
"${FILESDIR}"/efivar-38-glibc-2.36.patch
"${FILESDIR}"/efivar-38-lld-fixes.patch
+   "${FILESDIR}"/efivar-38-efisecdb-musl.patch
+   "${FILESDIR}"/efivar-38-efisecdb-optarg.patch
 
# Rejected upstream, keep this for ia64 support
"${FILESDIR}"/efivar-38-ia64-relro.patch

diff --git a/sys-libs/efivar/files/efivar-38-efisecdb-musl.patch 
b/sys-libs/efivar/files/efivar-38-efisecdb-musl.patch
new file mode 100644
index ..a1bfa631aae1
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-38-efisecdb-musl.patch
@@ -0,0 +1,179 @@
+From cece3ffd5be2f8641eb694513f2b73e5eb97ffd3 Mon Sep 17 00:00:00 2001
+From: Natanael Copa 
+Date: Fri, 28 Jan 2022 12:13:30 +0100
+Subject: [PATCH] efisecdb: fix build with musl libc
+
+Refactor code to use POSIX atexit(3) instead of the GNU specific
+on_exit(3).
+
+Resolves: #197
+Resolves: #202
+Signed-off-by: Natanael Copa 
+---
+ src/compiler.h |  2 --
+ src/efisecdb.c | 68 +++---
+ 2 files changed, 26 insertions(+), 44 deletions(-)
+
+diff --git a/src/compiler.h b/src/compiler.h
+index e2f18f0b..d95fb014 100644
+--- a/src/compiler.h
 b/src/compiler.h
+@@ -7,8 +7,6 @@
+ #ifndef COMPILER_H_
+ #define COMPILER_H_
+ 
+-#include 
+-
+ /* GCC version checking borrowed from glibc. */
+ #if defined(__GNUC__) && defined(__GNUC_MINOR__)
+ #  define GNUC_PREREQ(maj,min) \
+diff --git a/src/efisecdb.c b/src/efisecdb.c
+index f8823737..6bd5ad90 100644
+--- a/src/efisecdb.c
 b/src/efisecdb.c
+@@ -25,6 +25,10 @@
+ extern char *optarg;
+ extern int optind, opterr, optopt;
+ 
++static efi_secdb_t *secdb = NULL;
++static list_t infiles;
++static list_t actions;
++
+ struct hash_param {
+   char *name;
+   efi_secdb_type_t algorithm;
+@@ -187,12 +191,11 @@ add_action(list_t *list, action_type_t action_type, 
const efi_guid_t *owner,
+ }
+ 
+ static void
+-free_actions(int status UNUSED, void *actionsp)
++free_actions(void)
+ {
+-  list_t *actions = (list_t *)actionsp;
+   list_t *pos, *tmp;
+ 
+-  for_each_action_safe(pos, tmp, actions) {
++  for_each_action_safe(pos, tmp, ) {
+   action_t *action = list_entry(pos, action_t, list);
+ 
+   list_del(>list);
+@@ -202,12 +205,11 @@ free_actions(int status UNUSED, void *actionsp)
+ }
+ 
+ static void
+-free_infiles(int status UNUSED, void *infilesp)
++free_infiles(void)
+ {
+-  list_t *infiles = (list_t *)infilesp;
+   list_t *pos, *tmp;
+ 
+-  for_each_ptr_safe(pos, tmp, infiles) {
++  for_each_ptr_safe(pos, tmp, ) {
+   ptrlist_t *entry = list_entry(pos, ptrlist_t, list);
+ 
+   list_del(>list);
+@@ -216,27 +218,12 @@ free_infiles(int status UNUSED, void *infilesp)
+ }
+ 
+ static void
+-maybe_free_secdb(int status UNUSED, void *voidp)
++maybe_free_secdb(void)
+ {
+-  efi_secdb_t **secdbp = (efi_secdb_t **)voidp;
+-
+-  if (secdbp == NULL || *secdbp == NULL)
++  if (secdb == NULL)
+   return;
+ 
+-  efi_secdb_free(*secdbp);
+-}
+-
+-static void
+-maybe_do_unlink(int status, void *filep)
+-{
+-  char **file = (char **)filep;
+-
+-  if (status == 0)
+-  return;
+-  if (file == NULL || *file == NULL)
+-  return;
+-
+-  unlink(*file);
++  efi_secdb_free(secdb);
+ }
+ 
+ static void
+@@ -323,15 +310,6 @@ parse_input_files(list_t *infiles, char **outfile, 
efi_secdb_t **secdb,
+   return status;
+ }
+ 
+-/*
+- * These need to be static globals so that they're not on main's stack when
+- * on_exit() fires.
+- */
+-static efi_secdb_t *secdb = NULL;
+-static list_t infiles;
+-static list_t actions;
+-static char *outfile = NULL;
+-
+ int
+ main(int argc, char *argv[])
+ {
+@@ -351,6 +329,7 @@ main(int argc, char *argv[])
+   bool do_sort_data = false;
+   bool sort_descending = false;
+   int status = 0;
++  char *outfile = NULL;
+ 
+   const char sopts[] = 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/, sys-libs/efivar/files/

2023-02-12 Thread Mike Gilbert
commit: e65483f454acedbf2caae633be3d03309fd492a5
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Feb 12 18:46:57 2023 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Feb 12 18:47:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e65483f4

sys-libs/efivar: drop 37

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/Manifest |  1 -
 sys-libs/efivar/efivar-37.ebuild | 42 
 sys-libs/efivar/files/efivar-37-ia64-relro.patch | 37 -
 3 files changed, 80 deletions(-)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 450ec0b1c8a3..70de2f8e537c 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,2 +1 @@
-DIST efivar-37.tar.bz2 109431 BLAKE2B 
813d477d31562b773f6e19f20e9e237b94beed437ce221771770e7d46ff0e657530285f035dc942cc20609185be92dc50319bfe8e10dee642c8bd88403ef6ffe
 SHA512 
305a82ed103c7e3d8f723934019d552677c73558768dd5341f87d0364f5c60824d24f5a8e1bf90075e825908085083d4ecdccec5ac757fd38ee6ac8fea28c3e4
 DIST efivar-38.tar.bz2 320221 BLAKE2B 
0b96f3d71ddc2246e6a11a5cd32af3d007823c4a283186a428c3f145cd74425a31bd22c4671ad1ab252a3c572991bb1698381cb8bdf51efcbebd62befdc6c070
 SHA512 
c2f17297c863ece134a9dd758d237fd2df8c8d072f87af1d0bf2bcf9acfc7a53c25597f03fd4fb8cc664b205743d4ffa0ef1b068d0f73c58fa573d40993f3155

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
deleted file mode 100644
index e6751c0136da..
--- a/sys-libs/efivar/efivar-37.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Tools and library to manipulate EFI variables"
-HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0/1"
-KEYWORDS="amd64 arm arm64 ~ia64 ppc64 ~riscv x86"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3.18
-   virtual/pkgconfig
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-37-ia64-relro.patch
-)
-
-src_prepare() {
-   default
-   sed -i -e 's/-Werror //' gcc.specs || die
-}
-
-src_configure() {
-   tc-export CC
-   export CC_FOR_BUILD=$(tc-getBUILD_CC)
-   tc-ld-disable-gold
-   export libdir="/usr/$(get_libdir)"
-   unset LIBS # Bug 562004
-
-   if [[ -n ${GCC_SPECS} ]]; then
-   # The environment overrides the command line.
-   GCC_SPECS+=":${S}/gcc.specs"
-   fi
-}

diff --git a/sys-libs/efivar/files/efivar-37-ia64-relro.patch 
b/sys-libs/efivar/files/efivar-37-ia64-relro.patch
deleted file mode 100644
index 92a79aec88e4..
--- a/sys-libs/efivar/files/efivar-37-ia64-relro.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://github.com/rhboot/efivar/pull/164
-https://bugs.gentoo.org/749963
-
-From: Sergei Trofimovich 
-Date: Mon, 19 Oct 2020 19:05:01 +0100
-Subject: [PATCH] gcc.specs: drop --fatal-warnings from linker options (ia64
- compatibility)
-
-```
-$ LANG=C make HOSTCC=x86_64-pc-linux-gnu-gcc CC=ia64-unknown-linux-gnu-gcc 
HOST_ARCH=ia64
-ia64-unknown-linux-gnu-gcc ...  \
-  -o libefivar.so ...
-/usr/libexec/gcc/ia64-unknown-linux-gnu/ld: warning: -z relro ignored
-collect2: error: ld returned 1 exit status
-make[1]: *** [/home/slyfox/dev/git/efivar/src/include/rules.mk:32: 
libefivar.so] Error 1
-```
-
-ia64 (and a few others) binutils target does not support '-z relro' and always
-issues a warning. --fatal-warnings spec option turns the build into always 
failing one.
-
-The change drops `--fatal-warnings` options from gcc.spec entirely.
-
-Reported-by: Émeric Maschino
-Bug: https://bugs.gentoo.org/749963
-Signed-off-by: Sergei Trofimovich 
 a/gcc.specs
-+++ b/gcc.specs
-@@ -11,7 +11,7 @@
- + %(efivar_cpp_options) -Wmaybe-uninitialized -fno-merge-constants 
-fvisibility=hidden %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}
- 
- *self_spec:
--+ %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings 
-Wl,-static -static -Wl,-z,relro,-z,now}
-++ %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-static -static 
-Wl,-z,relro,-z,now}
- 
- *link:
--+ %{!static:--fatal-warnings} --no-undefined-version 
--no-allow-shlib-undefined --add-needed -z now --build-id 
%{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%

[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/, sys-libs/efivar/files/

2023-02-12 Thread Mike Gilbert
commit: a929b75061d1ee6190ac9df0bfaafde6a4a19618
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Feb 12 18:45:22 2023 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Feb 12 18:47:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a929b750

sys-libs/efivar: backport lld fixes

Closes: https://bugs.gentoo.org/831472
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild |   7 +-
 sys-libs/efivar/files/efivar-38-ia64-relro.patch |   4 +-
 sys-libs/efivar/files/efivar-38-lld-fixes.patch  | 345 +++
 3 files changed, 352 insertions(+), 4 deletions(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index bd13a3c45113..f9ec399b79fb 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2014-2022 Gentoo Authors
+# Copyright 2014-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,12 +29,15 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
local PATCHES=(
-   "${FILESDIR}"/efivar-38-ia64-relro.patch
"${FILESDIR}"/efivar-38-march-native.patch
"${FILESDIR}"/efivar-38-Makefile-dep.patch
"${FILESDIR}"/efivar-38-binutils-2.36.patch
"${FILESDIR}"/efivar-38-ld-locale.patch
"${FILESDIR}"/efivar-38-glibc-2.36.patch
+   "${FILESDIR}"/efivar-38-lld-fixes.patch
+
+   # Rejected upstream, keep this for ia64 support
+   "${FILESDIR}"/efivar-38-ia64-relro.patch
)
default
 }

diff --git a/sys-libs/efivar/files/efivar-38-ia64-relro.patch 
b/sys-libs/efivar/files/efivar-38-ia64-relro.patch
index e90736a0394b..f43057e5e0ad 100644
--- a/sys-libs/efivar/files/efivar-38-ia64-relro.patch
+++ b/sys-libs/efivar/files/efivar-38-ia64-relro.patch
@@ -40,8 +40,8 @@ index ef28e2b..4deead5 100644
  + %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings 
-Wl,-static -static -Wl,-z,relro,-z,now} -grecord-gcc-switches
  
  *link:
--+ %{!static:--fatal-warnings} --no-undefined-version 
--no-allow-shlib-undefined --add-needed -z now --build-id 
%{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%https://bugs.gentoo.org/831472
+
+From b23aba1469de8bb7a115751f9cd294ad3aaa6680 Mon Sep 17 00:00:00 2001
+From: Ali Abdel-Qader 
+Date: Tue, 31 May 2022 11:53:32 -0400
+Subject: [PATCH] Remove deprecated --add-needed linker flag
+
+Resolves #204
+Signed-off-by: Ali Abdel-Qader 
+---
+ src/include/defaults.mk | 2 --
+ src/include/gcc.specs   | 2 +-
+ 2 files changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/src/include/defaults.mk b/src/include/defaults.mk
+index b8cc590c..42bd3d6e 100644
+--- a/src/include/defaults.mk
 b/src/include/defaults.mk
+@@ -51,7 +51,6 @@ LDFLAGS ?=
+ override _CCLDFLAGS := $(CCLDFLAGS)
+ override _LDFLAGS := $(LDFLAGS)
+ override LDFLAGS = $(CFLAGS) -L. $(_LDFLAGS) $(_CCLDFLAGS) \
+- -Wl,--add-needed \
+  -Wl,--build-id \
+  -Wl,--no-allow-shlib-undefined \
+  -Wl,--no-undefined-version \
+@@ -98,7 +97,6 @@ override _HOST_LDFLAGS := $(HOST_LDFLAGS)
+ override _HOST_CCLDFLAGS := $(HOST_CCLDFLAGS)
+ override HOST_LDFLAGS = $(HOST_CFLAGS) -L. \
+   $(_HOST_LDFLAGS) $(_HOST_CCLDFLAGS) \
+-  -Wl,--add-needed \
+   -Wl,--build-id \
+   -Wl,--no-allow-shlib-undefined \
+   -Wl,-z,now \
+diff --git a/src/include/gcc.specs b/src/include/gcc.specs
+index ef28e2bb..d85e8658 100644
+--- a/src/include/gcc.specs
 b/src/include/gcc.specs
+@@ -5,4 +5,4 @@
+ + %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings 
-Wl,-static -static -Wl,-z,relro,-z,now} -grecord-gcc-switches
+ 
+ *link:
+-+ %{!static:--fatal-warnings} --no-undefined-version 
--no-allow-shlib-undefined --add-needed -z now --build-id 
%{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%
+Date: Wed, 29 Jun 2022 21:44:29 +0200
+Subject: [PATCH] LLD: fix detection and remove not needed workarounds
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Tomasz Paweł Gajc 
+---
+ src/include/workarounds.mk | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/include/workarounds.mk b/src/include/workarounds.mk
+index b72fbaf6..57394edd 100644
+--- a/src/include/workarounds.mk
 b/src/include/workarounds.mk
+@@ -2,12 +2,12 @@
+ #
+ # workarounds.mk - workarounds for weird stuff behavior
+ 
+-LD_FLAVOR := $(shell LC_ALL=C $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 
's/ .*//g')
+-LD_VERSION := $(shell LC_ALL=C $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 
's/.* //')
++LD_FLAVOR := $(shell LC_ALL=C $(LD) --version | grep -E '^((.* )?LLD|GNU 
ld)'|sed 's/.* LLD/LLD/;s/ .*//g')
++LD_VERSION := $(shell LC_ALL=C 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-08-30 Thread Sam James
commit: 4c1ab8473698172b3c5f3948a7d6f83e7fc146a1
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 30 16:08:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 30 16:08:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1ab847

sys-libs/efivar: Stabilize 38 amd64, #867346

Signed-off-by: Sam James  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index 57e55290df16..bd13a3c45113 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 arm arm64 ~ia64 ~loong ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc64 ~riscv x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-08-30 Thread Jakov Smolić
commit: d563b7516fbb927a456988abb3cdebee74c27882
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Aug 30 09:24:54 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Aug 30 09:24:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d563b751

sys-libs/efivar: Stabilize 38 x86, #867346

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index 095e07cf5ed6..57e55290df16 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 arm arm64 ~ia64 ~loong ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~ia64 ~loong ppc64 ~riscv x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-08-29 Thread Arthur Zamarin
commit: b82fd352d574e7cd2d5403306ebfdbff2ee5be17
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 30 05:06:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 30 05:06:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82fd352

sys-libs/efivar: Stabilize 38 arm, #867346

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index 7142ae3445bb..3b67562ee38f 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-08-29 Thread Arthur Zamarin
commit: a2a4c19c66c82ebcbe80b21f2612913eb2c93bd3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 30 05:07:03 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 30 05:07:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a4c19c

sys-libs/efivar: Stabilize 38 ppc64, #867346

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index 3b67562ee38f..095e07cf5ed6 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 arm arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm arm64 ~ia64 ~loong ppc64 ~riscv ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/, sys-libs/efivar/files/

2022-08-02 Thread Sam James
commit: 5b70c9171330cdd689f9e736b66b23800f942310
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  3 02:24:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  3 02:25:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b70c917

sys-libs/efivar: fix build w/ glibc 2.36

Closes: https://bugs.gentoo.org/863230
Signed-off-by: Sam James  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild |  1 +
 sys-libs/efivar/files/efivar-38-glibc-2.36.patch | 46 
 2 files changed, 47 insertions(+)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index eecc85f7cbca..e17d33968234 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -34,6 +34,7 @@ src_prepare() {
"${FILESDIR}"/efivar-38-Makefile-dep.patch
"${FILESDIR}"/efivar-38-binutils-2.36.patch
"${FILESDIR}"/efivar-38-ld-locale.patch
+   "${FILESDIR}"/efivar-38-glibc-2.36.patch
)
default
 }

diff --git a/sys-libs/efivar/files/efivar-38-glibc-2.36.patch 
b/sys-libs/efivar/files/efivar-38-glibc-2.36.patch
new file mode 100644
index ..0a7e5f2e099c
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-38-glibc-2.36.patch
@@ -0,0 +1,46 @@
+https://github.com/rhboot/efivar/commit/bc65d63ebf8fe6ac8a099ff15ca200986dba1565
+https://bugs.gentoo.org/863230
+
+From: Robbie Harwood 
+Date: Thu, 28 Jul 2022 16:11:24 -0400
+Subject: [PATCH] Fix glibc 2.36 build (mount.h conflicts)
+
+glibc has decided that sys/mount.h and linux/mount.h are no longer
+usable at the same time.  This broke the build, since linux/fs.h itself
+includes linux/mount.h.  For now, fix the build by only including
+sys/mount.h where we need it.
+
+See-also: 
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
+Resolves: #227
+Signed-off-by: Robbie Harwood 
+--- a/src/gpt.c
 b/src/gpt.c
+@@ -17,6 +17,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/src/linux.c
 b/src/linux.c
+@@ -20,6 +20,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/src/util.h
 b/src/util.h
+@@ -23,7 +23,6 @@
+ #include 
+ #include 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
+



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-07-14 Thread Arthur Zamarin
commit: 88ccddcf75e3cd53203b12db1e515a8f5d484b52
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jul 14 19:37:32 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jul 14 19:37:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ccddcf

sys-libs/efivar: Stabilize 37 ppc64, #856865

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/efivar/efivar-37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index 3a5344dc0d0b..e6751c0136da 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ppc64 ~riscv x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-07-14 Thread Arthur Zamarin
commit: b6c618eeb18fce0a95d7016bcadeff676809c33b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jul 14 19:37:23 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jul 14 19:37:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c618ee

sys-libs/efivar: Stabilize 37 arm, #856865

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/efivar/efivar-37.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index af1df743350a..3a5344dc0d0b 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~riscv x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/, sys-libs/efivar/

2022-06-27 Thread Mike Gilbert
commit: 119e2da03535900226fede22f92ce061f3a55a98
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Jun 27 19:12:24 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Jun 27 19:12:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119e2da0

sys-libs/efivar: fix build with non-English locale

Closes: https://bugs.gentoo.org/854147
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild|  1 +
 sys-libs/efivar/files/efivar-38-ld-locale.patch | 30 +
 2 files changed, 31 insertions(+)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index f753fbea6e4e..eecc85f7cbca 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -33,6 +33,7 @@ src_prepare() {
"${FILESDIR}"/efivar-38-march-native.patch
"${FILESDIR}"/efivar-38-Makefile-dep.patch
"${FILESDIR}"/efivar-38-binutils-2.36.patch
+   "${FILESDIR}"/efivar-38-ld-locale.patch
)
default
 }

diff --git a/sys-libs/efivar/files/efivar-38-ld-locale.patch 
b/sys-libs/efivar/files/efivar-38-ld-locale.patch
new file mode 100644
index ..b1dd699a4461
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-38-ld-locale.patch
@@ -0,0 +1,30 @@
+From 01de7438520868650bfaa1ef3e2bfaf00cacbcc6 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Fri, 24 Jun 2022 17:00:33 -0400
+Subject: [PATCH] Set LC_ALL=C to force English output from ld
+
+If the user has a different locale set, ld --version may not contain the
+string "GNU ld".
+
+For example, in Italian, ld --version outputs "ld di GNU".
+
+Signed-off-by: Mike Gilbert 
+---
+ src/include/workarounds.mk | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/include/workarounds.mk b/src/include/workarounds.mk
+index 143e7902..b72fbaf6 100644
+--- a/src/include/workarounds.mk
 b/src/include/workarounds.mk
+@@ -2,8 +2,8 @@
+ #
+ # workarounds.mk - workarounds for weird stuff behavior
+ 
+-LD_FLAVOR := $(shell $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 's/ .*//g')
+-LD_VERSION := $(shell $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 's/.* //')
++LD_FLAVOR := $(shell LC_ALL=C $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 
's/ .*//g')
++LD_VERSION := $(shell LC_ALL=C $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 
's/.* //')
+ # 2.35 is definitely broken and 2.36 seems to work
+ LD_DASH_T := $(shell \
+   if [ "x${LD_FLAVOR}" = xLLD ] ; then \



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-05-19 Thread WANG Xuerui
commit: e2694860f32e2c3f11444e2e99ac8d1cc9430312
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 19 07:33:00 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 19 08:21:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2694860

sys-libs/efivar: keyword 38 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index a3b90daffac1..f753fbea6e4e 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/

2022-03-21 Thread Sam James
commit: e54d1e325411a252c0c267c63cb51c7ead227631
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 22 04:06:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 22 04:06:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e54d1e32

sys-libs/efivar: adjust ia64-relro patch

Some extra fatal warning bits snuck in upstream, it looks like.

Signed-off-by: Sam James  gentoo.org>

 sys-libs/efivar/files/efivar-38-ia64-relro.patch | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/sys-libs/efivar/files/efivar-38-ia64-relro.patch 
b/sys-libs/efivar/files/efivar-38-ia64-relro.patch
index 2f3686cac444..e90736a0394b 100644
--- a/sys-libs/efivar/files/efivar-38-ia64-relro.patch
+++ b/sys-libs/efivar/files/efivar-38-ia64-relro.patch
@@ -23,6 +23,8 @@ The change drops `--fatal-warnings` option from gcc.spec 
entirely.
 
 Rejected upstream in https://github.com/rhboot/efivar/pull/164.
 
+[sam: add extra hunk to fix 38 build.]
+
 Reported-by: Émeric Maschino
 Bug: https://bugs.gentoo.org/749963
 Signed-off-by: Sergei Trofimovich 
@@ -43,3 +45,16 @@ index ef28e2b..4deead5 100644
 -- 
 2.34.1
 
+diff --git a/src/include/defaults.mk b/src/include/defaults.mk
+index 9024a3a..f5515fa 100644
+--- a/src/include/defaults.mk
 b/src/include/defaults.mk
+@@ -58,7 +58,7 @@ override LDFLAGS = $(CFLAGS) -L. $(_LDFLAGS) $(_CCLDFLAGS) \
+  -Wl,-z,now \
+  -Wl,-z,muldefs \
+  -Wl,-z,relro \
+- -Wl,--fatal-warnings \
++ -Wl,--no-fatal-warnings \
+  $(call family,LDFLAGS) $(call family,CCLDFLAGS) \
+  $(call pkg-config-ccldflags)
+ override CCLDFLAGS = $(LDFLAGS)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-01-18 Thread Yixun Lan
commit: 61b08b5693a678f15e7858ed5bb11974a5565878
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Jan 19 02:21:44 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jan 19 02:21:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b08b56

sys-libs/efivar: keyword ~riscv, bug #831316

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index 0febea4fe5ce..a3b90daffac1 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~riscv ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/, sys-libs/efivar/

2022-01-18 Thread Mike Gilbert
commit: a210fd9af7db9e2d9088fd39d3f030153596c17a
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Jan 18 18:28:08 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Jan 18 18:28:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a210fd9a

sys-libs/efivar: backport fix for binutils-2.36

Closes: https://bugs.gentoo.org/831417
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild   |  1 +
 .../efivar/files/efivar-38-binutils-2.36.patch | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index 24459558e6fc..0febea4fe5ce 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -32,6 +32,7 @@ src_prepare() {
"${FILESDIR}"/efivar-38-ia64-relro.patch
"${FILESDIR}"/efivar-38-march-native.patch
"${FILESDIR}"/efivar-38-Makefile-dep.patch
+   "${FILESDIR}"/efivar-38-binutils-2.36.patch
)
default
 }

diff --git a/sys-libs/efivar/files/efivar-38-binutils-2.36.patch 
b/sys-libs/efivar/files/efivar-38-binutils-2.36.patch
new file mode 100644
index ..df0575de7f33
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-38-binutils-2.36.patch
@@ -0,0 +1,30 @@
+From 197a0874ea4010061b98b4b55eff65b33b1cd741 Mon Sep 17 00:00:00 2001
+From: Robbie Harwood 
+Date: Mon, 17 Jan 2022 12:34:55 -0500
+Subject: [PATCH] Add -T workaround for GNU ld 2.36
+
+Signed-off-by: Robbie Harwood 
+Resolves: #195
+---
+ src/include/workarounds.mk | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/include/workarounds.mk b/src/include/workarounds.mk
+index 31188342..143e7902 100644
+--- a/src/include/workarounds.mk
 b/src/include/workarounds.mk
+@@ -4,12 +4,12 @@
+ 
+ LD_FLAVOR := $(shell $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 's/ .*//g')
+ LD_VERSION := $(shell $(LD) --version | grep -E '^(LLD|GNU ld)'|sed 's/.* //')
+-# I haven't tested 2.36 here; 2.35 is definitely broken and 2.37 seems to work
++# 2.35 is definitely broken and 2.36 seems to work
+ LD_DASH_T := $(shell \
+   if [ "x${LD_FLAVOR}" = xLLD ] ; then \
+   echo '-T' ; \
+   elif [ "x${LD_FLAVOR}" = xGNU ] ; then \
+-  if echo "${LD_VERSION}" | grep -q -E 
'^2\.3[789]|^2\.[456789]|^[3456789]|^[[:digit:]][[:digit:]]' ; then \
++  if echo "${LD_VERSION}" | grep -q -E 
'^2\.3[6789]|^2\.[456789]|^[3456789]|^[[:digit:]][[:digit:]]' ; then \
+   echo '-T' ; \
+   else \
+   echo "" ; \



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/, sys-libs/efivar/files/

2022-01-17 Thread Mike Gilbert
commit: d797ef2bb92c4563459fbf326b2ec0a81baa4ffc
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Jan 17 16:53:46 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Jan 17 16:53:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d797ef2b

sys-libs/efivar: add a couple patches

Fix Makefile so objects are not rebuilt in src_install.
Drop -march=native when building makeguids.

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild   |  9 ++
 sys-libs/efivar/files/efivar-38-Makefile-dep.patch | 33 +++
 sys-libs/efivar/files/efivar-38-march-native.patch | 37 ++
 3 files changed, 73 insertions(+), 6 deletions(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index ae6cba87f271..24459558e6fc 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -29,7 +29,9 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
local PATCHES=(
-   "${FILESDIR}"/${PN}-38-ia64-relro.patch
+   "${FILESDIR}"/efivar-38-ia64-relro.patch
+   "${FILESDIR}"/efivar-38-march-native.patch
+   "${FILESDIR}"/efivar-38-Makefile-dep.patch
)
default
 }
@@ -57,8 +59,3 @@ src_configure() {
# Used by tests/Makefile
export GRUB_PREFIX=grub
 }
-
-src_compile() {
-   # https://bugs.gentoo.org/831334
-   emake HOST_MARCH=
-}

diff --git a/sys-libs/efivar/files/efivar-38-Makefile-dep.patch 
b/sys-libs/efivar/files/efivar-38-Makefile-dep.patch
new file mode 100644
index ..64e3f4e0b7c4
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-38-Makefile-dep.patch
@@ -0,0 +1,33 @@
+From 847856cd72088fd5f2349be858745c632c46b6c8 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Mon, 17 Jan 2022 11:42:53 -0500
+Subject: [PATCH] Adjust dependency for libefivar and libefiboot objects
+
+Depending on 'prep' causes all objects to be rebuilt every time 'make'
+is invoked.
+
+Depending on '$(GENERATED_SOURCES)' causes a build failure because
+guid-symbols.c gets passed to the compiler due to a rule in rules.mk.
+
+Depend on 'include/efivar/efivar-guids.h' directly to avoid these
+issues.
+
+Fixes: https://github.com/rhboot/efivar/issues/199
+Signed-off-by: Mike Gilbert 
+---
+ src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 0e423c44..c6006ebf 100644
+--- a/src/Makefile
 b/src/Makefile
+@@ -85,7 +85,7 @@ $(MAKEGUIDS_OUTPUT) : guids.txt
+ 
+ prep : makeguids $(GENERATED_SOURCES)
+ 
+-$(LIBEFIVAR_OBJECTS) $(LIBEFIBOOT_OBJECTS) : prep
++$(LIBEFIVAR_OBJECTS) $(LIBEFIBOOT_OBJECTS) : include/efivar/efivar-guids.h
+ 
+ libefivar.a : | $(GENERATED_SOURCES)
+ libefivar.a : $(patsubst %.o,%.static.o,$(LIBEFIVAR_OBJECTS))

diff --git a/sys-libs/efivar/files/efivar-38-march-native.patch 
b/sys-libs/efivar/files/efivar-38-march-native.patch
new file mode 100644
index ..a970d8d6de6b
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-38-march-native.patch
@@ -0,0 +1,37 @@
+From 43d19f297548208ce549fd87faa41e6bb86bf9c3 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Mon, 17 Jan 2022 10:13:31 -0500
+Subject: [PATCH] Drop "-march=native" from HOST flags
+
+GCC does not support -march=native on some targets (ia64, riscv).
+The performance enhancement for makeguids isn't worth the trouble it
+causes.
+
+Bug: https://bugs.gentoo.org/831334
+Signed-off-by: Mike Gilbert 
+---
+ src/include/defaults.mk | 8 +---
+ 1 file changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/src/include/defaults.mk b/src/include/defaults.mk
+index 632b1551..9024a3a1 100644
+--- a/src/include/defaults.mk
 b/src/include/defaults.mk
+@@ -71,16 +71,10 @@ override SOFLAGS = $(_SOFLAGS) \
+  -Wl,--version-script=$(MAP) \
+  $(call family,SOFLAGS)
+ 
+-HOST_ARCH=$(shell uname -m)
+-ifneq ($(HOST_ARCH),ia64)
+-  HOST_MARCH=-march=native
+-else
+-  HOST_MARCH=
+-endif
+ HOST_CPPFLAGS ?= $(CPPFLAGS)
+ override _HOST_CPPFLAGS := $(HOST_CPPFLAGS)
+ override HOST_CPPFLAGS = $(_HOST_CPPFLAGS) \
+-   -DEFIVAR_BUILD_ENVIRONMENT $(HOST_MARCH)
++   -DEFIVAR_BUILD_ENVIRONMENT
+ HOST_CFLAGS_GCC ?=
+ HOST_CFLAGS_CLANG ?=
+ HOST_CFLAGS ?= $(CFLAGS) $(call family,HOST_CFLAGS)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-01-17 Thread Mike Gilbert
commit: b258e2593e406538c8ca5029d027f315edc44843
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Jan 17 15:21:27 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Jan 17 15:21:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b258e259

sys-libs/efivar: drop -march=native

Closes: https://bugs.gentoo.org/831334
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index e55e6a422cad..ae6cba87f271 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -57,3 +57,8 @@ src_configure() {
# Used by tests/Makefile
export GRUB_PREFIX=grub
 }
+
+src_compile() {
+   # https://bugs.gentoo.org/831334
+   emake HOST_MARCH=
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-01-16 Thread Mike Gilbert
commit: 8a05249144a4add3f0927f6dc367384f7bfda4db
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Jan 16 18:23:50 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Jan 16 18:25:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a052491

sys-libs/efivar: fix toolchain vars

Closes: https://bugs.gentoo.org/831320
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index cbe703066401..e55e6a422cad 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -35,8 +35,9 @@ src_prepare() {
 }
 
 src_configure() {
-   tc-export CC
-   export CC_FOR_BUILD=$(tc-getBUILD_CC)
+   unset CROSS_COMPILE
+   export COMPILER=$(tc-getCC)
+   export HOSTCC=$(tc-getBUILD_CC)
 
tc-ld-disable-gold
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/, sys-libs/efivar/files/

2022-01-16 Thread Mike Gilbert
commit: 90f51c95eb90eea6c50624aad0a94143de827d8a
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Jan 16 15:25:37 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Jan 16 15:30:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f51c95

sys-libs/efivar: add 38

Closes: https://bugs.gentoo.org/831302
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/Manifest |  1 +
 sys-libs/efivar/efivar-38.ebuild | 58 
 sys-libs/efivar/files/efivar-38-ia64-relro.patch | 45 ++
 3 files changed, 104 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index c8afcced10cb..450ec0b1c8a3 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1 +1,2 @@
 DIST efivar-37.tar.bz2 109431 BLAKE2B 
813d477d31562b773f6e19f20e9e237b94beed437ce221771770e7d46ff0e657530285f035dc942cc20609185be92dc50319bfe8e10dee642c8bd88403ef6ffe
 SHA512 
305a82ed103c7e3d8f723934019d552677c73558768dd5341f87d0364f5c60824d24f5a8e1bf90075e825908085083d4ecdccec5ac757fd38ee6ac8fea28c3e4
+DIST efivar-38.tar.bz2 320221 BLAKE2B 
0b96f3d71ddc2246e6a11a5cd32af3d007823c4a283186a428c3f145cd74425a31bd22c4671ad1ab252a3c572991bb1698381cb8bdf51efcbebd62befdc6c070
 SHA512 
c2f17297c863ece134a9dd758d237fd2df8c8d072f87af1d0bf2bcf9acfc7a53c25597f03fd4fb8cc664b205743d4ffa0ef1b068d0f73c58fa573d40993f3155

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
new file mode 100644
index ..60060d4785fc
--- /dev/null
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2014-2022 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/rhinstaller/efivar;
+SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~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=(
+   "${FILESDIR}"/${PN}-38-ia64-relro.patch
+   )
+   default
+}
+
+src_configure() {
+   tc-export CC
+   export CC_FOR_BUILD=$(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
+}

diff --git a/sys-libs/efivar/files/efivar-38-ia64-relro.patch 
b/sys-libs/efivar/files/efivar-38-ia64-relro.patch
new file mode 100644
index ..2f3686cac444
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-38-ia64-relro.patch
@@ -0,0 +1,45 @@
+From 145c6593fa9206cc27229a9a40c49e4bed046739 Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich 
+Date: Mon, 19 Oct 2020 19:05:01 +0100
+Subject: [PATCH] gcc.specs: drop --fatal-warnings from linker options (ia64
+ compatibility)
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+```
+$ LANG=C make HOSTCC=x86_64-pc-linux-gnu-gcc CC=ia64-unknown-linux-gnu-gcc 
HOST_ARCH=ia64
+ia64-unknown-linux-gnu-gcc ...  \
+  -o libefivar.so ...
+/usr/libexec/gcc/ia64-unknown-linux-gnu/ld: warning: -z relro ignored
+collect2: error: ld returned 1 exit status
+make[1]: *** [/home/slyfox/dev/git/efivar/src/include/rules.mk:32: 
libefivar.so] Error 1
+```
+
+ia64 (and a few others) binutils target does not support '-z relro' and always
+issues a warning. --fatal-warnings spec option turns the build into always 
failing one.
+
+The change drops `--fatal-warnings` option from gcc.spec entirely.
+
+Rejected upstream in https://github.com/rhboot/efivar/pull/164.
+
+Reported-by: Émeric Maschino
+Bug: https://bugs.gentoo.org/749963
+Signed-off-by: Sergei Trofimovich 
+---
+ src/include/gcc.specs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/include/gcc.specs b/src/include/gcc.specs
+index ef28e2b..4deead5 100644
+--- a/src/include/gcc.specs
 b/src/include/gcc.specs
+@@ -5,4 +5,4 @@
+ + %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings 
-Wl,-static -static -Wl,-z,relro,-z,now} -grecord-gcc-switches
+ 
+ *link:
+-+ %{!static:--fatal-warnings} --no-undefined-version 
--no-allow-shlib-undefined --add-needed -z now --build-id 
%{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%

[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2022-01-16 Thread Mike Gilbert
commit: 69403bd606f62bfe6380496d05176c04fb73700b
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Jan 16 15:29:59 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Jan 16 15:30:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69403bd6

sys-libs/efivar: unkeyword 38 for ~riscv

Requires app-text/mandoc.

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/efivar-38.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-38.ebuild b/sys-libs/efivar/efivar-38.ebuild
index 60060d4785fc..cbe703066401 100644
--- a/sys-libs/efivar/efivar-38.ebuild
+++ b/sys-libs/efivar/efivar-38.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2021-12-13 Thread Arthur Zamarin
commit: c083cac339e6f7e5f53b398fcb80a79c93f8cf9f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Dec 13 18:27:51 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Dec 13 18:28:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c083cac3

sys-libs/efivar: Keyword 37 ppc64, #810862

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/efivar/efivar-37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index dc4627f10991..af1df743350a 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc64 ~riscv x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2021-09-16 Thread Marek Szuba
commit: 82e04aa0d43cc951336a997cedb5e157baee1148
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Sep 16 09:28:13 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Sep 16 12:32:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e04aa0

sys-libs/efivar: keyword 37 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/efivar/efivar-37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index d581de9b58e..dc4627f1099 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~riscv x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/, sys-libs/efivar/files/

2020-10-25 Thread Sergei Trofimovich
commit: 463cad343694a7f87f8b003ee6a1b683406e9d1b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 25 09:48:40 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 25 09:48:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=463cad34

sys-libs/efivar: drop -Werror equivalent for linker

ia64's ld does not implement '-z relro'. This means
'z relro --fatal-warnings' always fails on ia64.

The change drops '--fatal-warnings'.

Reported-by: Émeric Maschino
Closes: https://bugs.gentoo.org/749963
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/efivar/efivar-37.ebuild |  4 +++
 sys-libs/efivar/files/efivar-37-ia64-relro.patch | 37 
 2 files changed, 41 insertions(+)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index d85015b8778..40c8e6430d9 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -19,6 +19,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
 "
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-37-ia64-relro.patch
+)
+
 src_prepare() {
default
sed -i -e 's/-Werror //' gcc.specs || die

diff --git a/sys-libs/efivar/files/efivar-37-ia64-relro.patch 
b/sys-libs/efivar/files/efivar-37-ia64-relro.patch
new file mode 100644
index 000..92a79aec88e
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-37-ia64-relro.patch
@@ -0,0 +1,37 @@
+https://github.com/rhboot/efivar/pull/164
+https://bugs.gentoo.org/749963
+
+From: Sergei Trofimovich 
+Date: Mon, 19 Oct 2020 19:05:01 +0100
+Subject: [PATCH] gcc.specs: drop --fatal-warnings from linker options (ia64
+ compatibility)
+
+```
+$ LANG=C make HOSTCC=x86_64-pc-linux-gnu-gcc CC=ia64-unknown-linux-gnu-gcc 
HOST_ARCH=ia64
+ia64-unknown-linux-gnu-gcc ...  \
+  -o libefivar.so ...
+/usr/libexec/gcc/ia64-unknown-linux-gnu/ld: warning: -z relro ignored
+collect2: error: ld returned 1 exit status
+make[1]: *** [/home/slyfox/dev/git/efivar/src/include/rules.mk:32: 
libefivar.so] Error 1
+```
+
+ia64 (and a few others) binutils target does not support '-z relro' and always
+issues a warning. --fatal-warnings spec option turns the build into always 
failing one.
+
+The change drops `--fatal-warnings` options from gcc.spec entirely.
+
+Reported-by: Émeric Maschino
+Bug: https://bugs.gentoo.org/749963
+Signed-off-by: Sergei Trofimovich 
+--- a/gcc.specs
 b/gcc.specs
+@@ -11,7 +11,7 @@
+ + %(efivar_cpp_options) -Wmaybe-uninitialized -fno-merge-constants 
-fvisibility=hidden %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}
+ 
+ *self_spec:
+-+ %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings 
-Wl,-static -static -Wl,-z,relro,-z,now}
+++ %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-static -static 
-Wl,-z,relro,-z,now}
+ 
+ *link:
+-+ %{!static:--fatal-warnings} --no-undefined-version 
--no-allow-shlib-undefined --add-needed -z now --build-id 
%{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%

[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2020-08-04 Thread Sam James
commit: be595d694a61a11ec3dbd568d63c2a62dc55697a
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  5 00:14:00 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  5 00:14:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be595d69

sys-libs/efivar: arm64 stable (bug #730184)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-libs/efivar/efivar-37.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index 237f2835e60..d85015b8778 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/

2019-12-27 Thread Aaron Bauman
commit: 5fc7cefa25cf656f5a30b5ecba4368c8de78d9fe
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Dec 27 16:00:06 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Dec 27 17:09:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc7cefa

sys-libs/efivar: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14140
Signed-off-by: Aaron Bauman  gentoo.org>

 .../files/efivar-32-efi_guid_ux_capsule.patch  | 59 --
 1 file changed, 59 deletions(-)

diff --git a/sys-libs/efivar/files/efivar-32-efi_guid_ux_capsule.patch 
b/sys-libs/efivar/files/efivar-32-efi_guid_ux_capsule.patch
deleted file mode 100644
index 8a5a72f66fb..000
--- a/sys-libs/efivar/files/efivar-32-efi_guid_ux_capsule.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From cd732494ba7685feaf71b9ee58619ca6aef39fc9 Mon Sep 17 00:00:00 2001
-From: Peter Jones 
-Date: Tue, 12 Sep 2017 10:45:31 -0400
-Subject: [PATCH] Make efi_guid_ux_capsule actually work.
-
-Signed-off-by: Peter Jones 

- src/abignore | 11 ++-
- src/guids.txt|  2 +-
- src/libefivar.map.in |  4 
- 3 files changed, 15 insertions(+), 2 deletions(-)
-
-diff --git a/src/abignore b/src/abignore
-index 74b5160..479b5c3 100644
 a/src/abignore
-+++ b/src/abignore
-@@ -14,7 +14,16 @@
- #   'efidp_wifi __anonymous_union__::wifi' at efivar-dp.h:868:1
- #
- [suppress_type]
--  soname_regexp = libefi(var|boot)\\.so
-+  soname_regexp = libefi(var|boot)\\.so\\..*
-   name = efidp_data
-   type_kind = typedef
-   has_data_member_inserted_at = end
-+
-+# 1 Added variable:
-+#
-+#  'const __anonymous_struct__ efi_guid_ux_capsule'
{efi_guid_ux_capsule@@LIBEFIVAR_1.32}
-+#
-+[suppress_variable]
-+  soname_regexp = ^libefivar\\.so\\.[[:digit:]]+
-+  symbol_name_regexp = ^efi_guid_[[:alnum:]_]+$
-+  change_kind = add-variable
-diff --git a/src/guids.txt b/src/guids.txt
-index 87e2f61..06081ed 100644
 a/src/guids.txt
-+++ b/src/guids.txt
-@@ -3,7 +3,7 @@
- 0abba7dc-e516-4167-bbf5-4d9d1c739416  redhat  Red Hat
- 0b6e5233-a65c-44c9-9407-d9ab83bfc8bd  sha224  SHA-224
- 126a762d-5758-4fca-8531-201a7f57f850  lenovo_boot_menuLenovo Boot Menu
--3b8c8162-188c-46a4-aec9-be43f1d65697  ux_capsule_guid Firmware update 
localized text image
-+3b8c8162-188c-46a4-aec9-be43f1d65697  ux_capsule  Firmware update 
localized text image
- 3bd2a492-96c0-4079-b420-fcf98ef103ed  x509_sha256 SHA256 hash of X.509 
Certificate
- 3c5766e8-269c-4e34-aa14-ed776e85b3b6  rsa2048 RSA 2048
- 3CC24E96-22C7-41D8-8863-8E39DCDCC2CF  lenovo  Lenovo
-diff --git a/src/libefivar.map.in b/src/libefivar.map.in
-index ba51d55..a95a505 100644
 a/src/libefivar.map.in
-+++ b/src/libefivar.map.in
-@@ -110,3 +110,7 @@ LIBEFIVAR_1.30 {
-   efi_error_get;
-   efi_error_clear;
- } LIBEFIVAR_1.29;
-+
-+LIBEFIVAR_1.32 {
-+  global: efi_guid_ux_capsule;
-+} LIBEFIVAR_1.30;



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/, sys-libs/efivar/

2019-12-23 Thread Mike Gilbert
commit: 54816fed63de0f99741f8e38b1a3f8748a02515c
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Dec 23 16:28:01 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 23 16:30:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54816fed

Revert "sys-libs/efivar: fix compiling makeguids on older hosts"

This reverts commit e380cf8427ba5f3c073491bdf88488c04beeff6b, which
broke compilation on ia64.

Bug: https://bugs.gentoo.org/702584
Closes: https://bugs.gentoo.org/703536
Signed-off-by: Mike Gilbert  gentoo.org>

 .../{efivar-37-r1.ebuild => efivar-37.ebuild}  |  4 ---
 .../efivar-37-makeguids_fix_host_compile.patch | 36 --
 2 files changed, 40 deletions(-)

diff --git a/sys-libs/efivar/efivar-37-r1.ebuild 
b/sys-libs/efivar/efivar-37.ebuild
similarity index 92%
rename from sys-libs/efivar/efivar-37-r1.ebuild
rename to sys-libs/efivar/efivar-37.ebuild
index 878309f4b43..f9a608e46d2 100644
--- a/sys-libs/efivar/efivar-37-r1.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -19,10 +19,6 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
 "
 
-PATCHES=(
-   "${FILESDIR}/${P}-makeguids_fix_host_compile.patch"
-)
-
 src_prepare() {
default
sed -i -e 's/-Werror //' gcc.specs || die

diff --git a/sys-libs/efivar/files/efivar-37-makeguids_fix_host_compile.patch 
b/sys-libs/efivar/files/efivar-37-makeguids_fix_host_compile.patch
deleted file mode 100644
index f0172eb612e..000
--- a/sys-libs/efivar/files/efivar-37-makeguids_fix_host_compile.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 81346196bb262156fd436c78323d161af61dd6c1 Mon Sep 17 00:00:00 2001
-From: Dmitry Torokhov 
-Date: Tue, 6 Aug 2019 09:22:25 -0700
-Subject: [PATCH] Make sure makeguids helper is compiled for the host's arch
-
-Currently makeguids is compiled with the same flags/settings as the rest
-of the package, which does not work in case of cross-compiles when arch
-of the build host and the target host are different. Let's force
-compiling for the native host arch to avoid this issue.
-
-Note that this is not a full cross-compile solution as this does not
-account for potential differences in host/target compilers (versions,
-clang vs gcc, etc), but it removes one of the issue with package build
-aborting due to invalid instruction on the host.
-
-Signed-off-by: Dmitry Torokhov 

- src/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/Makefile b/src/Makefile
-index addfaa0..3729d2b 100644
 a/src/Makefile
-+++ b/src/Makefile
-@@ -52,7 +52,7 @@ include/efivar/efivar-guids.h : makeguids guids.txt
-   ./makeguids guids.txt guids.bin names.bin \
-   guid-symbols.c include/efivar/efivar-guids.h
- 
--makeguids : CPPFLAGS+=-DEFIVAR_BUILD_ENVIRONMENT
-+makeguids : CPPFLAGS+=-DEFIVAR_BUILD_ENVIRONMENT -march=native
- makeguids : LIBS=dl
- makeguids : $(MAKEGUIDS_SOURCES)
- makeguids : CCLD=$(CCLD_FOR_BUILD)
--- 
-2.23.0.866.gb869b98d4c-goog
-



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2019-12-11 Thread Mike Gilbert
commit: 0df41803a973e58626d292a7c0ebf1adce876aaa
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Dec 11 20:41:09 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Dec 11 20:41:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df41803

sys-libs/efivar: remove old

Package-Manager: Portage-2.3.80_p5, Repoman-2.3.19_p4
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/Manifest|  4 ---
 sys-libs/efivar/efivar-30.ebuild| 49 -
 sys-libs/efivar/efivar-31.ebuild| 37 
 sys-libs/efivar/efivar-32-r1.ebuild | 42 ---
 sys-libs/efivar/efivar-32.ebuild| 38 
 sys-libs/efivar/efivar-35.ebuild| 38 
 6 files changed, 208 deletions(-)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index c96ce8a448a..c8afcced10c 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,5 +1 @@
-DIST efivar-30.tar.bz2 73202 BLAKE2B 
6b146cb6d664e3419361e72ab6fd1578522e7fc219613ae21566cb40a700fe70f18750cc753338faca2ad078e2bc933fb33a3a4cdfb148eabb0fc71b1319fb71
 SHA512 
0a6d7175762011c3fc67b531d3d19a45e82195c729b9ff498be02b3a6a73f6c3c4f9e14a27470c6744b741d7d54db9ef24c7882639af25fca1034b7b9f641b39
-DIST efivar-31.tar.bz2 82404 BLAKE2B 
d339aa8ab7dcd6a60cb067fccfbc2c42407fba211ca96eb39f227d57e9403462505940f427651dfaffa8272c9edfe70898f181b9f6ecddbae4745eb3262de949
 SHA512 
5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163
-DIST efivar-32.tar.gz 108102 BLAKE2B 
7f9d27433b40ec6c044ab34ccc697001ad23e39a46862d2e04db0f9a3dfc26ae53b46a3c3a8c957bf76df0969710f78249f72f7bf38e67c0aa902034a07acf8f
 SHA512 
e73eae182fd645183dfe587591a286670ee1123a113e3e19e4070fb910ab7794e320defdc0597540df7664947f2a0497abbb763a19b4dfa40511a512c7f3e490
-DIST efivar-35.tar.bz2 95528 BLAKE2B 
c936114aade7a586f707af2464d350703234e0c3fb786fb568590737fb3939c3f74ff813f4f188aec230d75e75e73b0d07cbff5860f0b9f1285d2780b29c7689
 SHA512 
c7ba60b2112053f088ad0b74aaa834860601b7fe17118c35b012050176f5205d948fba9c4b6de35991249f702e3bc24832539e2eb3c235c4188e1eabc78965ee
 DIST efivar-37.tar.bz2 109431 BLAKE2B 
813d477d31562b773f6e19f20e9e237b94beed437ce221771770e7d46ff0e657530285f035dc942cc20609185be92dc50319bfe8e10dee642c8bd88403ef6ffe
 SHA512 
305a82ed103c7e3d8f723934019d552677c73558768dd5341f87d0364f5c60824d24f5a8e1bf90075e825908085083d4ecdccec5ac757fd38ee6ac8fea28c3e4

diff --git a/sys-libs/efivar/efivar-30.ebuild b/sys-libs/efivar/efivar-30.ebuild
deleted file mode 100644
index e45c9ae1e97..000
--- a/sys-libs/efivar/efivar-30.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Tools and library to manipulate EFI variables"
-HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0/1"
-KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3.18
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-   sed -i -e s/-Werror// gcc.specs || die
-}
-
-src_configure() {
-   tc-export CC
-
-   # https://github.com/rhinstaller/efivar/issues/64
-   append-cflags -flto
-
-   tc-ld-disable-gold
-   export libdir="/usr/$(get_libdir)"
-   unset LIBS # Bug 562004
-}
-
-src_compile() {
-   # Avoid building static binary/libs
-   opts=(
-   BINTARGETS=efivar
-   STATICLIBTARGETS=
-   )
-   emake "${opts[@]}"
-}
-
-src_install() {
-   emake "${opts[@]}" DESTDIR="${D}" install
-}

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
deleted file mode 100644
index 6eccd1d7ed3..000
--- a/sys-libs/efivar/efivar-31.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Tools and library to manipulate EFI variables"
-HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0/1"
-KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3.18
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-   sed -i -e s/-Werror// gcc.specs || die
-}
-
-src_configure() {
-   tc-export CC
-   tc-ld-disable-gold
-   export libdir="/usr/$(get_libdir)"
-   unset LIBS # Bug 562004
-
-   if [[ -n ${GCC_SPECS} ]]; then
-   # The environment overrides the command line.
-

[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/, sys-libs/efivar/

2019-12-11 Thread Mike Gilbert
commit: e380cf8427ba5f3c073491bdf88488c04beeff6b
Author: Dmitry Torokhov  chromium  org>
AuthorDate: Fri Oct 25 16:55:14 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Dec 11 20:41:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e380cf84

sys-libs/efivar: fix compiling makeguids on older hosts

This imports a fix for build failures when compiling on older hosts for
a newer microarchitectures.

Closes: https://bugs.gentoo.org/702584
Signed-off-by: Dmitry Torokhov  chromium.org>
Signed-off-by: Mike Gilbert  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/13435

 .../{efivar-37.ebuild => efivar-37-r1.ebuild}  |  4 +++
 .../efivar-37-makeguids_fix_host_compile.patch | 36 ++
 2 files changed, 40 insertions(+)

diff --git a/sys-libs/efivar/efivar-37.ebuild 
b/sys-libs/efivar/efivar-37-r1.ebuild
similarity index 92%
rename from sys-libs/efivar/efivar-37.ebuild
rename to sys-libs/efivar/efivar-37-r1.ebuild
index f9a608e46d2..878309f4b43 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37-r1.ebuild
@@ -19,6 +19,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
 "
 
+PATCHES=(
+   "${FILESDIR}/${P}-makeguids_fix_host_compile.patch"
+)
+
 src_prepare() {
default
sed -i -e 's/-Werror //' gcc.specs || die

diff --git a/sys-libs/efivar/files/efivar-37-makeguids_fix_host_compile.patch 
b/sys-libs/efivar/files/efivar-37-makeguids_fix_host_compile.patch
new file mode 100644
index 000..f0172eb612e
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-37-makeguids_fix_host_compile.patch
@@ -0,0 +1,36 @@
+From 81346196bb262156fd436c78323d161af61dd6c1 Mon Sep 17 00:00:00 2001
+From: Dmitry Torokhov 
+Date: Tue, 6 Aug 2019 09:22:25 -0700
+Subject: [PATCH] Make sure makeguids helper is compiled for the host's arch
+
+Currently makeguids is compiled with the same flags/settings as the rest
+of the package, which does not work in case of cross-compiles when arch
+of the build host and the target host are different. Let's force
+compiling for the native host arch to avoid this issue.
+
+Note that this is not a full cross-compile solution as this does not
+account for potential differences in host/target compilers (versions,
+clang vs gcc, etc), but it removes one of the issue with package build
+aborting due to invalid instruction on the host.
+
+Signed-off-by: Dmitry Torokhov 
+---
+ src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index addfaa0..3729d2b 100644
+--- a/src/Makefile
 b/src/Makefile
+@@ -52,7 +52,7 @@ include/efivar/efivar-guids.h : makeguids guids.txt
+   ./makeguids guids.txt guids.bin names.bin \
+   guid-symbols.c include/efivar/efivar-guids.h
+ 
+-makeguids : CPPFLAGS+=-DEFIVAR_BUILD_ENVIRONMENT
++makeguids : CPPFLAGS+=-DEFIVAR_BUILD_ENVIRONMENT -march=native
+ makeguids : LIBS=dl
+ makeguids : $(MAKEGUIDS_SOURCES)
+ makeguids : CCLD=$(CCLD_FOR_BUILD)
+-- 
+2.23.0.866.gb869b98d4c-goog
+



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2019-06-05 Thread Agostino Sarubbo
commit: 7697089a9555046f1679411bdc3bd627c3d24e21
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun  5 07:27:32 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun  5 07:27:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7697089a

sys-libs/efivar: ia64 stable wrt bug #673538

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ia64"

 sys-libs/efivar/efivar-37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index 237f2835e60..f9a608e46d2 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2019-01-14 Thread Mikle Kolyada
commit: 0977d0e5a6929572cf90fe790f00fe273d8c7fa2
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jan 14 14:31:31 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jan 14 14:31:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0977d0e5

sys-libs/efivar: amd64 stable wrt bug #673538

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-libs/efivar/efivar-37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index ca9c71b8bfe..237f2835e60 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2019-01-09 Thread Thomas Deutschmann
commit: 70bba72cb27a287f17eb75970e75333f32157962
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jan 10 01:58:18 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jan 10 01:58:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70bba72c

sys-libs/efivar: x86 stable (bug #673538)

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/efivar/efivar-37.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
index b050cddcf60..ca9c71b8bfe 100644
--- a/sys-libs/efivar/efivar-37.ebuild
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2019-01-08 Thread Matt Turner
commit: 73862d6470e6ee0e91c14dca53df9ce07c049eb7
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Jan  8 23:35:01 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Jan  8 23:37:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73862d64

sys-libs/efivar: Drop version 36

I wasted a ton of time today trying to make my computer boot, and the
culprit was a regression in efivar-36. Not happy that this broken
version was left in tree.

Bug: https://bugs.gentoo.org/667438
Signed-off-by: Matt Turner  gentoo.org>

 sys-libs/efivar/Manifest |  1 -
 sys-libs/efivar/efivar-36.ebuild | 38 --
 2 files changed, 39 deletions(-)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 4d8828ba93b..c96ce8a448a 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -2,5 +2,4 @@ DIST efivar-30.tar.bz2 73202 BLAKE2B 
6b146cb6d664e3419361e72ab6fd1578522e7fc2196
 DIST efivar-31.tar.bz2 82404 BLAKE2B 
d339aa8ab7dcd6a60cb067fccfbc2c42407fba211ca96eb39f227d57e9403462505940f427651dfaffa8272c9edfe70898f181b9f6ecddbae4745eb3262de949
 SHA512 
5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163
 DIST efivar-32.tar.gz 108102 BLAKE2B 
7f9d27433b40ec6c044ab34ccc697001ad23e39a46862d2e04db0f9a3dfc26ae53b46a3c3a8c957bf76df0969710f78249f72f7bf38e67c0aa902034a07acf8f
 SHA512 
e73eae182fd645183dfe587591a286670ee1123a113e3e19e4070fb910ab7794e320defdc0597540df7664947f2a0497abbb763a19b4dfa40511a512c7f3e490
 DIST efivar-35.tar.bz2 95528 BLAKE2B 
c936114aade7a586f707af2464d350703234e0c3fb786fb568590737fb3939c3f74ff813f4f188aec230d75e75e73b0d07cbff5860f0b9f1285d2780b29c7689
 SHA512 
c7ba60b2112053f088ad0b74aaa834860601b7fe17118c35b012050176f5205d948fba9c4b6de35991249f702e3bc24832539e2eb3c235c4188e1eabc78965ee
-DIST efivar-36.tar.bz2 105928 BLAKE2B 
bcaff4e81d7591e3655d3e2b150c6f7006335b6dd1981bcd7b5a658e93adee4f7fa6d0dd6ce5b9854b5b409e2a4b7db692d4d670670dc34660035c840a18682d
 SHA512 
951feabe2d238826fdd6e74e8f7a24f04d705f9ef925cfcfb852944d2d7a4f04e3a6c23f276c40e5564da42614558941dbe7aaf21efa6a722a616e4d165aba2d
 DIST efivar-37.tar.bz2 109431 BLAKE2B 
813d477d31562b773f6e19f20e9e237b94beed437ce221771770e7d46ff0e657530285f035dc942cc20609185be92dc50319bfe8e10dee642c8bd88403ef6ffe
 SHA512 
305a82ed103c7e3d8f723934019d552677c73558768dd5341f87d0364f5c60824d24f5a8e1bf90075e825908085083d4ecdccec5ac757fd38ee6ac8fea28c3e4

diff --git a/sys-libs/efivar/efivar-36.ebuild b/sys-libs/efivar/efivar-36.ebuild
deleted file mode 100644
index b050cddcf60..000
--- a/sys-libs/efivar/efivar-36.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Tools and library to manipulate EFI variables"
-HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3.18
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-   sed -i -e 's/-Werror //' gcc.specs || die
-}
-
-src_configure() {
-   tc-export CC
-   export CC_FOR_BUILD=$(tc-getBUILD_CC)
-   tc-ld-disable-gold
-   export libdir="/usr/$(get_libdir)"
-   unset LIBS # Bug 562004
-
-   if [[ -n ${GCC_SPECS} ]]; then
-   # The environment overrides the command line.
-   GCC_SPECS+=":${S}/gcc.specs"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2018-12-07 Thread Mike Gilbert
commit: 52957442e59779b113bf3327a61e1c37b8a074c0
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Dec  7 17:14:06 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Dec  7 17:14:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52957442

sys-libs/efivar: bump to 37

Closes: https://bugs.gentoo.org/667438
Closes: https://bugs.gentoo.org/672708
Package-Manager: Portage-2.3.52_p8, Repoman-2.3.12_p20
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/efivar/Manifest |  1 +
 sys-libs/efivar/efivar-37.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index fe4dfe33921..4d8828ba93b 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -3,3 +3,4 @@ DIST efivar-31.tar.bz2 82404 BLAKE2B 
d339aa8ab7dcd6a60cb067fccfbc2c42407fba211ca
 DIST efivar-32.tar.gz 108102 BLAKE2B 
7f9d27433b40ec6c044ab34ccc697001ad23e39a46862d2e04db0f9a3dfc26ae53b46a3c3a8c957bf76df0969710f78249f72f7bf38e67c0aa902034a07acf8f
 SHA512 
e73eae182fd645183dfe587591a286670ee1123a113e3e19e4070fb910ab7794e320defdc0597540df7664947f2a0497abbb763a19b4dfa40511a512c7f3e490
 DIST efivar-35.tar.bz2 95528 BLAKE2B 
c936114aade7a586f707af2464d350703234e0c3fb786fb568590737fb3939c3f74ff813f4f188aec230d75e75e73b0d07cbff5860f0b9f1285d2780b29c7689
 SHA512 
c7ba60b2112053f088ad0b74aaa834860601b7fe17118c35b012050176f5205d948fba9c4b6de35991249f702e3bc24832539e2eb3c235c4188e1eabc78965ee
 DIST efivar-36.tar.bz2 105928 BLAKE2B 
bcaff4e81d7591e3655d3e2b150c6f7006335b6dd1981bcd7b5a658e93adee4f7fa6d0dd6ce5b9854b5b409e2a4b7db692d4d670670dc34660035c840a18682d
 SHA512 
951feabe2d238826fdd6e74e8f7a24f04d705f9ef925cfcfb852944d2d7a4f04e3a6c23f276c40e5564da42614558941dbe7aaf21efa6a722a616e4d165aba2d
+DIST efivar-37.tar.bz2 109431 BLAKE2B 
813d477d31562b773f6e19f20e9e237b94beed437ce221771770e7d46ff0e657530285f035dc942cc20609185be92dc50319bfe8e10dee642c8bd88403ef6ffe
 SHA512 
305a82ed103c7e3d8f723934019d552677c73558768dd5341f87d0364f5c60824d24f5a8e1bf90075e825908085083d4ecdccec5ac757fd38ee6ac8fea28c3e4

diff --git a/sys-libs/efivar/efivar-37.ebuild b/sys-libs/efivar/efivar-37.ebuild
new file mode 100644
index 000..b050cddcf60
--- /dev/null
+++ b/sys-libs/efivar/efivar-37.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+   sed -i -e 's/-Werror //' gcc.specs || die
+}
+
+src_configure() {
+   tc-export CC
+   export CC_FOR_BUILD=$(tc-getBUILD_CC)
+   tc-ld-disable-gold
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+
+   if [[ -n ${GCC_SPECS} ]]; then
+   # The environment overrides the command line.
+   GCC_SPECS+=":${S}/gcc.specs"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2018-11-18 Thread Mikle Kolyada
commit: cb3e41652b6513f1dca0e522aa462c7209320581
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Nov 18 11:26:11 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Nov 18 11:27:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb3e4165

sys-libs/efivar: Add ~arm keyword wrt bug #548942

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-libs/efivar/efivar-30.ebuild| 4 ++--
 sys-libs/efivar/efivar-31.ebuild| 4 ++--
 sys-libs/efivar/efivar-32-r1.ebuild | 4 ++--
 sys-libs/efivar/efivar-32.ebuild| 4 ++--
 sys-libs/efivar/efivar-35.ebuild| 4 ++--
 sys-libs/efivar/efivar-36.ebuild| 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/sys-libs/efivar/efivar-30.ebuild b/sys-libs/efivar/efivar-30.ebuild
index b50a9b12bb8..e45c9ae1e97 100644
--- a/sys-libs/efivar/efivar-30.ebuild
+++ b/sys-libs/efivar/efivar-30.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
index 422efb851d2..6eccd1d7ed3 100644
--- a/sys-libs/efivar/efivar-31.ebuild
+++ b/sys-libs/efivar/efivar-31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm64 ia64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}

diff --git a/sys-libs/efivar/efivar-32-r1.ebuild 
b/sys-libs/efivar/efivar-32-r1.ebuild
index 2ae5a0644a8..b9a3ef43942 100644
--- a/sys-libs/efivar/efivar-32-r1.ebuild
+++ b/sys-libs/efivar/efivar-32-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}

diff --git a/sys-libs/efivar/efivar-32.ebuild b/sys-libs/efivar/efivar-32.ebuild
index 43993d90bc5..bec7c857931 100644
--- a/sys-libs/efivar/efivar-32.ebuild
+++ b/sys-libs/efivar/efivar-32.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}

diff --git a/sys-libs/efivar/efivar-35.ebuild b/sys-libs/efivar/efivar-35.ebuild
index 93339047a52..b050cddcf60 100644
--- a/sys-libs/efivar/efivar-35.ebuild
+++ b/sys-libs/efivar/efivar-35.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}

diff --git a/sys-libs/efivar/efivar-36.ebuild b/sys-libs/efivar/efivar-36.ebuild
index 93339047a52..b050cddcf60 100644
--- a/sys-libs/efivar/efivar-36.ebuild
+++ b/sys-libs/efivar/efivar-36.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2018-09-10 Thread Robin H. Johnson
commit: e4b90363a83dc31ca7e5afdf425b25328e9c89a5
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Sep 10 21:18:58 2018 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon Sep 10 21:42:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b90363

sys-libs/efivar: bump per fwupd testing

Signed-off-by: Robin H. Johnson  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-libs/efivar/Manifest |  1 +
 sys-libs/efivar/efivar-36.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 5f36bb00970..fe4dfe33921 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -2,3 +2,4 @@ DIST efivar-30.tar.bz2 73202 BLAKE2B 
6b146cb6d664e3419361e72ab6fd1578522e7fc2196
 DIST efivar-31.tar.bz2 82404 BLAKE2B 
d339aa8ab7dcd6a60cb067fccfbc2c42407fba211ca96eb39f227d57e9403462505940f427651dfaffa8272c9edfe70898f181b9f6ecddbae4745eb3262de949
 SHA512 
5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163
 DIST efivar-32.tar.gz 108102 BLAKE2B 
7f9d27433b40ec6c044ab34ccc697001ad23e39a46862d2e04db0f9a3dfc26ae53b46a3c3a8c957bf76df0969710f78249f72f7bf38e67c0aa902034a07acf8f
 SHA512 
e73eae182fd645183dfe587591a286670ee1123a113e3e19e4070fb910ab7794e320defdc0597540df7664947f2a0497abbb763a19b4dfa40511a512c7f3e490
 DIST efivar-35.tar.bz2 95528 BLAKE2B 
c936114aade7a586f707af2464d350703234e0c3fb786fb568590737fb3939c3f74ff813f4f188aec230d75e75e73b0d07cbff5860f0b9f1285d2780b29c7689
 SHA512 
c7ba60b2112053f088ad0b74aaa834860601b7fe17118c35b012050176f5205d948fba9c4b6de35991249f702e3bc24832539e2eb3c235c4188e1eabc78965ee
+DIST efivar-36.tar.bz2 105928 BLAKE2B 
bcaff4e81d7591e3655d3e2b150c6f7006335b6dd1981bcd7b5a658e93adee4f7fa6d0dd6ce5b9854b5b409e2a4b7db692d4d670670dc34660035c840a18682d
 SHA512 
951feabe2d238826fdd6e74e8f7a24f04d705f9ef925cfcfb852944d2d7a4f04e3a6c23f276c40e5564da42614558941dbe7aaf21efa6a722a616e4d165aba2d

diff --git a/sys-libs/efivar/efivar-36.ebuild b/sys-libs/efivar/efivar-36.ebuild
new file mode 100644
index 000..93339047a52
--- /dev/null
+++ b/sys-libs/efivar/efivar-36.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+   sed -i -e 's/-Werror //' gcc.specs || die
+}
+
+src_configure() {
+   tc-export CC
+   export CC_FOR_BUILD=$(tc-getBUILD_CC)
+   tc-ld-disable-gold
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+
+   if [[ -n ${GCC_SPECS} ]]; then
+   # The environment overrides the command line.
+   GCC_SPECS+=":${S}/gcc.specs"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2018-04-10 Thread Mike Gilbert
commit: 32c4aef1051c5ffc1916af42d0d836106d180c8c
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Apr 10 12:55:29 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Apr 10 12:55:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c4aef1

sys-libs/efivar: bump to 35

Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81

 sys-libs/efivar/Manifest |  1 +
 sys-libs/efivar/efivar-35.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 610b2f2de67..5f36bb00970 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,3 +1,4 @@
 DIST efivar-30.tar.bz2 73202 BLAKE2B 
6b146cb6d664e3419361e72ab6fd1578522e7fc219613ae21566cb40a700fe70f18750cc753338faca2ad078e2bc933fb33a3a4cdfb148eabb0fc71b1319fb71
 SHA512 
0a6d7175762011c3fc67b531d3d19a45e82195c729b9ff498be02b3a6a73f6c3c4f9e14a27470c6744b741d7d54db9ef24c7882639af25fca1034b7b9f641b39
 DIST efivar-31.tar.bz2 82404 BLAKE2B 
d339aa8ab7dcd6a60cb067fccfbc2c42407fba211ca96eb39f227d57e9403462505940f427651dfaffa8272c9edfe70898f181b9f6ecddbae4745eb3262de949
 SHA512 
5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163
 DIST efivar-32.tar.gz 108102 BLAKE2B 
7f9d27433b40ec6c044ab34ccc697001ad23e39a46862d2e04db0f9a3dfc26ae53b46a3c3a8c957bf76df0969710f78249f72f7bf38e67c0aa902034a07acf8f
 SHA512 
e73eae182fd645183dfe587591a286670ee1123a113e3e19e4070fb910ab7794e320defdc0597540df7664947f2a0497abbb763a19b4dfa40511a512c7f3e490
+DIST efivar-35.tar.bz2 95528 BLAKE2B 
c936114aade7a586f707af2464d350703234e0c3fb786fb568590737fb3939c3f74ff813f4f188aec230d75e75e73b0d07cbff5860f0b9f1285d2780b29c7689
 SHA512 
c7ba60b2112053f088ad0b74aaa834860601b7fe17118c35b012050176f5205d948fba9c4b6de35991249f702e3bc24832539e2eb3c235c4188e1eabc78965ee

diff --git a/sys-libs/efivar/efivar-35.ebuild b/sys-libs/efivar/efivar-35.ebuild
new file mode 100644
index 000..93339047a52
--- /dev/null
+++ b/sys-libs/efivar/efivar-35.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+   sed -i -e 's/-Werror //' gcc.specs || die
+}
+
+src_configure() {
+   tc-export CC
+   export CC_FOR_BUILD=$(tc-getBUILD_CC)
+   tc-ld-disable-gold
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+
+   if [[ -n ${GCC_SPECS} ]]; then
+   # The environment overrides the command line.
+   GCC_SPECS+=":${S}/gcc.specs"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2018-02-10 Thread Sergei Trofimovich
commit: 877894675b0dd3c08168766276e0ba6148c28ce2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb 10 13:38:32 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb 10 13:38:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87789467

sys-libs/efivar: stable 31 for ia64, bug #638170

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 sys-libs/efivar/efivar-31.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
index 342d887e1b4..422efb851d2 100644
--- a/sys-libs/efivar/efivar-31.ebuild
+++ b/sys-libs/efivar/efivar-31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm64 ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/, sys-libs/efivar/files/

2018-01-25 Thread Lars Wendler
commit: babb2eb03e85ad5272d62f9e976cf901b3d06343
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan 25 13:42:30 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan 25 13:45:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=babb2eb0

sys-libs/efivar: Revbump to fix efi_guid_ux_capsule

with a patch from upstream. This required for sys-apps/fwupdate-10
Permissin kindly granted by floppym.

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 sys-libs/efivar/efivar-32-r1.ebuild| 42 +++
 .../files/efivar-32-efi_guid_ux_capsule.patch  | 59 ++
 2 files changed, 101 insertions(+)

diff --git a/sys-libs/efivar/efivar-32-r1.ebuild 
b/sys-libs/efivar/efivar-32-r1.ebuild
new file mode 100644
index 000..2ae5a0644a8
--- /dev/null
+++ b/sys-libs/efivar/efivar-32-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+#SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
+SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-efi_guid_ux_capsule.patch"
+)
+
+src_prepare() {
+   default
+   sed -i -e s/-Werror// gcc.specs || die
+}
+
+src_configure() {
+   tc-export CC
+   tc-ld-disable-gold
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+
+   if [[ -n ${GCC_SPECS} ]]; then
+   # The environment overrides the command line.
+   GCC_SPECS+=":${S}/gcc.specs"
+   fi
+}

diff --git a/sys-libs/efivar/files/efivar-32-efi_guid_ux_capsule.patch 
b/sys-libs/efivar/files/efivar-32-efi_guid_ux_capsule.patch
new file mode 100644
index 000..8a5a72f66fb
--- /dev/null
+++ b/sys-libs/efivar/files/efivar-32-efi_guid_ux_capsule.patch
@@ -0,0 +1,59 @@
+From cd732494ba7685feaf71b9ee58619ca6aef39fc9 Mon Sep 17 00:00:00 2001
+From: Peter Jones 
+Date: Tue, 12 Sep 2017 10:45:31 -0400
+Subject: [PATCH] Make efi_guid_ux_capsule actually work.
+
+Signed-off-by: Peter Jones 
+---
+ src/abignore | 11 ++-
+ src/guids.txt|  2 +-
+ src/libefivar.map.in |  4 
+ 3 files changed, 15 insertions(+), 2 deletions(-)
+
+diff --git a/src/abignore b/src/abignore
+index 74b5160..479b5c3 100644
+--- a/src/abignore
 b/src/abignore
+@@ -14,7 +14,16 @@
+ #   'efidp_wifi __anonymous_union__::wifi' at efivar-dp.h:868:1
+ #
+ [suppress_type]
+-  soname_regexp = libefi(var|boot)\\.so
++  soname_regexp = libefi(var|boot)\\.so\\..*
+   name = efidp_data
+   type_kind = typedef
+   has_data_member_inserted_at = end
++
++# 1 Added variable:
++#
++#  'const __anonymous_struct__ efi_guid_ux_capsule'
{efi_guid_ux_capsule@@LIBEFIVAR_1.32}
++#
++[suppress_variable]
++  soname_regexp = ^libefivar\\.so\\.[[:digit:]]+
++  symbol_name_regexp = ^efi_guid_[[:alnum:]_]+$
++  change_kind = add-variable
+diff --git a/src/guids.txt b/src/guids.txt
+index 87e2f61..06081ed 100644
+--- a/src/guids.txt
 b/src/guids.txt
+@@ -3,7 +3,7 @@
+ 0abba7dc-e516-4167-bbf5-4d9d1c739416  redhat  Red Hat
+ 0b6e5233-a65c-44c9-9407-d9ab83bfc8bd  sha224  SHA-224
+ 126a762d-5758-4fca-8531-201a7f57f850  lenovo_boot_menuLenovo Boot Menu
+-3b8c8162-188c-46a4-aec9-be43f1d65697  ux_capsule_guid Firmware update 
localized text image
++3b8c8162-188c-46a4-aec9-be43f1d65697  ux_capsule  Firmware update 
localized text image
+ 3bd2a492-96c0-4079-b420-fcf98ef103ed  x509_sha256 SHA256 hash of X.509 
Certificate
+ 3c5766e8-269c-4e34-aa14-ed776e85b3b6  rsa2048 RSA 2048
+ 3CC24E96-22C7-41D8-8863-8E39DCDCC2CF  lenovo  Lenovo
+diff --git a/src/libefivar.map.in b/src/libefivar.map.in
+index ba51d55..a95a505 100644
+--- a/src/libefivar.map.in
 b/src/libefivar.map.in
+@@ -110,3 +110,7 @@ LIBEFIVAR_1.30 {
+   efi_error_get;
+   efi_error_clear;
+ } LIBEFIVAR_1.29;
++
++LIBEFIVAR_1.32 {
++  global: efi_guid_ux_capsule;
++} LIBEFIVAR_1.30;



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2018-01-24 Thread Mike Gilbert
commit: 6b5a9babb79e46c7de715cb5fa3be499836525b1
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Jan 24 16:15:48 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Jan 24 16:18:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b5a9bab

sys-libs/efivar: bump to 32

Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45

 sys-libs/efivar/Manifest |  1 +
 sys-libs/efivar/efivar-32.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 213be2ace80..610b2f2de67 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,2 +1,3 @@
 DIST efivar-30.tar.bz2 73202 BLAKE2B 
6b146cb6d664e3419361e72ab6fd1578522e7fc219613ae21566cb40a700fe70f18750cc753338faca2ad078e2bc933fb33a3a4cdfb148eabb0fc71b1319fb71
 SHA512 
0a6d7175762011c3fc67b531d3d19a45e82195c729b9ff498be02b3a6a73f6c3c4f9e14a27470c6744b741d7d54db9ef24c7882639af25fca1034b7b9f641b39
 DIST efivar-31.tar.bz2 82404 BLAKE2B 
d339aa8ab7dcd6a60cb067fccfbc2c42407fba211ca96eb39f227d57e9403462505940f427651dfaffa8272c9edfe70898f181b9f6ecddbae4745eb3262de949
 SHA512 
5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163
+DIST efivar-32.tar.gz 108102 BLAKE2B 
7f9d27433b40ec6c044ab34ccc697001ad23e39a46862d2e04db0f9a3dfc26ae53b46a3c3a8c957bf76df0969710f78249f72f7bf38e67c0aa902034a07acf8f
 SHA512 
e73eae182fd645183dfe587591a286670ee1123a113e3e19e4070fb910ab7794e320defdc0597540df7664947f2a0497abbb763a19b4dfa40511a512c7f3e490

diff --git a/sys-libs/efivar/efivar-32.ebuild b/sys-libs/efivar/efivar-32.ebuild
new file mode 100644
index 000..43993d90bc5
--- /dev/null
+++ b/sys-libs/efivar/efivar-32.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+#SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
+SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+   sed -i -e s/-Werror// gcc.specs || die
+}
+
+src_configure() {
+   tc-export CC
+   tc-ld-disable-gold
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+
+   if [[ -n ${GCC_SPECS} ]]; then
+   # The environment overrides the command line.
+   GCC_SPECS+=":${S}/gcc.specs"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-11-20 Thread Manuel Rüger
commit: 228bc170c3db18a8521c5957d64017e3febe25c8
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Nov 20 12:54:08 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Nov 20 12:54:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228bc170

sys-libs/efivar: Stable on amd64

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 sys-libs/efivar/efivar-31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
index ba285400bf4..342d887e1b4 100644
--- a/sys-libs/efivar/efivar-31.ebuild
+++ b/sys-libs/efivar/efivar-31.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm64 ~ia64 x86"
+KEYWORDS="amd64 ~arm64 ~ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-11-19 Thread Thomas Deutschmann
commit: 8bdfbae531e5020bbb0ace98f79100b3fb6a3ef0
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Nov 19 19:56:43 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Nov 19 19:56:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bdfbae5

sys-libs/efivar: x86 stable (bug #638170)

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-libs/efivar/efivar-31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
index 0700f0bd293..ba285400bf4 100644
--- a/sys-libs/efivar/efivar-31.ebuild
+++ b/sys-libs/efivar/efivar-31.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/

2017-08-13 Thread David Seifert
commit: 74633a6d0730cba43f297781969c38aef3b29369
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Fri Aug 11 14:48:56 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 13 11:28:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74633a6d

sys-libs/efivar: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/5390

 sys-libs/efivar/files/0.21-initializer.patch  | 42 ---
 sys-libs/efivar/files/0.21-nvme_ioctl.h.patch | 30 ---
 sys-libs/efivar/files/0.23-sysmacros.patch| 29 --
 3 files changed, 101 deletions(-)

diff --git a/sys-libs/efivar/files/0.21-initializer.patch 
b/sys-libs/efivar/files/0.21-initializer.patch
deleted file mode 100644
index 25d06596831..000
--- a/sys-libs/efivar/files/0.21-initializer.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From a3606c02fd271d32e364fcc540e34ba1899309f6 Mon Sep 17 00:00:00 2001
-From: Peter Jones 
-Date: Tue, 14 Jul 2015 09:33:54 -0400
-Subject: [PATCH] Sometimes the compiler doesn't like { 0, } as an
- initializer...
-
-Because it really wants to be { {0, },} or something, and sometimes the
-compiler, knowing full well what we're trying to do, likes to complain
-about the rigor applied to our technique in doing it.
-
-memset() the struct ifreq to 0 instead so I don't need to figure out its
-internal structure just to zero it out.
-
-Resolves #28
-
-Signed-off-by: Peter Jones 

- src/linux.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/linux.c b/src/linux.c
-index 57f71f3..817b8e6 100644
 a/src/linux.c
-+++ b/src/linux.c
-@@ -847,12 +847,13 @@ ssize_t
- __attribute__((__visibility__ ("hidden")))
- make_mac_path(uint8_t *buf, ssize_t size, const char * const ifname)
- {
--  struct ifreq ifr = { 0, };
-+  struct ifreq ifr;
-   struct ethtool_drvinfo drvinfo = { 0, };
-   int fd, rc;
-   ssize_t ret = -1, sz, off=0;
-   char busname[PATH_MAX+1] = "";
- 
-+  memset(, 0, sizeof (ifr));
-   strncpy(ifr.ifr_name, ifname, IF_NAMESIZE);
-   drvinfo.cmd = ETHTOOL_GDRVINFO;
-   ifr.ifr_data = (caddr_t)
--- 
-2.4.6
-

diff --git a/sys-libs/efivar/files/0.21-nvme_ioctl.h.patch 
b/sys-libs/efivar/files/0.21-nvme_ioctl.h.patch
deleted file mode 100644
index 221ec5a7314..000
--- a/sys-libs/efivar/files/0.21-nvme_ioctl.h.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From ae0869b71a90bc14e67f3c917bd9c96db25c99a6 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert 
-Date: Thu, 14 Jan 2016 17:02:31 -0500
-Subject: [PATCH] Workaround rename of linux/nvme.h
-
-Bug: https://bugs.gentoo.org/571548

- src/linux.c | 5 +
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/linux.c b/src/linux.c
-index 5ebc151..e551377 100644
 a/src/linux.c
-+++ b/src/linux.c
-@@ -22,7 +22,12 @@
- #include 
- #include 
- #include 
-+#include 
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)
-+#include 
-+#else
- #include 
-+#endif
- #include 
- #include 
- #include 
--- 
-2.7.0
-

diff --git a/sys-libs/efivar/files/0.23-sysmacros.patch 
b/sys-libs/efivar/files/0.23-sysmacros.patch
deleted file mode 100644
index 526b8436c2d..000
--- a/sys-libs/efivar/files/0.23-sysmacros.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 554b0255f9ee265f7d093ac875215207fac8fb1e Mon Sep 17 00:00:00 2001
-From: Mike Gilbert 
-Date: Fri, 15 Apr 2016 17:58:15 -0400
-Subject: [PATCH] Include sys/sysmacros.h when sys/types.h does not define
- major
-
-glibc is planning to drop this from sys/types.h.

- src/linux.c | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/linux.c b/src/linux.c
-index 866455d..fde6947 100644
 a/src/linux.c
-+++ b/src/linux.c
-@@ -36,6 +36,10 @@
- #include 
- #include 
- 
-+#ifndef major
-+#include 
-+#endif
-+
- #include 
- #include 
- 
--- 
-2.8.1
-



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-03-25 Thread Mike Gilbert
commit: 7f023850d08c6339db5abb516c08244d78eb5de5
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Mar 25 22:55:42 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Mar 25 22:55:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f023850

sys-libs/efivar: use bzip2 tarballs

Package-Manager: Portage-2.3.5_p2, Repoman-2.3.2_p32

 sys-libs/efivar/Manifest | 4 ++--
 sys-libs/efivar/efivar-30.ebuild | 2 +-
 sys-libs/efivar/efivar-31.ebuild | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 330d4c9d987..9abd328c202 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,2 +1,2 @@
-DIST efivar-30.tar.gz 86395 SHA256 
20709c76311f8eb8be92977b7ac008ce62501fa9f7fe885a784321540fc352f9 SHA512 
ab73c2a49175e01cb4872bfb47708a71399c6f8237a02fbbbf4755fcd10efb82984baf76a83c3b3e7f5cf4183050e535cf18dff2bbfed10d9a0f5d4cf2021b32
 WHIRLPOOL 
d0a7fe13e4359ddafb717b666b81fdecf786f8cc3a794e47a46d80064cd402780feeab5f501f9b0796d3a847b58611b7581341e0e9cb4449d86e75e6903591eb
-DIST efivar-31.tar.gz 88545 SHA256 
b825680dc8b2165cd71131277f5a9cd632f9e43a84a33756543b24e7a251b9e0 SHA512 
d8d1c7521f3013b85ea3868dd3a2f1faa77499a43b2e5e16599b154726e079019ed6434c30ae486bb616c6cdeeabf145a049f28d090964777e3fcd299878dcd7
 WHIRLPOOL 
db8e9cade2ccbeb591c7d74452602fea3a630396a770f87c0cfa25ff9c96e998919671dc49b487a3577f0509810324eac4fc9071b905345604e2db658f3e3f43
+DIST efivar-30.tar.bz2 73202 SHA256 
1f5720a9434ddb29a5cb8213e4e3973e212d90eff95dd9b173a5444f48b5128b SHA512 
0a6d7175762011c3fc67b531d3d19a45e82195c729b9ff498be02b3a6a73f6c3c4f9e14a27470c6744b741d7d54db9ef24c7882639af25fca1034b7b9f641b39
 WHIRLPOOL 
66e3aa3243a34d9a0305e12caa58a187434a61777cc87c3c0ded403c9aa0383da9b8c56bdb974246c6d43602fbb569f5294bc5e1bb1e07e282714ffb0d84507e
+DIST efivar-31.tar.bz2 82404 SHA256 
d891958a5a762a43371987c46ca112ba506a26312d4969e6871d77acb5ea787e SHA512 
5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163
 WHIRLPOOL 
2ee42eeb8121dc83fc14cf4f3130ff913e54a8efb992a13e672ddbab571a4440f02f8545a3ea4aefbafe90d387e26e8159d0e6f9c4c7b323f4569f4cc78c

diff --git a/sys-libs/efivar/efivar-30.ebuild b/sys-libs/efivar/efivar-30.ebuild
index ae1df2ce29a..b50a9b12bb8 100644
--- a/sys-libs/efivar/efivar-30.ebuild
+++ b/sys-libs/efivar/efivar-30.ebuild
@@ -7,7 +7,7 @@ inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Tools and library to manipulate EFI variables"
 HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0/1"

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
index 89e0b8ee21b..0700f0bd293 100644
--- a/sys-libs/efivar/efivar-31.ebuild
+++ b/sys-libs/efivar/efivar-31.ebuild
@@ -7,7 +7,7 @@ inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Tools and library to manipulate EFI variables"
 HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/rhinstaller/efivar/releases/download/${PV}/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0/1"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-03-25 Thread Mike Gilbert
commit: 0106c058b984a0868ec01d7f74044145c56814e2
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Mar 25 22:36:02 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Mar 25 22:37:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0106c058

sys-libs/efivar: depend on pkgconfig

Bug: https://bugs.gentoo.org/613792
Package-Manager: Portage-2.3.5_p2, Repoman-2.3.2_p32

 sys-libs/efivar/efivar-30.ebuild | 4 +++-
 sys-libs/efivar/efivar-31.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-libs/efivar/efivar-30.ebuild b/sys-libs/efivar/efivar-30.ebuild
index d1995565bf5..ae1df2ce29a 100644
--- a/sys-libs/efivar/efivar-30.ebuild
+++ b/sys-libs/efivar/efivar-30.ebuild
@@ -15,7 +15,9 @@ KEYWORDS="amd64 ~arm64 ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3.18"
+   >=sys-kernel/linux-headers-3.18
+   virtual/pkgconfig
+"
 
 src_prepare() {
default

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
index 75971623ede..89e0b8ee21b 100644
--- a/sys-libs/efivar/efivar-31.ebuild
+++ b/sys-libs/efivar/efivar-31.ebuild
@@ -15,7 +15,9 @@ KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3.18"
+   >=sys-kernel/linux-headers-3.18
+   virtual/pkgconfig
+"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-03-25 Thread Mike Gilbert
commit: fe6e33ef88519a807a39af245b786869fc901610
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Mar 25 22:36:40 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Mar 25 22:37:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe6e33ef

sys-libs/efivar: remove old

Package-Manager: Portage-2.3.5_p2, Repoman-2.3.2_p32

 sys-libs/efivar/Manifest   |  3 ---
 sys-libs/efivar/efivar-0.21.ebuild | 30 --
 sys-libs/efivar/efivar-0.23.ebuild | 44 --
 sys-libs/efivar/efivar-27.ebuild   | 43 -
 4 files changed, 120 deletions(-)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index f38056d75fd..330d4c9d987 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,5 +1,2 @@
-DIST efivar-0.21.tar.bz2 66677 SHA256 
04b9b9de9d9a1a013395400438a033daf4a4290f497ec5be04a120e2ac535094 SHA512 
851b5e29c2dab213bb81c6ea5c5c211d36fb6846de8aa1086b0657f06917c2f93bf154aa3a4c2dda22103bdf1d67ca877f9771dc3f979c9311ca24e0bc09492a
 WHIRLPOOL 
d6cdb2e2f047a22677d046581490ee4e64a2ac0631be8e41bf6250241b2554f62ddf81226fa3970ee80ebb9ec62665ca21f4fec94cc5ebe05414b0c674ad38dd
-DIST efivar-0.23.tar.bz2 67558 SHA256 
9ca81f56b0c9177b6536c8187c9cf5974723abcaf57cd34173500c80bff3caa4 SHA512 
ff95c735425708cef0f85f1e9f8909e64651d10c303927d9e77d44fcb0a02ec90e4a364b0315cc3f5e30d77059ed2d8f43cc1efbed2db09a695ef7a6f1bb58f4
 WHIRLPOOL 
35207e4040041c03d105bbf7b2f7f103f1415dbc51dce9614ddba99786b6cacdf88136ab3a888551cf494c3d55685c7991c72fac1c6223255128c7c191e0318c
-DIST efivar-27.tar.gz 86132 SHA256 
d9457b06f234c9430aeaa6f30f7d7c786fb8ce3261a935afa8de51e2c1b4816d SHA512 
354934c166b37f78a11497a4819075b13d44bf43587dc52d0a9773d77df52df2d2b553e5ff799911ab506441d0ea82825f6d1b019932e0bcfbacdd69a241bc9e
 WHIRLPOOL 
5eaeaa7790112beb5aa03e98ac7d380b1bf9f3fdef10ca7ffda73ee68b1a4cb1a410d0060dca1caef3734fc80d6778a90eccc80719904d5d7f9285db7ab0
 DIST efivar-30.tar.gz 86395 SHA256 
20709c76311f8eb8be92977b7ac008ce62501fa9f7fe885a784321540fc352f9 SHA512 
ab73c2a49175e01cb4872bfb47708a71399c6f8237a02fbbbf4755fcd10efb82984baf76a83c3b3e7f5cf4183050e535cf18dff2bbfed10d9a0f5d4cf2021b32
 WHIRLPOOL 
d0a7fe13e4359ddafb717b666b81fdecf786f8cc3a794e47a46d80064cd402780feeab5f501f9b0796d3a847b58611b7581341e0e9cb4449d86e75e6903591eb
 DIST efivar-31.tar.gz 88545 SHA256 
b825680dc8b2165cd71131277f5a9cd632f9e43a84a33756543b24e7a251b9e0 SHA512 
d8d1c7521f3013b85ea3868dd3a2f1faa77499a43b2e5e16599b154726e079019ed6434c30ae486bb616c6cdeeabf145a049f28d090964777e3fcd299878dcd7
 WHIRLPOOL 
db8e9cade2ccbeb591c7d74452602fea3a630396a770f87c0cfa25ff9c96e998919671dc49b487a3577f0509810324eac4fc9071b905345604e2db658f3e3f43

diff --git a/sys-libs/efivar/efivar-0.21.ebuild 
b/sys-libs/efivar/efivar-0.21.ebuild
deleted file mode 100644
index 2e1e5222000..000
--- a/sys-libs/efivar/efivar-0.21.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Tools and library to manipulate EFI variables"
-HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/${PN}/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ia64 x86"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3.18"
-
-src_prepare() {
-   epatch "${FILESDIR}/0.21-initializer.patch"
-   epatch "${FILESDIR}/0.21-nvme_ioctl.h.patch"
-   epatch_user
-}
-
-src_configure() {
-   tc-export CC
-   export libdir="/usr/$(get_libdir)"
-   unset LIBS # Bug 562004
-}

diff --git a/sys-libs/efivar/efivar-0.23.ebuild 
b/sys-libs/efivar/efivar-0.23.ebuild
deleted file mode 100644
index d3338e99d6e..000
--- a/sys-libs/efivar/efivar-0.23.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Tools and library to manipulate EFI variables"
-HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/${PN}/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~x86"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-3.18"
-
-src_prepare() {
-   epatch "${FILESDIR}/0.21-nvme_ioctl.h.patch"
-   epatch "${FILESDIR}/0.23-sysmacros.patch"
-   epatch_user
-}
-
-src_configure() {
-   tc-export CC
-   tc-ld-disable-gold
-   export libdir="/usr/$(get_libdir)"
-   unset LIBS # Bug 562004
-}
-
-src_compile() {
-   # Avoid building static binary/libs
-   opts=(
-   BINTARGETS=efivar
-   STATICLIBTARGETS=
-   )
-   emake "${opts[@]}"
-}
-
-src_install() {
-   emake 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-02-18 Thread Mike Gilbert
commit: a052fd61ac2f9a50128ab32a76daae6e95274802
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Feb 18 15:07:54 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Feb 18 15:08:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a052fd61

sys-libs/efivar: add workaround for GCC_SPECS

Lars Wendler reported a link failure when using a forced as-needed
gcc profile.

This failure was caused by gcc ignoring the specs file passed on the command
line, in favor of the GCC_SPECS environment variable.

To work around this, we append the necessary specs file to the envvar.

Package-Manager: Portage-2.3.3_p56, Repoman-2.3.1_p49

 sys-libs/efivar/efivar-31.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
index 3dbf6c4f5c..10cdb3688a 100644
--- a/sys-libs/efivar/efivar-31.ebuild
+++ b/sys-libs/efivar/efivar-31.ebuild
@@ -28,4 +28,9 @@ src_configure() {
tc-ld-disable-gold
export libdir="/usr/$(get_libdir)"
unset LIBS # Bug 562004
+
+   if [[ -n ${GCC_SPECS} ]]; then
+   # The environment overrides the command line.
+   GCC_SPECS+=":${S}/gcc.specs"
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-02-17 Thread Mike Gilbert
commit: 2cf1e761c36a927d5d1b32b7d6b3b670aebff5eb
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Feb 17 20:53:20 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Feb 17 20:54:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf1e761

sys-libs/efivar: bump to 31

Package-Manager: Portage-2.3.3_p56, Repoman-2.3.1_p49

 sys-libs/efivar/Manifest |  1 +
 sys-libs/efivar/efivar-31.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 0980564ba9..f38056d75f 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -2,3 +2,4 @@ DIST efivar-0.21.tar.bz2 66677 SHA256 
04b9b9de9d9a1a013395400438a033daf4a4290f49
 DIST efivar-0.23.tar.bz2 67558 SHA256 
9ca81f56b0c9177b6536c8187c9cf5974723abcaf57cd34173500c80bff3caa4 SHA512 
ff95c735425708cef0f85f1e9f8909e64651d10c303927d9e77d44fcb0a02ec90e4a364b0315cc3f5e30d77059ed2d8f43cc1efbed2db09a695ef7a6f1bb58f4
 WHIRLPOOL 
35207e4040041c03d105bbf7b2f7f103f1415dbc51dce9614ddba99786b6cacdf88136ab3a888551cf494c3d55685c7991c72fac1c6223255128c7c191e0318c
 DIST efivar-27.tar.gz 86132 SHA256 
d9457b06f234c9430aeaa6f30f7d7c786fb8ce3261a935afa8de51e2c1b4816d SHA512 
354934c166b37f78a11497a4819075b13d44bf43587dc52d0a9773d77df52df2d2b553e5ff799911ab506441d0ea82825f6d1b019932e0bcfbacdd69a241bc9e
 WHIRLPOOL 
5eaeaa7790112beb5aa03e98ac7d380b1bf9f3fdef10ca7ffda73ee68b1a4cb1a410d0060dca1caef3734fc80d6778a90eccc80719904d5d7f9285db7ab0
 DIST efivar-30.tar.gz 86395 SHA256 
20709c76311f8eb8be92977b7ac008ce62501fa9f7fe885a784321540fc352f9 SHA512 
ab73c2a49175e01cb4872bfb47708a71399c6f8237a02fbbbf4755fcd10efb82984baf76a83c3b3e7f5cf4183050e535cf18dff2bbfed10d9a0f5d4cf2021b32
 WHIRLPOOL 
d0a7fe13e4359ddafb717b666b81fdecf786f8cc3a794e47a46d80064cd402780feeab5f501f9b0796d3a847b58611b7581341e0e9cb4449d86e75e6903591eb
+DIST efivar-31.tar.gz 88545 SHA256 
b825680dc8b2165cd71131277f5a9cd632f9e43a84a33756543b24e7a251b9e0 SHA512 
d8d1c7521f3013b85ea3868dd3a2f1faa77499a43b2e5e16599b154726e079019ed6434c30ae486bb616c6cdeeabf145a049f28d090964777e3fcd299878dcd7
 WHIRLPOOL 
db8e9cade2ccbeb591c7d74452602fea3a630396a770f87c0cfa25ff9c96e998919671dc49b487a3577f0509810324eac4fc9071b905345604e2db658f3e3f43

diff --git a/sys-libs/efivar/efivar-31.ebuild b/sys-libs/efivar/efivar-31.ebuild
new file mode 100644
index 00..3dbf6c4f5c
--- /dev/null
+++ b/sys-libs/efivar/efivar-31.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18"
+
+src_prepare() {
+   default
+   sed -i -e s/-Werror// gcc.specs || die
+}
+
+src_configure() {
+   tc-export CC
+   tc-ld-disable-gold
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-02-13 Thread Robin H. Johnson
commit: d45531327a3a2fc92629b7640f77b37962ab6805
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Feb 13 22:14:54 2017 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon Feb 13 22:17:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4553132

sys-libs/efivar: add ~arm64.

Runtime testing performed on Lenovo CaviumX thanks to Packet.net.

Package-Manager: portage-2.3.2
Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-libs/efivar/efivar-30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-30.ebuild b/sys-libs/efivar/efivar-30.ebuild
index dfb105faae..145f286efc 100644
--- a/sys-libs/efivar/efivar-30.ebuild
+++ b/sys-libs/efivar/efivar-30.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~ia64 x86"
+KEYWORDS="amd64 ~arm64 ~ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/

2017-02-11 Thread David Seifert
commit: 43fcb0b5540fcd7818b0f8410fb658ac8ce0da45
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Sat Feb 11 16:31:24 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 11 20:15:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43fcb0b5

sys-libs/efivar: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3914

 sys-libs/efivar/files/0.22-flags.patch | 41 --
 1 file changed, 41 deletions(-)

diff --git a/sys-libs/efivar/files/0.22-flags.patch 
b/sys-libs/efivar/files/0.22-flags.patch
deleted file mode 100644
index df49f43af7..00
--- a/sys-libs/efivar/files/0.22-flags.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 5bc17590cb096340fc695da3020883130437d745 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert 
-Date: Fri, 12 Feb 2016 13:22:13 -0500
-Subject: [PATCH] Make.defaults: Improve gcc/clang detection
-
-The old filter only matched "gcc" or "clang".
-
-The new findstring call matches any occurance of gcc or clang. This is
-useful when CC includes the full host tuple, like x86_64-pc-linux-gnu-gcc.
-
-Signed-off-by: Mike Gilbert 

- Make.defaults | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/Make.defaults b/Make.defaults
-index bf814b8..5aed21e 100644
 a/Make.defaults
-+++ b/Make.defaults
-@@ -25,14 +25,14 @@ PKGS   =
- clang_cflags =
- gcc_cflags = -specs=$(TOPDIR)/gcc.specs
- cflags= $(CFLAGS) -I${TOPDIR}/src/include/efivar/ \
--  $(if $(filter $(CC),clang),$(clang_cflags),) \
--  $(if $(filter $(CC),gcc),$(gcc_cflags),) \
-+  $(if $(findstring clang,$(CC)),$(clang_cflags),) \
-+  $(if $(findstring gcc,$(CC)),$(gcc_cflags),) \
-   $(call pkg-config-cflags)
- clang_ccldflags =
- gcc_ccldflags =
- ccldflags = $(cflags) $(CCLDFLAGS) $(LDFLAGS) \
--  $(if $(filter $(CCLD),clang),$(clang_ccldflags),) \
--  $(if $(filter $(CCLD),gcc),$(gcc_ccldflags),) \
-+  $(if $(findstring clang,$(CCLD)),$(clang_ccldflags),) \
-+  $(if $(findstring gcc,$(CCLD)),$(gcc_ccldflags),) \
-   $(call pkg-config-ccldflags)
- SOFLAGS=-shared
- LDLIBS=$(foreach lib,$(LIBS),-l$(lib)) $(call pkg-config-ldlibs)
--- 
-2.7.1
-



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2017-01-30 Thread Agostino Sarubbo
commit: 1158e293e2e0c221b5c2af502f76a9be87cf68c7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jan 30 13:08:36 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jan 30 13:08:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1158e293

sys-libs/efivar: amd64 stable wrt bug #607640

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/efivar/efivar-30.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/efivar/efivar-30.ebuild b/sys-libs/efivar/efivar-30.ebuild
index c2a2759..9d1921d 100644
--- a/sys-libs/efivar/efivar-30.ebuild
+++ b/sys-libs/efivar/efivar-30.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~ia64 ~x86"
+KEYWORDS="amd64 ~ia64 ~x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2016-10-01 Thread Mike Gilbert
commit: 0d9edf5bda1cd9d7467503ce800e53d40110e1d6
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Oct  1 13:10:41 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Oct  1 13:19:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9edf5b

sys-libs/efivar: bump to 30

Package-Manager: portage-2.3.1_p4_p627701

 sys-libs/efivar/Manifest |  1 +
 sys-libs/efivar/efivar-30.ebuild | 48 
 2 files changed, 49 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 95e20bd..0980564 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,3 +1,4 @@
 DIST efivar-0.21.tar.bz2 66677 SHA256 
04b9b9de9d9a1a013395400438a033daf4a4290f497ec5be04a120e2ac535094 SHA512 
851b5e29c2dab213bb81c6ea5c5c211d36fb6846de8aa1086b0657f06917c2f93bf154aa3a4c2dda22103bdf1d67ca877f9771dc3f979c9311ca24e0bc09492a
 WHIRLPOOL 
d6cdb2e2f047a22677d046581490ee4e64a2ac0631be8e41bf6250241b2554f62ddf81226fa3970ee80ebb9ec62665ca21f4fec94cc5ebe05414b0c674ad38dd
 DIST efivar-0.23.tar.bz2 67558 SHA256 
9ca81f56b0c9177b6536c8187c9cf5974723abcaf57cd34173500c80bff3caa4 SHA512 
ff95c735425708cef0f85f1e9f8909e64651d10c303927d9e77d44fcb0a02ec90e4a364b0315cc3f5e30d77059ed2d8f43cc1efbed2db09a695ef7a6f1bb58f4
 WHIRLPOOL 
35207e4040041c03d105bbf7b2f7f103f1415dbc51dce9614ddba99786b6cacdf88136ab3a888551cf494c3d55685c7991c72fac1c6223255128c7c191e0318c
 DIST efivar-27.tar.gz 86132 SHA256 
d9457b06f234c9430aeaa6f30f7d7c786fb8ce3261a935afa8de51e2c1b4816d SHA512 
354934c166b37f78a11497a4819075b13d44bf43587dc52d0a9773d77df52df2d2b553e5ff799911ab506441d0ea82825f6d1b019932e0bcfbacdd69a241bc9e
 WHIRLPOOL 
5eaeaa7790112beb5aa03e98ac7d380b1bf9f3fdef10ca7ffda73ee68b1a4cb1a410d0060dca1caef3734fc80d6778a90eccc80719904d5d7f9285db7ab0
+DIST efivar-30.tar.gz 86395 SHA256 
20709c76311f8eb8be92977b7ac008ce62501fa9f7fe885a784321540fc352f9 SHA512 
ab73c2a49175e01cb4872bfb47708a71399c6f8237a02fbbbf4755fcd10efb82984baf76a83c3b3e7f5cf4183050e535cf18dff2bbfed10d9a0f5d4cf2021b32
 WHIRLPOOL 
d0a7fe13e4359ddafb717b666b81fdecf786f8cc3a794e47a46d80064cd402780feeab5f501f9b0796d3a847b58611b7581341e0e9cb4449d86e75e6903591eb

diff --git a/sys-libs/efivar/efivar-30.ebuild b/sys-libs/efivar/efivar-30.ebuild
new file mode 100644
index ..c2a2759
--- /dev/null
+++ b/sys-libs/efivar/efivar-30.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18"
+
+src_prepare() {
+   default
+   sed -i -e s/-Werror// gcc.specs || die
+}
+
+src_configure() {
+   tc-export CC
+
+   # https://github.com/rhinstaller/efivar/issues/64
+   append-cflags -flto
+
+   tc-ld-disable-gold
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+}
+
+src_compile() {
+   # Avoid building static binary/libs
+   opts=(
+   BINTARGETS=efivar
+   STATICLIBTARGETS=
+   )
+   emake "${opts[@]}"
+}
+
+src_install() {
+   emake "${opts[@]}" DESTDIR="${D}" install
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2016-08-19 Thread Mike Gilbert
commit: 6fa49c014cf7bfd7b793e404674f2c5be0fb9af4
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Aug 20 01:54:38 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Aug 20 01:55:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa49c01

sys-libs/efivar: disable -Werror

Package-Manager: portage-2.3.0_p16

 sys-libs/efivar/efivar-27.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/sys-libs/efivar/efivar-27.ebuild b/sys-libs/efivar/efivar-27.ebuild
index cf03075..7db73e1 100644
--- a/sys-libs/efivar/efivar-27.ebuild
+++ b/sys-libs/efivar/efivar-27.ebuild
@@ -18,6 +18,11 @@ RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-3.18"
 
+src_prepare() {
+   default
+   sed -i -e s/-Werror// gcc.specs || die
+}
+
 src_configure() {
tc-export CC
tc-ld-disable-gold



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2016-08-19 Thread Mike Gilbert
commit: 1542eae305a8fc8a4c4eb793dbab8887c478fb42
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Aug 19 17:59:47 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Aug 19 17:59:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1542eae3

sys-libs/efivar: update upstream id

Package-Manager: portage-2.3.0_p16

 sys-libs/efivar/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/metadata.xml b/sys-libs/efivar/metadata.xml
index 16d0108..f9d83d4 100644
--- a/sys-libs/efivar/metadata.xml
+++ b/sys-libs/efivar/metadata.xml
@@ -6,6 +6,6 @@
Mike Gilbert


-   vathpela/efivar
+   rhinstaller/efivar

 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2016-08-19 Thread Mike Gilbert
commit: bad8d074652005ec0a437041d55bfe89a3cbf170
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Aug 19 14:32:40 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Aug 19 17:56:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad8d074

sys-libs/efivar: bump to 27

Package-Manager: portage-2.3.0_p16

 sys-libs/efivar/Manifest |  1 +
 sys-libs/efivar/efivar-27.ebuild | 39 +++
 2 files changed, 40 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index a84b8dc..95e20bd 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,2 +1,3 @@
 DIST efivar-0.21.tar.bz2 66677 SHA256 
04b9b9de9d9a1a013395400438a033daf4a4290f497ec5be04a120e2ac535094 SHA512 
851b5e29c2dab213bb81c6ea5c5c211d36fb6846de8aa1086b0657f06917c2f93bf154aa3a4c2dda22103bdf1d67ca877f9771dc3f979c9311ca24e0bc09492a
 WHIRLPOOL 
d6cdb2e2f047a22677d046581490ee4e64a2ac0631be8e41bf6250241b2554f62ddf81226fa3970ee80ebb9ec62665ca21f4fec94cc5ebe05414b0c674ad38dd
 DIST efivar-0.23.tar.bz2 67558 SHA256 
9ca81f56b0c9177b6536c8187c9cf5974723abcaf57cd34173500c80bff3caa4 SHA512 
ff95c735425708cef0f85f1e9f8909e64651d10c303927d9e77d44fcb0a02ec90e4a364b0315cc3f5e30d77059ed2d8f43cc1efbed2db09a695ef7a6f1bb58f4
 WHIRLPOOL 
35207e4040041c03d105bbf7b2f7f103f1415dbc51dce9614ddba99786b6cacdf88136ab3a888551cf494c3d55685c7991c72fac1c6223255128c7c191e0318c
+DIST efivar-27.tar.gz 86132 SHA256 
d9457b06f234c9430aeaa6f30f7d7c786fb8ce3261a935afa8de51e2c1b4816d SHA512 
354934c166b37f78a11497a4819075b13d44bf43587dc52d0a9773d77df52df2d2b553e5ff799911ab506441d0ea82825f6d1b019932e0bcfbacdd69a241bc9e
 WHIRLPOOL 
5eaeaa7790112beb5aa03e98ac7d380b1bf9f3fdef10ca7ffda73ee68b1a4cb1a410d0060dca1caef3734fc80d6778a90eccc80719904d5d7f9285db7ab0

diff --git a/sys-libs/efivar/efivar-27.ebuild b/sys-libs/efivar/efivar-27.ebuild
new file mode 100644
index 000..cf03075
--- /dev/null
+++ b/sys-libs/efivar/efivar-27.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+SRC_URI="https://github.com/rhinstaller/efivar/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18"
+
+src_configure() {
+   tc-export CC
+   tc-ld-disable-gold
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+}
+
+src_compile() {
+   # Avoid building static binary/libs
+   opts=(
+   BINTARGETS=efivar
+   STATICLIBTARGETS=
+   )
+   emake "${opts[@]}"
+}
+
+src_install() {
+   emake "${opts[@]}" DESTDIR="${D}" install
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2016-04-26 Thread Mike Gilbert
commit: 73cd654f621d42756e0f0778a47c63e5ffce8004
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Apr 26 21:31:00 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Apr 26 21:31:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73cd654f

sys-libs/efivar: move tc-ld-disable-gold to src_configure

Package-Manager: portage-2.2.28_p79

 sys-libs/efivar/efivar-0.23.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-0.23.ebuild 
b/sys-libs/efivar/efivar-0.23.ebuild
index 1c044ab..49b5362 100644
--- a/sys-libs/efivar/efivar-0.23.ebuild
+++ b/sys-libs/efivar/efivar-0.23.ebuild
@@ -19,7 +19,6 @@ DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-3.18"
 
 src_prepare() {
-   tc-ld-disable-gold
epatch "${FILESDIR}/0.21-nvme_ioctl.h.patch"
epatch "${FILESDIR}/0.23-sysmacros.patch"
epatch_user
@@ -27,6 +26,7 @@ src_prepare() {
 
 src_configure() {
tc-export CC
+   tc-ld-disable-gold
export libdir="/usr/$(get_libdir)"
unset LIBS # Bug 562004
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/, sys-libs/efivar/

2016-04-15 Thread Mike Gilbert
commit: c2e7986a5f0d6ecad9a3b5cb9c57d2e3f7849cb4
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Apr 16 02:26:00 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Apr 16 02:26:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2e7986a

sys-libs/efivar: fix build with glibc-2.23

Bug: https://bugs.gentoo.org/580142

Package-Manager: portage-2.2.28_p64

 sys-libs/efivar/efivar-0.23.ebuild |  1 +
 sys-libs/efivar/files/0.23-sysmacros.patch | 29 +
 2 files changed, 30 insertions(+)

diff --git a/sys-libs/efivar/efivar-0.23.ebuild 
b/sys-libs/efivar/efivar-0.23.ebuild
index 85de055..1c044ab 100644
--- a/sys-libs/efivar/efivar-0.23.ebuild
+++ b/sys-libs/efivar/efivar-0.23.ebuild
@@ -21,6 +21,7 @@ DEPEND="${RDEPEND}
 src_prepare() {
tc-ld-disable-gold
epatch "${FILESDIR}/0.21-nvme_ioctl.h.patch"
+   epatch "${FILESDIR}/0.23-sysmacros.patch"
epatch_user
 }
 

diff --git a/sys-libs/efivar/files/0.23-sysmacros.patch 
b/sys-libs/efivar/files/0.23-sysmacros.patch
new file mode 100644
index 000..526b843
--- /dev/null
+++ b/sys-libs/efivar/files/0.23-sysmacros.patch
@@ -0,0 +1,29 @@
+From 554b0255f9ee265f7d093ac875215207fac8fb1e Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Fri, 15 Apr 2016 17:58:15 -0400
+Subject: [PATCH] Include sys/sysmacros.h when sys/types.h does not define
+ major
+
+glibc is planning to drop this from sys/types.h.
+---
+ src/linux.c | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/linux.c b/src/linux.c
+index 866455d..fde6947 100644
+--- a/src/linux.c
 b/src/linux.c
+@@ -36,6 +36,10 @@
+ #include 
+ #include 
+ 
++#ifndef major
++#include 
++#endif
++
+ #include 
+ #include 
+ 
+-- 
+2.8.1
+



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2016-02-17 Thread Justin Lecher
commit: f51c35cfb39a1dbb567a69c28638f9a22d68f907
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Feb 17 13:17:03 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Feb 17 14:06:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f51c35cf

sys-libs/efivar: Don't use ld.gold for linking

Using ld.gold results in
/x86_64-pc-linux-gnu/bin/ld: --default-symver: unknown option

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sys-libs/efivar/efivar-0.23.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/efivar/efivar-0.23.ebuild 
b/sys-libs/efivar/efivar-0.23.ebuild
index ba36200..85de055 100644
--- a/sys-libs/efivar/efivar-0.23.ebuild
+++ b/sys-libs/efivar/efivar-0.23.ebuild
@@ -19,6 +19,7 @@ DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-3.18"
 
 src_prepare() {
+   tc-ld-disable-gold
epatch "${FILESDIR}/0.21-nvme_ioctl.h.patch"
epatch_user
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2016-02-16 Thread Mike Gilbert
commit: 986d8dcafea2e16380ce89e270f0ae12eb42b89a
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Feb 16 22:05:11 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb 16 22:05:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=986d8dca

sys-libs/efivar: Bump to 0.23

Package-Manager: portage-2.2.27_p64

 sys-libs/efivar/Manifest   | 2 +-
 sys-libs/efivar/{efivar-0.22.ebuild => efivar-0.23.ebuild} | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index ab7bf59..a84b8dc 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,2 +1,2 @@
 DIST efivar-0.21.tar.bz2 66677 SHA256 
04b9b9de9d9a1a013395400438a033daf4a4290f497ec5be04a120e2ac535094 SHA512 
851b5e29c2dab213bb81c6ea5c5c211d36fb6846de8aa1086b0657f06917c2f93bf154aa3a4c2dda22103bdf1d67ca877f9771dc3f979c9311ca24e0bc09492a
 WHIRLPOOL 
d6cdb2e2f047a22677d046581490ee4e64a2ac0631be8e41bf6250241b2554f62ddf81226fa3970ee80ebb9ec62665ca21f4fec94cc5ebe05414b0c674ad38dd
-DIST efivar-0.22.tar.bz2 67384 SHA256 
74f9700039c2c77b468ab2e174c17eb97bd5ee427d22b68a0ae0dbf8fd2d6e32 SHA512 
45b1b33e6928415f60de460086e6015e62ee65cab531b578b5a7ea78fd9c593220d8df00ee262171eb1ae3fc1bd1b733ce2c87c1dd91c2ac16a59c2764146e81
 WHIRLPOOL 
7000191aea4dd37639168e279e00ac4493683c956775d5887f37a860b25a76d3b1d1347b596f2cbb321673de7be3e77fcd10a3f155d483c06a0883a6b47fa8ee
+DIST efivar-0.23.tar.bz2 67558 SHA256 
9ca81f56b0c9177b6536c8187c9cf5974723abcaf57cd34173500c80bff3caa4 SHA512 
ff95c735425708cef0f85f1e9f8909e64651d10c303927d9e77d44fcb0a02ec90e4a364b0315cc3f5e30d77059ed2d8f43cc1efbed2db09a695ef7a6f1bb58f4
 WHIRLPOOL 
35207e4040041c03d105bbf7b2f7f103f1415dbc51dce9614ddba99786b6cacdf88136ab3a888551cf494c3d55685c7991c72fac1c6223255128c7c191e0318c

diff --git a/sys-libs/efivar/efivar-0.22.ebuild 
b/sys-libs/efivar/efivar-0.23.ebuild
similarity index 95%
rename from sys-libs/efivar/efivar-0.22.ebuild
rename to sys-libs/efivar/efivar-0.23.ebuild
index e811cf3..ba36200 100644
--- a/sys-libs/efivar/efivar-0.22.ebuild
+++ b/sys-libs/efivar/efivar-0.23.ebuild
@@ -20,7 +20,6 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
epatch "${FILESDIR}/0.21-nvme_ioctl.h.patch"
-   epatch "${FILESDIR}/0.22-flags.patch"
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/, sys-libs/efivar/files/

2016-02-12 Thread Mike Gilbert
commit: 8e88e53253add3497e2abd730deb803f2079cdc6
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Feb 12 18:43:28 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Feb 12 18:43:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e88e532

sys-libs/efivar: Bump to 0.22

Package-Manager: portage-2.2.27_p57

 sys-libs/efivar/Manifest   |  1 +
 sys-libs/efivar/efivar-0.22.ebuild | 44 ++
 sys-libs/efivar/files/0.22-flags.patch | 41 +++
 3 files changed, 86 insertions(+)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index a3cb255..ab7bf59 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1 +1,2 @@
 DIST efivar-0.21.tar.bz2 66677 SHA256 
04b9b9de9d9a1a013395400438a033daf4a4290f497ec5be04a120e2ac535094 SHA512 
851b5e29c2dab213bb81c6ea5c5c211d36fb6846de8aa1086b0657f06917c2f93bf154aa3a4c2dda22103bdf1d67ca877f9771dc3f979c9311ca24e0bc09492a
 WHIRLPOOL 
d6cdb2e2f047a22677d046581490ee4e64a2ac0631be8e41bf6250241b2554f62ddf81226fa3970ee80ebb9ec62665ca21f4fec94cc5ebe05414b0c674ad38dd
+DIST efivar-0.22.tar.bz2 67384 SHA256 
74f9700039c2c77b468ab2e174c17eb97bd5ee427d22b68a0ae0dbf8fd2d6e32 SHA512 
45b1b33e6928415f60de460086e6015e62ee65cab531b578b5a7ea78fd9c593220d8df00ee262171eb1ae3fc1bd1b733ce2c87c1dd91c2ac16a59c2764146e81
 WHIRLPOOL 
7000191aea4dd37639168e279e00ac4493683c956775d5887f37a860b25a76d3b1d1347b596f2cbb321673de7be3e77fcd10a3f155d483c06a0883a6b47fa8ee

diff --git a/sys-libs/efivar/efivar-0.22.ebuild 
b/sys-libs/efivar/efivar-0.22.ebuild
new file mode 100644
index 000..e811cf3
--- /dev/null
+++ b/sys-libs/efivar/efivar-0.22.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Tools and library to manipulate EFI variables"
+HOMEPAGE="https://github.com/rhinstaller/efivar;
+SRC_URI="https://github.com/rhinstaller/${PN}/releases/download/${PV}/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18"
+
+src_prepare() {
+   epatch "${FILESDIR}/0.21-nvme_ioctl.h.patch"
+   epatch "${FILESDIR}/0.22-flags.patch"
+   epatch_user
+}
+
+src_configure() {
+   tc-export CC
+   export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
+}
+
+src_compile() {
+   # Avoid building static binary/libs
+   opts=(
+   BINTARGETS=efivar
+   STATICLIBTARGETS=
+   )
+   emake "${opts[@]}"
+}
+
+src_install() {
+   emake "${opts[@]}" DESTDIR="${D}" install
+}

diff --git a/sys-libs/efivar/files/0.22-flags.patch 
b/sys-libs/efivar/files/0.22-flags.patch
new file mode 100644
index 000..df49f43
--- /dev/null
+++ b/sys-libs/efivar/files/0.22-flags.patch
@@ -0,0 +1,41 @@
+From 5bc17590cb096340fc695da3020883130437d745 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Fri, 12 Feb 2016 13:22:13 -0500
+Subject: [PATCH] Make.defaults: Improve gcc/clang detection
+
+The old filter only matched "gcc" or "clang".
+
+The new findstring call matches any occurance of gcc or clang. This is
+useful when CC includes the full host tuple, like x86_64-pc-linux-gnu-gcc.
+
+Signed-off-by: Mike Gilbert 
+---
+ Make.defaults | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Make.defaults b/Make.defaults
+index bf814b8..5aed21e 100644
+--- a/Make.defaults
 b/Make.defaults
+@@ -25,14 +25,14 @@ PKGS   =
+ clang_cflags =
+ gcc_cflags = -specs=$(TOPDIR)/gcc.specs
+ cflags= $(CFLAGS) -I${TOPDIR}/src/include/efivar/ \
+-  $(if $(filter $(CC),clang),$(clang_cflags),) \
+-  $(if $(filter $(CC),gcc),$(gcc_cflags),) \
++  $(if $(findstring clang,$(CC)),$(clang_cflags),) \
++  $(if $(findstring gcc,$(CC)),$(gcc_cflags),) \
+   $(call pkg-config-cflags)
+ clang_ccldflags =
+ gcc_ccldflags =
+ ccldflags = $(cflags) $(CCLDFLAGS) $(LDFLAGS) \
+-  $(if $(filter $(CCLD),clang),$(clang_ccldflags),) \
+-  $(if $(filter $(CCLD),gcc),$(gcc_ccldflags),) \
++  $(if $(findstring clang,$(CCLD)),$(clang_ccldflags),) \
++  $(if $(findstring gcc,$(CCLD)),$(gcc_ccldflags),) \
+   $(call pkg-config-ccldflags)
+ SOFLAGS=-shared
+ LDLIBS=$(foreach lib,$(LIBS),-l$(lib)) $(call pkg-config-ldlibs)
+-- 
+2.7.1
+



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2016-02-07 Thread Robin H. Johnson
commit: f178bc3aa960773e0c2161937fd1b66b992225c0
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Feb  8 00:11:23 2016 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon Feb  8 00:11:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f178bc3a

sys-libs/efivar: missing dependency on linux-headers.

Package-Manager: portage-2.2.27

 sys-libs/efivar/efivar-0.21.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-0.21.ebuild 
b/sys-libs/efivar/efivar-0.21.ebuild
index 9053aff..f53d336 100644
--- a/sys-libs/efivar/efivar-0.21.ebuild
+++ b/sys-libs/efivar/efivar-0.21.ebuild
@@ -15,7 +15,8 @@ SLOT="0"
 KEYWORDS="amd64 ia64 x86"
 
 RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.18"
 
 src_prepare() {
epatch "${FILESDIR}/0.21-initializer.patch"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/files/, sys-libs/efivar/

2016-01-14 Thread Mike Gilbert
commit: aaf891d2b0f19dd6b9ed6d33720ad0ae477195b3
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Jan 14 22:13:20 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Jan 14 22:14:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaf891d2

sys-libs/efivar: Workaround rename of linux/nvme.h

Bug: https://bugs.gentoo.org/571548

Package-Manager: portage-2.2.26_p103

 sys-libs/efivar/efivar-0.21.ebuild|  4 +++-
 sys-libs/efivar/files/0.21-nvme_ioctl.h.patch | 30 +++
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-0.21.ebuild 
b/sys-libs/efivar/efivar-0.21.ebuild
index 29fb870..9053aff 100644
--- a/sys-libs/efivar/efivar-0.21.ebuild
+++ b/sys-libs/efivar/efivar-0.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -19,6 +19,8 @@ DEPEND="${RDEPEND}"
 
 src_prepare() {
epatch "${FILESDIR}/0.21-initializer.patch"
+   epatch "${FILESDIR}/0.21-nvme_ioctl.h.patch"
+   epatch_user
 }
 
 src_configure() {

diff --git a/sys-libs/efivar/files/0.21-nvme_ioctl.h.patch 
b/sys-libs/efivar/files/0.21-nvme_ioctl.h.patch
new file mode 100644
index 000..221ec5a
--- /dev/null
+++ b/sys-libs/efivar/files/0.21-nvme_ioctl.h.patch
@@ -0,0 +1,30 @@
+From ae0869b71a90bc14e67f3c917bd9c96db25c99a6 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Thu, 14 Jan 2016 17:02:31 -0500
+Subject: [PATCH] Workaround rename of linux/nvme.h
+
+Bug: https://bugs.gentoo.org/571548
+---
+ src/linux.c | 5 +
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/linux.c b/src/linux.c
+index 5ebc151..e551377 100644
+--- a/src/linux.c
 b/src/linux.c
+@@ -22,7 +22,12 @@
+ #include 
+ #include 
+ #include 
++#include 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)
++#include 
++#else
+ #include 
++#endif
+ #include 
+ #include 
+ #include 
+-- 
+2.7.0
+



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2015-10-03 Thread Mike Gilbert
commit: 6723e43b6a141a2b49e6bb8f4052cd52d9de4db3
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Oct  3 18:03:03 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Oct  3 18:07:17 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6723e43b

sys-libs/efivar: Unset LIBS

Bug: https://bugs.gentoo.org/562004

Package-Manager: portage-2.2.22_p5

 sys-libs/efivar/efivar-0.21.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/efivar/efivar-0.21.ebuild 
b/sys-libs/efivar/efivar-0.21.ebuild
index 315212d..29fb870 100644
--- a/sys-libs/efivar/efivar-0.21.ebuild
+++ b/sys-libs/efivar/efivar-0.21.ebuild
@@ -24,4 +24,5 @@ src_prepare() {
 src_configure() {
tc-export CC
export libdir="/usr/$(get_libdir)"
+   unset LIBS # Bug 562004
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2015-10-03 Thread Mike Gilbert
commit: 14721b5c96b92dbd504b3ce3b59b3cd629d2e6b1
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Oct  3 18:06:20 2015 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Oct  3 18:07:20 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14721b5c

sys-libs/efivar: Remove old

Package-Manager: portage-2.2.22_p5

 sys-libs/efivar/Manifest   |  2 --
 sys-libs/efivar/efivar-0.15.ebuild | 23 ---
 sys-libs/efivar/efivar-0.20.ebuild | 23 ---
 3 files changed, 48 deletions(-)

diff --git a/sys-libs/efivar/Manifest b/sys-libs/efivar/Manifest
index 965c81d..a3cb255 100644
--- a/sys-libs/efivar/Manifest
+++ b/sys-libs/efivar/Manifest
@@ -1,3 +1 @@
-DIST efivar-0.15.tar.bz2 26936 SHA256 
08251e10dbee8a5a9851d859b98fc6cb479acfced38695a101bd8ed2a447051e SHA512 
f6fbc71fa892366933f11f230f662ff7af515bcee3d4eb0279a3aeb6aa5bf21d86f86db928ff3cb4ed3366f52bd3fb8b959752759277ed4bf368a5fc223d62e9
 WHIRLPOOL 
8fd6a689b14aed7d8a9ed7d17fe4206416d5bb72d04843dab7de22c513cc0ad639daa8dad0de4c87e60164092d3c31c8d25973be03e20add99018c9a122bb9be
-DIST efivar-0.20.tar.bz2 66165 SHA256 
cf699c1406c6d012ab0665f653b2f1a14d99edd8e2bf06f5ac2caa1b10e030a9 SHA512 
c50de9cb8bad49eeaf00721c1bcea060a5c3486574bbba891a51eaff81bd12e764bf42b56c94c8b483359e082365848198a88d67b7c82df4c39c09fb47ce7474
 WHIRLPOOL 
af760446f24832702f6b6d65dd6bbb9ccfede45680aac7bd9700619522bb5e774b1d24386aa74a879cd4cf6fdfa7362bb19b390aa519b3b9e8fc651b5af20951
 DIST efivar-0.21.tar.bz2 66677 SHA256 
04b9b9de9d9a1a013395400438a033daf4a4290f497ec5be04a120e2ac535094 SHA512 
851b5e29c2dab213bb81c6ea5c5c211d36fb6846de8aa1086b0657f06917c2f93bf154aa3a4c2dda22103bdf1d67ca877f9771dc3f979c9311ca24e0bc09492a
 WHIRLPOOL 
d6cdb2e2f047a22677d046581490ee4e64a2ac0631be8e41bf6250241b2554f62ddf81226fa3970ee80ebb9ec62665ca21f4fec94cc5ebe05414b0c674ad38dd

diff --git a/sys-libs/efivar/efivar-0.15.ebuild 
b/sys-libs/efivar/efivar-0.15.ebuild
deleted file mode 100644
index 77e7c4c..000
--- a/sys-libs/efivar/efivar-0.15.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit multilib toolchain-funcs
-
-DESCRIPTION="Tools and library to manipulate EFI variables"
-HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/${PN}/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ia64 x86"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   tc-export CC
-   export libdir="/usr/$(get_libdir)"
-}

diff --git a/sys-libs/efivar/efivar-0.20.ebuild 
b/sys-libs/efivar/efivar-0.20.ebuild
deleted file mode 100644
index 5a1e5d2..000
--- a/sys-libs/efivar/efivar-0.20.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit multilib toolchain-funcs
-
-DESCRIPTION="Tools and library to manipulate EFI variables"
-HOMEPAGE="https://github.com/rhinstaller/efivar;
-SRC_URI="https://github.com/rhinstaller/${PN}/releases/download/${PV}/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~x86"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   tc-export CC
-   export libdir="/usr/$(get_libdir)"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2015-09-24 Thread Agostino Sarubbo
commit: 2f2a41388fa1c5ba8b02d71b3a24488fe70da0f3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 24 07:58:16 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 24 07:58:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f2a4138

sys-libs/efivar: ia64 stable wrt bug #556876

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ia64"

 sys-libs/efivar/efivar-0.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-0.21.ebuild 
b/sys-libs/efivar/efivar-0.21.ebuild
index 8c1a644..315212d 100644
--- a/sys-libs/efivar/efivar-0.21.ebuild
+++ b/sys-libs/efivar/efivar-0.21.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rhinstaller/${PN}/releases/download/${PV}/${P}.tar.b
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ia64 x86"
+KEYWORDS="amd64 ia64 x86"
 
 RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2015-08-18 Thread Mike Gilbert
commit: a4fea4baf785bd78d9a1d699ecfebaa84fd486cb
Author: Mike Gilbert floppym AT gentoo DOT org
AuthorDate: Wed Aug 19 03:23:39 2015 +
Commit: Mike Gilbert floppym AT gentoo DOT org
CommitDate: Wed Aug 19 03:23:39 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4fea4ba

sys-libs/efivar: Drop proxy maintainer

Package-Manager: portage-2.2.20_p134

 sys-libs/efivar/metadata.xml | 5 -
 1 file changed, 5 deletions(-)

diff --git a/sys-libs/efivar/metadata.xml b/sys-libs/efivar/metadata.xml
index 4d06771..52ba01d 100644
--- a/sys-libs/efivar/metadata.xml
+++ b/sys-libs/efivar/metadata.xml
@@ -5,11 +5,6 @@
emailflop...@gentoo.org/email
nameMike Gilbert/name
/maintainer
-   maintainer
-   emailyannick.schaef...@epfl.ch/email
-   nameYannick Schaeffer/name
-   /maintainer
-   herdproxy-maintainers/herd
upstream
remote-id type=githubvathpela/efivar/remote-id
/upstream



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2015-08-11 Thread Mikle Kolyada
commit: b4d6c372627ada9f80b99e8e44ab3badc90ba52c
Author: Mikle Kolyada zlogene AT gentoo DOT org
AuthorDate: Tue Aug 11 12:41:45 2015 +
Commit: Mikle Kolyada zlogene AT gentoo DOT org
CommitDate: Tue Aug 11 12:41:45 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d6c372

sys-libs/efivar: x86 stable wrt bug #556876

Package-Manager: portage-2.2.20

 sys-libs/efivar/efivar-0.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-0.21.ebuild 
b/sys-libs/efivar/efivar-0.21.ebuild
index e6b040a..8c1a644 100644
--- a/sys-libs/efivar/efivar-0.21.ebuild
+++ b/sys-libs/efivar/efivar-0.21.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI=https://github.com/rhinstaller/${PN}/releases/download/${PV}/${P}.tar.b
 
 LICENSE=GPL-2
 SLOT=0
-KEYWORDS=amd64 ~ia64 ~x86
+KEYWORDS=amd64 ~ia64 x86
 
 RDEPEND=dev-libs/popt
 DEPEND=${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/efivar/

2015-08-09 Thread Mikle Kolyada
commit: a11d4d85fc95155dd72f8e5a858a9b85ea99dcb0
Author: Mikle Kolyada zlogene AT gentoo DOT org
AuthorDate: Sun Aug  9 23:38:59 2015 +
Commit: Mikle Kolyada zlogene AT gentoo DOT org
CommitDate: Sun Aug  9 23:38:59 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11d4d85

sys-libs/efivar: amd64 stable wrt bug #556876

Package-Manager: portage-2.2.20

 sys-libs/efivar/efivar-0.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/efivar/efivar-0.21.ebuild 
b/sys-libs/efivar/efivar-0.21.ebuild
index bce0f4e..e6b040a 100644
--- a/sys-libs/efivar/efivar-0.21.ebuild
+++ b/sys-libs/efivar/efivar-0.21.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI=https://github.com/rhinstaller/${PN}/releases/download/${PV}/${P}.tar.b
 
 LICENSE=GPL-2
 SLOT=0
-KEYWORDS=~amd64 ~ia64 ~x86
+KEYWORDS=amd64 ~ia64 ~x86
 
 RDEPEND=dev-libs/popt
 DEPEND=${RDEPEND}