Resolves: RHEL-59862 - Avoid direct usage of nettle functions

This commit is contained in:
Michal Ruprich 2024-11-07 13:18:08 +01:00
parent d4eb448b76
commit 5ca36e9dcc

View File

@ -1,7 +1,7 @@
Summary: A utility for retrieving files using the HTTP or FTP protocols Summary: A utility for retrieving files using the HTTP or FTP protocols
Name: wget Name: wget
Version: 1.24.5 Version: 1.24.5
Release: 3%{?dist} Release: 4%{?dist}
License: GPL-3.0-or-later AND LGPL-2.1-or-later AND GFDL-1.3-or-later License: GPL-3.0-or-later AND LGPL-2.1-or-later AND GFDL-1.3-or-later
Url: http://www.gnu.org/software/wget/ Url: http://www.gnu.org/software/wget/
Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz
@ -18,7 +18,7 @@ BuildRequires: perl(lib)
BuildRequires: perl(English) BuildRequires: perl(English)
BuildRequires: perl(HTTP::Daemon) BuildRequires: perl(HTTP::Daemon)
BuildRequires: python3 BuildRequires: python3
BuildRequires: gnutls-devel BuildRequires: openssl-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: texinfo BuildRequires: texinfo
BuildRequires: gettext BuildRequires: gettext
@ -31,7 +31,6 @@ BuildRequires: gpgme-devel
BuildRequires: gcc BuildRequires: gcc
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: git-core BuildRequires: git-core
BuildRequires: nettle-devel
%description %description
GNU Wget is a file retrieval utility which can use either the HTTP or GNU Wget is a file retrieval utility which can use either the HTTP or
@ -51,12 +50,11 @@ grep "PACKAGE_STRING='wget .* (Red Hat modified)'" configure || exit 1
%build %build
%configure \ %configure \
--with-ssl=gnutls \ --with-ssl=openssl \
--with-libpsl \ --with-libpsl \
--enable-largefile \ --enable-largefile \
--enable-opie \ --enable-opie \
--enable-digest \ --enable-digest \
--enable-ntlm \
--enable-nls \ --enable-nls \
--enable-ipv6 \ --enable-ipv6 \
--disable-rpath --disable-rpath
@ -82,6 +80,9 @@ make check
%{_infodir}/* %{_infodir}/*
%changelog %changelog
* Thu Nov 07 2024 Michal Ruprich <mruprich@redhat.com> - 1.24.5-4
- Resolves: RHEL-59862 - Avoid direct usage of nettle functions
* Tue Nov 05 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.24.5-3 * Tue Nov 05 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.24.5-3
- Resolves: RHEL-61131 - Missing BuildRequries to nettle-devel - Resolves: RHEL-61131 - Missing BuildRequries to nettle-devel