From 4deba9f2d22d2abc3e08204a37e7a8384df6b7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Fri, 30 Apr 2010 09:57:36 +0000 Subject: [PATCH] - fixed one more issue in the initscript (#547324) --- opencryptoki-2.3.1-pidfile.patch | 9 +++++++++ opencryptoki.spec | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/opencryptoki-2.3.1-pidfile.patch b/opencryptoki-2.3.1-pidfile.patch index 144aab6..4a46ec1 100644 --- a/opencryptoki-2.3.1-pidfile.patch +++ b/opencryptoki-2.3.1-pidfile.patch @@ -22,6 +22,15 @@ diff -up opencryptoki-2.3.1/misc/pkcsslotd.in.pidfile opencryptoki-2.3.1/misc/pk RETVAL=$? echo +@@ -49,7 +37,7 @@ start() { + + stop() { + echo -n $"Shutting down pkcsslotd:" +- killproc pkcsslotd -TERM ++ killproc pkcsslotd + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && rm -f $LOCKFILE diff -up opencryptoki-2.3.1/usr/include/pkcs11/slotmgr.h.pidfile opencryptoki-2.3.1/usr/include/pkcs11/slotmgr.h --- opencryptoki-2.3.1/usr/include/pkcs11/slotmgr.h.pidfile 2010-04-26 16:32:42.000000000 +0200 +++ opencryptoki-2.3.1/usr/include/pkcs11/slotmgr.h 2010-04-26 16:32:46.000000000 +0200 diff --git a/opencryptoki.spec b/opencryptoki.spec index b154e4a..2ac6fcb 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: 4%{?dist} +Release: 5%{?dist} License: CPL Group: System Environment/Base URL: http://sourceforge.net/projects/opencryptoki @@ -144,6 +144,9 @@ exit 0 %changelog +* Fri Apr 30 2010 Dan Horák 2.3.1-5 +- fixed one more issue in the initscript (#547324) + * Mon Apr 26 2010 Dan Horák 2.3.1-4 - fixed pidfile creating and usage (#547324)