From fa1d997f339641ffa9ede7edf56dd350b18d6d1d Mon Sep 17 00:00:00 2001 From: Ranme Fritzvilliams Date: Sat, 27 Nov 2021 13:52:03 +0300 Subject: [PATCH] gnutls: update to 3.7.2 The upstream source code had changed the path of "tests/cert-tests/certtool" by suffixing it with ".sh", therefore making changes to the patch and template to be required. --- srcpkgs/gnutls/patches/tests-certtool-no-prompt.patch | 4 ++-- srcpkgs/gnutls/template | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/gnutls/patches/tests-certtool-no-prompt.patch b/srcpkgs/gnutls/patches/tests-certtool-no-prompt.patch index 28fdf69446a9..17f0a62cf49b 100644 --- a/srcpkgs/gnutls/patches/tests-certtool-no-prompt.patch +++ b/srcpkgs/gnutls/patches/tests-certtool-no-prompt.patch @@ -1,8 +1,8 @@ upstream: no reason: don't prompt for password, don't assume it has been asked for ---- a/tests/cert-tests/certtool -+++ b/tests/cert-tests/certtool +--- a/tests/cert-tests/certtool.sh ++++ b/tests/cert-tests/certtool.sh @@ -26,6 +26,7 @@ TMPFILE1=certtool-file1.$$.tmp TMPFILE2=certtool-file2.$$.tmp diff --git a/srcpkgs/gnutls/template b/srcpkgs/gnutls/template index 3f02c29d3b27..d893d2228887 100644 --- a/srcpkgs/gnutls/template +++ b/srcpkgs/gnutls/template @@ -1,6 +1,6 @@ # Template file for 'gnutls' pkgname=gnutls -version=3.6.16 +version=3.7.2 revision=1 build_style=gnu-configure configure_args="--with-zlib --disable-guile --disable-static @@ -21,10 +21,10 @@ maintainer="Orphaned " license="GPL-3.0-only, LGPL-2.1-or-later" homepage="https://gnutls.org" distfiles="https://www.gnupg.org/ftp/gcrypt/gnutls/v${version%.*}/gnutls-${version}.tar.xz" -checksum=1b79b381ac283d8b054368b335c408fedcb9b7144e0c07f531e3537d4328f3b3 +checksum=646e6c5a9a185faa4cea796d378a1ba8e1148dbb197ca6605f95986a25af2752 pre_check() { - # same as $PASS in tests/cert-tests/certtool + # same as $PASS in tests/cert-tests/certtool.sh export GNUTLS_PIN=1234 }