SHA256
1
0
forked from pool/keyutils

Accepting request 984109 from home:aplanas:branches:security

- Add /etc/keys/evn and /usr/etc/keys/evm together with the IMA ones

OBS-URL: https://build.opensuse.org/request/show/984109
OBS-URL: https://build.opensuse.org/package/show/security/keyutils?expand=0&rev=58
This commit is contained in:
Marcus Meissner 2022-06-21 08:30:07 +00:00 committed by Git OBS Bridge
parent fd0516deda
commit 0eb8eae8b8
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 21 08:26:54 UTC 2022 - Alberto Planas Dominguez <aplanas@suse.com>
- Add /etc/keys/evn and /usr/etc/keys/evm together with the IMA ones
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 24 12:54:11 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com> Thu Jun 24 12:54:11 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package keyutils # spec file for package keyutils
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -89,8 +89,10 @@ ln -s /%{_sbindir}/request-key %{buildroot}/sbin
install -m 0750 -d \ install -m 0750 -d \
%{buildroot}%{_sysconfdir}/keys \ %{buildroot}%{_sysconfdir}/keys \
%{buildroot}%{_sysconfdir}/keys/ima \ %{buildroot}%{_sysconfdir}/keys/ima \
%{buildroot}%{_sysconfdir}/keys/evm \
%{buildroot}%{_distconfdir}/keys \ %{buildroot}%{_distconfdir}/keys \
%{buildroot}%{_distconfdir}/keys/ima %{buildroot}%{_distconfdir}/keys/ima \
%{buildroot}%{_distconfdir}/keys/evm
%post -n %{lname} -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig
@ -110,9 +112,11 @@ install -m 0750 -d \
%dir %{_sysconfdir}/request-key.d/ %dir %{_sysconfdir}/request-key.d/
%dir %{_sysconfdir}/keys/ %dir %{_sysconfdir}/keys/
%dir %{_sysconfdir}/keys/ima/ %dir %{_sysconfdir}/keys/ima/
%dir %{_sysconfdir}/keys/evm/
%if %{defined use_usretc} %if %{defined use_usretc}
%dir %{_distconfdir}/keys/ %dir %{_distconfdir}/keys/
%dir %{_distconfdir}/keys/ima/ %dir %{_distconfdir}/keys/ima/
%dir %{_distconfdir}/keys/evm/
%endif %endif
%files -n %{lname} %files -n %{lname}