diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 180c679..4ade073 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -3,7 +3,7 @@ pkgname=gnutls pkgver=3.7.4 -pkgrel=2 +pkgrel=3 pkgdesc="A library which provides a secure layer over a reliable transport layer" arch=('x86_64') license=('GPL3' 'LGPL2.1') @@ -11,8 +11,10 @@ url="https://www.gnutls.org/" options=('!zipman' 'debug') depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit' 'libidn2' 'libidn2.so' 'libunistring' 'brotli') -checkdepends=('net-tools') -optdepends=('guile: for use with Guile bindings') +makedepends=('tpm2-tss') +checkdepends=('net-tools' 'nmap' 'swtpm' 'tpm2-tss-engine' 'tpm2-tools') +optdepends=('guile: for use with Guile bindings' + 'tpm2-tss: support for TPM2 wrapped keys') source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/${pkgname}-${pkgver}.tar.xz{,.sig}) sha256sums=('e6adbebcfbc95867de01060d93c789938cf89cc1d1f6ef9ef661890f6217451f' 'SKIP') @@ -25,7 +27,8 @@ build() { --with-idn \ --enable-openssl-compatibility \ --enable-guile --with-guile-site-dir=no \ - --with-default-trust-store-pkcs11="pkcs11:" + --with-default-trust-store-pkcs11="pkcs11:" \ + --with-tpm2 # --enable-ktls \ # breaks testsuite sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make