Compare commits
6 Commits
3.0.6-1mam
...
3.1.1-1mam
Author | SHA1 | Date | |
---|---|---|---|
dd41095c8e | |||
2987454316 | |||
1337bb5a48 | |||
407f372d8e | |||
b2c0f4f9c2 | |||
0d7b1ab9a8 |
72
audit.spec
72
audit.spec
@@ -1,5 +1,5 @@
|
||||
Name: audit
|
||||
Version: 3.0.6
|
||||
Version: 3.1.1
|
||||
Release: 1mamba
|
||||
Summary: User space tools for kernel auditing
|
||||
Group: System/Tools
|
||||
@@ -12,15 +12,13 @@ Patch0: audit-3.0-usrsbin.patch
|
||||
Patch1: audit-2.8.4-rundir.patch
|
||||
License: GPL, LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
#libdl.so.2()(64bit): /usr/lib64/libdl.so: file not owned by any package
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libe2fs-devel
|
||||
BuildRequires: libkrb5-devel
|
||||
BuildRequires: libnsl-devel
|
||||
BuildRequires: libopenldap-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libsasl2-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: libwrap-devel
|
||||
## AUTOBUILDREQ-END
|
||||
@@ -32,6 +30,7 @@ BuildRequires: libtool
|
||||
BuildRequires: swig
|
||||
BuildRequires: libprelude-devel >= 5.2.0
|
||||
%systemd_requires
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: audit-plugins
|
||||
Obsoletes: audit-plugins < 3.0
|
||||
|
||||
@@ -74,6 +73,7 @@ Group: Development/Libraries
|
||||
Summary: Python3 bindings to %{name}
|
||||
Requires: python3
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: python-audit < 3.0.8
|
||||
|
||||
%description -n python-audit-py3
|
||||
The python-audit package containts Python 3 bindings to %{name}.
|
||||
@@ -93,7 +93,8 @@ The libaudit-devel package contains the header files needed for developing appli
|
||||
--with-libwrap \
|
||||
--enable-gssapi-krb5=yes \
|
||||
--with-libcap-ng=yes \
|
||||
--with-python=yes \
|
||||
--with-python=no \
|
||||
--with-python3=yes \
|
||||
--enable-systemd=yes \
|
||||
CFLAGS="%{optflags} -fcommon" \
|
||||
%ifarch arm
|
||||
@@ -112,12 +113,12 @@ mkdir -p %{buildroot}%{_localstatedir}/log/audit
|
||||
%makeinstall \
|
||||
initdir=%{_unitdir}
|
||||
|
||||
rm -f %{buildroot}%{python_sitearch}/_audit.a
|
||||
rm -f %{buildroot}%{python_sitearch}/_audit.la
|
||||
rm -f %{buildroot}%{python_sitearch}/_auparse.a
|
||||
rm -f %{buildroot}%{python_sitearch}/_auparse.la
|
||||
rm -f %{buildroot}%{python_sitearch}/auparse.a
|
||||
rm -f %{buildroot}%{python_sitearch}/auparse.la
|
||||
#rm -f %{buildroot}%{python_sitearch}/_audit.a
|
||||
#rm -f %{buildroot}%{python_sitearch}/_audit.la
|
||||
#rm -f %{buildroot}%{python_sitearch}/_auparse.a
|
||||
#rm -f %{buildroot}%{python_sitearch}/_auparse.la
|
||||
#rm -f %{buildroot}%{python_sitearch}/auparse.a
|
||||
#rm -f %{buildroot}%{python_sitearch}/auparse.la
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/audit/rules.d
|
||||
|
||||
@@ -175,8 +176,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_libexecdir}/initscripts/legacy-actions/auditd/*
|
||||
%attr(750,root,root) %dir %{_localstatedir}/log/audit
|
||||
%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}/audisp-*
|
||||
%attr(750,root,root) %{_sbindir}/auditctl
|
||||
%attr(750,root,root) %{_sbindir}/auditd
|
||||
%attr(750,root,root) %{_sbindir}/augenrules
|
||||
@@ -193,9 +193,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_mandir}/man5/zos-remote.conf.5*
|
||||
%{_mandir}/man7/*.7*
|
||||
%{_mandir}/man5/audisp-remote.conf.5*
|
||||
%{_mandir}/man5/libaudit.conf.5*
|
||||
%{_mandir}/man8/audispd-zos-remote.8*
|
||||
%{_mandir}/man8/audisp-remote.8*
|
||||
%{_mandir}/man8/audisp-syslog.8*
|
||||
%{_mandir}/man8/audisp-*.8*
|
||||
%{_mandir}/man8/auditctl.8*
|
||||
%{_mandir}/man8/auditd.8*
|
||||
%{_mandir}/man8/augenrules.8*
|
||||
@@ -212,7 +212,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/libaudit.conf
|
||||
%{_libdir}/libaudit.so.*
|
||||
%{_libdir}/libauparse.so.*
|
||||
%{_mandir}/man5/libaudit.conf.5*
|
||||
%{_libexecdir}/audit-functions
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
@@ -222,8 +222,6 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_includedir}/libaudit.h
|
||||
%{_libdir}/libaudit.so
|
||||
%{_libdir}/libauparse.so
|
||||
%{_libdir}/libaudit.la
|
||||
%{_libdir}/libauparse.la
|
||||
%{_libdir}/pkgconfig/auparse.pc
|
||||
%{_libdir}/pkgconfig/audit.pc
|
||||
%ifnarch arm
|
||||
@@ -231,7 +229,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_prefix}/lib/golang/src/pkg/redhat.com/audit/audit.go
|
||||
%endif
|
||||
%{_datadir}/aclocal/audit.m4
|
||||
%{_mandir}/man3/*.3.gz
|
||||
%{_mandir}/man3/*.3*
|
||||
#%doc contrib/skeleton.c contrib/plugin
|
||||
#%doc ChangeLog README THANKS TODO
|
||||
|
||||
@@ -240,20 +238,38 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_libdir}/libaudit.a
|
||||
%{_libdir}/libauparse.a
|
||||
|
||||
%files -n python-audit
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/_audit.*
|
||||
%{python_sitearch}/audit.py*
|
||||
%{python_sitearch}/auparse.*
|
||||
#%files -n python-audit
|
||||
#%defattr(-,root,root)
|
||||
#%{python_sitearch}/_audit.*
|
||||
#%{python_sitearch}/audit.py*
|
||||
#%{python_sitearch}/auparse.*
|
||||
|
||||
%files -n python-audit-py3
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/_audit.*
|
||||
%{python3_sitearch}/audit.py
|
||||
%{python3_sitearch}/__pycache__/audit.cpython-*.pyc
|
||||
%{python3_sitearch}/auparse.*
|
||||
%{python3_sitelib}/_audit.*
|
||||
%{python3_sitelib}/audit.py
|
||||
%{python3_sitelib}/__pycache__/audit.cpython-*.pyc
|
||||
%{python3_sitelib}/auparse.*
|
||||
|
||||
%changelog
|
||||
* Sat Apr 29 2023 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 12 2023 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Aug 30 2022 Automatic Build System <autodist@mambasoft.it> 3.0.9-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Apr 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.8-1mamba
|
||||
- update to 3.0.8
|
||||
|
||||
* Tue Jan 25 2022 Automatic Build System <autodist@mambasoft.it> 3.0.7-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Nov 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.6-2mamba
|
||||
- audit: added versioned requirement for libaudit
|
||||
|
||||
* Sun Oct 03 2021 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Reference in New Issue
Block a user