Blame SOURCES/opencryptoki-pkcsslotd-pidfile.patch

b9ab58
diff -up opencryptoki-3.16.0/misc/pkcsslotd.service.in.me opencryptoki-3.16.0/misc/pkcsslotd.service.in
b9ab58
--- opencryptoki-3.16.0/misc/pkcsslotd.service.in.me	2021-06-25 09:25:11.464487847 +0200
b9ab58
+++ opencryptoki-3.16.0/misc/pkcsslotd.service.in	2021-06-25 09:25:38.701225760 +0200
b9ab58
@@ -4,7 +4,7 @@ After=local-fs.target
b9ab58
 
b9ab58
 [Service]
b9ab58
 Type=forking
b9ab58
-PIDFile=/var/run/pkcsslotd.pid
b9ab58
+PIDFile=/run/pkcsslotd.pid
b9ab58
 ExecStart=@sbindir@/pkcsslotd
b9ab58
 
b9ab58
 [Install]
b9ab58
diff -up opencryptoki-3.16.0/usr/include/slotmgr.h.me opencryptoki-3.16.0/usr/include/slotmgr.h
b9ab58
--- opencryptoki-3.16.0/usr/include/slotmgr.h.me	2021-06-30 17:28:18.000594834 +0200
b9ab58
+++ opencryptoki-3.16.0/usr/include/slotmgr.h	2021-06-30 17:28:38.920890278 +0200
b9ab58
@@ -30,10 +30,10 @@
b9ab58
 #define TOK_PATH  SBIN_PATH "/pkcsslotd"
b9ab58
 #define OCK_API_LOCK_FILE LOCKDIR_PATH "/LCK..APIlock"
b9ab58
 
b9ab58
-#define PROC_SOCKET_FILE_PATH "/var/run/pkcsslotd.socket"
b9ab58
-#define ADMIN_SOCKET_FILE_PATH "/var/run/pkcsslotd.admin.socket"
b9ab58
+#define PROC_SOCKET_FILE_PATH "/run/pkcsslotd.socket"
b9ab58
+#define ADMIN_SOCKET_FILE_PATH "/run/pkcsslotd.admin.socket"
b9ab58
 
b9ab58
-#define PID_FILE_PATH "/var/run/pkcsslotd.pid"
b9ab58
+#define PID_FILE_PATH "/run/pkcsslotd.pid"
b9ab58
 #define OCK_CONFIG OCK_CONFDIR "/opencryptoki.conf"
b9ab58
 
b9ab58
 #ifndef CK_BOOL