wget2 package is retired on branch c10s for CS-2401

This commit is contained in:
David Fan 2024-08-06 09:49:29 +00:00
parent ea2f2544d9
commit e929429c6b
11 changed files with 1 additions and 383 deletions

View File

@ -1 +0,0 @@
1

3
.gitignore vendored
View File

@ -1,3 +0,0 @@
/wget2-2.0.0.tar.gz
/wget2-2.1.0.tar.gz
/wget2-2.1.0.tar.gz.sig

View File

@ -1,25 +0,0 @@
From 7da90c7ea755fffbfbe9006d29524c7c8a86a925 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
Date: Sun, 14 Jan 2024 16:43:15 +0100
Subject: [PATCH] * src/log.c (log_init): Redirect INFO logs to stderr with -O-
---
src/log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/log.c b/src/log.c
index 8b6796e9..61adde4b 100644
--- a/src/log.c
+++ b/src/log.c
@@ -226,7 +226,7 @@ void log_init(void)
// set info logging
wget_logger_set_func(wget_get_logger(WGET_LOGGER_INFO),
- config.verbose && !config.quiet ? (fileno(stdout) == fileno(stderr) ? write_info_stderr : write_info_stdout) : NULL);
+ config.verbose && !config.quiet ? ((fileno(stdout) == fileno(stderr) || !wget_strcmp(config.output_document, "-")) ? write_info_stderr : write_info_stdout) : NULL);
// wget_logger_set_stream(wget_get_logger(WGET_LOGGER_INFO), config.verbose && !config.quiet ? stdout : NULL);
#endif
}
--
2.43.0

View File

@ -1,3 +0,0 @@
# wget2
The wget2 package

1
ci.fmf
View File

@ -1 +0,0 @@
resultsdb-testcase: separate

1
dead.package Normal file
View File

@ -0,0 +1 @@
wget2 package is retired on branch c10s for CS-2401

View File

@ -1,25 +0,0 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
#Rawhide
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
#gating rhel
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

View File

@ -1,36 +0,0 @@
/tier1-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/wget2.git
name: /plans/tier1/internal
/tier1-public:
plan:
import:
url: https://src.fedoraproject.org/tests/wget2.git
name: /plans/tier1/public
/tier2-tier3-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/wget2.git
name: /plans/tier2-tier3/internal
/tier2-tier3-public:
plan:
import:
url: https://src.fedoraproject.org/tests/wget2.git
name: /plans/tier2-tier3/public
/others-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/wget2.git
name: /plans/others/internal
/others-public:
plan:
import:
url: https://src.fedoraproject.org/tests/wget2.git
name: /plans/others/public

View File

@ -1,2 +0,0 @@
SHA512 (wget2-2.1.0.tar.gz) = ae1fc267b1c2ee182ee59f0fc34fef238326a20f1ea1c15be6db2c16b70d49e89f61ca937d3e64d214f73ef9646ba4318782ac4210db51bd3d89c55ce4406872
SHA512 (wget2-2.1.0.tar.gz.sig) = 22139c2a5314ab5689ac18d4daa4d39efb18bbd444bcba22eec79ccfe4401d0e01f41f293cc7f0a09ff66d25b365574a823302b0c41deb97ddc3d98e0d1500cf

View File

