rpms/fetch-crl/F-12 fetch-crl-syntax-randomwait.patch, NONE, 1.1 fetch-crl.spec, 1.4, 1.5

stevetraylen stevetraylen at fedoraproject.org
Mon Apr 5 17:20:04 UTC 2010


Author: stevetraylen

Update of /cvs/pkgs/rpms/fetch-crl/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv32685/F-12

Modified Files:
	fetch-crl.spec 
Added Files:
	fetch-crl-syntax-randomwait.patch 
Log Message:
rhbz#579488


fetch-crl-syntax-randomwait.patch:
 edg-fetch-crl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE fetch-crl-syntax-randomwait.patch ---
diff -uNr fetch-crl-2.8.3.ORIG/edg-fetch-crl fetch-crl-2.8.3/edg-fetch-crl
--- fetch-crl-2.8.3.ORIG/edg-fetch-crl	2010-04-05 19:12:49.000000000 +0200
+++ fetch-crl-2.8.3/edg-fetch-crl	2010-04-05 19:13:23.000000000 +0200
@@ -589,7 +589,7 @@
 #
 # Sleep for a random wait within a maximum if requested.
 #
-if [ "X${RandomWait}" != "X" -a ${RandomWait} -ne 0 ] ; then
+if [ "X${RandomWait}" != "X" ] &&  [ ${RandomWait} -ne 0 ] ; then
    timeStamp=`${date} +%Y%m%dT%H%M%S%z`
    PrintInformation "Sleeping CRL retrieval process at ${timeStamp} for up to ${RandomWait} minutes"
    sleep `expr ${RANDOM:-0} % \( ${RandomWait} \* 60 \)`


Index: fetch-crl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fetch-crl/F-12/fetch-crl.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- fetch-crl.spec	28 Mar 2010 17:32:31 -0000	1.4
+++ fetch-crl.spec	5 Apr 2010 17:20:04 -0000	1.5
@@ -4,7 +4,7 @@
 
 Name: fetch-crl
 Version: 2.8.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Downloads Certificate Revocation Lists
 
 Group: Applications/System
@@ -12,6 +12,10 @@ License: EU Datagrid
 URL: https://dist.eugridpma.info/distribution/util/%{name}
 Source: https://dist.eugridpma.info/distribution/util/%{name}/%{name}-%{version}.tar.gz
 
+# basic shell syntax bug.
+#https://bugzilla.redhat.com/show_bug.cgi?id=579488
+Patch0: fetch-crl-syntax-randomwait.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 
@@ -29,6 +33,7 @@ It assumes that the installed CA files f
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
@@ -78,10 +83,13 @@ fi
 
 
 %changelog
+* Sun Apr 5 2010 Steve Traylen <steve.traylen at cern.ch> - 2.8.3-2
+- Add patch fetch-crl-syntax-randomwait
+  https://bugzilla.redhat.com/show_bug.cgi?id=579488
 * Sun Mar 28 2010 Steve Traylen <steve.traylen at cern.ch> - 2.8.3-1
 - New upstream 2.8.3
 - Removed edg-fetch-crl-2.8.2-getopts.patch and 
-  fetch-crl-2.6.6-selinux.patch since both now present in 2.8.3.
+  fetch-crl-2.6.6-selinux.patch since both now present in 2.8.3
 * Sat Mar 27 2010 Steve Traylen <steve.traylen at cern.ch> - 2.8.2-2
 - Add edg-fetch-crl-2.8.2-getopts.patch for rhbz#577387,
   Jason Smith.



More information about the scm-commits mailing list