* update gnutls to 3.7.2-2

This commit is contained in:
Alexander Baldeck 2021-06-15 10:20:47 +02:00
parent a7c13571ee
commit 61dda3c3d6

View File

@ -3,8 +3,8 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=gnutls
pkgver=3.7.1
pkgrel=1
pkgver=3.7.2
pkgrel=2
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=(x86_64 powerpc64le powerpc)
license=('GPL3' 'LGPL2.1')
@ -15,19 +15,18 @@ depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit' 'libidn2'
checkdepends=('net-tools')
optdepends=('guile: for use with Guile bindings')
source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/${pkgname}-${pkgver}.tar.xz{,.sig})
sha256sums=('3777d7963eca5e06eb315686163b7b3f5045e2baac5e54e038ace9835e5cac6f'
sha256sums=('646e6c5a9a185faa4cea796d378a1ba8e1148dbb197ca6605f95986a25af2752'
'SKIP')
validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # "Daiki Ueno <ueno@unixuser.org>"
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-zlib \
--disable-static \
--with-idn \
--enable-openssl-compatibility \
--enable-guile --with-guile-site-dir=no \
--with-default-trust-store-pkcs11="pkcs11:model=p11-kit-trust;manufacturer=PKCS%2311%20Kit"
--with-default-trust-store-pkcs11="pkcs11:"
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}