|
|
|
@ -1,23 +1,36 @@
|
|
|
|
|
Summary: A utility for retrieving files using the HTTP or FTP protocols
|
|
|
|
|
Name: wget
|
|
|
|
|
Version: 1.21.1
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Version: 1.24.5
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
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/
|
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch1: wget-1.17-path.patch
|
|
|
|
|
Patch2: wget-1.21-strtol.patch
|
|
|
|
|
Patch3: wget-1.21-metalink-man.patch
|
|
|
|
|
Patch4: wget-1.21-segfault.patch
|
|
|
|
|
Patch5: wget-1.21-CVE-2024-38428.patch
|
|
|
|
|
|
|
|
|
|
Provides: webclient
|
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
# needed for test suite
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl(lib), perl(English), perl(HTTP::Daemon), python3
|
|
|
|
|
BuildRequires: gnutls-devel, pkgconfig, texinfo, gettext, autoconf, libidn2-devel, libuuid-devel, perl-podlators, libpsl-devel, gpgme-devel, gcc, zlib-devel
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(English)
|
|
|
|
|
BuildRequires: perl(HTTP::Daemon)
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: texinfo
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: libidn2-devel
|
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
BuildRequires: perl-podlators
|
|
|
|
|
BuildRequires: libpsl-devel
|
|
|
|
|
BuildRequires: gpgme-devel
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
GNU Wget is a file retrieval utility which can use either the HTTP or
|
|
|
|
@ -29,22 +42,19 @@ HTTP servers to retrieve files over slow or unstable connections,
|
|
|
|
|
support for Proxy servers, and configurability.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup -S git
|
|
|
|
|
|
|
|
|
|
# modify the package string
|
|
|
|
|
sed -i "s|\(PACKAGE_STRING='wget .*\)'|\1 (Red Hat modified)'|" configure
|
|
|
|
|
grep "PACKAGE_STRING='wget .* (Red Hat modified)'" configure || exit 1
|
|
|
|
|
|
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure \
|
|
|
|
|
--with-ssl=gnutls \
|
|
|
|
|
--with-ssl=openssl \
|
|
|
|
|
--with-libpsl \
|
|
|
|
|
--enable-largefile \
|
|
|
|
|
--enable-opie \
|
|
|
|
|
--enable-digest \
|
|
|
|
|
--enable-ntlm \
|
|
|
|
|
--enable-nls \
|
|
|
|
|
--enable-ipv6 \
|
|
|
|
|
--disable-rpath
|
|
|
|
@ -70,6 +80,16 @@ make check
|
|
|
|
|
%{_infodir}/*
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Resolves: RHEL-61131 - Missing BuildRequries to nettle-devel
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.24.5-2
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jul 15 2024 Michal Ruprich <mruprich@redhat.com> - 1.21.1-8
|
|
|
|
|
- Resolves: RHEL-43226 - Misinterpretation of input may lead to improper behavior
|
|
|
|
|
|
|
|
|
|