Accepting request 909407 from security
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/909407 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/keyutils?expand=0&rev=39
This commit is contained in:
commit
46eced61eb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 24 12:54:11 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
- Add /etc/keys/ and /usr/etc/keys/ directory (bsc#1187654)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 6 10:27:14 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
Wed Jan 6 10:27:14 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
@ -16,6 +16,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if ! %{defined _distconfdir}
|
||||||
|
%define _distconfdir %{_sysconfdir}
|
||||||
|
%else
|
||||||
|
%define use_usretc 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%define lname libkeyutils1
|
%define lname libkeyutils1
|
||||||
Name: keyutils
|
Name: keyutils
|
||||||
Version: 1.6.3
|
Version: 1.6.3
|
||||||
@ -80,6 +86,12 @@ ln -s /%{_sbindir}/key.dns_resolver %{buildroot}/sbin
|
|||||||
ln -s /%{_sbindir}/request-key %{buildroot}/sbin
|
ln -s /%{_sbindir}/request-key %{buildroot}/sbin
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
install -m 0750 -d \
|
||||||
|
%{buildroot}%{_sysconfdir}/keys \
|
||||||
|
%{buildroot}%{_sysconfdir}/keys/ima \
|
||||||
|
%{buildroot}%{_distconfdir}/keys \
|
||||||
|
%{buildroot}%{_distconfdir}/keys/ima
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -96,6 +108,12 @@ ln -s /%{_sbindir}/request-key %{buildroot}/sbin
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%config(noreplace) %{_sysconfdir}/request-key.conf
|
%config(noreplace) %{_sysconfdir}/request-key.conf
|
||||||
%dir %{_sysconfdir}/request-key.d/
|
%dir %{_sysconfdir}/request-key.d/
|
||||||
|
%dir %{_sysconfdir}/keys/
|
||||||
|
%dir %{_sysconfdir}/keys/ima/
|
||||||
|
%if %{defined use_usretc}
|
||||||
|
%dir %{_distconfdir}/keys/
|
||||||
|
%dir %{_distconfdir}/keys/ima/
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%license LICENCE.LGPL
|
%license LICENCE.LGPL
|
||||||
|
Loading…
Reference in New Issue
Block a user