diff --git a/opencryptoki-2.3.0-lsb.patch b/opencryptoki-2.3.0-lsb.patch index 8a6aa12..6107770 100644 --- a/opencryptoki-2.3.0-lsb.patch +++ b/opencryptoki-2.3.0-lsb.patch @@ -36,7 +36,7 @@ Index: opencryptoki-2.3.1/misc/pkcsslotd.in [ $RETVAL -eq 0 ] && rm -f $LOCKFILE return $RETVAL } -@@ -73,7 +74,7 @@ case "$1" in +@@ -73,15 +74,15 @@ case "$1" in status) status pkcsslotd $SLOTDBIN ;; @@ -45,11 +45,12 @@ Index: opencryptoki-2.3.1/misc/pkcsslotd.in restart ;; condrestart) -@@ -81,7 +82,7 @@ case "$1" in + [ -f $LOCKFILE ] && restart || : ;; *) - echo $"Usage: $0 {start|stop|status|restart|condrestart}" +- echo $"Usage: $0 {start|stop|status|restart|condrestart}" - exit 1 ++ echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}" + exit 2 esac diff --git a/opencryptoki.spec b/opencryptoki.spec index 87a67e8..a40a839 100644 --- a/opencryptoki.spec +++ b/opencryptoki.spec @@ -1,7 +1,7 @@ Name: opencryptoki Summary: Implementation of the PKCS#11 (Cryptoki) specification v2.11 Version: 2.3.1 -Release: 2%{?dist} +Release: 3%{?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 2.3.1-3 +- Also list 'reload' and 'force-reload' in "Usage: ...". + * Mon Feb 08 2010 Michal Schmidt 2.3.1-2 - Support 'force-reload' in the initscript.