Auto sync2gitlab import of wget-1.19.5-11.el8.src.rpm
This commit is contained in:
parent
5ce400e787
commit
465ab2e54b
26
wget-1.19.5-no-log-when-quiet.patch
Normal file
26
wget-1.19.5-no-log-when-quiet.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 7ddcebd61e170fb03d361f82bf8f5550ee62a1ae Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tomas Korbar <tkorbar@redhat.com>
|
||||||
|
Date: Wed, 29 Aug 2018 12:33:43 +0200
|
||||||
|
Subject: [PATCH] Avoid creating empty wget-log when using -O and -q in
|
||||||
|
background
|
||||||
|
|
||||||
|
* src/log.c (check_redirect_output): Check for quiet mode
|
||||||
|
---
|
||||||
|
src/log.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/log.c b/src/log.c
|
||||||
|
index d879dffe..e8cca2f3 100644
|
||||||
|
--- a/src/log.c
|
||||||
|
+++ b/src/log.c
|
||||||
|
@@ -974,7 +974,7 @@ check_redirect_output (void)
|
||||||
|
{
|
||||||
|
pid_t foreground_pgrp = tcgetpgrp (STDIN_FILENO);
|
||||||
|
|
||||||
|
- if (foreground_pgrp != -1 && foreground_pgrp != getpgrp ())
|
||||||
|
+ if (foreground_pgrp != -1 && foreground_pgrp != getpgrp () && !opt.quiet)
|
||||||
|
{
|
||||||
|
/* Process backgrounded */
|
||||||
|
redirect_output (true,NULL);
|
||||||
|
--
|
||||||
|
2.17.1
|
@ -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.19.5
|
Version: 1.19.5
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Url: http://www.gnu.org/software/wget/
|
Url: http://www.gnu.org/software/wget/
|
||||||
@ -22,6 +22,7 @@ Patch9: wget-1.19.5-no_proxy-dot-prefix.patch
|
|||||||
Patch10: wget-1.19.5-no_proxy-tests.patch
|
Patch10: wget-1.19.5-no_proxy-tests.patch
|
||||||
# http://git.savannah.gnu.org/cgit/wget.git/commit/?id=706e71564cadc7192ac21efbf51b661c967f35b5
|
# http://git.savannah.gnu.org/cgit/wget.git/commit/?id=706e71564cadc7192ac21efbf51b661c967f35b5
|
||||||
Patch11: wget-1.19.5-ca-cert-too-verbose.patch
|
Patch11: wget-1.19.5-ca-cert-too-verbose.patch
|
||||||
|
Patch12: wget-1.19.5-no-log-when-quiet.patch
|
||||||
|
|
||||||
Provides: webclient
|
Provides: webclient
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
@ -58,6 +59,7 @@ grep "PACKAGE_STRING='wget .* (Red Hat modified)'" configure || exit 1
|
|||||||
%patch9 -p1 -b .no_proxy-dot-prefix
|
%patch9 -p1 -b .no_proxy-dot-prefix
|
||||||
%patch10 -p1 -b .no_proxy-test
|
%patch10 -p1 -b .no_proxy-test
|
||||||
%patch11 -p1 -b .too_verbose
|
%patch11 -p1 -b .too_verbose
|
||||||
|
%patch12 -p1 -b .no-log-quiet
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -104,6 +106,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 13 2022 Michal Ruprich <mruprich@redhat.com> - 1.19.5-11
|
||||||
|
- Resolves: #2152731 - Running wget with -O and -q in the background yields a file wget-log
|
||||||
|
|
||||||
* Tue Mar 31 2020 Tomas Hozza <thozza@redhat.com> - 1.19.5-10
|
* Tue Mar 31 2020 Tomas Hozza <thozza@redhat.com> - 1.19.5-10
|
||||||
- Fix wget being too verbose when using --no-verbose and --ca-certificate (#1807267)
|
- Fix wget being too verbose when using --no-verbose and --ca-certificate (#1807267)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user