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
|
2017-09-18 18:23:48 +00:00
|
|
|
Version: 2.7.8
|
|
|
|
Release: 1%{?dist}
|
2007-08-27 20:29:41 +00:00
|
|
|
License: GPLv2+
|
2004-11-15 22:58:29 +00:00
|
|
|
Group: System Environment/Daemons
|
2004-11-19 22:18:07 +00:00
|
|
|
URL: http://people.redhat.com/sgrubb/audit/
|
2014-08-24 16:58:42 +00:00
|
|
|
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
2014-07-11 20:04:20 +00:00
|
|
|
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
|
2015-09-16 11:02:30 +00:00
|
|
|
BuildRequires: openldap-devel
|
|
|
|
BuildRequires: swig
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: tcp_wrappers-devel krb5-devel libcap-ng-devel
|
|
|
|
BuildRequires: kernel-headers >= 2.6.29
|
|
|
|
%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
|
2011-07-27 00:04:26 +00:00
|
|
|
Requires(post): systemd-units systemd-sysv chkconfig coreutils
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units 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
|
|
|
Group: Development/Libraries
|
|
|
|
|
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+
|
2005-01-05 19:13:59 +00:00
|
|
|
Group: Development/Libraries
|
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+
|
|
|
|
Group: Development/Libraries
|
|
|
|
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
|
|
|
|
2005-11-30 22:08:32 +00:00
|
|
|
%package libs-python
|
|
|
|
Summary: Python bindings for libaudit
|
2007-08-27 20:29:41 +00:00
|
|
|
License: LGPLv2+
|
2005-11-30 22:08:32 +00:00
|
|
|
Group: Development/Libraries
|
2015-09-16 11:02:30 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2005-11-30 22:08:32 +00:00
|
|
|
|
|
|
|
%description libs-python
|
|
|
|
The audit-libs-python package contains the bindings so that libaudit
|
2007-02-21 00:11:20 +00:00
|
|
|
and libauparse can be used by python.
|
2005-11-30 22:08:32 +00:00
|
|
|
|
2015-07-16 21:14:19 +00:00
|
|
|
%package libs-python3
|
|
|
|
Summary: Python3 bindings for libaudit
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: Development/Libraries
|
2015-09-16 11:02:30 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2015-07-16 21:14:19 +00:00
|
|
|
|
|
|
|
%description libs-python3
|
|
|
|
The audit-libs-python3 package contains the bindings so that libaudit
|
|
|
|
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+
|
|
|
|
Group: System Environment/Daemons
|
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+
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
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 \
|
2015-07-16 21:14:19 +00:00
|
|
|
--with-python3=yes --with-libwrap --enable-gssapi-krb5=yes \
|
|
|
|
--with-libcap-ng=yes --with-arm --with-aarch64 \
|
|
|
|
--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
|
2016-01-11 18:23:17 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/{sbin,etc/audispd/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
|
2005-04-01 19:10:36 +00:00
|
|
|
mkdir -p $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
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
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
|
2009-08-18 18:13:00 +00:00
|
|
|
%defattr(-,root,root,-)
|
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
|
2009-08-18 18:13:00 +00:00
|
|
|
%defattr(-,root,root,-)
|
2007-09-02 16:49:22 +00:00
|
|
|
%doc contrib/skeleton.c 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
|
|
|
|
%defattr(-,root,root,-)
|
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
|
|
|
|
|
2005-11-30 22:08:32 +00:00
|
|
|
%files libs-python
|
2009-08-18 18:13:00 +00:00
|
|
|
%defattr(-,root,root,-)
|
2009-04-03 19:42:16 +00:00
|
|
|
%attr(755,root,root) %{python_sitearch}/_audit.so
|
|
|
|
%attr(755,root,root) %{python_sitearch}/auparse.so
|
|
|
|
%{python_sitearch}/audit.py*
|
2007-03-02 22:26:36 +00:00
|
|
|
|
2015-07-16 21:14:19 +00:00
|
|
|
%files libs-python3
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%attr(755,root,root) %{python3_sitearch}/*
|
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
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/audispd.8.gz
|
|
|
|
%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
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/audispd.conf.5.gz
|
2008-07-04 00:55:30 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/ausearch-expression.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
|
2007-05-01 21:43:06 +00:00
|
|
|
%attr(750,root,root) /sbin/audispd
|
2013-04-30 14:35:12 +00:00
|
|
|
%attr(750,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
|
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/resume
|
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/rotate
|
2013-05-30 15:53:47 +00:00
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/stop
|
2013-05-31 15:18:36 +00:00
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/restart
|
|
|
|
%attr(750,root,root) %{_libexecdir}/initscripts/legacy-actions/auditd/condrestart
|
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
|
2007-08-28 18:34:17 +00:00
|
|
|
%attr(750,root,root) %dir /etc/audisp
|
|
|
|
%attr(750,root,root) %dir /etc/audisp/plugins.d
|
2006-05-12 21:04:25 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/auditd.conf
|
2016-01-11 18:23:17 +00:00
|
|
|
%ghost %config(noreplace) %attr(640,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
|
2007-08-27 20:29:41 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/audispd.conf
|
2008-01-19 20:59:34 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/plugins.d/af_unix.conf
|
2009-01-24 15:03:04 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/plugins.d/syslog.conf
|
2007-12-27 21:50:31 +00:00
|
|
|
|
|
|
|
%files -n audispd-plugins
|
|
|
|
%defattr(-,root,root,-)
|
2008-03-30 19:17:17 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/audisp-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/plugins.d/au-remote.conf
|
|
|
|
%attr(750,root,root) /sbin/audisp-remote
|
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
|
2004-09-09 03:16:50 +00:00
|
|
|
|
2016-04-28 21:20:58 +00:00
|
|
|
%files -n audispd-plugins-zos
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/audispd-zos-remote.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/zos-remote.conf.5.gz
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/plugins.d/audispd-zos-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/zos-remote.conf
|
|
|
|
%attr(750,root,root) /sbin/audispd-zos-remote
|
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%changelog
|
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
|
|
|
|
|