From b5c41c44eb21a70870e8377865703a388f46f114 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sat, 29 May 2021 13:06:03 +0200 Subject: [PATCH] up to 3.7.2 - new af_alg bcond disabled until issue is resolved: https://gitlab.com/gnutls/gnutls/-/issues/1246 --- gnutls-pl.po-update.patch | 2 +- gnutls.spec | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gnutls-pl.po-update.patch b/gnutls-pl.po-update.patch index dd9e020..111ddb9 100644 --- a/gnutls-pl.po-update.patch +++ b/gnutls-pl.po-update.patch @@ -13,7 +13,7 @@ -"Project-Id-Version: gnutls-3.6.8\n" +"Project-Id-Version: gnutls-3.6.10\n" "Report-Msgid-Bugs-To: bug-gnutls@gnu.org\n" - "POT-Creation-Date: 2021-03-10 12:53+0100\n" + "POT-Creation-Date: 2021-05-29 10:15+0200\n" -"PO-Revision-Date: 2019-06-01 08:22+0200\n" +"PO-Revision-Date: 2020-09-09 21:30+0200\n" "Last-Translator: Jakub Bogusz \n" diff --git a/gnutls.spec b/gnutls.spec index c133559..b3316c0 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -6,16 +6,17 @@ %bcond_without static_libs # static libraries %bcond_without doc # do not generate documentation %bcond_without guile # Guile binding +%bcond_with af_alg # Linux kernel AF_ALG based acceleration # Summary: The GNU Transport Layer Security Library Summary(pl.UTF-8): Biblioteka GNU TLS (Transport Layer Security) Name: gnutls -Version: 3.7.1 +Version: 3.7.2 Release: 1 License: LGPL v2.1+ (libgnutls), LGPL v3+ (libdane), GPL v3+ (openssl library and tools) Group: Libraries Source0: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.7/%{name}-%{version}.tar.xz -# Source0-md5: 278e1f50d79cd13727733adbf01fde8f +# Source0-md5: 95c32a1af583ecfcb280648874c0fbd9 Patch0: %{name}-info.patch Patch1: %{name}-link.patch Patch2: %{name}-pl.po-update.patch @@ -30,6 +31,7 @@ BuildRequires: gmp-devel %{?with_doc:BuildRequires: gtk-doc >= 1.14} %{?with_guile:BuildRequires: guile-devel >= 5:2.2.0} BuildRequires: libidn2-devel >= 2.0.0 +%{?with_af_alg:BuildRequires: libkcapi-devel >= 1.3.0} BuildRequires: libstdc++-devel BuildRequires: libtasn1-devel >= 4.11 BuildRequires: libunistring-devel @@ -72,6 +74,7 @@ Summary: GnuTLS shared libraries Summary(pl.UTF-8): Biblioteki współdzielone GnuTLS Group: Libraries Requires: libidn2 >= 2.0.0 +%{?with_af_alg:Requires: libkcapi >= 1.3.0} Requires: libtasn1 >= 4.11 Requires: nettle >= 3.6 #Requires: opencdk >= 0.6.6 @@ -264,6 +267,7 @@ Wiązania Guile do GnuTLS. %{__autoheader} %{__automake} %configure \ + %{?with_af_alg:--enable-afalg} \ %{!?with_doc:--disable-doc} \ %{!?with_guile:--disable-guile} \ %{?with_openssl:--enable-openssl-compatibility} \ -- 2.44.0