Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: tpm2-pkcs11 1.9.0-1: Upgrade to 1.9.0 and rebuild against Pyt…
Browse files Browse the repository at this point in the history
…hon 3.11.

Run autoreconf in prepare() and disable failing test: tpm2-software/tpm2-pkcs11#836
Add all direct dependencies.

git-svn-id: file:///srv/repos/svn-community/svn@1443510 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
dvzrv committed Apr 9, 2023
1 parent 0a2542c commit 2d7e23b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tpm2-pkcs11/trunk/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
# Maintainer: Jonas Witschel <diabonas@archlinux.org>
pkgname=tpm2-pkcs11
pkgver=1.8.0
pkgrel=2
pkgver=1.9.0
pkgrel=1
pkgdesc='PKCS#11 interface for Trusted Platform Module 2.0 hardware'
arch=('x86_64')
url='https://github.com/tpm2-software/tpm2-pkcs11'
license=('BSD')
depends=('libyaml' 'openssl' 'python' 'python-bcrypt' 'python-cryptography' 'python-pyasn1'
depends=('glibc' 'libyaml' 'openssl' 'python' 'python-bcrypt' 'python-cryptography' 'python-pyasn1'
'python-pyasn1-modules' 'python-tpm2-pytss' 'python-yaml' 'sqlite' 'tpm2-tools' 'tpm2-tss'
'libtss2-esys.so' 'libtss2-fapi.so' 'libtss2-mu.so' 'libtss2-rc.so' 'libtss2-tctildr.so')
makedepends=('cmocka' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
checkdepends=('expect' 'iproute2' 'java-hamcrest' 'junit' 'libp11' 'opensc' 'openssh'
'python-python-pkcs11' 'swtpm' 'tpm2-abrmd' 'tpm2-openssl' 'wget' 'xxd')
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
sha512sums=('599feb4d888c25a3359927b1d408f9ce85ba69d8a0e7af7ae9f3736e8940ec8d5f58b3094bef3b6515c0b1810249ea98cd73dbce592cb63de3b45ff976adda80'
sha512sums=('e88e78790a8d4d5a67713855106860e90dd18da00dc738ca7bfebf7979cdde54ce5089d0be015e7a208117bf393db700ca7739986c5e8138ee0e3b37344614b0'
'SKIP')
validpgpkeys=('5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1') # William Roberts (Bill Roberts) <william.c.roberts@intel.com>

prepare() {
cd "$pkgname-$pkgver"
autoreconf -fiv

# disable broken test: https://github.com/tpm2-software/tpm2-pkcs11/issues/836
sed -e 's|test/integration/pkcs11-tool.sh||' -i Makefile*
}

build() {
cd "$pkgname-$pkgver"
export CLASSPATH="/usr/share/java/junit.jar:/usr/share/java/hamcrest-core.jar:$CLASSPATH"
Expand Down

0 comments on commit 2d7e23b

Please sign in to comment.