diff --git a/wget-1.21-ssl-init-output.patch b/wget-1.21-ssl-init-output.patch new file mode 100644 index 0000000..3f4fbea --- /dev/null +++ b/wget-1.21-ssl-init-output.patch @@ -0,0 +1,21 @@ +diff --git a/src/gnutls.c b/src/gnutls.c +index 0ecf2c81..81fe9518 100644 +--- a/src/gnutls.c ++++ b/src/gnutls.c +@@ -99,7 +99,6 @@ static gnutls_certificate_credentials_t credentials; + bool + ssl_init (void) + { +- fprintf(stderr,"SSL_INIT\n"); + /* Becomes true if GnuTLS is initialized. */ + const char *ca_directory; + DIR *dir; +@@ -237,8 +236,6 @@ cert to be of the same type.\n")); + void + ssl_cleanup (void) + { +- fprintf(stderr,"SSL_CLEANUP\n"); +- + if (!ssl_initialized) + return; + diff --git a/wget.spec b/wget.spec index d97ca52..ab97584 100644 --- a/wget.spec +++ b/wget.spec @@ -1,13 +1,14 @@ Summary: A utility for retrieving files using the HTTP or FTP protocols Name: wget Version: 1.21.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Url: http://www.gnu.org/software/wget/ Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz Patch1: wget-1.17-path.patch Patch2: wget-1.21-segfault.patch +Patch3: wget-1.21-ssl-init-output.patch Provides: webclient Provides: bundled(gnulib) @@ -84,6 +85,9 @@ make check %{_infodir}/* %changelog +* Wed Oct 20 2021 Michal Ruprich - 1.21.2-2 +- Fix for #2014743 - wget regression SSL_INIT output even with --quiet enabled + * Fri Oct 15 2021 Michal Ruprich - 1.21.2-1 - New version 1.21.2 - Fix for #2010039 - [abrt] wget: find_cell(): wget killed by SIGSEGV