- Support 'force-reload' in the initscript.

This commit is contained in:
Michal Schmidt 2010-02-08 09:12:29 +00:00
parent efe2f2ff3f
commit 9f98d22e79
2 changed files with 17 additions and 4 deletions

View File

@ -1,6 +1,7 @@
diff -up opencryptoki-2.3.0/misc/pkcsslotd.in.lsb-fix opencryptoki-2.3.0/misc/pkcsslotd.in
--- opencryptoki-2.3.0/misc/pkcsslotd.in.lsb-fix 2010-01-22 15:54:25.000000000 +0100
+++ opencryptoki-2.3.0/misc/pkcsslotd.in 2010-01-22 15:57:46.000000000 +0100
Index: opencryptoki-2.3.1/misc/pkcsslotd.in
===================================================================
--- opencryptoki-2.3.1.orig/misc/pkcsslotd.in
+++ opencryptoki-2.3.1/misc/pkcsslotd.in
@@ -17,10 +17,11 @@ LOCKFILE=/var/lock/subsys/pkcsslotd
SLOTDBIN=@METHOD_PATH@/pkcsslotd
CONFSTART=@METHOD_PATH@/pkcs11_startup
@ -35,6 +36,15 @@ diff -up opencryptoki-2.3.0/misc/pkcsslotd.in.lsb-fix opencryptoki-2.3.0/misc/pk
[ $RETVAL -eq 0 ] && rm -f $LOCKFILE
return $RETVAL
}
@@ -73,7 +74,7 @@ case "$1" in
status)
status pkcsslotd $SLOTDBIN
;;
- restart|reload)
+ restart|reload|force-reload)
restart
;;
condrestart)
@@ -81,7 +82,7 @@ case "$1" in
;;
*)

View File

@ -1,7 +1,7 @@
Name: opencryptoki
Summary: Implementation of the PKCS#11 (Cryptoki) specification v2.11
Version: 2.3.1
Release: 1%{?dist}
Release: 2%{?dist}
License: CPL
Group: System Environment/Base
URL: http://sourceforge.net/projects/opencryptoki
@ -139,6 +139,9 @@ exit 0
%changelog
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-2
- Support 'force-reload' in the initscript.
* Wed Jan 27 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-1
- New upstream release 2.3.1.
- opencryptoki-2.3.0-fix-nss-breakage.patch was merged.