diff --git a/add-V-to-fetch-crl-help-info.patch b/add-V-to-fetch-crl-help-info.patch new file mode 100644 index 0000000000000000000000000000000000000000..fb10f7c88f353d669b352e16e30ac239291e1642 --- /dev/null +++ b/add-V-to-fetch-crl-help-info.patch @@ -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 + diff --git a/fetch-crl.spec b/fetch-crl.spec index 464a5c27b3f790de406fec196ae2849a1594e6a6..dcfb15e219abb06318c10d5cca2885f94ece01fe 100644 --- a/fetch-crl.spec +++ b/fetch-crl.spec @@ -1,12 +1,13 @@ Name: fetch-crl Version: 3.0.21 -Release: 1 +Release: 2 Summary: Downloads Certificate Revocation Lists License: ASL 2.0 URL: https://wiki.nikhef.nl/grid/FetchCRL3 Source0: https://dist.eugridpma.info/distribution/util/fetch-crl3/fetch-crl-%{version}.tar.gz Source1: fetch-crl.service Source2: fetch-crl.timer +Patch0000: add-V-to-fetch-crl-help-info.patch BuildArch: noarch Requires: openssl %if 0%{?el7} @@ -26,6 +27,7 @@ It assumes that the installed CA files follow the hash.crl_url convention. %prep %setup -q +%patch0 -p1 cp -p %{SOURCE1} fetch-crl.service cp -p %{SOURCE2} fetch-crl.timer cat << \EOF > %{name}-req @@ -77,5 +79,8 @@ rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} %license LICENSE %changelog +* Wed Sep 29 2021 caodongxia - 3.0.21-2 +- add -V to fetch crl help info + * Mon Sep 6 2021 wulei - 3.0.21-1 - package init