Accepting request 655691 from security
OBS-URL: https://build.opensuse.org/request/show/655691 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openCryptoki?expand=0&rev=50
This commit is contained in:
commit
273033a82d
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 30 00:04:41 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Do not ignore errors from groupadd. If groupadd fails,
|
||||
installation ought not to proceed because files would have the
|
||||
wrong ownership.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 29 22:45:36 UTC 2018 - mpost@suse.com
|
||||
|
||||
|
@ -31,7 +31,7 @@ Release: 0
|
||||
Summary: An Implementation of PKCS#11 (Cryptoki) v2.11 for IBM Cryptographic Hardware
|
||||
License: CPL-1.0
|
||||
Group: Productivity/Security
|
||||
Url: https://sourceforge.net/projects/opencryptoki/
|
||||
URL: https://sourceforge.net/projects/opencryptoki/
|
||||
Source: %{oc_cvs_tag}-%{version}.tar.gz
|
||||
Source1: openCryptoki.pkcsslotd
|
||||
Source2: openCryptoki-TFAQ.html
|
||||
@ -157,11 +157,11 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
rm -f %{buildroot}%{_libdir}/opencryptoki/methods
|
||||
|
||||
%pre
|
||||
%{service_add_pre pkcsslotd.service}
|
||||
# autobuild:/work/cd/lib/misc/group
|
||||
# openCryptoki pkcs11:x:64:
|
||||
%{_bindir}/getent group %{pkcs11_group_id} >/dev/null || %{_sbindir}/groupadd -g %{pkcs11_group_id} -r pkcs11 || true
|
||||
%{_bindir}/getent group %{pkcs11_group_id} >/dev/null || %{_sbindir}/groupadd -g %{pkcs11_group_id} -r pkcs11
|
||||
%{_sbindir}/usermod -a -G pkcs11 root
|
||||
%{service_add_pre pkcsslotd.service}
|
||||
|
||||
%preun
|
||||
%{service_del_preun pkcsslotd.service}
|
||||
|
Loading…
Reference in New Issue
Block a user