Patch by Felix Janda.
Closes: https://bugs.gentoo.org/593656
Package-Manager: Portage-2.3.19_p1, Repoman-2.3.6_p35
EAPI="5"
+inherit eutils
+
DESCRIPTION="Tools for manipulating UEFI secure boot platforms"
HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git"
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git/snapshot/v${PV}.tar.bz2 -> ${P}.tar.bz2"
dev-perl/File-Slurp"
S=${WORKDIR}/v${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}/1.7.0-Make.rules.patch"
+ epatch_user
+}
--- /dev/null
+--- a/Make.rules
++++ b/Make.rules
+@@ -71,7 +71,7 @@
+ %.hash: %.efi hash-to-efi-sig-list
+ ./hash-to-efi-sig-list $< $@
+
+-%-blacklist.esl: %.crt cert-to-efi-hash-list
++%-blacklist.esl: %.crt cert-to-efi-sig-list
+ ./cert-to-efi-sig-list $< $@
+
+ %-hash-blacklist.esl: %.crt cert-to-efi-hash-list