openCryptoki/opencryptoki-run-lock.patch
Marcus Meissner 7d406e241d Accepting request 294859 from home:elvigia:branches:security
- Also create parent directory /run/lock/opencryptoki in 
  tmpfiles snippet if it does not exists.

- spec: do not use -D__USE_BSD, a glibc-internal macro
  which no longer has any meaning.

- spec: use %{_unitdir}  %{_tmpfilesdir)
- spec: call tmpfiles_create macro, if defined in %post
- opencryptoki-run-lock.patch, openCryptoki-tmp.conf: use
  /run/lock instead of /var/lock.

OBS-URL: https://build.opensuse.org/request/show/294859
OBS-URL: https://build.opensuse.org/package/show/security/openCryptoki?expand=0&rev=27
2015-04-22 09:41:29 +00:00

12 lines
233 B
Diff

--- opencryptoki.orig/configure.in
+++ opencryptoki/configure.in
@@ -40,7 +40,7 @@ AC_PROG_YACC
dnl Define custom variables
-lockdir=$localstatedir/lock/opencryptoki
+lockdir=/run/lock/opencryptoki
AC_SUBST(lockdir)
dnl ---