aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew T Hoare <matthew.t.hoare@gmail.com>2020-06-14 10:43:36 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-06-14 10:43:36 +0000
commitc4674ea05138b23241d01966653a75553bd210d2 (patch)
tree6ccf77fb0a163521627cc4ba998ba965af7b84f7
parent8fe04a5885ff95c1b4f59377ec1278b1f5fc089f (diff)
downloadaports-c4674ea05138b23241d01966653a75553bd210d2.tar.gz
aports-c4674ea05138b23241d01966653a75553bd210d2.tar.bz2
aports-c4674ea05138b23241d01966653a75553bd210d2.tar.xz
testing/mokutil: new aport
https://github.com/lcp/mokutil Utility to manipulate the machine owner keys (MOK) stored in the database of shim
-rw-r--r--testing/mokutil/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/mokutil/APKBUILD b/testing/mokutil/APKBUILD
new file mode 100644
index 0000000000..75e9e5b92e
--- /dev/null
+++ b/testing/mokutil/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Matthew T Hoare <matthew.t.hoare@gmai.com>
+# Maintainer: Matthew T Hoare <matthew.t.hoare@gmai.com>
+pkgname=mokutil
+pkgver=0.4.0
+pkgrel=0
+pkgdesc="Utility to manipulate the machine owner keys (MOK) stored in the database of shim"
+url="https://github.com/lcp/mokutil"
+arch="aarch64 armhf armv7 x86 x86_64" # Secure Boot is only available for these platforms
+license="GPL-3.0-or-later"
+makedepends="autoconf automake efivar-dev openssl-dev"
+options="!check" # no checks
+subpackages="$pkgname-doc $pkgname-bash-completion"
+source="$pkgname-$pkgver.tar.gz::https://github.com/lcp/mokutil/archive/$pkgver.tar.gz"
+
+prepare() {
+ default_prepare
+ autoreconf -f -i
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/sbin \
+ --sysconfdir=/etc
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="1caa4242fda51f73b5e1a97ad38d9235cee5e5dad72e3e40c9e44a20c76cd5397e299693733e4d52e3b05b0272a30732d8c3ea86403739cbc6545de16c1a2dd0 mokutil-0.4.0.tar.gz"