summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-12-18 14:06:22 -0500
committerMike Gilbert <floppym@gentoo.org>2017-12-18 14:06:22 -0500
commitef467475348515b2583558594d101b25c254526e (patch)
tree24da4445e5427b5a910ffe4eac889b17c67a15f1 /app-crypt/efitools
parentnet-misc/openssh: Fix net-libs/ldns dependency (diff)
downloadgentoo-ef467475348515b2583558594d101b25c254526e.tar.gz
gentoo-ef467475348515b2583558594d101b25c254526e.tar.bz2
gentoo-ef467475348515b2583558594d101b25c254526e.zip
app-crypt/efitools: fix makefile deps
Patch by Felix Janda. Closes: https://bugs.gentoo.org/593656 Package-Manager: Portage-2.3.19_p1, Repoman-2.3.6_p35
Diffstat (limited to 'app-crypt/efitools')
-rw-r--r--app-crypt/efitools/efitools-1.7.0.ebuild7
-rw-r--r--app-crypt/efitools/files/1.7.0-Make.rules.patch11
2 files changed, 18 insertions, 0 deletions
diff --git a/app-crypt/efitools/efitools-1.7.0.ebuild b/app-crypt/efitools/efitools-1.7.0.ebuild
index 0baf83e20fc6..63c9fbec0513 100644
--- a/app-crypt/efitools/efitools-1.7.0.ebuild
+++ b/app-crypt/efitools/efitools-1.7.0.ebuild
@@ -3,6 +3,8 @@
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"
@@ -24,3 +26,8 @@ DEPEND="${RDEPEND}
dev-perl/File-Slurp"
S=${WORKDIR}/v${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}/1.7.0-Make.rules.patch"
+ epatch_user
+}
diff --git a/app-crypt/efitools/files/1.7.0-Make.rules.patch b/app-crypt/efitools/files/1.7.0-Make.rules.patch
new file mode 100644
index 000000000000..89665ab3b690
--- /dev/null
+++ b/app-crypt/efitools/files/1.7.0-Make.rules.patch
@@ -0,0 +1,11 @@
+--- 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