From f103544c092c468df9db1eaf6814c60e768456d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 17 Oct 2017 13:58:09 +0300 Subject: testing/efitools: new aport EFI tools https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git --- testing/efitools/001-datatypes.patch | 11 +++++++++++ testing/efitools/APKBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 testing/efitools/001-datatypes.patch create mode 100644 testing/efitools/APKBUILD (limited to 'testing/efitools') diff --git a/testing/efitools/001-datatypes.patch b/testing/efitools/001-datatypes.patch new file mode 100644 index 0000000000..a55da69169 --- /dev/null +++ b/testing/efitools/001-datatypes.patch @@ -0,0 +1,11 @@ +--- a/lib/asn1/oid.h 2017-03-24 16:04:44.603350102 +0200 ++++ b/lib/asn1/oid.h 2017-03-24 19:58:30.876866547 +0200 +@@ -8,6 +8,8 @@ + #ifndef OID_H_ + #define OID_H_ + ++#include ++ + typedef struct { + u_char octet; + u_int next; diff --git a/testing/efitools/APKBUILD b/testing/efitools/APKBUILD new file mode 100644 index 0000000000..1e6ddd4cf8 --- /dev/null +++ b/testing/efitools/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Tero Hilpinen +# Contributor: Timo Teräs +# Maintainer: Timo Teräs + +pkgname=efitools +pkgver=1.7.0 +pkgrel=0 +pkgdesc="EFI tools" +url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git" +arch="x86_64" +license="GPL" +depends="" +makedepends="autoconf automake binutils-dev gnu-efi-dev libressl-dev perl-file-slurp help2man sbsigntool" +install="" +subpackages="$pkgname-doc" +source="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/$pkgname.git/snapshot/$pkgname-$pkgver.tar.gz + 001-datatypes.patch" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="d4a04400b89a83184cef3e82a98c666240a4a2737156e9a46a563f49586af53c66f7d54eb9e9602434b5d060faf285c5105fb74e6073974ba68891ddbd918557 efitools-1.7.0.tar.gz +cd72161a99b26472909a8da834c08a1f88b54d35291a6646562b03a6616fa5fb61e49d4fb3c780861689d23823c101709890dd245dd8aa9f51dca40ac1b2d369 001-datatypes.patch" -- cgit v1.2.3