core/gnutls to 3.8.2-1

This commit is contained in:
Kevin Mihelich 2023-11-19 16:11:37 +00:00
parent 078ce08d50
commit 8ac8f64e34
3 changed files with 69 additions and 9 deletions

40
core/gnutls/.SRCINFO Normal file
View file

@ -0,0 +1,40 @@
pkgbase = gnutls
pkgdesc = A library which provides a secure layer over a reliable transport layer
pkgver = 3.8.2
pkgrel = 1
url = https://www.gnutls.org/
arch = x86_64
license = GPL3
license = LGPL2.1
checkdepends = net-tools
checkdepends = tpm2-tools
makedepends = tpm2-tss
makedepends = gtk-doc
depends = glibc
depends = gcc-libs
depends = gmp
depends = libtasn1
depends = readline
depends = zlib
depends = nettle
depends = libp11-kit
depends = libidn2
depends = zstd
depends = libidn2.so
depends = libunistring
depends = brotli
optdepends = tpm2-tss: support for TPM2 wrapped keys
options = !zipman
backup = etc/gnutls/config
backup = etc/modules-load.d/gnutls.conf
source = https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.2.tar.xz
source = https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.2.tar.xz.sig
source = config
source = gnutls-ktls_disable_keyupdate_test.patch
validpgpkeys = 462225C3B46F34879FC8496CD605848ED7E69871
sha256sums = e765e5016ffa9b9dd243e363a0460d577074444ee2491267db2e96c9c2adef77
sha256sums = SKIP
sha256sums = 22e614510fe52defe8c233ce3e5ead2205739fd967657ce3176ca121f3c562b5
sha256sums = 2a911615739cb327b6dced36b595ea10c89f40bb7274d062dab14a9ecfe89708
pkgname = gnutls

View file

@ -5,8 +5,8 @@
# - compile v7 with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
pkgname=gnutls
pkgver=3.8.1
pkgrel=2
pkgver=3.8.2
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=('x86_64')
license=('GPL3' 'LGPL2.1')
@ -14,19 +14,29 @@ url="https://www.gnutls.org/"
options=('!zipman')
depends=('glibc' 'gcc-libs' 'gmp' 'libtasn1' 'readline' 'zlib' 'nettle'
'libp11-kit' 'libidn2' 'zstd' 'libidn2.so' 'libunistring' 'brotli')
makedepends=('tpm2-tss')
makedepends=('tpm2-tss'
# required for autoreconf when patching
'gtk-doc')
checkdepends=('net-tools' 'tpm2-tools')
optdepends=('tpm2-tss: support for TPM2 wrapped keys')
backup=(etc/gnutls/config
etc/modules-load.d/gnutls.conf)
source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/${pkgname}-${pkgver}.tar.xz{,.sig}
config)
sha256sums=('ba8b9e15ae20aba88f44661978f5b5863494316fe7e722ede9d069fe6294829c'
config
gnutls-ktls_disable_keyupdate_test.patch)
sha256sums=('e765e5016ffa9b9dd243e363a0460d577074444ee2491267db2e96c9c2adef77'
'SKIP'
'22e614510fe52defe8c233ce3e5ead2205739fd967657ce3176ca121f3c562b5')
'22e614510fe52defe8c233ce3e5ead2205739fd967657ce3176ca121f3c562b5'
'2a911615739cb327b6dced36b595ea10c89f40bb7274d062dab14a9ecfe89708')
validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # "Daiki Ueno <ueno@unixuser.org>"
#validpgpkeys=('5D46CB0F763405A7053556F47A75A648B3F9220C') # "Zoltan Fridrich <zfridric@redhat.com>"
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ../gnutls-ktls_disable_keyupdate_test.patch
autoreconf -vfi
}
build() {
cd ${pkgname}-${pkgver}
[[ $CARCH == "armv7h" ]] && CPPFLAGS+=" -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"
@ -45,9 +55,6 @@ build() {
check() {
cd ${pkgname}-${pkgver}
# disable parallel tests:
# FAIL: serv-udp.sh
# make -j1 check
make check
}

View file

@ -0,0 +1,13 @@
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2872cb1aa..247dfd3d8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -504,8 +504,6 @@ endif
if ENABLE_KTLS
indirect_tests += gnutls_ktls
dist_check_SCRIPTS += ktls.sh
-indirect_tests += ktls_keyupdate
-dist_check_SCRIPTS += ktls_keyupdate.sh
endif
if !WINDOWS