@ -1,51 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFOsE5ABEADD/k0t8to+R0kPhr2k7d0P/p1SYgxkwSaYgdv4/MgO/yEbQDMs
qs1mw88mWnFKKdbH4QUSqCj21SiiJVrcoY7dNNapkKNiaMNCylAxkLtDw9/up0AV
dkJ/7iHvrKlwIb3SBQV1oJYBrXF9rzFBtkW9NhLc+DzloeHfPtABCIi0XoIOGSDn
+RQvppe/13phBj+2fd5ILNWiHfKIrr6228TynSPqy7H4z5DY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7bkXWsoPoTI+o2S9wQOvZQLb/sANCkK0
HqwAWdNeBKWF3o9NUG5y/gQ3wNJv7WBGzCBL/N87K0doq6s9MiwXFIykr/yIlN7l
a3lCQvOUDn1OmO9zHGq4t4arfCiInm5Hc6NhStV3aKtgIJoGWDMu9aIcy9canuAO
+oO8l1ayV1kPDKWskVEXZsdvnxY0rhInvUfgw27uY2ziPLO3iTfPJLJ8wx2V3cyx
kVWgk+08DHKQz0gwObJAiAFtWJXSd8kO7mzcNVPgDAgje/7Lf2wlP4GQYO6Ht5Rn
hzbzIcgHxcK6pJeIS5oAvDySWASwD66dkdYQUAjYHE2OQnwTjxU907uf1Foaa6yi
OFBcQku4NQNdoUDfv+HW0C5TR2XVcO9UBPTlEGMjMeqhTHs3E3HXKGiFWT7WYtdG
9fBhVNoLvZ39eYnWEM8NsvcRUmOKzvoAJbmbZAlH3necl20MeJnfkTx9Nu3D9afY
naw9IJ9BetTON3gXzTtGwAJjMZ346k9MLvnSLFpD8of15R/jl+RbZ732stOJkbcM
5cUj2Lgi7DE44y7BeBT5XD5LAUwop30sm4Kxwv9oEyVjzoQPkB24l9YGeEOEIqES
ZLszZ44Jsh703+9n3Dq9wNTn8cXhFYi0Of02Vt4nNiXryBL/zneXgb37qiI=
=RW6p
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,236 +0,0 @@
%if (0%{?fedora} && 0%{?fedora} < 40) || (0%{?rhel} && 0%{?rhel} < 10)
%bcond as_wget 0
%else
%bcond as_wget 1
%endif
%global somajor 2
Name: wget2
Version: 2.1.0
Release: 8%{?dist}
Summary: An advanced file and recursive website downloader
# Documentation is GFDL
License: GPL-3.0-or-later AND LGPL-3.0-or-later AND GFDL-1.3-or-later
URL: https://gitlab.com/gnuwget/wget2
Source0: https://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.gz.sig
# key 08302DB6A2670428
Source2: tim.ruehsen-keyring.asc
# Backports from upstream
## Fix behavior for downloading to stdin (rhbz#2257700, gl#gnuwget/wget2#651)
Patch0001: 0001-src-log.c-log_init-Redirect-INFO-logs-to-stderr-with.patch
# Buildsystem build requirements
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: flex-devel >= 2.5.35
BuildRequires: gettext >= 0.18.2
BuildRequires: gcc
BuildRequires: make
# Documentation build requirements
BuildRequires: doxygen
BuildRequires: git-core
%if ! 0%{?rhel}
BuildRequires: pandoc
%endif
# Wget2 build requirements
BuildRequires: bzip2-devel
BuildRequires: python3
BuildRequires: rsync
BuildRequires: tar
BuildRequires: texinfo
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gpgme)
BuildRequires: pkgconfig(libbrotlidec)
## Not available yet
#BuildRequires: pkgconfig(libhsts)
BuildRequires: pkgconfig(libidn2) >= 0.14.0
## Not available yet
#BuildRequires: pkgconfig(liblz)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libmicrohttpd)
BuildRequires: pkgconfig(libnghttp2)
BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(libpsl)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib)
%if ! 0%{?rhel}
# Test suite
BuildRequires: lcov
BuildRequires: lzip
%endif
# For gpg signature verification
BuildRequires: gnupg2
Provides: webclient
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description
GNU Wget2 is the successor of GNU Wget, a file and recursive website
downloader.
Designed and written from scratch it wraps around libwget, that provides the
basic functions needed by a web client.
Wget2 works multi-threaded and uses many features to allow fast operation.
In many cases Wget2 downloads much faster than Wget1.x due to HTTP2, HTTP
compression, parallel connections and use of If-Modified-Since HTTP header.
%package libs
Summary: Runtime libraries for GNU Wget2
# There's some gnulib in there :)
Provides: bundled(gnulib)
%description libs
This package contains the libraries for applications to use
Wget2 functionality.
%package devel
Summary: Libraries and header files needed for using wget2 libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
Development libraries and headers needed for building applications to
use functionality from GNU Wget2.
%if %{with as_wget}
%package wget
Summary: %{name} shim to provide wget
Requires: wget2%{?_isa} = %{version}-%{release}
# Replace wget
Conflicts: wget < 2
Obsoletes: wget < 2
Provides: wget = %{version}-%{release}
Provides: wget%{?_isa} = %{version}-%{release}
# From original wget package
Provides: webclient
%description wget
This package provides the shim links for %{name} to be automatically
used in place of wget. This ensures that %{name} is used as
the system provider of wget.
%endif
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1
%build
%configure --disable-static
%if ! 0%{?rhel}
# Remove RPATH, rely on default -Wl,--enable-new-dtags in Fedora.
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%endif
%make_build
%install
%make_install
%find_lang %{name}
%if 0%{?rhel}
# tarball includes a pre-built manpage
install -D -m0644 -t %{buildroot}%{_mandir}/man1/ docs/man/man1/wget2.1
%endif
# Purge all libtool archives
find %{buildroot} -type f -name "*.la" -delete -print
# Delete useless noinstall binary
rm -v %{buildroot}%{_bindir}/%{name}_noinstall
%if %{with as_wget}
ln -sr %{buildroot}%{_bindir}/%{name} %{buildroot}%{_bindir}/wget
# Link wget(1) to wget2(1)
echo ".so man1/%{name}.1" > %{buildroot}%{_mandir}/man1/wget.1
%endif
%check
%make_build check
%files -f %{name}.lang
%license COPYING*
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%files libs
%license COPYING*
%{_libdir}/libwget*.so.%{somajor}{,.*}
%files devel
%{_includedir}/wget.h
%{_includedir}/wgetver.h
%{_libdir}/libwget*.so
%{_libdir}/pkgconfig/libwget.pc
%{_mandir}/man3/libwget*.3*
%if %{with as_wget}
%files wget
%{_bindir}/wget
%{_mandir}/man1/wget.1*
%endif
%changelog
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.1.0-8
- Bump release for June 2024 mass rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 14 2024 Neal Gompa <ngompa@fedoraproject.org> - 2.1.0-6
- Backport fix for wget to stdin
Resolves: rhbz#2257700
* Thu Jan 04 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 2.1.0-5
- Drop unused autogen build dependency
* Thu Dec 21 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.1.0-4
- Avoid pandoc dependency on RHEL
- Fix tests on RHEL
* Sat Dec 16 2023 Neal Gompa <ngompa@fedoraproject.org> - 2.1.0-3
- Enable wget2-wget for F40+ / RHEL10+
* Fri Sep 01 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.1.0-2
- Add gpg signature check
* Fri Sep 01 2023 Neal Gompa <ngompa@fedoraproject.org> - 2.1.0-1
- New upstream version
- Add conditional for using wget2 as wget
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Mar 21 2023 Michal Ruprich <mruprich@redhat.com> - 2.0.0-5
- SPDX migration
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Sep 26 2021 Neal Gompa <ngompa@fedoraproject.org> - 2.0.0-1
- Rebase to 2.0.0 final
- Split out libraries into libs subpackage
- Delete unwanted static subpackage
* Wed Apr 1 2020 Anna Khaitovich <akhaitov@redhat.com> - 1.99.2-1
- Initial package