Accepting request 1186784 from security
OBS-URL: https://build.opensuse.org/request/show/1186784 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openCryptoki?expand=0&rev=73
This commit is contained in:
commit
c45457d1b7
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 11 07:57:25 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||||
|
|
||||||
|
- Updated the .spec file (bsc#1225876, bsc#1227280)
|
||||||
|
* Amended for group %{pkcs_group} and user pkcsslotd
|
||||||
|
* Copying example script files from /usr/share/doc/opencryptoki to
|
||||||
|
/usr/share/opencryptoki (policy-example.conf and strength-example.conf)
|
||||||
|
in case that there is 'rpm.install.excludedocs=yes' set in the
|
||||||
|
zypper.conf(zypp.conf)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 7 07:27:00 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
Wed Feb 7 07:27:00 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||||
|
|
||||||
|
@ -165,6 +165,10 @@ install -d %{buildroot}%{_localstatedir}/lib/opencryptoki
|
|||||||
install -d %{buildroot}%{_initddir}
|
install -d %{buildroot}%{_initddir}
|
||||||
install -d %{buildroot}%{_sbindir}
|
install -d %{buildroot}%{_sbindir}
|
||||||
install -d %{buildroot}%{_prefix}/lib/tmpfiles.d
|
install -d %{buildroot}%{_prefix}/lib/tmpfiles.d
|
||||||
|
#
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/opencryptoki
|
||||||
|
cp %{buildroot}%{_datadir}/doc/opencryptoki/*.conf %{buildroot}%{_datadir}/opencryptoki
|
||||||
|
#
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcpkcsslotd
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcpkcsslotd
|
||||||
rm -rf %{buildroot}/tmp
|
rm -rf %{buildroot}/tmp
|
||||||
|
|
||||||
@ -177,8 +181,8 @@ rm -f %{buildroot}%{_libdir}/opencryptoki/methods
|
|||||||
# autobuild:/work/cd/lib/misc/group
|
# autobuild:/work/cd/lib/misc/group
|
||||||
# openCryptoki pkcs11:x:64:
|
# openCryptoki pkcs11:x:64:
|
||||||
# openCryptoki pkcsslotd:x:64:
|
# openCryptoki pkcsslotd:x:64:
|
||||||
%{_sbindir}/groupadd -g %{pkcs11_group_id} -r %{pkcs_group} 2>/dev/null || true
|
%{_sbindir}/groupadd -g %{pkcs11_group_id} -r %{pkcs_group} 2>/dev/null || getent group %{pkcs_group} 2>/dev/null || true
|
||||||
%{_sbindir}/useradd -g %{pkcs11_group_id} -r pkcsslotd -s /sbin/nologin -d /run/opencryptoki 2>/dev/null || true
|
%{_sbindir}/useradd -g %{pkcs11_group_id} -r pkcsslotd -s /sbin/nologin -d /run/opencryptoki 2>/dev/null || getent passwd pkcsslotd 2>/dev/null || true
|
||||||
%{_sbindir}/usermod -a -G %{pkcs_group} root
|
%{_sbindir}/usermod -a -G %{pkcs_group} root
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -238,8 +242,11 @@ ln -sf %{_libdir}/opencryptoki/libopencryptoki.so %{_prefix}/lib/pkcs11/PKCS11_A
|
|||||||
%doc openCryptoki-TFAQ.html FAQ
|
%doc openCryptoki-TFAQ.html FAQ
|
||||||
%doc doc/*
|
%doc doc/*
|
||||||
%dir %{_datadir}/doc/opencryptoki
|
%dir %{_datadir}/doc/opencryptoki
|
||||||
%{_datadir}/doc/opencryptoki/policy-example.conf
|
%doc %{_datadir}/doc/opencryptoki/policy-example.conf
|
||||||
%{_datadir}/doc/opencryptoki/strength-example.conf
|
%doc %{_datadir}/doc/opencryptoki/strength-example.conf
|
||||||
|
%dir %{_datadir}/opencryptoki
|
||||||
|
%{_datadir}/opencryptoki/policy-example.conf
|
||||||
|
%{_datadir}/opencryptoki/strength-example.conf
|
||||||
# configuration directory
|
# configuration directory
|
||||||
%dir %{_sysconfdir}/opencryptoki
|
%dir %{_sysconfdir}/opencryptoki
|
||||||
%config %{_sysconfdir}/opencryptoki/opencryptoki.conf
|
%config %{_sysconfdir}/opencryptoki/opencryptoki.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user