Compare commits
8 Commits
4.0.2-1mam
...
main
Author | SHA1 | Date | |
---|---|---|---|
4ee28ad221 | |||
a131aac8ef | |||
aba41b1f97 | |||
30c5ca98ba | |||
5aeacfb4b7 | |||
61f03e74cc | |||
aa6e26d058 | |||
e373f38b99 |
65
audit.spec
65
audit.spec
@@ -1,13 +1,13 @@
|
|||||||
Name: audit
|
Name: audit
|
||||||
Version: 4.0.2
|
Version: 4.1.2
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: User space tools for kernel auditing
|
Summary: User space tools for kernel auditing
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://people.redhat.com/sgrubb/audit/
|
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
|
License: GPL, LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@@ -24,7 +24,6 @@ BuildRequires: autoconf
|
|||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
BuildRequires: libprelude-devel >= 5.2.0
|
|
||||||
%systemd_requires
|
%systemd_requires
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Provides: audit-plugins
|
Provides: audit-plugins
|
||||||
@@ -75,22 +74,18 @@ Obsoletes: python-audit < 3.0.8
|
|||||||
The python-audit package containts Python 3 bindings to %{name}.
|
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.
|
The libaudit-devel package contains the header files needed for developing applications that need to use the audit framework libraries.
|
||||||
|
|
||||||
%debug_package
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n audit-userspace-%{version}
|
||||||
#autoreconf -v --install
|
autoreconf -fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
--runstatedir=/run \
|
||||||
--with-libwrap \
|
--with-libwrap \
|
||||||
--enable-gssapi-krb5=yes \
|
--enable-gssapi-krb5=yes \
|
||||||
--with-libcap-ng=yes \
|
--with-libcap-ng=yes \
|
||||||
--with-python3=yes \
|
--with-python3=yes \
|
||||||
CFLAGS="%{optflags} -fcommon" \
|
CFLAGS="%{optflags} -fcommon" \
|
||||||
%ifarch arm
|
|
||||||
--with-arm \
|
|
||||||
%endif
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
--with-aarch64 \
|
--with-aarch64 \
|
||||||
%endif
|
%endif
|
||||||
@@ -117,11 +112,8 @@ if [ $1 -gt 1 ]; then
|
|||||||
# fix /sbin -> /usr/sbin paths on upgrade
|
# fix /sbin -> /usr/sbin paths on upgrade
|
||||||
sed -i "s|path = /sbin/|path = /usr/sbin/|" %{_sysconfdir}/audit/plugins.d/*.conf
|
sed -i "s|path = /sbin/|path = /usr/sbin/|" %{_sysconfdir}/audit/plugins.d/*.conf
|
||||||
fi
|
fi
|
||||||
|
%tmpfiles_create audit.conf
|
||||||
%systemd_post auditd
|
%systemd_post auditd
|
||||||
if [ $1 -eq 1 -o -e /etc/rc5.d/S11auditd ]; then
|
|
||||||
systemctl -q daemon-reload
|
|
||||||
systemctl -q enable auditd
|
|
||||||
fi
|
|
||||||
:
|
:
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@@ -132,14 +124,6 @@ fi
|
|||||||
%systemd_postun auditd
|
%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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%attr(750,root,root) %dir %{_sysconfdir}/audit
|
%attr(750,root,root) %dir %{_sysconfdir}/audit
|
||||||
@@ -155,6 +139,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
%config(noreplace) %{_sysconfdir}/audit/plugins.d/syslog.conf
|
%config(noreplace) %{_sysconfdir}/audit/plugins.d/syslog.conf
|
||||||
%config(noreplace) %{_sysconfdir}/audit/zos-remote.conf
|
%config(noreplace) %{_sysconfdir}/audit/zos-remote.conf
|
||||||
%dir %{_sysconfdir}/audit/rules.d
|
%dir %{_sysconfdir}/audit/rules.d
|
||||||
|
%{_sysconfdir}/bash_completion.d/audit.bash_completion
|
||||||
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
|
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
|
||||||
%attr(750,root,root) %{_sbindir}/audisp-*
|
%attr(750,root,root) %{_sbindir}/audisp-*
|
||||||
%attr(750,root,root) %{_sbindir}/auditctl
|
%attr(750,root,root) %{_sbindir}/auditctl
|
||||||
@@ -167,10 +152,12 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
%attr(755,root,root) %{_bindir}/ausyscall
|
%attr(755,root,root) %{_bindir}/ausyscall
|
||||||
%attr(644,root,root) %{_unitdir}/auditd.service
|
%attr(644,root,root) %{_unitdir}/auditd.service
|
||||||
%{_unitdir}/audit-rules.service
|
%{_unitdir}/audit-rules.service
|
||||||
|
%{_tmpfilesdir}/audit.conf
|
||||||
%dir %{_datadir}/audit-rules
|
%dir %{_datadir}/audit-rules
|
||||||
%{_datadir}/audit-rules/*
|
%{_datadir}/audit-rules/*
|
||||||
%attr(750,root,root) %dir %{_localstatedir}/log/audit
|
%attr(750,root,root) %dir %{_localstatedir}/log/audit
|
||||||
%{_mandir}/man5/auditd.conf.5*
|
%{_mandir}/man5/auditd.conf.5*
|
||||||
|
%{_mandir}/man5/auditd.cron.5*
|
||||||
%{_mandir}/man5/ausearch-expression.5*
|
%{_mandir}/man5/ausearch-expression.5*
|
||||||
%{_mandir}/man5/auditd-plugins.5*
|
%{_mandir}/man5/auditd-plugins.5*
|
||||||
%{_mandir}/man5/zos-remote.conf.5*
|
%{_mandir}/man5/zos-remote.conf.5*
|
||||||
@@ -193,6 +180,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/libaudit.conf
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/libaudit.conf
|
||||||
%{_libdir}/libaudit.so.*
|
%{_libdir}/libaudit.so.*
|
||||||
%{_libdir}/libauparse.so.*
|
%{_libdir}/libauparse.so.*
|
||||||
|
%{_libdir}/libauplugin.so.*
|
||||||
%dir %{_libexecdir}/initscripts/legacy-actions/auditd
|
%dir %{_libexecdir}/initscripts/legacy-actions/auditd
|
||||||
%{_libexecdir}/initscripts/legacy-actions/auditd/*
|
%{_libexecdir}/initscripts/legacy-actions/auditd/*
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
@@ -201,21 +189,20 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/auparse-defs.h
|
%{_includedir}/auparse-defs.h
|
||||||
%{_includedir}/auparse.h
|
%{_includedir}/auparse.h
|
||||||
|
%{_includedir}/auplugin.h
|
||||||
%{_includedir}/audit-records.h
|
%{_includedir}/audit-records.h
|
||||||
%{_includedir}/audit_logging.h
|
%{_includedir}/audit_logging.h
|
||||||
%{_includedir}/libaudit.h
|
%{_includedir}/libaudit.h
|
||||||
|
%{_libdir}/libauplugin.a
|
||||||
%{_libdir}/libaudit.so
|
%{_libdir}/libaudit.so
|
||||||
|
%{_libdir}/libauplugin.so
|
||||||
%{_libdir}/libauparse.so
|
%{_libdir}/libauparse.so
|
||||||
%{_libdir}/pkgconfig/auparse.pc
|
%{_libdir}/pkgconfig/auparse.pc
|
||||||
%{_libdir}/pkgconfig/audit.pc
|
%{_libdir}/pkgconfig/audit.pc
|
||||||
%ifnarch arm
|
|
||||||
%dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit
|
%dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit
|
||||||
%{_prefix}/lib/golang/src/pkg/redhat.com/audit/audit.go
|
%{_prefix}/lib/golang/src/pkg/redhat.com/audit/audit.go
|
||||||
%endif
|
|
||||||
%{_datadir}/aclocal/audit.m4
|
%{_datadir}/aclocal/audit.m4
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
#%doc contrib/skeleton.c contrib/plugin
|
|
||||||
#%doc ChangeLog README THANKS TODO
|
|
||||||
|
|
||||||
%files -n lib%{name}-static
|
%files -n lib%{name}-static
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@@ -230,6 +217,30 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
%{python3_sitearch}/auparse.*
|
%{python3_sitearch}/auparse.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 09 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.2-2mamba
|
||||||
|
- rebuilt with --runstatedir=/run
|
||||||
|
|
||||||
|
* Wed Sep 03 2025 Automatic Build System <autodist@openmamba.org> 4.1.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Aug 01 2025 Automatic Build System <autodist@openmamba.org> 4.1.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Jul 12 2025 Automatic Build System <autodist@openmamba.org> 4.1.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Jun 04 2025 Automatic Build System <autodist@openmamba.org> 4.0.5-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* 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
|
* Fri Aug 09 2024 Automatic Build System <autodist@openmamba.org> 4.0.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user