|
|
@ -1,23 +1,36 @@
|
|
|
|
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.21.1
|
|
|
|
Version: 1.24.5
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv3+
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: wget-1.17-path.patch
|
|
|
|
Patch1: wget-1.17-path.patch
|
|
|
|
Patch2: wget-1.21-strtol.patch
|
|
|
|
|
|
|
|
Patch3: wget-1.21-metalink-man.patch
|
|
|
|
Patch3: wget-1.21-metalink-man.patch
|
|
|
|
Patch4: wget-1.21-segfault.patch
|
|
|
|
|
|
|
|
Patch5: wget-1.21-CVE-2024-38428.patch
|
|
|
|
Patch5: wget-1.21-CVE-2024-38428.patch
|
|
|
|
|
|
|
|
|
|
|
|
Provides: webclient
|
|
|
|
Provides: webclient
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
# needed for test suite
|
|
|
|
# needed for test suite
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl(lib), perl(English), perl(HTTP::Daemon), python3
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: gnutls-devel, pkgconfig, texinfo, gettext, autoconf, libidn2-devel, libuuid-devel, perl-podlators, libpsl-devel, gpgme-devel, gcc, zlib-devel
|
|
|
|
BuildRequires: perl(English)
|
|
|
|
|
|
|
|
BuildRequires: perl(HTTP::Daemon)
|
|
|
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
|
|
|
BuildRequires: gnutls-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
|
|
|
|
%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
|
|
|
@ -29,14 +42,12 @@ HTTP servers to retrieve files over slow or unstable connections,
|
|
|
|
support for Proxy servers, and configurability.
|
|
|
|
support for Proxy servers, and configurability.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%autosetup -S git
|
|
|
|
|
|
|
|
|
|
|
|
# modify the package string
|
|
|
|
# modify the package string
|
|
|
|
sed -i "s|\(PACKAGE_STRING='wget .*\)'|\1 (Red Hat modified)'|" configure
|
|
|
|
sed -i "s|\(PACKAGE_STRING='wget .*\)'|\1 (Red Hat modified)'|" configure
|
|
|
|
grep "PACKAGE_STRING='wget .* (Red Hat modified)'" configure || exit 1
|
|
|
|
grep "PACKAGE_STRING='wget .* (Red Hat modified)'" configure || exit 1
|
|
|
|
|
|
|
|
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--with-ssl=gnutls \
|
|
|
|
--with-ssl=gnutls \
|
|
|
|