From 4f1d4c9939563711257f32debc5e48c62922fdac Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Jun 30 2021 15:36:01 +0000 Subject: recreated opencryptoki-pkcsslotd-pidfile.patch --- diff --git a/opencryptoki-pkcsslotd-pidfile.patch b/opencryptoki-pkcsslotd-pidfile.patch index f1b6e68..92f7e3c 100644 --- a/opencryptoki-pkcsslotd-pidfile.patch +++ b/opencryptoki-pkcsslotd-pidfile.patch @@ -11,8 +11,8 @@ diff -up opencryptoki-3.16.0/misc/pkcsslotd.service.in.me opencryptoki-3.16.0/mi [Install] diff -up opencryptoki-3.16.0/usr/include/slotmgr.h.me opencryptoki-3.16.0/usr/include/slotmgr.h ---- opencryptoki-3.16.0/usr/include/slotmgr.h.me 2021-06-30 17:02:39.651883731 +0200 -+++ opencryptoki-3.16.0/usr/include/slotmgr.h 2021-06-30 17:03:23.003511265 +0200 +--- opencryptoki-3.16.0/usr/include/slotmgr.h.me 2021-06-30 17:28:18.000594834 +0200 ++++ opencryptoki-3.16.0/usr/include/slotmgr.h 2021-06-30 17:28:38.920890278 +0200 @@ -30,10 +30,10 @@ #define TOK_PATH SBIN_PATH "/pkcsslotd" #define OCK_API_LOCK_FILE LOCKDIR_PATH "/LCK..APIlock" diff --git a/opencryptoki.spec b/opencryptoki.spec index cd3cfa5..8ae7192 100644 --- a/opencryptoki.spec +++ b/opencryptoki.spec @@ -12,9 +12,6 @@ Patch0: opencryptoki-3.11.0-group.patch # bz#1373833, change tmpfiles snippets from /var/lock/* to /run/lock/* Patch1: opencryptoki-3.11.0-lockdir.patch -# PIDfile below legacy directory /var/run/ -Patch2: opencryptoki-pkcsslotd-pidfile.patch - # Use --no-undefined to debug missing symbols #Patch100: %%{name}-3.2-no-undefined.patch @@ -34,6 +31,9 @@ Patch211: opencryptoki-3.16.0-1fdd0e4497b0078e73e0004e3492db647c7c458b.patch Patch212: opencryptoki-3.16.0-bf812c652c49d7e248b115d121a4f7f6568941a2.patch Patch213: opencryptoki-3.16.0-7b7d83c571ceb3050969359817d4145600f14ae8.patch +# PIDfile below legacy directory /var/run/ +Patch300: opencryptoki-pkcsslotd-pidfile.patch + Requires(pre): coreutils Requires: (selinux-policy >= 34.9-1 if selinux-policy-targeted) BuildRequires: gcc