Commit 5e4214c8 authored by Leo's avatar Leo

testing/sbsigntool: upgrade to 0.9.2

parent b411e909
......@@ -3,17 +3,15 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=sbsigntool
pkgver=0.9.1
pkgver=0.9.2
pkgrel=0
_ccancommit=261b10869ddbb4ac650ef8886c5052b1a8dbeecd
pkgdesc="Secure Boot signing tools"
url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/"
arch="x86_64"
license="GPL"
depends=""
license="GPL-3.0-only"
makedepends="autoconf automake bash binutils-dev gnu-efi-dev help2man openssl-dev util-linux-dev"
options="!check" # testsuite is not functional
install=""
subpackages="$pkgname-doc"
source="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/snapshot/sbsigntools-$pkgver.tar.gz
ccan-$_ccancommit.tar.gz::https://git.ozlabs.org/?p=ccan;a=snapshot;h=$_ccancommit;sf=tgz
......@@ -23,7 +21,6 @@ builddir="$srcdir/sbsigntools-$pkgver"
prepare() {
default_prepare
cd "$builddir"
rm -rf "$builddir"/lib/ccan.git "$builddir"/lib/ccan
ln -s ../../ccan-$(echo $_ccancommit | cut -b -7) "$builddir"/lib/ccan.git
......@@ -32,15 +29,14 @@ prepare() {
sed -i -e 's,--git-only "$module_dir","$module_srcdir",g' "$builddir"/lib/ccan.git/tools/create-ccan-tree
# autogen.sh is missing 'list', instantiate ccan here
lib/ccan.git/tools/create-ccan-tree \
--build-type=automake lib/ccan \
lib/ccan.git/tools/create-ccan-tree \
--build-type=automake lib/ccan \
"talloc read_write_all build_assert array_size endian list"
./autogen.sh
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -52,10 +48,9 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="ae16232327c098bbc60a9701185d856d851cb7fa8f62be64d3c8f75c8b274b8521fcc4212226189def05db980690878ee6ac9a9b418166c92442aaf35e790d29 sbsigntools-0.9.1.tar.gz
sha512sums="060753ed9c8db794e4755cc66c1940a2ccc89f4ddf0e825da1f1e6eaa75fc67c21060ee4b5dfb0c757b69e6f5959bfa68156d9f95a945cf63c6a20f1414a2c27 sbsigntools-0.9.2.tar.gz
730c70cf88cfbf23796053aa689e419f433285c7fec7a6f4b5cf13efead12f99752db70790ff321da374180e3178aed105ce5bd3f66daadf545ef9b5bb02f6cd ccan-261b10869ddbb4ac650ef8886c5052b1a8dbeecd.tar.gz
9bf0a12c7735d09e1562ad901676a7ca9572265abee88580d4f830723a28423062d5b77fe02f21414884aeb046e84cf09da599754eafaad660c5938469c460a9 0001-fix-autogen.patch"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment