automatic version update by autodist [release 3.0-1mamba;Tue Feb 09 2021]

This commit is contained in:
Automatic Build System 2024-01-05 20:40:15 +01:00
parent 047f704404
commit b280eab443

View File

@ -1,12 +1,12 @@
Name: audit
Version: 2.8.5
Release: 2mamba
Version: 3.0
Release: 1mamba
Summary: User space tools for kernel auditing
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://people.redhat.com/sgrubb/audit
URL: https://people.redhat.com/sgrubb/audit
Source: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
Patch0: audit-2.8.5-usrsbin.patch
Patch1: audit-2.8.4-rundir.patch
@ -45,6 +45,8 @@ BuildRequires: libtool
BuildRequires: swig
BuildRequires: libprelude-devel >= 5.2.0
%systemd_requires
Provides: audit-plugins
Obsoletes: audit-plugins < 3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -91,21 +93,11 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
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.
%package plugins
Group: System/Tools
Summary: Plugins for the audit event dispatcher
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libaudit = %{?epoch:%epoch:}%{version}-%{release}
#Requires: openldap
%description plugins
The audispd-plugins package provides plugins for the real-time interface to the audit system, audispd. These plugins can do things like relay events to remote machines or analyze events for suspicious behavior.
%debug_package
%prep
%setup -q
%patch0 -p1
#%patch0 -p1
#%patch1 -p1
%build
@ -117,7 +109,13 @@ The audispd-plugins package provides plugins for the real-time interface to the
--with-libcap-ng=yes \
--with-python=yes \
--enable-systemd=yes \
CFLAGS="%{optflags} -fcommon"
CFLAGS="%{optflags} -fcommon" \
%ifarch arm
--with-arm \
%endif
%ifarch aarch64
--with-aarch64 \
%endif
%make
@ -169,21 +167,26 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%files
%defattr(-,root,root)
%attr(750,root,root) %dir %{_sysconfdir}/audisp
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audispd.conf
%attr(750,root,root) %dir %{_sysconfdir}/audisp/plugins.d
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/af_unix.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/syslog.conf
%attr(750,root,root) %dir %{_sysconfdir}/audit
%config(noreplace) %{_sysconfdir}/audit/audisp-remote.conf
%{_sysconfdir}/audit/plugins.d/af_unix.conf
%{_sysconfdir}/audit/plugins.d/au-remote.conf
%{_sysconfdir}/audit/plugins.d/audispd-zos-remote.conf
%{_sysconfdir}/audit/plugins.d/syslog.conf
%{_sysconfdir}/audit/zos-remote.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/audit-stop.rules
%dir %{_sysconfdir}/audit/rules.d
#%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/rules.d/audit.rules
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/auditd.conf
%dir %{_datadir}/audit/sample-rules
%{_datadir}/audit/sample-rules/*.rules
%{_datadir}/audit/sample-rules/README-rules
%attr(644,root,root) %{_unitdir}/auditd.service
%dir %{_libexecdir}/initscripts/legacy-actions/auditd
%{_libexecdir}/initscripts/legacy-actions/auditd/*
%attr(750,root,root) %dir %{_localstatedir}/log/audit
%attr(750,root,root) %{_sbindir}/audispd
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
%attr(750,root,root) %{_sbindir}/audisp-remote
%attr(750,root,root) %{_sbindir}/audisp-syslog
%attr(750,root,root) %{_sbindir}/auditctl
%attr(750,root,root) %{_sbindir}/auditd
%attr(750,root,root) %{_sbindir}/augenrules
@ -197,11 +200,15 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%ifnarch arm aarch64
%dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit
%endif
%{_mandir}/man5/audispd.conf.5*
%{_mandir}/man5/auditd.conf.5*
%{_mandir}/man5/ausearch-expression.5*
%{_mandir}/man5/auditd-plugins.5*
%{_mandir}/man5/zos-remote.conf.5*
%{_mandir}/man7/*.7*
%{_mandir}/man8/audispd.8*
%{_mandir}/man5/audisp-remote.conf.5*
%{_mandir}/man8/audispd-zos-remote.8*
%{_mandir}/man8/audisp-remote.8*
%{_mandir}/man8/audisp-syslog.8*
%{_mandir}/man8/auditctl.8*
%{_mandir}/man8/auditd.8*
%{_mandir}/man8/augenrules.8*
@ -258,25 +265,10 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{python3_sitearch}/__pycache__/audit.cpython-*.pyc
%{python3_sitearch}/auparse.*
%files plugins
%defattr(-,root,root)
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/audispd-zos-remote.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/zos-remote.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audisp-prelude.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/au-prelude.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audisp-remote.conf
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/au-remote.conf
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
%attr(750,root,root) %{_sbindir}/audisp-prelude
%attr(750,root,root) %{_sbindir}/audisp-remote
%{_mandir}/man5/zos-remote.conf.5*
%{_mandir}/man8/audispd-zos-remote.8*
%{_mandir}/man5/audisp-prelude.conf.5*
%{_mandir}/man8/audisp-prelude.8*
%{_mandir}/man5/audisp-remote.conf.5*
%{_mandir}/man8/audisp-remote.8*
%changelog
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
- automatic version update by autodist
* Sun Dec 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.5-2mamba
- rebuilt with debug package and libprelude 5.2.0