public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/wget1] rawhide: Do not check for nettle when using gnutls
Date: Thu, 12 Nov 2026 08:20:10 GMT [thread overview]
Message-ID: <179447161018.1.4289342074459671323.rpms-wget1-6148bf342e3c@fedoraproject.org> (raw)
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
next reply other threads:[~2026-11-12 8:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 8:20 Yaakov Selkowitz [this message]
2026-11-12 16:24 [rpms/wget1] rawhide: Do not check for nettle when using gnutls Yaakov Selkowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179447161018.1.4289342074459671323.rpms-wget1-6148bf342e3c@fedoraproject.org \
--to=yselkowi@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox