SHA256
1
0
forked from pool/audit
Dominique Leuenberger 2020-12-03 17:38:06 +00:00 committed by Git OBS Bridge
commit 0efabbed8d
2 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 16 09:40:34 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 13 17:39:03 UTC 2020 - Tony Jones <tonyj@suse.com> Mon Jan 13 17:39:03 UTC 2020 - Tony Jones <tonyj@suse.com>

View File

@ -174,10 +174,12 @@ rm -f %{buildroot}/%{_mandir}/man5/libaudit.conf.5
rm -rf %{buildroot}/%{_mandir}/man3 rm -rf %{buildroot}/%{_mandir}/man3
# Cleanup plugins # Cleanup plugins
#USR-MERGE #USR-MERGE
%if !0%{?usrmerged}
mkdir %{buildroot}/sbin/ mkdir %{buildroot}/sbin/
for prog in auditctl auditd ausearch autrace audispd aureport augenrules; do for prog in auditctl auditd ausearch autrace audispd aureport augenrules; do
ln -s %{_sbindir}/$prog %{buildroot}/sbin/$prog ln -s %{_sbindir}/$prog %{buildroot}/sbin/$prog
done done
%endif
#END-USR-MERGE #END-USR-MERGE
# rcauditd symlink # rcauditd symlink
ln -s service %{buildroot}%{_sbindir}/rcauditd ln -s service %{buildroot}%{_sbindir}/rcauditd
@ -226,22 +228,24 @@ fi
%attr(644,root,root) %{_mandir}/man5/ausearch-expression.5.gz %attr(644,root,root) %{_mandir}/man5/ausearch-expression.5.gz
%attr(644,root,root) %{_mandir}/man8/auvirt.8.gz %attr(644,root,root) %{_mandir}/man8/auvirt.8.gz
%attr(644,root,root) %{_mandir}/man8/augenrules.8.gz %attr(644,root,root) %{_mandir}/man8/augenrules.8.gz
%if !0%{?usrmerged}
/sbin/auditctl /sbin/auditctl
%attr(750,root,root) %{_sbindir}/auditctl
/sbin/auditd /sbin/auditd
%attr(750,root,root) %{_sbindir}/auditd
/sbin/ausearch /sbin/ausearch
%attr(755,root,root) %{_sbindir}/ausearch
/sbin/autrace /sbin/autrace
%attr(750,root,root) %{_sbindir}/autrace
/sbin/audispd /sbin/audispd
%attr(750,root,root) %{_sbindir}/augenrules
/sbin/augenrules /sbin/augenrules
/sbin/aureport
%endif
%attr(750,root,root) %{_sbindir}/auditctl
%attr(750,root,root) %{_sbindir}/auditd
%attr(755,root,root) %{_sbindir}/ausearch
%attr(750,root,root) %{_sbindir}/autrace
%attr(750,root,root) %{_sbindir}/augenrules
%attr(750,root,root) %{_sbindir}/audispd %attr(750,root,root) %{_sbindir}/audispd
%attr(755,root,root) %{_bindir}/aulast %attr(755,root,root) %{_bindir}/aulast
%attr(755,root,root) %{_bindir}/aulastlog %attr(755,root,root) %{_bindir}/aulastlog
%attr(755,root,root) %{_bindir}/ausyscall %attr(755,root,root) %{_bindir}/ausyscall
/sbin/aureport
%attr(755,root,root) %{_sbindir}/aureport %attr(755,root,root) %{_sbindir}/aureport
%attr(755,root,root) %{_bindir}/auvirt %attr(755,root,root) %{_bindir}/auvirt
%dir %attr(750,root,root) %{_sysconfdir}/audit %dir %attr(750,root,root) %{_sysconfdir}/audit