Marcus Meissner
bbdcb346df
Fixed several bugs and cleaned up changes and specfile OBS-URL: https://build.opensuse.org/request/show/247627 OBS-URL: https://build.opensuse.org/package/show/security/openCryptoki?expand=0&rev=21
101 lines
4.5 KiB
Diff
101 lines
4.5 KiB
Diff
--- opencryptoki/usr/Makefile.am
|
|
+++ opencryptoki/usr/Makefile.am
|
|
@@ -6,5 +6,3 @@
|
|
|
|
install-data-hook:
|
|
$(MKDIR_P) $(DESTDIR)$(lockdir)
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)
|
|
- $(CHMOD) 0770 $(DESTDIR)$(lockdir)
|
|
--- opencryptoki/usr/lib/pkcs11/cca_stdll/Makefile.am
|
|
+++ opencryptoki/usr/lib/pkcs11/cca_stdll/Makefile.am
|
|
@@ -66,13 +66,7 @@
|
|
cd $(DESTDIR)/$(libdir)/opencryptoki/stdll && \
|
|
ln -sf libpkcs11_cca.so PKCS11_CCA.so
|
|
$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok
|
|
$(MKDIR_P) $(DESTDIR)$(lockdir)/ccatok
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/ccatok
|
|
- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/ccatok
|
|
|
|
uninstall-hook:
|
|
if test -d $(DESTDIR)/$(libdir)/opencryptoki/stdll; then \
|
|
--- opencryptoki/usr/lib/pkcs11/ep11_stdll/Makefile.am
|
|
+++ opencryptoki/usr/lib/pkcs11/ep11_stdll/Makefile.am
|
|
@@ -54,13 +54,7 @@
|
|
cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
|
|
ln -sf libpkcs11_ep11.so PKCS11_EP11.so
|
|
$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok/TOK_OBJ
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok/TOK_OBJ
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok/TOK_OBJ
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok
|
|
$(MKDIR_P) $(DESTDIR)$(lockdir)/ep11tok
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/ep11tok
|
|
- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/ep11tok
|
|
|
|
uninstall-hook:
|
|
if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
|
|
--- opencryptoki/usr/lib/pkcs11/ica_s390_stdll/Makefile.am
|
|
+++ opencryptoki/usr/lib/pkcs11/ica_s390_stdll/Makefile.am
|
|
@@ -62,13 +62,7 @@
|
|
cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
|
|
ln -sf libpkcs11_ica.so PKCS11_ICA.so
|
|
$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite/TOK_OBJ
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite/TOK_OBJ
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite/TOK_OBJ
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite
|
|
$(MKDIR_P) $(DESTDIR)$(lockdir)/lite
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/lite
|
|
- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/lite
|
|
|
|
uninstall-hook:
|
|
if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
|
|
--- opencryptoki/usr/lib/pkcs11/icsf_stdll/Makefile.am
|
|
+++ opencryptoki/usr/lib/pkcs11/icsf_stdll/Makefile.am
|
|
@@ -76,11 +76,7 @@
|
|
cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
|
|
ln -sf libpkcs11_icsf.so PKCS11_ICSF.so
|
|
$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/icsf
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/icsf
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/icsf
|
|
$(MKDIR_P) $(DESTDIR)$(lockdir)/icsf
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/icsf
|
|
- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/icsf
|
|
|
|
uninstall-hook:
|
|
if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
|
|
--- opencryptoki/usr/lib/pkcs11/soft_stdll/Makefile.am
|
|
+++ opencryptoki/usr/lib/pkcs11/soft_stdll/Makefile.am
|
|
@@ -54,13 +54,7 @@
|
|
cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
|
|
ln -sf libpkcs11_sw.so PKCS11_SW.so
|
|
$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok/TOK_OBJ
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok/TOK_OBJ
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok/TOK_OBJ
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok
|
|
$(MKDIR_P) $(DESTDIR)$(lockdir)/swtok
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/swtok
|
|
- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/swtok
|
|
|
|
uninstall-hook:
|
|
if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
|
|
--- opencryptoki/usr/lib/pkcs11/tpm_stdll/Makefile.am
|
|
+++ opencryptoki/usr/lib/pkcs11/tpm_stdll/Makefile.am
|
|
@@ -69,11 +69,7 @@
|
|
cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
|
|
ln -sf libpkcs11_tpm.so PKCS11_TPM.so
|
|
$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/tpm
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/tpm
|
|
- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/tpm
|
|
$(MKDIR_P) $(DESTDIR)$(lockdir)/tpm
|
|
- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/tpm
|
|
- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/tpm
|
|
|
|
uninstall-hook:
|
|
if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
|