add -V to fetch crl help info
(cherry picked from commit 3c742cae29baa9a1f33b1ff490d4378e1d6829bd)
This commit is contained in:
parent
b8b453e554
commit
f3c3e0441d
34
add-V-to-fetch-crl-help-info.patch
Normal file
34
add-V-to-fetch-crl-help-info.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From d9a0c2cf7979ad6bca2168d8a3ca621cfe57515f Mon Sep 17 00:00:00 2001
|
||||||
|
From: caodongxia <315816521@qq.com>
|
||||||
|
Date: Wed, 29 Sep 2021 11:36:49 +0800
|
||||||
|
Subject: [PATCH] add -V to fetch-crl-help info
|
||||||
|
|
||||||
|
---
|
||||||
|
fetch-crl | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/fetch-crl b/fetch-crl
|
||||||
|
index 1d60a1f..9a56ac5 100755
|
||||||
|
--- a/fetch-crl
|
||||||
|
+++ b/fetch-crl
|
||||||
|
@@ -303,7 +303,7 @@ Usage: $name [-c|--config configfile] [-l|--infodir path]
|
||||||
|
[--cadir path] [-s|--statedir path] [-o|--output path] [--format \@formats]
|
||||||
|
[-T|--httptimeout seconds] [-p|--parallelism n] [--nosymlinks]
|
||||||
|
[-a|--agingtolerance hours] [-r|--randomwait seconds]
|
||||||
|
- [-v|--verbose] [-h|--help] [-q|--quiet] [-d|--debug level]
|
||||||
|
+ [-v|--verbose] [-h|--help] [-q|--quiet] [-d|--debug level] [-V|--version]
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-c | --config path
|
||||||
|
@@ -335,6 +335,8 @@ Options:
|
||||||
|
-r | --randomwait seconds
|
||||||
|
Introduce a random delay of up to seconds seconds before starting
|
||||||
|
any retrieval processes
|
||||||
|
+ -V | --version
|
||||||
|
+ show a version number
|
||||||
|
-h | --help
|
||||||
|
This help text
|
||||||
|
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -1,12 +1,13 @@
|
|||||||
Name: fetch-crl
|
Name: fetch-crl
|
||||||
Version: 3.0.21
|
Version: 3.0.21
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Downloads Certificate Revocation Lists
|
Summary: Downloads Certificate Revocation Lists
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://wiki.nikhef.nl/grid/FetchCRL3
|
URL: https://wiki.nikhef.nl/grid/FetchCRL3
|
||||||
Source0: https://dist.eugridpma.info/distribution/util/fetch-crl3/fetch-crl-%{version}.tar.gz
|
Source0: https://dist.eugridpma.info/distribution/util/fetch-crl3/fetch-crl-%{version}.tar.gz
|
||||||
Source1: fetch-crl.service
|
Source1: fetch-crl.service
|
||||||
Source2: fetch-crl.timer
|
Source2: fetch-crl.timer
|
||||||
|
Patch0000: add-V-to-fetch-crl-help-info.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: openssl
|
Requires: openssl
|
||||||
%if 0%{?el7}
|
%if 0%{?el7}
|
||||||
@ -26,6 +27,7 @@ It assumes that the installed CA files follow the hash.crl_url convention.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
cp -p %{SOURCE1} fetch-crl.service
|
cp -p %{SOURCE1} fetch-crl.service
|
||||||
cp -p %{SOURCE2} fetch-crl.timer
|
cp -p %{SOURCE2} fetch-crl.timer
|
||||||
cat << \EOF > %{name}-req
|
cat << \EOF > %{name}-req
|
||||||
@ -77,5 +79,8 @@ rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 29 2021 caodongxia <caodongxia@huawei.com> - 3.0.21-2
|
||||||
|
- add -V to fetch crl help info
|
||||||
|
|
||||||
* Mon Sep 6 2021 wulei <wulei80@huawei.com> - 3.0.21-1
|
* Mon Sep 6 2021 wulei <wulei80@huawei.com> - 3.0.21-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user