- 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 Index: opencryptoki-2.3.1/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 --- opencryptoki-2.3.1.orig/misc/pkcsslotd.in
+++ opencryptoki-2.3.1/misc/pkcsslotd.in
@@ -17,10 +17,11 @@ LOCKFILE=/var/lock/subsys/pkcsslotd @@ -17,10 +17,11 @@ LOCKFILE=/var/lock/subsys/pkcsslotd
SLOTDBIN=@METHOD_PATH@/pkcsslotd SLOTDBIN=@METHOD_PATH@/pkcsslotd
CONFSTART=@METHOD_PATH@/pkcs11_startup 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 [ $RETVAL -eq 0 ] && rm -f $LOCKFILE
return $RETVAL 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 @@ -81,7 +82,7 @@ case "$1" in
;; ;;
*) *)

View File

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