2009-04-03 19:42:16 +00:00
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
2007-07-10 23:22:14 +00:00
|
|
|
|
2006-07-13 20:38:11 +00:00
|
|
|
Summary: User space tools for 2.6 kernel auditing
|
2004-09-09 03:16:50 +00:00
|
|
|
Name: audit
|
2018-07-17 11:46:01 +00:00
|
|
|
Version: 3.0
|
2018-08-31 21:28:25 +00:00
|
|
|
Release: 0.4.20180831git0047a6c%{?dist}
|
2007-08-27 20:29:41 +00:00
|
|
|
License: GPLv2+
|
2004-11-19 22:18:07 +00:00
|
|
|
URL: http://people.redhat.com/sgrubb/audit/
|
2018-08-31 21:28:25 +00:00
|
|
|
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha5.tar.gz
|
2014-07-11 20:04:20 +00:00
|
|
|
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
|
2018-07-04 12:42:08 +00:00
|
|
|
|
2018-03-10 11:40:23 +00:00
|
|
|
BuildRequires: gcc swig
|
2015-09-16 11:02:30 +00:00
|
|
|
BuildRequires: openldap-devel
|
2018-02-05 20:52:12 +00:00
|
|
|
BuildRequires: krb5-devel libcap-ng-devel
|
2015-09-16 11:02:30 +00:00
|
|
|
BuildRequires: kernel-headers >= 2.6.29
|
2018-07-17 11:54:21 +00:00
|
|
|
BuildRequires: python2 python-unversioned-command
|
2015-09-16 11:02:30 +00:00
|
|
|
%ifarch %{golang_arches}
|
2014-08-04 13:05:37 +00:00
|
|
|
BuildRequires: golang
|
|
|
|
# Temporary fix for make check in golang. Needs libaudit.so
|
|
|
|
BuildRequires: audit-libs-devel
|
|
|
|
%endif
|
2015-09-16 11:02:30 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2013-06-21 21:44:51 +00:00
|
|
|
BuildRequires: systemd
|
2018-07-04 11:33:30 +00:00
|
|
|
Requires(post): systemd coreutils
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd coreutils
|
2004-09-09 03:16:50 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The audit package contains the user space utilities for
|
2016-10-09 18:44:15 +00:00
|
|
|
storing and searching the audit records generated by
|
|
|
|
the audit subsystem in the Linux 2.6 and later kernels.
|
2004-09-09 03:16:50 +00:00
|
|
|
|
2005-01-05 19:13:59 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Dynamic library for libaudit
|
2007-08-27 20:29:41 +00:00
|
|
|
License: LGPLv2+
|
2004-11-19 22:18:07 +00:00
|
|
|
|
2005-01-05 19:13:59 +00:00
|
|
|
%description libs
|
|
|
|
The audit-libs package contains the dynamic libraries needed for
|
|
|
|
applications to use the audit framework.
|
|
|
|
|
|
|
|
%package libs-devel
|
2010-01-29 18:46:25 +00:00
|
|
|
Summary: Header files for libaudit
|
2007-08-27 20:29:41 +00:00
|
|
|
License: LGPLv2+
|
2015-09-16 11:02:30 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2009-08-18 18:13:00 +00:00
|
|
|
Requires: kernel-headers >= 2.6.29
|
2005-01-05 19:13:59 +00:00
|
|
|
|
|
|
|
%description libs-devel
|
2010-01-29 18:46:25 +00:00
|
|
|
The audit-libs-devel package contains the header files needed for
|
|
|
|
developing applications that need to use the audit framework libraries.
|
|
|
|
|
|
|
|
%package libs-static
|
|
|
|
Summary: Static version of libaudit library
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: kernel-headers >= 2.6.29
|
|
|
|
|
|
|
|
%description libs-static
|
|
|
|
The audit-libs-static package contains the static libraries
|
|
|
|
needed for developing applications that need to use static audit
|
|
|
|
framework libraries
|
2004-11-19 22:18:07 +00:00
|
|
|
|
2018-04-10 12:05:15 +00:00
|
|
|
%package -n python2-audit
|
|
|
|
Summary: Python2 bindings for libaudit
|
2007-08-27 20:29:41 +00:00
|
|
|
License: LGPLv2+
|
2018-01-19 13:05:18 +00:00
|
|
|
BuildRequires: python2-devel
|
2015-09-16 11:02:30 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2018-01-24 08:25:10 +00:00
|
|
|
Provides: audit-libs-python = %{version}-%{release}
|
2018-04-10 12:05:15 +00:00
|
|
|
Provides: audit-libs-python%{?_isa} = %{version}-%{release}
|
|
|
|
Obsoletes: audit-libs-python < %{version}-%{release}
|
|
|
|
Provides: audit-libs-python2 = %{version}-%{release}
|
|
|
|
Provides: audit-libs-python2%{?_isa} = %{version}-%{release}
|
|
|
|
Obsoletes: audit-libs-python2 < %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python2-audit
|
|
|
|
The python2-audit package contains the bindings so that libaudit
|
2018-01-19 13:05:18 +00:00
|
|
|
and libauparse can be used by python2.
|
2005-11-30 22:08:32 +00:00
|
|
|
|
2018-04-10 12:05:15 +00:00
|
|
|
%package -n python3-audit
|
2015-07-16 21:14:19 +00:00
|
|
|
Summary: Python3 bindings for libaudit
|
|
|
|
License: LGPLv2+
|
2018-01-19 13:05:18 +00:00
|
|
|
BuildRequires: python3-devel
|
2015-09-16 11:02:30 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2018-04-10 12:05:15 +00:00
|
|
|
Provides: audit-libs-python3 = %{version}-%{release}
|
|
|
|
Provides: audit-libs-python3%{?_isa} = %{version}-%{release}
|
|
|
|
Obsoletes: audit-libs-python3 < %{version}-%{release}
|
2015-07-16 21:14:19 +00:00
|
|
|
|
2018-04-10 12:05:15 +00:00
|
|
|
%description -n python3-audit
|
|
|
|
The python3-audit package contains the bindings so that libaudit
|
2015-07-16 21:14:19 +00:00
|
|
|
and libauparse can be used by python3.
|
|
|
|
|
2007-12-27 21:50:31 +00:00
|
|
|
%package -n audispd-plugins
|
|
|
|
Summary: Plugins for the audit event dispatcher
|
|
|
|
License: GPLv2+
|
2015-09-16 11:02:30 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2007-12-27 21:50:31 +00:00
|
|
|
|
|
|
|
%description -n audispd-plugins
|
|
|
|
The audispd-plugins package provides plugins for the real-time
|
|
|
|
interface to the audit system, audispd. These plugins can do things
|
2016-04-28 21:20:58 +00:00
|
|
|
like relay events to remote machines.
|
|
|
|
|
|
|
|
%package -n audispd-plugins-zos
|
2016-04-29 16:38:19 +00:00
|
|
|
Summary: z/OS plugin for the audit event dispatcher
|
2016-04-28 21:20:58 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: openldap
|
|
|
|
|
|
|
|
%description -n audispd-plugins-zos
|
|
|
|
The audispd-plugins-zos package provides a plugin that will forward all
|
|
|
|
incoming audit events, as they happen, to a configured z/OS SMF (Service
|
|
|
|
Management Facility) database, through an IBM Tivoli Directory Server
|
|
|
|
(ITDS) set for Remote Audit service.
|
2007-12-27 21:50:31 +00:00
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%prep
|
2014-08-24 16:45:20 +00:00
|
|
|
%setup -q
|
2014-07-11 20:04:20 +00:00
|
|
|
cp %{SOURCE1} .
|
2007-08-28 23:38:25 +00:00
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%build
|
2014-08-04 13:05:37 +00:00
|
|
|
%configure --sbindir=/sbin --libdir=/%{_lib} --with-python=yes \
|
2018-07-17 11:46:01 +00:00
|
|
|
--with-python3=yes \
|
|
|
|
--enable-gssapi-krb5=yes --with-arm --with-aarch64 \
|
|
|
|
--with-libcap-ng=yes --enable-zos-remote \
|
2015-09-16 11:02:30 +00:00
|
|
|
%ifarch %{golang_arches}
|
2014-08-04 13:05:37 +00:00
|
|
|
--with-golang \
|
|
|
|
%endif
|
2015-09-16 11:02:30 +00:00
|
|
|
--enable-systemd
|
2012-12-12 15:41:26 +00:00
|
|
|
|
2015-09-16 11:02:30 +00:00
|
|
|
make CFLAGS="%{optflags}" %{?_smp_mflags}
|
2004-09-09 03:16:50 +00:00
|
|
|
|
|
|
|
%install
|
2018-07-17 11:46:01 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/{sbin,etc/audit/plugins.d,etc/audit/rules.d}
|
2007-12-27 21:50:31 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/{man5,man8}
|
2005-03-14 21:08:53 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_lib}
|
2006-07-27 20:56:59 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/audit
|
2017-10-10 20:42:16 +00:00
|
|
|
mkdir -p --mode=0700 $RPM_BUILD_ROOT/%{_var}/log/audit
|
2011-04-20 21:07:24 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_var}/spool/audit
|
2009-08-19 19:06:41 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2004-09-09 03:16:50 +00:00
|
|
|
|
2004-11-19 22:18:07 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
2004-12-13 19:27:06 +00:00
|
|
|
# This winds up in the wrong place when libtool is involved
|
2005-02-20 20:43:49 +00:00
|
|
|
mv $RPM_BUILD_ROOT/%{_lib}/libaudit.a $RPM_BUILD_ROOT%{_libdir}
|
2007-02-04 22:11:48 +00:00
|
|
|
mv $RPM_BUILD_ROOT/%{_lib}/libauparse.a $RPM_BUILD_ROOT%{_libdir}
|
2005-03-03 22:48:44 +00:00
|
|
|
curdir=`pwd`
|
|
|
|
cd $RPM_BUILD_ROOT/%{_libdir}
|
2009-08-19 18:51:56 +00:00
|
|
|
LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libaudit.so.1.*.*\``
|
2005-07-18 14:56:29 +00:00
|
|
|
ln -s ../../%{_lib}/$LIBNAME libaudit.so
|
2009-08-19 18:51:56 +00:00
|
|
|
LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libauparse.so.0.*.*\``
|
2007-02-04 22:11:48 +00:00
|
|
|
ln -s ../../%{_lib}/$LIBNAME libauparse.so
|
2005-03-03 22:48:44 +00:00
|
|
|
cd $curdir
|
2005-06-23 21:40:32 +00:00
|
|
|
# Remove these items so they don't get picked up.
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libaudit.so
|
2007-02-04 22:11:48 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libauparse.so
|
2015-09-16 11:02:30 +00:00
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
find $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages -name '*.a' -delete
|
2005-03-03 22:48:44 +00:00
|
|
|
|
2014-08-01 12:44:53 +00:00
|
|
|
# Move the pkgconfig file
|
|
|
|
mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
2006-12-01 16:34:07 +00:00
|
|
|
# On platforms with 32 & 64 bit libs, we need to coordinate the timestamp
|
|
|
|
touch -r ./audit.spec $RPM_BUILD_ROOT/etc/libaudit.conf
|
2009-10-16 17:09:20 +00:00
|
|
|
touch -r ./audit.spec $RPM_BUILD_ROOT/usr/share/man/man5/libaudit.conf.5.gz
|
2006-12-01 16:34:07 +00:00
|
|
|
|
2008-09-17 20:12:32 +00:00
|
|
|
%check
|
2016-07-01 19:07:08 +00:00
|
|
|
%ifarch %{golang_arches}
|
2008-09-17 20:12:32 +00:00
|
|
|
make check
|
2008-09-17 20:49:00 +00:00
|
|
|
%endif
|
2016-07-01 19:07:08 +00:00
|
|
|
# Get rid of make files so that they don't get packaged.
|
|
|
|
rm -f rules/Makefile*
|
2007-09-25 15:56:34 +00:00
|
|
|
|
2005-04-20 21:33:07 +00:00
|
|
|
%post libs -p /sbin/ldconfig
|
2005-01-05 19:13:59 +00:00
|
|
|
|
2004-11-19 22:18:07 +00:00
|
|
|
%post
|
2013-05-03 18:27:41 +00:00
|
|
|
# Copy default rules into place on new installation
|
2016-01-11 18:23:17 +00:00
|
|
|
files=`ls /etc/audit/rules.d/ 2>/dev/null | wc -w`
|
|
|
|
if [ "$files" -eq 0 ] ; then
|
|
|
|
# FESCO asked for audit to be off by default. #1117953
|
2016-03-18 15:01:24 +00:00
|
|
|
if [ -e /usr/share/doc/audit/rules/10-no-audit.rules ] ; then
|
|
|
|
cp /usr/share/doc/audit/rules/10-no-audit.rules /etc/audit/rules.d/audit.rules
|
|
|
|
else
|
|
|
|
touch /etc/audit/rules.d/audit.rules
|
|
|
|
fi
|
2016-07-14 15:57:27 +00:00
|
|
|
chmod 0600 /etc/audit/rules.d/audit.rules
|
2013-05-03 18:27:41 +00:00
|
|
|
fi
|
2012-12-12 15:41:26 +00:00
|
|
|
%systemd_post auditd.service
|
2004-11-19 22:18:07 +00:00
|
|
|
|
|
|
|
%preun
|
2012-12-12 15:41:26 +00:00
|
|
|
%systemd_preun auditd.service
|
2004-11-19 22:18:07 +00:00
|
|
|
|
2008-01-19 20:59:34 +00:00
|
|
|
%postun libs -p /sbin/ldconfig
|
2005-01-05 19:13:59 +00:00
|
|
|
|
2004-11-19 22:18:07 +00:00
|
|
|
%postun
|
2012-12-12 15:41:26 +00:00
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
/sbin/service auditd condrestart > /dev/null 2>&1 || :
|
2004-11-19 22:18:07 +00:00
|
|
|
fi
|
2011-07-27 00:04:26 +00:00
|
|
|
|
2011-07-27 00:28:48 +00:00
|
|
|
%files libs
|
2014-07-11 20:04:20 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license lgpl-2.1.txt
|
2014-08-01 12:44:53 +00:00
|
|
|
/%{_lib}/libaudit.so.1*
|
|
|
|
/%{_lib}/libauparse.*
|
2006-06-30 20:30:02 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/libaudit.conf
|
2009-10-16 17:14:38 +00:00
|
|
|
%{_mandir}/man5/libaudit.conf.5.gz
|
2005-01-05 19:13:59 +00:00
|
|
|
|
|
|
|
%files libs-devel
|
2018-07-17 11:46:01 +00:00
|
|
|
%doc contrib/plugin
|
2005-03-03 22:48:44 +00:00
|
|
|
%{_libdir}/libaudit.so
|
2007-02-04 22:11:48 +00:00
|
|
|
%{_libdir}/libauparse.so
|
2015-09-16 11:02:30 +00:00
|
|
|
%ifarch %{golang_arches}
|
2014-08-01 12:44:53 +00:00
|
|
|
%dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit
|
|
|
|
%{_prefix}/lib/golang/src/pkg/redhat.com/audit/audit.go
|
2014-08-04 13:05:37 +00:00
|
|
|
%endif
|
2004-11-19 22:18:07 +00:00
|
|
|
%{_includedir}/libaudit.h
|
2007-02-04 22:11:48 +00:00
|
|
|
%{_includedir}/auparse.h
|
|
|
|
%{_includedir}/auparse-defs.h
|
2015-12-18 19:34:11 +00:00
|
|
|
%{_datadir}/aclocal/audit.m4
|
2014-08-01 12:44:53 +00:00
|
|
|
%{_libdir}/pkgconfig/audit.pc
|
2015-07-16 21:14:19 +00:00
|
|
|
%{_libdir}/pkgconfig/auparse.pc
|
2004-12-03 20:58:39 +00:00
|
|
|
%{_mandir}/man3/*
|
2004-11-19 22:18:07 +00:00
|
|
|
|
2010-01-29 18:46:25 +00:00
|
|
|
%files libs-static
|
2014-07-11 20:04:20 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license lgpl-2.1.txt
|
2010-01-29 18:46:25 +00:00
|
|
|
%{_libdir}/libaudit.a
|
|
|
|
%{_libdir}/libauparse.a
|
|
|
|
|
2018-04-10 12:05:15 +00:00
|
|
|
%files -n python2-audit
|
2009-04-03 19:42:16 +00:00
|
|
|
%attr(755,root,root) %{python_sitearch}/_audit.so
|
|
|
|
%attr(755,root,root) %{python_sitearch}/auparse.so
|
2018-07-29 22:22:32 +00:00
|
|
|
%{python2_sitearch}/audit.py*
|
2007-03-02 22:26:36 +00:00
|
|
|
|
2018-04-10 12:05:15 +00:00
|
|
|
%files -n python3-audit
|
2015-07-16 21:14:19 +00:00
|
|
|
%attr(755,root,root) %{python3_sitearch}/*
|
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%files
|
2016-01-11 18:23:17 +00:00
|
|
|
%doc README ChangeLog rules init.d/auditd.cron
|
2014-07-11 20:04:20 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
2007-12-27 21:50:31 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/auditctl.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/auditd.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/aureport.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/ausearch.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/autrace.8.gz
|
2008-11-05 20:54:11 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/aulast.8.gz
|
2008-01-07 20:11:15 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/aulastlog.8.gz
|
2012-03-01 18:56:18 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/auvirt.8.gz
|
2013-04-30 14:35:12 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/augenrules.8.gz
|
2008-04-18 20:18:30 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/ausyscall.8.gz
|
2009-09-28 19:55:04 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man7/audit.rules.7.gz
|
2007-12-27 21:50:31 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/auditd.conf.5.gz
|
2008-07-04 00:55:30 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/ausearch-expression.5.gz
|
2018-08-08 22:37:00 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/auditd-plugins.5.gz
|
2016-01-19 19:26:24 +00:00
|
|
|
%attr(755,root,root) /sbin/auditctl
|
|
|
|
%attr(755,root,root) /sbin/auditd
|
2006-12-22 16:42:02 +00:00
|
|
|
%attr(755,root,root) /sbin/ausearch
|
|
|
|
%attr(755,root,root) /sbin/aureport
|
2005-04-20 21:33:07 +00:00
|
|
|
%attr(750,root,root) /sbin/autrace
|
2017-10-10 20:42:16 +00:00
|
|
|
%attr(755,root,root) /sbin/augenrules
|
2009-09-28 19:55:04 +00:00
|
|
|
%attr(755,root,root) %{_bindir}/aulast
|
|
|
|
%attr(755,root,root) %{_bindir}/aulastlog
|
2008-04-18 20:18:30 +00:00
|
|
|
%attr(755,root,root) %{_bindir}/ausyscall
|
2012-03-01 18:56:18 +00:00
|
|
|
%attr(755,root,root) %{_bindir}/auvirt
|
2016-01-11 18:23:17 +00:00
|
|
|
%attr(644,root,root) %{_unitdir}/auditd.service
|
2013-04-30 14:35:12 +00:00
|
|
|
%attr(750,root,root) %dir %{_libexecdir}/initscripts/legacy-actions/auditd
|
2018-03-10 11:50:18 +00:00
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/condrestart
|
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/reload
|
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/restart
|
2013-04-30 14:35:12 +00:00
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/resume
|
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/rotate
|
2018-06-19 19:32:35 +00:00
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/state
|
2013-05-30 15:53:47 +00:00
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/stop
|
2018-07-17 12:14:08 +00:00
|
|
|
%ghost %{_localstatedir}/run/auditd.state
|
2011-04-20 21:07:24 +00:00
|
|
|
%attr(750,root,root) %dir %{_var}/log/audit
|
2006-05-12 21:09:26 +00:00
|
|
|
%attr(750,root,root) %dir /etc/audit
|
2013-04-30 14:35:12 +00:00
|
|
|
%attr(750,root,root) %dir /etc/audit/rules.d
|
2018-07-17 11:46:01 +00:00
|
|
|
%attr(750,root,root) %dir /etc/audit/plugins.d
|
2006-05-12 21:04:25 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/auditd.conf
|
2018-07-18 17:36:21 +00:00
|
|
|
%ghost %config(noreplace) %attr(600,root,root) /etc/audit/rules.d/audit.rules
|
2014-07-02 19:13:08 +00:00
|
|
|
%ghost %config(noreplace) %attr(640,root,root) /etc/audit/audit.rules
|
2016-06-29 01:10:40 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/audit-stop.rules
|
2018-07-17 12:08:21 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/plugins.d/af_unix.conf
|
2007-12-27 21:50:31 +00:00
|
|
|
|
|
|
|
%files -n audispd-plugins
|
2018-07-17 11:46:01 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/audisp-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/plugins.d/au-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/plugins.d/syslog.conf
|
2008-03-30 19:17:17 +00:00
|
|
|
%attr(750,root,root) /sbin/audisp-remote
|
2018-07-17 11:46:01 +00:00
|
|
|
%attr(750,root,root) /sbin/audisp-syslog
|
2011-04-20 21:07:24 +00:00
|
|
|
%attr(700,root,root) %dir %{_var}/spool/audit
|
2008-03-30 19:17:17 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/audisp-remote.conf.5.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz
|
2018-08-31 21:28:25 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/audisp-syslog.8.gz
|
2004-09-09 03:16:50 +00:00
|
|
|
|
2016-04-28 21:20:58 +00:00
|
|
|
%files -n audispd-plugins-zos
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/audispd-zos-remote.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/zos-remote.conf.5.gz
|
2018-07-17 12:08:21 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/plugins.d/audispd-zos-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/zos-remote.conf
|
2016-04-28 21:20:58 +00:00
|
|
|
%attr(750,root,root) /sbin/audispd-zos-remote
|
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%changelog
|
2018-08-31 21:28:25 +00:00
|
|
|
* Fri Aug 31 2018 Steve Grubb <sgrubb@redhat.com> 3.0-0.4.20180831git0047a6c
|
2018-08-31 16:55:57 +00:00
|
|
|
- New upstream feature prerelease
|
|
|
|
|
2018-08-08 22:37:00 +00:00
|
|
|
* Wed Aug 08 2018 Steve Grubb <sgrubb@redhat.com> 3.0-0.2.20180808git77fbcf3
|
|
|
|
- New upstream feature prerelease
|
|
|
|
|
2018-07-17 11:46:01 +00:00
|
|
|
* Tue Jul 17 2018 Steve Grubb <sgrubb@redhat.com> 3.0-0.1.20180717gitacd53d1
|
|
|
|
- New upstream feature prerelease
|
|
|
|
|
2018-07-12 20:46:28 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-04 11:33:30 +00:00
|
|
|
* Wed Jul 4 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2.8.4-3
|
|
|
|
- Remove unused sys V initscripts legacy bits
|
|
|
|
|
2018-07-02 16:22:02 +00:00
|
|
|
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.8.4-2
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-06-19 19:32:35 +00:00
|
|
|
* Tue Jun 19 2018 Steve Grubb <sgrubb@redhat.com> 2.8.4-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2018-06-19 08:39:52 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.8.3-4
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-04-10 12:05:15 +00:00
|
|
|
* Tue Apr 10 2018 Pete Walter <pwalter@fedoraproject.org> - 2.8.3-3
|
|
|
|
- Rename Python 2 and 3 subpackages to python2-audit and python3-audit as per guidelines
|
|
|
|
|
2018-03-26 21:14:23 +00:00
|
|
|
* Mon Mar 26 2018 Steve Grubb <sgrubb@redhat.com> 2.8.3-2
|
|
|
|
- Fix Obsoletion of audit-libs-python not handled properly (#1559674)
|
|
|
|
|
2018-03-10 11:40:23 +00:00
|
|
|
* Sat Mar 10 2018 Steve Grubb <sgrubb@redhat.com> 2.8.3-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2018-02-07 03:18:33 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-05 19:25:54 +00:00
|
|
|
* Mon Feb 05 2018 Steve Grubb <sgrubb@redhat.com> 2.8.2-3
|
|
|
|
- Add a Provides audit-libs-python (#1537864)
|
2018-02-05 20:52:12 +00:00
|
|
|
- Remove tcp_wrappers support?
|
2018-01-24 08:25:10 +00:00
|
|
|
|
2018-01-19 13:05:18 +00:00
|
|
|
* Thu Dec 14 2017 Steve Grubb <sgrubb@redhat.com> 2.8.2-2
|
|
|
|
- Rename things from python to python2
|
|
|
|
|
2017-12-14 17:10:59 +00:00
|
|
|
* Thu Dec 14 2017 Steve Grubb <sgrubb@redhat.com> 2.8.2-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2017-10-12 17:41:01 +00:00
|
|
|
* Thu Oct 12 2017 Steve Grubb <sgrubb@redhat.com> 2.8.1-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2017-10-10 20:42:16 +00:00
|
|
|
* Tue Oct 10 2017 Steve Grubb <sgrubb@redhat.com> 2.8-1
|
|
|
|
- New upstream feature release
|
|
|
|
|
2017-09-18 18:23:48 +00:00
|
|
|
* Mon Sep 18 2017 Steve Grubb <sgrubb@redhat.com> 2.7.8-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2017-08-02 17:59:16 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.7-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 03:33:13 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-14 17:44:42 +00:00
|
|
|
* Fri Jul 14 2017 Steve Grubb <sgrubb@redhat.com> 2.7.7-3
|
|
|
|
- undo scratch build
|
|
|
|
|
2017-06-16 19:16:41 +00:00
|
|
|
* Fri Jun 16 2017 Steve Grubb <sgrubb@redhat.com> 2.7.7-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2017-04-19 13:02:35 +00:00
|
|
|
* Wed Apr 19 2017 Steve Grubb <sgrubb@redhat.com> 2.7.6-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2017-04-10 15:42:14 +00:00
|
|
|
* Mon Apr 10 2017 Steve Grubb <sgrubb@redhat.com> 2.7.5-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2017-03-28 15:02:11 +00:00
|
|
|
* Tue Mar 28 2017 Steve Grubb <sgrubb@redhat.com> 2.7.4-1
|
|
|
|
- New upstream feature and bugfix release
|
|
|
|
|
2017-02-24 22:05:00 +00:00
|
|
|
* Fri Feb 24 2017 Steve Grubb <sgrubb@redhat.com> 2.7.3-1
|
|
|
|
- New upstream feature and bugfix release
|
|
|
|
|
2017-02-13 17:03:43 +00:00
|
|
|
* Mon Feb 13 2017 Steve Grubb <sgrubb@redhat.com> 2.7.2-2
|
|
|
|
- Fix ausearch csv output
|
|
|
|
|
2017-02-13 14:52:12 +00:00
|
|
|
* Mon Feb 13 2017 Steve Grubb <sgrubb@redhat.com> 2.7.2-1
|
|
|
|
- New upstream feature and bugfix release
|
|
|
|
|
2017-02-10 06:33:21 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-13 16:40:39 +00:00
|
|
|
* Fri Jan 13 2017 Steve Grubb <sgrubb@redhat.com> 2.7.1-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2016-12-19 17:20:36 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.7-2
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-12-16 14:14:09 +00:00
|
|
|
* Thu Dec 15 2016 Steve Grubb <sgrubb@redhat.com> 2.7-1
|
|
|
|
- New upstream feature release
|
|
|
|
|
2016-09-11 14:01:32 +00:00
|
|
|
* Sun Sep 11 2016 Steve Grubb <sgrubb@redhat.com> 2.6.7-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2016-08-01 16:13:44 +00:00
|
|
|
* Mon Aug 01 2016 Steve Grubb <sgrubb@redhat.com> 2.6.6-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2016-07-21 12:32:49 +00:00
|
|
|
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.5-3
|
|
|
|
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
|
|
2016-07-19 06:34:42 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.5-2
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-07-14 15:57:27 +00:00
|
|
|
* Thu Jul 14 2016 Steve Grubb <sgrubb@redhat.com> 2.6.5-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2016-07-08 21:44:51 +00:00
|
|
|
* Fri Jul 08 2016 Steve Grubb <sgrubb@redhat.com> 2.6.4-2
|
|
|
|
- Correct size information of dispatched event
|
|
|
|
|
2016-07-08 16:02:31 +00:00
|
|
|
* Fri Jul 08 2016 Steve Grubb <sgrubb@redhat.com> 2.6.4-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2016-07-05 21:15:37 +00:00
|
|
|
* Tue Jul 05 2016 Steve Grubb <sgrubb@redhat.com> 2.6.3-2
|
|
|
|
- Fix sockaddr event interpretation
|
|
|
|
|
2016-07-05 12:59:26 +00:00
|
|
|
* Tue Jul 05 2016 Steve Grubb <sgrubb@redhat.com> 2.6.3-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2016-07-01 15:51:17 +00:00
|
|
|
* Fri Jul 01 2016 Steve Grubb <sgrubb@redhat.com> 2.6.2-1
|
2016-07-01 15:50:03 +00:00
|
|
|
- New upstream bugfix release
|
|
|
|
- Fixes 1351954 - prevents virtual machine from starting up in GNOME Boxes
|
|
|
|
|
2016-07-01 16:01:56 +00:00
|
|
|
* Tue Jun 28 2016 Steve Grubb <sgrubb@redhat.com> 2.6.1-1
|
2016-06-29 01:10:40 +00:00
|
|
|
- New upstream bugfix release
|
|
|
|
|
2016-06-22 20:09:26 +00:00
|
|
|
* Wed Jun 22 2016 Steve Grubb <sgrubb@redhat.com> 2.6-3
|
2016-06-22 19:21:37 +00:00
|
|
|
- New upstream release
|
|
|
|
|
2016-04-29 16:38:19 +00:00
|
|
|
* Fri Apr 29 2016 Steve Grubb <sgrubb@redhat.com> 2.5.2-1
|
|
|
|
- New upstream release
|
|
|
|
|
2016-04-28 21:20:58 +00:00
|
|
|
* Thu Apr 28 2016 Steve Grubb <sgrubb@redhat.com> 2.5.1-2
|
|
|
|
- Refactor plugins to split out zos-remote to lower dependencies
|
|
|
|
|
2016-04-13 19:32:41 +00:00
|
|
|
* Wed Apr 13 2016 Steve Grubb <sgrubb@redhat.com> 2.5.1-1
|
|
|
|
- New upstream release
|
|
|
|
|
2016-03-18 15:29:22 +00:00
|
|
|
* Fri Mar 18 2016 Steve Grubb <sgrubb@redhat.com> 2.5-4
|
2016-03-18 15:01:24 +00:00
|
|
|
- Fixes #1313152 - post script fails on dnf --setopt=tsflags=nodocs install
|
|
|
|
|
2016-02-22 18:02:53 +00:00
|
|
|
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
|
|
|
|
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
|
|
2016-02-03 16:42:29 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-03-18 15:29:22 +00:00
|
|
|
* Mon Jan 11 2016 Steve Grubb <sgrubb@redhat.com> 2.5-1
|
2016-01-11 18:23:17 +00:00
|
|
|
- New upstream release
|
|
|
|
- Fixes #1241565 - still logs way too much
|
|
|
|
- Fixes #1238051 - audit.rules should be generated from by augenrules
|
|
|
|
|
2015-12-18 19:34:11 +00:00
|
|
|
* Fri Dec 18 2015 Steve Grubb <sgrubb@redhat.com> 2.4.4-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2015-11-04 09:43:54 +00:00
|
|
|
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 2.4.4-3
|
|
|
|
- Rebuilt for Python3.5 rebuild
|
|
|
|
|
2015-09-16 11:02:30 +00:00
|
|
|
* Wed Sep 16 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.4-2
|
|
|
|
- Fix FTBFS with hardened flags by using the distro CFLAGS
|
|
|
|
- Tighten deps with the _isa macro
|
|
|
|
- Use goarches macro to define supported GO architectures
|
|
|
|
- Minor cleanups
|
|
|
|
|
2015-08-13 21:08:21 +00:00
|
|
|
* Thu Aug 13 2015 Steve Grubb <sgrubb@redhat.com> 2.4.4-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
- Fixes CVE-2015-5186 Audit: log terminal emulator escape sequences handling
|
|
|
|
|
2015-07-16 21:14:19 +00:00
|
|
|
* Thu Jul 16 2015 Steve Grubb <sgrubb@redhat.com> 2.4.3-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
- Adds python3 support
|
|
|
|
|
2015-06-17 01:20:13 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-28 20:19:25 +00:00
|
|
|
* Tue Apr 28 2015 Steve Grubb <sgrubb@redhat.com> 2.4.2-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2015-02-21 21:26:24 +00:00
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.4.1-2
|
|
|
|
- Rebuilt for Fedora 23 Change
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
|
2014-10-28 16:32:14 +00:00
|
|
|
* Tue Oct 28 2014 Steve Grubb <sgrubb@redhat.com> 2.4.1-1
|
|
|
|
- New upstream feature and bugfix release
|
|
|
|
|
2014-10-06 08:36:57 +00:00
|
|
|
* Mon Oct 06 2014 Karsten Hopp <karsten@redhat.com> 2.4-2
|
|
|
|
- bump release and rebuild for upgradepath
|
|
|
|
|
2014-08-24 16:45:20 +00:00
|
|
|
* Sun Aug 24 2014 Steve Grubb <sgrubb@redhat.com> 2.4-1
|
|
|
|
- New upstream feature and bugfix release
|
|
|
|
|
2014-08-15 21:49:28 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-0.3.svn20140803
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-04 13:05:37 +00:00
|
|
|
* Mon Aug 4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.8-0.2.svn20140803
|
|
|
|
- aarch64/PPC/s390 don't have golang
|
|
|
|
|
2014-08-02 14:55:35 +00:00
|
|
|
* Sat Aug 02 2014 Steve Grubb <sgrubb@redhat.com> 2.3.8-0.1.svn20140803
|
2014-08-01 12:44:53 +00:00
|
|
|
- New upstream svn snapshot
|
|
|
|
|
2014-07-22 19:09:15 +00:00
|
|
|
* Tue Jul 22 2014 Steve Grubb <sgrubb@redhat.com> 2.3.7-4
|
2014-07-22 19:08:04 +00:00
|
|
|
- Bug 1117953 - Per fesco#1311, please disable syscall auditing by default
|
|
|
|
|
2014-07-11 20:04:20 +00:00
|
|
|
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> - 2.3.7-3
|
|
|
|
- mark license files properly
|
|
|
|
|
2014-06-07 02:06:37 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-06-03 16:12:54 +00:00
|
|
|
* Tue Jun 03 2014 Steve Grubb <sgrubb@redhat.com> 2.3.7-1
|
|
|
|
- New upstream bugfix release
|
|
|
|
|
2014-04-11 20:30:42 +00:00
|
|
|
* Fri Apr 11 2014 Steve Grubb <sgrubb@redhat.com> 2.3.6-1
|
|
|
|
- New upstream bugfix/enhancement release
|
|
|
|
|
2014-03-17 22:08:19 +00:00
|
|
|
* Mon Mar 17 2014 Steve Grubb <sgrubb@redhat.com> 2.3.5-1
|
|
|
|
- New upstream bugfix/enhancement release
|
|
|
|
|
2014-02-27 13:37:41 +00:00
|
|
|
* Thu Feb 27 2014 Steve Grubb <sgrubb@redhat.com> 2.3.4-1
|
|
|
|
- New upstream bugfix/enhancement release
|
|
|
|
|
2014-01-16 11:37:07 +00:00
|
|
|
* Thu Jan 16 2014 Steve Grubb <sgrubb@redhat.com> 2.3.3-1
|
|
|
|
- New upstream bugfix/enhancement release
|
|
|
|
|
2013-07-29 21:44:38 +00:00
|
|
|
* Mon Jul 29 2013 Steve Grubb <sgrubb@redhat.com> 2.3.2-1
|
|
|
|
- New upstream bugfix/enhancement release
|
|
|
|
|
2013-06-21 20:13:37 +00:00
|
|
|
* Fri Jun 21 2013 Steve Grubb <sgrubb@redhat.com> 2.3.1-3
|
|
|
|
- Drop prelude support
|
|
|
|
|
2013-05-31 15:18:36 +00:00
|
|
|
* Fri May 31 2013 Steve Grubb <sgrubb@redhat.com> 2.3.1-2
|
|
|
|
- Fix unknown lvalue in auditd.service (#969345)
|
|
|
|
|
2013-05-30 15:54:26 +00:00
|
|
|
* Thu May 30 2013 Steve Grubb <sgrubb@redhat.com> 2.3.1-1
|
2013-05-30 15:53:47 +00:00
|
|
|
- New upstream bugfix/enhancement release
|
|
|
|
|
2013-05-03 18:27:41 +00:00
|
|
|
* Fri May 03 2013 Steve Grubb <sgrubb@redhat.com> 2.3-2
|
|
|
|
- If no rules exist, copy shipped rules into place
|
|
|
|
|