upg gnutls

This commit is contained in:
joborun linux 2022-09-29 22:43:56 +03:00
parent 5819f81937
commit 7db40f9a06
4 changed files with 25 additions and 35 deletions

View file

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gnutls
pkgver=3.7.7
pkgrel=03
pkgver=3.7.8
pkgrel=01
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=('x86_64')
url="https://www.gnutls.org/"
@ -19,13 +19,12 @@ makedepends=('tpm2-tss')
checkdepends=('net-tools' '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}
0001-fix-avx-detection.patch)
source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/${pkgname}-${pkgver}.tar.xz{,.sig})
prepare() {
cd ${pkgname}-${pkgver}
# FS#75613 / https://gitlab.com/gnutls/gnutls/-/merge_requests/1631
patch -Np1 -i ../0001-fix-avx-detection.patch
# patch -Np1 -i ../0001-fix-avx-detection.patch
}
build() {
@ -48,12 +47,12 @@ build() {
make
}
#check() {
# cd ${pkgname}-${pkgver}
# # disable parallel tests:
# # FAIL: serv-udp.sh
# make -j1 check
#}
check() {
cd ${pkgname}-${pkgver}
# disable parallel tests:
# FAIL: serv-udp.sh
make check
}
package() {
cd ${pkgname}-${pkgver}
@ -72,7 +71,5 @@ license=('GPL3' 'LGPL2.1')
#validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # "Daiki Ueno <ueno@unixuser.org>"
validpgpkeys=('5D46CB0F763405A7053556F47A75A648B3F9220C') # "Zoltan Fridrich <zfridric@redhat.com>"
sha256sums=(be9143d0d58eab64dba9b77114aaafac529b6c0d7e81de6bdf1c9b59027d2106 # gnutls-3.7.7.tar.xz
dd7d0e7ba0b82fbe07088eed3c1e3970ceceb1add01dea8fef93db0710aa5e97 # gnutls-3.7.7.tar.xz.sig
f5a7155e319d823f72c1ae682aa8d93161965f87c453e7896a1149c4669ba92f) # 0001-fix-avx-detection.patch
sha256sums=(c58ad39af0670efe6a8aee5e3a8b2331a1200418b64b7c51977fb396d4617114 # gnutls-3.7.8.tar.xz
f355275b86b8a9d257b8a8a81370b7879d361113cb87c3cead2d1be5e69d19fa) # gnutls-3.7.8.tar.xz.sig

View file

@ -2,8 +2,8 @@
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gnutls
pkgver=3.7.7
pkgrel=3
pkgver=3.7.8
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=('x86_64')
license=('GPL3' 'LGPL2.1')
@ -16,21 +16,12 @@ checkdepends=('net-tools' 'tpm2-tools')
optdepends=('guile: for use with Guile bindings'
'tpm2-tss: support for TPM2 wrapped keys'
'zstd: for compression support')
source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/${pkgname}-${pkgver}.tar.xz{,.sig}
0001-fix-avx-detection.patch)
sha256sums=('be9143d0d58eab64dba9b77114aaafac529b6c0d7e81de6bdf1c9b59027d2106'
'SKIP'
'f5a7155e319d823f72c1ae682aa8d93161965f87c453e7896a1149c4669ba92f')
source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/${pkgname}-${pkgver}.tar.xz{,.sig})
sha256sums=('c58ad39af0670efe6a8aee5e3a8b2331a1200418b64b7c51977fb396d4617114'
'SKIP')
#validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # "Daiki Ueno <ueno@unixuser.org>"
validpgpkeys=('5D46CB0F763405A7053556F47A75A648B3F9220C') # "Zoltan Fridrich <zfridric@redhat.com>"
prepare() {
cd ${pkgname}-${pkgver}
# FS#75613 / https://gitlab.com/gnutls/gnutls/-/merge_requests/1631
patch -Np1 -i ../0001-fix-avx-detection.patch
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
@ -51,7 +42,8 @@ check() {
cd ${pkgname}-${pkgver}
# disable parallel tests:
# FAIL: serv-udp.sh
make -j1 check
# make -j1 check
make check
}
package() {

View file

@ -2,5 +2,3 @@ net-tools
tpm2-tss
tpm2-tools

View file

@ -1,3 +1,6 @@
real 8m21.063s
user 15m16.487s
sys 0m55.998s
real 21m48.912s
user 13m11.570s
sys 0m58.004s