[arch-commits] Commit in tpm2-pkcs11/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Mon Aug 10 15:32:16 UTC 2020
Date: Monday, August 10, 2020 @ 15:32:16
Author: diabonas
Revision: 673774
archrelease: copy trunk to community-x86_64
Added:
tpm2-pkcs11/repos/community-x86_64/PKGBUILD
(from rev 673773, tpm2-pkcs11/trunk/PKGBUILD)
Deleted:
tpm2-pkcs11/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-10 15:32:10 UTC (rev 673773)
+++ PKGBUILD 2020-08-10 15:32:16 UTC (rev 673774)
@@ -1,46 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=tpm2-pkcs11
-pkgver=1.3.1
-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-cryptography' 'python-pyasn1-modules' 'python-yaml' 'sqlite'
- 'tpm2-tools' 'tpm2-tss' 'libtss2-esys.so' 'libtss2-mu.so' 'libtss2-rc.so' 'libtss2-tctildr.so')
-makedepends=('cmocka')
-checkdepends=('ibm-sw-tpm2' 'iproute2' 'java-hamcrest' 'junit' 'libp11' 'opensc' 'tpm2-abrmd' 'wget' 'xxd')
-source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc}
- "tpm2-pkcs11-1.2.0_gcc-10-fix.patch::$url/commit/13691c677e5f3af4c1ee4e26e04dbe4bcb1e5c28.patch")
-sha512sums=('031b7411c135b2cb3b8f7c38af69a46e65088c4dc1da13ae5c44f92d2a2e293dfe2bea0adc68eb3e64b02b5445f55c353c5c209ecbc977411747fbd429ebdc86'
- 'SKIP'
- '8a52ebf13e715be87f2a103765eb45051ad9c6124cd5e6826fdf20f50c69bdd5c103d1a4168653d4b6eb4cc68974d0b5adcb8b42211181d066a772c3a416cd61')
-validpgpkeys=('5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1') # William Roberts (Bill Roberts) <william.c.roberts at intel.com>
-
-prepare() {
- cd "$pkgname-$pkgver"
- # Fix test suite for GCC 10 (https://github.com/tpm2-software/tpm2-pkcs11/pull/514)
- patch --strip=1 --input="$srcdir/tpm2-pkcs11-1.2.0_gcc-10-fix.patch"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- export CLASSPATH="/usr/share/java/junit.jar:/usr/share/java/hamcrest-core.jar:$CLASSPATH"
- ./configure --prefix=/usr --enable-unit $( ((CHECKFUNC)) && echo --enable-integration)
- make
- cd tools
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
- cd tools
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: tpm2-pkcs11/repos/community-x86_64/PKGBUILD (from rev 673773, tpm2-pkcs11/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-10 15:32:16 UTC (rev 673774)
@@ -0,0 +1,46 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=tpm2-pkcs11
+pkgver=1.3.2
+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-cryptography' 'python-pyasn1-modules' 'python-yaml' 'sqlite'
+ 'tpm2-tools' 'tpm2-tss' 'libtss2-esys.so' 'libtss2-mu.so' 'libtss2-rc.so' 'libtss2-tctildr.so')
+makedepends=('cmocka')
+checkdepends=('ibm-sw-tpm2' 'iproute2' 'java-hamcrest' 'junit' 'libp11' 'opensc' 'tpm2-abrmd' 'wget' 'xxd')
+source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc}
+ "tpm2-pkcs11-1.2.0_gcc-10-fix.patch::$url/commit/13691c677e5f3af4c1ee4e26e04dbe4bcb1e5c28.patch")
+sha512sums=('cca15ace5e6c576591c3432eabb0de98f276a334785b021aa28601c9a77686737c23702fd0ac384feeaf71c8966eccc0006ba428b400de58f811848538ffa978'
+ 'SKIP'
+ '8a52ebf13e715be87f2a103765eb45051ad9c6124cd5e6826fdf20f50c69bdd5c103d1a4168653d4b6eb4cc68974d0b5adcb8b42211181d066a772c3a416cd61')
+validpgpkeys=('5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1') # William Roberts (Bill Roberts) <william.c.roberts at intel.com>
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # Fix test suite for GCC 10 (https://github.com/tpm2-software/tpm2-pkcs11/pull/514)
+ patch --strip=1 --input="$srcdir/tpm2-pkcs11-1.2.0_gcc-10-fix.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ export CLASSPATH="/usr/share/java/junit.jar:/usr/share/java/hamcrest-core.jar:$CLASSPATH"
+ ./configure --prefix=/usr --enable-unit $( ((CHECKFUNC)) && echo --enable-integration)
+ make
+ cd tools
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+ cd tools
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list