4 Commits

View File

@@ -1,5 +1,5 @@
Name: audit
Version: 4.0.1
Version: 4.0.4
Release: 1mamba
Summary: User space tools for kernel auditing
Group: System/Tools
@@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://people.redhat.com/sgrubb/audit/
Source: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
Source: https://github.com/linux-audit/audit-userspace.git/v%{version}/audit-userspace-%{version}.tar.bz2
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@@ -24,7 +24,6 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: swig
BuildRequires: libprelude-devel >= 5.2.0
%systemd_requires
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: audit-plugins
@@ -75,11 +74,9 @@ Obsoletes: python-audit < 3.0.8
The python-audit package containts Python 3 bindings to %{name}.
The libaudit-devel package contains the header files needed for developing applications that need to use the audit framework libraries.
%debug_package
%prep
%setup -q
#autoreconf -v --install
%setup -q -n audit-userspace-%{version}
autoreconf -fi
%build
%configure \
@@ -117,11 +114,8 @@ if [ $1 -gt 1 ]; then
# fix /sbin -> /usr/sbin paths on upgrade
sed -i "s|path = /sbin/|path = /usr/sbin/|" %{_sysconfdir}/audit/plugins.d/*.conf
fi
%tmpfiles_create audit.conf
%systemd_post auditd
if [ $1 -eq 1 -o -e /etc/rc5.d/S11auditd ]; then
systemctl -q daemon-reload
systemctl -q enable auditd
fi
:
%preun
@@ -132,14 +126,6 @@ fi
%systemd_postun auditd
:
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%posttrans -n lib%{name}
# clean broken old sysv links
find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
:
%files
%defattr(-,root,root)
%attr(750,root,root) %dir %{_sysconfdir}/audit
@@ -167,10 +153,12 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%attr(755,root,root) %{_bindir}/ausyscall
%attr(644,root,root) %{_unitdir}/auditd.service
%{_unitdir}/audit-rules.service
%{_tmpfilesdir}/audit.conf
%dir %{_datadir}/audit-rules
%{_datadir}/audit-rules/*
%attr(750,root,root) %dir %{_localstatedir}/log/audit
%{_mandir}/man5/auditd.conf.5*
%{_mandir}/man5/auditd.cron.5*
%{_mandir}/man5/ausearch-expression.5*
%{_mandir}/man5/auditd-plugins.5*
%{_mandir}/man5/zos-remote.conf.5*
@@ -230,6 +218,18 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{python3_sitearch}/auparse.*
%changelog
* Sat May 31 2025 Automatic Build System <autodist@openmamba.org> 4.0.4-1mamba
- automatic version update by autodist
* Sun Jan 12 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-1mamba
- update to 4.0.3
* Sat Dec 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.2-2mamba
- removed build requirement for libprelude
* Fri Aug 09 2024 Automatic Build System <autodist@openmamba.org> 4.0.2-1mamba
- automatic version update by autodist
* Tue Mar 12 2024 Automatic Build System <autodist@openmamba.org> 4.0.1-1mamba
- automatic version update by autodist