public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/wget1] rawhide: Do not check for nettle when using gnutls
@ 2026-11-12 16:24 Yaakov Selkowitz
0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2026-11-12 16:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/wget1
Branch : rawhide
Commit : 20019ab33df81ec76c62b45ee47e66c9785628e0
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-11-12T11:24:27-05:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/wget1/c/20019ab33df81ec76c62b45ee47e66c9785628e0?branch=rawhide
Log:
Do not check for nettle when using gnutls
---
diff --git a/wget1.spec b/wget1.spec
index 0efa350..4536505 100644
--- a/wget1.spec
+++ b/wget1.spec
@@ -1,7 +1,7 @@
Summary: A utility for retrieving files using the HTTP or FTP protocols
Name: wget1
Version: 1.25.0
-Release: 6%{?dist}
+Release: 7%{?dist}
# Generally wget is distributed under GPLv3 or later but there are files in lib/ directory
# which are under LGPLv2.1 or later and are actually built into the resulting rpm.
# This version of wget is built with gnutls so I believe that the 'with openssl'
@@ -122,6 +122,9 @@ echo ".so man1/%{name}.1" > %{buildroot}%{_mandir}/man1/wget.1
%config(noreplace) %{_sysconfdir}/wgetrc
%changelog
+* Thu Nov 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.25.0-7
+- Do not check for nettle when using gnutls
+
* Mon Sep 14 2026 Michal Ruprich <mruprich@redhat.com> - 1.25.0-6
- Fix for CVE-2026-16599
^ permalink raw reply related [flat|nested] 2+ messages in thread* [rpms/wget1] rawhide: Do not check for nettle when using gnutls
@ 2026-11-12 8:20 Yaakov Selkowitz
0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2026-11-12 8:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/wget1
Branch : rawhide
Commit : 6148bf342e3c79e5cf1090c149c8a3668bab07df
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-11-09T13:18:08-05:00
Stats : +24/-5 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/wget1/c/6148bf342e3c79e5cf1090c149c8a3668bab07df?branch=rawhide
Log:
Do not check for nettle when using gnutls
This is a follow-up to commit 64c9ffc99af5e3bac0125856e11a7c5703ef5680
"Use gnutls for NTLM crypto". As of RHEL 10, gnutls bundles nettle instead
of requiring it, so nettle-devel is not pulled in, and the configure test
errors out.
---
diff --git a/wget-1.24.5-no-nettle.patch b/wget-1.24.5-no-nettle.patch
index 8d25624..0e3159e 100644
--- a/wget-1.24.5-no-nettle.patch
+++ b/wget-1.24.5-no-nettle.patch
@@ -3,10 +3,27 @@ From: rpm-build <rpm-build>
Date: Wed, 11 Dec 2024 17:14:58 +0900
Subject: [PATCH] wget-1.24.5-no-nettle.patch
----
- src/http-ntlm.c | 91 ++++++++++++++++++++++++++++++++++++-------------
- 1 file changed, 68 insertions(+), 23 deletions(-)
-
+diff --git a/configure.ac b/configure.ac
+index 996c70d..abd532c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -602,6 +602,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [
+ ssl_library="gnutls"
+ LIBS="$GNUTLS_LIBS $LIBS"
+ CFLAGS="$GNUTLS_CFLAGS -DHAVE_LIBGNUTLS $CFLAGS"
++ LIBGNUTLS=" " # ntlm check below wants this
+ AC_DEFINE([HAVE_LIBGNUTLS], [1], [Define if using gnutls.])
+ ssl_found=yes
+ ])
+@@ -628,7 +629,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [
+ dnl Enable NTLM if requested and if SSL is available.
+ if test x"$ENABLE_NTLM" != xno
+ then
+- if test x"$LIBSSL" != x || test "$ac_cv_lib_ssl32_SSL_connect" = yes
++ if test x"$LIBSSL" != x || test x"$LIBGNUTLS" != x || test "$ac_cv_lib_ssl32_SSL_connect" = yes
+ then
+ ENABLE_NTLM=yes
+ AC_DEFINE([ENABLE_NTLM], 1, [Define if you want the NTLM authorization support compiled in.])
diff --git a/src/http-ntlm.c b/src/http-ntlm.c
index ee054e0..9f5b50e 100644
--- a/src/http-ntlm.c
@@ -150,4 +167,3 @@ index ee054e0..9f5b50e 100644
--
2.47.0
-
diff --git a/wget1.spec b/wget1.spec
index f0f92d4..0efa350 100644
--- a/wget1.spec
+++ b/wget1.spec
@@ -31,6 +31,8 @@ BuildRequires: pkgconfig
BuildRequires: texinfo
BuildRequires: gettext
BuildRequires: autoconf
+BuildRequires: autoconf-archive
+BuildRequires: automake
BuildRequires: libidn2-devel
BuildRequires: libuuid-devel
BuildRequires: perl-podlators
@@ -66,6 +68,7 @@ the system provider of wget.
%prep
%autosetup -S git -n wget-%{version}
+autoreconf -fiv
# modify the package string
sed -i "s|\(PACKAGE_STRING='wget .*\)'|\1 (Red Hat modified)'|" configure
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-12 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 16:24 [rpms/wget1] rawhide: Do not check for nettle when using gnutls Yaakov Selkowitz
-- strict thread matches above, loose matches on Subject: below --
2026-11-12 8:20 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox