Compare commits
5 Commits
3.0.1-1mam
...
3.0.8-1mam
Author | SHA1 | Date | |
---|---|---|---|
407f372d8e | |||
b2c0f4f9c2 | |||
0d7b1ab9a8 | |||
0e978576cb | |||
0d14ba2431 |
83
audit.spec
83
audit.spec
@@ -1,12 +1,12 @@
|
||||
Name: audit
|
||||
Version: 3.0.1
|
||||
Version: 3.0.8
|
||||
Release: 1mamba
|
||||
Summary: User space tools for kernel auditing
|
||||
Group: System/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
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
|
||||
Patch0: audit-3.0-usrsbin.patch
|
||||
Patch1: audit-2.8.4-rundir.patch
|
||||
@@ -15,27 +15,14 @@ License: GPL, LGPL
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libe2fs-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libgmp-devel
|
||||
BuildRequires: libgnutls-devel
|
||||
BuildRequires: libgpg-error-devel
|
||||
BuildRequires: libidn-devel
|
||||
BuildRequires: libkrb5-devel
|
||||
BuildRequires: libltdl-devel
|
||||
BuildRequires: libnettle-devel
|
||||
BuildRequires: libnsl-devel
|
||||
BuildRequires: libopenldap-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libp11-kit-devel
|
||||
BuildRequires: libprelude-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libsasl2-devel
|
||||
BuildRequires: libtasn1-devel
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: libunistring-devel
|
||||
BuildRequires: libwrap-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: gcc-go
|
||||
BuildRequires: libgo-devel
|
||||
@@ -45,9 +32,9 @@ 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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
The audit package contains the user space utilities for storing and searching the audit records generate by the audit subsystem in the Linux 2.6+ kernel.
|
||||
@@ -88,6 +75,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}.
|
||||
@@ -97,7 +85,7 @@ The libaudit-devel package contains the header files needed for developing appli
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
|
||||
%build
|
||||
@@ -107,7 +95,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
|
||||
@@ -126,12 +115,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
|
||||
|
||||
@@ -201,15 +190,13 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%attr(755,root,root) %{_bindir}/aulastlog
|
||||
%attr(755,root,root) %{_bindir}/ausyscall
|
||||
%attr(750,root,root) %{_bindir}/auvirt
|
||||
%ifnarch arm aarch64
|
||||
%dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit
|
||||
%endif
|
||||
%{_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}/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*
|
||||
@@ -229,7 +216,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
|
||||
@@ -243,11 +230,12 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_libdir}/libauparse.la
|
||||
%{_libdir}/pkgconfig/auparse.pc
|
||||
%{_libdir}/pkgconfig/audit.pc
|
||||
%ifnarch arm aarch64
|
||||
%ifnarch arm
|
||||
%dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit
|
||||
%{_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
|
||||
|
||||
@@ -256,20 +244,35 @@ 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 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
|
||||
|
||||
* Tue Aug 24 2021 Automatic Build System <autodist@mambasoft.it> 3.0.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 14 2021 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Reference in New Issue
Block a user