[arch-commits] Commit in libtpms/trunk (PKGBUILD)

Jonas Witschel diabonas at gemini.archlinux.org
Fri Sep 10 09:26:27 UTC 2021


    Date: Friday, September 10, 2021 @ 09:26:26
  Author: diabonas
Revision: 1013370

upgpkg: libtpms 0.8.5-2: add patch to fix tpm2-tools test failure

A bug in libtpms 0.8.5 means that the "pcrevent.sh" integration test of
tpm2-tools 5.1.1 would fail, cf.
https://github.com/stefanberger/libtpms/issues/259 and
https://github.com/stefanberger/libtpms/pull/260

Modified:
  libtpms/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-10 09:16:59 UTC (rev 1013369)
+++ PKGBUILD	2021-09-10 09:26:26 UTC (rev 1013370)
@@ -2,7 +2,7 @@
 pkgname=libtpms
 pkgver=0.8.5
 _tag=ac4b9363504b8259e85bad09e967ad5aa87c5e22 # git rev-parse "v$pkgver"
-pkgrel=1
+pkgrel=2
 pkgdesc='Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)'
 arch=('x86_64')
 url='https://github.com/stefanberger/libtpms'
@@ -20,6 +20,10 @@
 
 prepare() {
 	cd "$pkgname"
+
+	# Fix for tpm2-tools test suite (https://github.com/stefanberger/libtpms/pull/260)
+	git cherry-pick --no-commit 8ae3d744bc0cf9dc8a0078fe052f5bd70e41c818
+
 	autoreconf --install --force
 }
 



More information about the arch-commits mailing list