summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Witschel2019-04-24 18:45:07 +0200
committerJonas Witschel2019-04-24 18:45:07 +0200
commited86ed698f192fdc4d4138dd473bd978c4279f3c (patch)
tree2b5baddcb0dae039c004be7626b9a5f1202323e2
parent36fb2a73a4ab6b197bd647a925e41f561084b80f (diff)
downloadaur-ed86ed698f192fdc4d4138dd473bd978c4279f3c.tar.gz
upgpkg: tpm2-totp-git 0.1.0.r13.7196820-1
Enable tests by default, since they are guaranteed to use the TPM simulator after upstream PR #18.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD10
2 files changed, 5 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93edeb067345..994785a44417 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = tpm2-totp-git
pkgdesc = Attest the trustworthiness of a device against a human using time-based one-time passwords
- pkgver = 0.1.0.r7.04ca7a6
+ pkgver = 0.1.0.r13.7196820
pkgrel = 1
url = https://github.com/tpm2-software/tpm2-totp
arch = x86_64
license = BSD
checkdepends = ibm-sw-tpm2
+ checkdepends = iproute2
checkdepends = oath-toolkit
checkdepends = psmisc
checkdepends = tpm2-tools-git
diff --git a/PKGBUILD b/PKGBUILD
index 8446d20b6ff7..f9b296d26035 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jonas Witschel <diabonas at gmx dot de>
pkgname=tpm2-totp-git
-pkgver=0.1.0.r7.04ca7a6
+pkgver=0.1.0.r13.7196820
pkgrel=1
pkgdesc='Attest the trustworthiness of a device against a human using time-based one-time passwords'
arch=('x86_64')
@@ -8,7 +8,7 @@ url='https://github.com/tpm2-software/tpm2-totp'
license=('BSD')
depends=('qrencode' 'tpm2-tss')
makedepends=('git' 'autoconf-archive' 'pandoc')
-checkdepends=('ibm-sw-tpm2' 'oath-toolkit' 'psmisc' 'tpm2-tools-git')
+checkdepends=('ibm-sw-tpm2' 'iproute2' 'oath-toolkit' 'psmisc' 'tpm2-tools-git')
optdepends=('mkinitcpio: hook to display the TOTP during boot')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
@@ -18,7 +18,6 @@ source=("git+$url.git"
sha512sums=('SKIP'
'33738cb9d30d6ad338b6cf6bca538ba4f9b49b9ae799626efc7462bb2a31e386cd04d8298e8c2e3743f4c212866e864332869e4393871f22360edc2567fad163'
'ebce4c738012dbcb82513b1f8148ee17deb088f80fa4f365d1b5f34b9c57f28b1995b4e6d04e003fd2ef6ed3393fb0c4496d182b02a7f5b2609b2ed4a160dac1')
-BUILDENV+=('!check') # see warning below before enabling tests
pkgver() {
cd "${pkgname%-git}"
@@ -37,12 +36,9 @@ build() {
make
}
-# WARNING: currently tests are disabled by default because they use an available hardware TPM.
-# This will overwrite any TOTP secrects previously stored there! It is recommended to build
-# in a clean chroot that does not have access to the physical TPM device.
check() {
cd "${pkgname%-git}"
- make --jobs=1 check
+ make check
}
package() {