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

Jonas Witschel diabonas at gemini.archlinux.org
Fri Feb 18 15:52:52 UTC 2022


    Date: Friday, February 18, 2022 @ 15:52:51
  Author: diabonas
Revision: 1133976

upgpkg: tpm2-tss 3.2.0-1: upstream release, enable debug symbols

Modified:
  tpm2-tss/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-18 15:51:40 UTC (rev 1133975)
+++ PKGBUILD	2022-02-18 15:52:51 UTC (rev 1133976)
@@ -1,7 +1,7 @@
 # Maintainer: Jonas Witschel <diabonas at archlinux.org>
 # Contributor: Bruno Pagani <archange at archlinux.org>
 pkgname=tpm2-tss
-pkgver=3.1.0
+pkgver=3.2.0
 pkgrel=1
 pkgdesc='Implementation of the TCG Trusted Platform Module 2.0 Software Stack (TSS2)'
 arch=('x86_64')
@@ -8,19 +8,27 @@
 url='https://github.com/tpm2-software/tpm2-tss'
 license=('BSD')
 depends=('curl' 'json-c' 'openssl' 'libjson-c.so')
-makedepends=('cmocka' 'doxygen')
+makedepends=('cmocka' 'doxygen' 'libtpms')
 checkdepends=('iproute2' 'swtpm' 'uthash')
 provides=('libtss2-esys.so' 'libtss2-fapi.so' 'libtss2-mu.so' 'libtss2-rc.so' 'libtss2-sys.so' 'libtss2-tctildr.so')
 backup=('etc/tpm2-tss/fapi-config.json'
         'etc/tpm2-tss/fapi-profiles/P_ECCP256SHA256.json'
         'etc/tpm2-tss/fapi-profiles/P_RSA2048SHA256.json')
-options=('!emptydirs' '!lto')
-source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
-sha512sums=('8967f172c92f1e3e5ba324dbe8afe07bf1bc7179dd755cef9812105f32634f312ee7cc7dfe8e13af69dc219432463f5dc9b93477743de47aba6af1d70b252405'
-            'SKIP')
+options=('debug' '!emptydirs' '!lto')
+source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc}
+        'https://raw.githubusercontent.com/tpm2-software/tpm2-tss/e237e4d33cbf280292a480edd8ad061dcd3a37a2/lib/tss2-tcti-libtpms.map')
+sha512sums=('cabb411f074dfa94919ba914849aac77a0ac2f50622e28a1406cf575369148774748e0e2b7a7c566ec83561a96d4b883bac5a3b1763f4cf48668a0c5d68c0a23'
+            'SKIP'
+            '55be966eb320c96ca49b3aaa0635815076fe1a21149d1a0f95654778c8359bd16f18a10c0cabe955a366d4a14e2645a8150878b601085d987727de40831e50ab')
 validpgpkeys=('D6B4D8BAC7E0CC97DCD4AC7272E88B53F7A95D84'  # Andreas Fuchs <andreas.fuchs at sit.fraunhofer.de>
               '5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1') # William Roberts (Bill Roberts) <william.c.roberts at intel.com>
 
+prepare() {
+	cd "$pkgname-$pkgver"
+	# Add file missing from release tarball (https://github.com/tpm2-software/tpm2-tss/issues/2313)
+	cp "$srcdir/tss2-tcti-libtpms.map" lib
+}
+
 build() {
 	cd "$pkgname-$pkgver"
 	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \



More information about the arch-commits mailing list