2008-03-28 15:45:19 +01:00
|
|
|
#
|
2011-02-21 14:53:49 +01:00
|
|
|
# spec file for package audit-secondary
|
2008-03-28 15:45:19 +01:00
|
|
|
#
|
2019-06-08 18:58:52 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-03-28 15:45:19 +01:00
|
|
|
#
|
2008-08-06 01:41:00 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-06-08 18:58:52 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-03-28 15:45:19 +01:00
|
|
|
#
|
|
|
|
|
2012-02-29 19:06:19 +01:00
|
|
|
|
2018-01-17 22:04:11 +01:00
|
|
|
%bcond_without python2
|
|
|
|
%bcond_without python3
|
2016-04-01 18:36:15 +02:00
|
|
|
# This package contains all audit functionality except for audit-libs.
|
2013-06-28 10:51:36 +02:00
|
|
|
# The seperation is required to minimize unnecessary build cycles.
|
|
|
|
%define _name audit
|
2008-03-28 15:45:19 +01:00
|
|
|
Name: audit-secondary
|
Accepting request 618655 from home:1Antoine1:branches:security
- Update to version 2.8.4:
* Generate checkpoint file even when not results are returned
(Burn Alting).
* Fix log file creation when file logging is disabled entirely
(Vlad Glagolev).
* Use SIGCONT to dump auditd internal state (rh#1504251).
* Fix parsing of virtual timestamp fields in ausearch_expression
(rh#1515903).
* Fix parsing of uid & success for ausearch.
* Hide lru symbols in auparse.
* Fix aureport summary time range reporting.
* Allow unlimited retries on startup for remote logging.
* Add queue_depth to remote logging stats and increase default
queue_depth size.
- Update to version 2.8.3:
* Correct msg function name in lru debug code.
* Fix a segfault in auditd when dns resolution isn't available.
* Make a reload legacy service for auditd.
* In auparse python bindings, expose some new types that were
missing.
* In normalizer, pickup subject kind for user_login events.
* Fix interpretation of unknown ioctcmds (rh#1540507).
* Add ANOM_LOGIN_SERVICE, RESP_ORIGIN_BLOCK, &
RESP_ORIGIN_BLOCK_TIMED events.
* In auparse_normalize for USER_LOGIN events, map acct for
subj_kind.
* Fix logging of IPv6 addresses in DAEMON_ACCEPT events
(rh#1534748).
* Do not rotate auditd logs when num_logs < 2 (brozs).
- Update to version 2.8.4:
* Generate checkpoint file even when not results are returned
(Burn Alting).
* Fix log file creation when file logging is disabled entirely
(Vlad Glagolev).
* Use SIGCONT to dump auditd internal state (rh#1504251).
* Fix parsing of virtual timestamp fields in ausearch_expression
(rh#1515903).
* Fix parsing of uid & success for ausearch.
* Hide lru symbols in auparse.
* Fix aureport summary time range reporting.
* Allow unlimited retries on startup for remote logging.
* Add queue_depth to remote logging stats and increase default
queue_depth size.
- Update to version 2.8.3:
* Correct msg function name in lru debug code.
* Fix a segfault in auditd when dns resolution isn't available.
* Make a reload legacy service for auditd.
* In auparse python bindings, expose some new types that were
missing.
* In normalizer, pickup subject kind for user_login events.
* Fix interpretation of unknown ioctcmds (rh#1540507).
* Add ANOM_LOGIN_SERVICE, RESP_ORIGIN_BLOCK, &
RESP_ORIGIN_BLOCK_TIMED events.
* In auparse_normalize for USER_LOGIN events, map acct for
subj_kind.
* Fix logging of IPv6 addresses in DAEMON_ACCEPT events
(rh#1534748).
* Do not rotate auditd logs when num_logs < 2 (brozs).
OBS-URL: https://build.opensuse.org/request/show/618655
OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=102
2018-06-28 03:17:18 +02:00
|
|
|
Version: 2.8.4
|
2016-04-01 18:36:15 +02:00
|
|
|
Release: 0
|
2017-08-03 10:14:13 +02:00
|
|
|
Summary: Linux kernel audit subsystem utilities
|
2018-03-01 22:24:42 +01:00
|
|
|
License: GPL-2.0-or-later
|
2019-10-18 19:26:13 +02:00
|
|
|
Group: System/Monitoring
|
2008-03-28 15:45:19 +01:00
|
|
|
Url: http://people.redhat.com/sgrubb/audit/
|
2012-10-12 15:06:39 +02:00
|
|
|
Source0: http://people.redhat.com/sgrubb/audit/%{_name}-%{version}.tar.gz
|
2008-06-25 18:53:54 +02:00
|
|
|
Patch1: audit-plugins-path.patch
|
2013-06-28 10:51:36 +02:00
|
|
|
Patch2: audit-no-gss.patch
|
2015-09-05 00:09:27 +02:00
|
|
|
Patch3: audit-allow-manual-stop.patch
|
|
|
|
Patch4: audit-ausearch-do-not-require-tclass.patch
|
2018-03-01 22:24:42 +01:00
|
|
|
Patch5: audit-python3.patch
|
2010-05-05 20:41:24 +02:00
|
|
|
BuildRequires: audit-devel = %{version}
|
2013-01-22 15:09:24 +01:00
|
|
|
BuildRequires: autoconf >= 2.12
|
2013-06-28 10:51:36 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: kernel-headers >= 2.6.30
|
2018-03-17 00:10:56 +01:00
|
|
|
BuildRequires: libldapcpp-devel
|
2011-10-02 17:39:13 +02:00
|
|
|
BuildRequires: libtool
|
2017-11-09 14:54:55 +01:00
|
|
|
BuildRequires: pkgconfig
|
2018-01-17 22:04:11 +01:00
|
|
|
%if %{with python2}
|
2017-11-09 18:04:53 +01:00
|
|
|
BuildRequires: python2-devel
|
2018-01-17 22:04:11 +01:00
|
|
|
%endif
|
|
|
|
%if %{with python3}
|
2016-04-01 18:36:15 +02:00
|
|
|
BuildRequires: python3-devel
|
2018-01-17 22:04:11 +01:00
|
|
|
%endif
|
2016-04-01 18:36:15 +02:00
|
|
|
BuildRequires: swig
|
2013-06-28 10:51:36 +02:00
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
BuildRequires: tcpd-devel
|
2013-03-26 09:57:41 +01:00
|
|
|
BuildRequires: pkgconfig(libcap-ng)
|
2008-03-28 15:45:19 +01:00
|
|
|
|
|
|
|
%description
|
2017-08-03 10:14:13 +02:00
|
|
|
The audit package contains the user space utilities for storing and
|
|
|
|
processing the records generated by the audit subsystem in the
|
|
|
|
Linux kernel.
|
2013-06-28 10:51:36 +02:00
|
|
|
|
|
|
|
%package -n audit
|
2017-08-03 10:14:13 +02:00
|
|
|
Summary: User Space Tools for Kernel Auditing
|
2018-03-01 22:24:42 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2019-10-18 19:26:13 +02:00
|
|
|
Group: System/Monitoring
|
2013-06-28 10:51:36 +02:00
|
|
|
Requires: %{_name}-libs = %{version}
|
2014-02-28 19:39:10 +01:00
|
|
|
Requires: coreutils
|
2019-06-08 18:58:52 +02:00
|
|
|
%{?systemd_ordering}
|
2013-06-28 10:51:36 +02:00
|
|
|
|
|
|
|
%description -n audit
|
|
|
|
The audit package contains the user space utilities for storing and
|
|
|
|
processing the audit records generated by the audit subsystem in the
|
2017-08-03 10:14:13 +02:00
|
|
|
Linux kernel.
|
2008-03-28 15:45:19 +01:00
|
|
|
|
2017-11-09 18:04:53 +01:00
|
|
|
%package -n python2-audit
|
2008-03-28 15:45:19 +01:00
|
|
|
Summary: Python Bindings for libaudit
|
2018-03-01 22:24:42 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2019-10-18 19:26:13 +02:00
|
|
|
Group: Development/Languages/Python
|
2017-11-09 18:04:53 +01:00
|
|
|
Provides: audit-libs-python = %{version}
|
|
|
|
Obsoletes: audit-libs-python < %{version}
|
2008-03-28 15:45:19 +01:00
|
|
|
|
2017-11-09 18:04:53 +01:00
|
|
|
%description -n python2-audit
|
2008-03-28 15:45:19 +01:00
|
|
|
The audit-libs-python package contains the bindings for using libaudit
|
|
|
|
by python.
|
|
|
|
|
2017-11-09 18:04:53 +01:00
|
|
|
%package -n python3-audit
|
2015-09-05 00:09:27 +02:00
|
|
|
Summary: Python3 Bindings for libaudit
|
2018-03-01 22:24:42 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2019-10-18 19:26:13 +02:00
|
|
|
Group: Development/Languages/Python
|
2017-11-09 18:04:53 +01:00
|
|
|
Provides: audit-libs-python3 = %{version}
|
|
|
|
Obsoletes: audit-libs-python3 < %{version}
|
2015-09-05 00:09:27 +02:00
|
|
|
|
2017-11-09 18:04:53 +01:00
|
|
|
%description -n python3-audit
|
2015-09-05 00:09:27 +02:00
|
|
|
The audit-libs-python3 package contains the bindings for using libaudit
|
|
|
|
by python3.
|
|
|
|
|
2008-03-28 15:45:19 +01:00
|
|
|
%package -n audit-audispd-plugins
|
|
|
|
Summary: Default plugins for the audit dispatcher
|
2018-03-01 22:24:42 +01:00
|
|
|
License: GPL-2.0-or-later
|
2019-10-18 19:26:13 +02:00
|
|
|
Group: System/Monitoring
|
2008-03-28 15:45:19 +01:00
|
|
|
|
|
|
|
%description -n audit-audispd-plugins
|
|
|
|
The audit-audispd-plugins package contains plugin components for the
|
|
|
|
audit dispatcher (audispd).
|
|
|
|
|
|
|
|
%prep
|
|
|
|
# remove selinux policy
|
|
|
|
rm -rf audisp/plugins/zos-remote/policy
|
|
|
|
# we don't build prelude
|
|
|
|
rm -rf audisp/plugins/prelude
|
2010-05-05 20:41:24 +02:00
|
|
|
%setup -q -n %{_name}-%{version}
|
2008-06-25 18:53:54 +02:00
|
|
|
%patch1 -p1
|
2013-06-28 10:51:36 +02:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
2018-03-01 22:24:42 +01:00
|
|
|
%patch5 -p1
|
|
|
|
|
2018-03-17 00:10:56 +01:00
|
|
|
%if %{without python2} && %{with python3}
|
|
|
|
# Fix python env call in tests if we only have Python3.
|
|
|
|
# If both versions are present, python2 bindings are preferred by the tests and
|
|
|
|
# unconditionally using /usr/bin/python3 breaks the tests
|
|
|
|
# Probably the correct solution is to run the tests twice if both are present.
|
2018-03-01 22:24:42 +01:00
|
|
|
sed -i -e 's:#!/usr/bin/env python:#!/usr/bin/python3:g' auparse/test/auparse_test.py
|
2018-03-17 00:10:56 +01:00
|
|
|
%endif
|
2016-04-01 18:36:15 +02:00
|
|
|
|
2008-03-28 15:45:19 +01:00
|
|
|
%build
|
|
|
|
autoreconf -fi
|
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="$CFLAGS"
|
2013-06-28 10:51:36 +02:00
|
|
|
export LDFLAGS="-Wl,-z,relro,-z,now"
|
|
|
|
# no krb support (omit --enable-gssapi-krb5=yes), see audit-no-gss.patch
|
2016-04-01 18:36:15 +02:00
|
|
|
%configure \
|
|
|
|
--enable-systemd \
|
|
|
|
--libexecdir=%{_libexecdir}/%{_name} \
|
|
|
|
--with-apparmor \
|
|
|
|
--with-libwrap \
|
|
|
|
--with-libcap-ng=yes \
|
2017-08-03 10:14:13 +02:00
|
|
|
--disable-static
|
2016-04-01 18:36:15 +02:00
|
|
|
make %{?_smp_mflags}
|
2008-03-28 15:45:19 +01:00
|
|
|
|
|
|
|
%install
|
2017-11-09 14:54:55 +01:00
|
|
|
%make_install
|
2013-06-28 10:51:36 +02:00
|
|
|
|
2016-04-01 18:36:15 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log/audit/
|
|
|
|
touch %{buildroot}%{_localstatedir}/log/audit/audit.log
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/spool/audit/
|
2013-06-28 10:51:36 +02:00
|
|
|
# For ghost below, so that old location files will still be there when
|
|
|
|
# post copy runs
|
2016-04-01 18:36:15 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/%{_name}/
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/%{_name}/rules.d/
|
|
|
|
touch %{buildroot}%{_sysconfdir}/{auditd.conf,audit.rules} %{buildroot}%{_sysconfdir}/audit/auditd.conf
|
2013-06-28 10:51:36 +02:00
|
|
|
# On platforms with 32 & 64 bit libs, we need to coordinate the timestamp
|
2016-04-01 18:36:15 +02:00
|
|
|
touch -r ./audit.spec %{buildroot}%{_sysconfdir}/libaudit.conf
|
|
|
|
# Starting with audit 2.5 no config is installed so start with no rules
|
|
|
|
install -m 0644 rules/10-no-audit.rules %{buildroot}%{_sysconfdir}/%{_name}/rules.d/audit.rules
|
2013-06-28 10:51:36 +02:00
|
|
|
# delete redhat scripts, use ours
|
2016-04-01 18:36:15 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/sysconfig/auditd
|
|
|
|
rm -rf %{buildroot}%{_initddir}/auditd
|
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/rc.d/init.d
|
2013-12-03 23:28:29 +01:00
|
|
|
# delete redhat systemd legacy scripts, our systemd doesn't support the feature
|
|
|
|
# https://lists.fedoraproject.org/pipermail/devel/2012-June/169411.html
|
2016-04-01 18:36:15 +02:00
|
|
|
rm -rf %{buildroot}%{_libexecdir}/audit
|
2008-03-28 15:45:19 +01:00
|
|
|
# Clean up some unneeded library files
|
2018-01-17 22:04:11 +01:00
|
|
|
rm -f %{buildroot}/%{_libdir}/python*/site-packages/{_audit,_auparse,auparse}.{a,la}
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/python*/site-packages/__pycache__
|
2016-04-01 18:36:15 +02:00
|
|
|
# cleanup makefiles for the rules (installed by %%docs command)
|
|
|
|
rm -f %{buildroot}/%{_libdir}/pkgconfig/{audit,auparse}.pc
|
2013-06-28 10:51:36 +02:00
|
|
|
# cleanup files handled by audit.spec
|
2016-04-01 18:36:15 +02:00
|
|
|
rm -rf %{buildroot}/%{_datadir}/aclocal/
|
|
|
|
rm -rf %{buildroot}/%{_includedir}
|
|
|
|
rm -f %{buildroot}/%{_libdir}/lib{audit,auparse}.*
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/libaudit.conf
|
|
|
|
rm -f %{buildroot}/%{_mandir}/man5/libaudit.conf.5
|
|
|
|
rm -rf %{buildroot}/%{_mandir}/man3
|
2008-03-28 15:45:19 +01:00
|
|
|
# Cleanup plugins
|
2013-06-28 10:51:36 +02:00
|
|
|
#USR-MERGE
|
2016-04-01 18:36:15 +02:00
|
|
|
mkdir %{buildroot}/sbin/
|
2013-12-03 23:28:29 +01:00
|
|
|
for prog in auditctl auditd ausearch autrace audispd aureport augenrules; do
|
2016-04-01 18:36:15 +02:00
|
|
|
ln -s %{_sbindir}/$prog %{buildroot}/sbin/$prog
|
2013-06-28 10:51:36 +02:00
|
|
|
done
|
|
|
|
#END-USR-MERGE
|
2013-10-03 13:03:22 +02:00
|
|
|
# rcauditd symlink
|
2016-04-01 18:36:15 +02:00
|
|
|
ln -s service %{buildroot}%{_sbindir}/rcauditd
|
2014-03-26 20:47:19 +01:00
|
|
|
chmod 0644 %{buildroot}%{_unitdir}/auditd.service
|
2008-03-28 15:45:19 +01:00
|
|
|
|
2008-09-29 17:28:30 +02:00
|
|
|
%check
|
2016-04-01 18:36:15 +02:00
|
|
|
make %{?_smp_mflags} check
|
2008-09-29 17:28:30 +02:00
|
|
|
|
2013-06-28 10:51:36 +02:00
|
|
|
%post -n audit
|
2013-12-03 23:28:29 +01:00
|
|
|
# Save existing audit files if any (from old locations)
|
2016-04-01 18:36:15 +02:00
|
|
|
if [ -f %{_sysconfdir}/auditd.conf ]; then
|
|
|
|
mv %{_sysconfdir}/audit/auditd.conf %{_sysconfdir}/audit/auditd.conf.new
|
|
|
|
mv %{_sysconfdir}/auditd.conf %{_sysconfdir}/audit/auditd.conf
|
2013-06-28 10:51:36 +02:00
|
|
|
fi
|
2016-04-01 18:36:15 +02:00
|
|
|
if [ -f %{_sysconfdir}/audit.rules ]; then
|
|
|
|
mv %{_sysconfdir}/audit.rules %{_sysconfdir}/audit/audit.rules
|
|
|
|
elif [ ! -f %{_sysconfdir}/audit/audit.rules ]; then
|
|
|
|
cp %{_sysconfdir}/audit/rules.d/audit.rules %{_sysconfdir}/audit/audit.rules
|
2013-06-28 10:51:36 +02:00
|
|
|
fi
|
|
|
|
%service_add_post auditd.service
|
|
|
|
|
|
|
|
%pre -n audit
|
|
|
|
%service_add_pre auditd.service
|
|
|
|
|
|
|
|
%preun -n audit
|
|
|
|
%service_del_preun auditd.service
|
|
|
|
|
|
|
|
%postun -n audit
|
|
|
|
%service_del_postun auditd.service
|
|
|
|
|
|
|
|
%files -n audit
|
2018-04-11 15:58:54 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc README ChangeLog rules/[0-9]* rules/README-rules init.d/auditd.cron
|
2013-06-28 10:51:36 +02: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
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/aulast.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/aulastlog.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/ausyscall.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man7/audit.rules.7.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/auditd.conf.5.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/audispd.conf.5.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/ausearch-expression.5.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/auvirt.8.gz
|
2013-12-03 23:28:29 +01:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/augenrules.8.gz
|
|
|
|
/sbin/auditctl
|
2016-04-01 18:36:15 +02:00
|
|
|
%attr(750,root,root) %{_sbindir}/auditctl
|
2013-12-03 23:28:29 +01:00
|
|
|
/sbin/auditd
|
2016-04-01 18:36:15 +02:00
|
|
|
%attr(750,root,root) %{_sbindir}/auditd
|
2013-12-03 23:28:29 +01:00
|
|
|
/sbin/ausearch
|
2016-04-01 18:36:15 +02:00
|
|
|
%attr(755,root,root) %{_sbindir}/ausearch
|
2013-12-03 23:28:29 +01:00
|
|
|
/sbin/autrace
|
2016-04-01 18:36:15 +02:00
|
|
|
%attr(750,root,root) %{_sbindir}/autrace
|
2013-12-03 23:28:29 +01:00
|
|
|
/sbin/audispd
|
2016-04-01 18:36:15 +02:00
|
|
|
%attr(750,root,root) %{_sbindir}/augenrules
|
2013-12-03 23:28:29 +01:00
|
|
|
/sbin/augenrules
|
2016-04-01 18:36:15 +02:00
|
|
|
%attr(750,root,root) %{_sbindir}/audispd
|
|
|
|
%attr(755,root,root) %{_bindir}/aulast
|
|
|
|
%attr(755,root,root) %{_bindir}/aulastlog
|
|
|
|
%attr(755,root,root) %{_bindir}/ausyscall
|
2013-12-03 23:28:29 +01:00
|
|
|
/sbin/aureport
|
2016-04-01 18:36:15 +02:00
|
|
|
%attr(755,root,root) %{_sbindir}/aureport
|
|
|
|
%attr(755,root,root) %{_bindir}/auvirt
|
|
|
|
%dir %attr(750,root,root) %{_sysconfdir}/audit
|
|
|
|
%attr(750,root,root) %dir %{_sysconfdir}/audisp
|
|
|
|
%attr(750,root,root) %dir %{_sysconfdir}/audisp/plugins.d
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/af_unix.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/syslog.conf
|
|
|
|
%ghost %{_sysconfdir}/auditd.conf
|
|
|
|
%ghost %{_sysconfdir}/audit.rules
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/auditd.conf
|
|
|
|
%dir %attr(750,root,root) %{_sysconfdir}/audit/rules.d
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/rules.d/audit.rules
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audispd.conf
|
2017-07-20 22:07:48 +02:00
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/audit-stop.rules
|
2016-04-01 18:36:15 +02:00
|
|
|
%dir %attr(700,root,root) %{_localstatedir}/log/audit
|
|
|
|
%ghost %config(noreplace) %{_localstatedir}/log/audit/audit.log
|
|
|
|
%dir %attr(700,root,root) %{_localstatedir}/spool/audit
|
2013-06-28 10:51:36 +02:00
|
|
|
%{_unitdir}/auditd.service
|
2016-04-01 18:36:15 +02:00
|
|
|
%{_sbindir}/rcauditd
|
2013-06-28 10:51:36 +02:00
|
|
|
|
2018-01-17 22:04:11 +01:00
|
|
|
%if %{with python2}
|
2017-11-09 18:04:53 +01:00
|
|
|
%files -n python2-audit
|
2018-01-17 22:04:11 +01:00
|
|
|
%attr(755,root,root) %{python2_sitearch}/_audit.so
|
|
|
|
%attr(755,root,root) %{python2_sitearch}/auparse.so
|
|
|
|
%{python2_sitearch}/audit.py*
|
|
|
|
%endif
|
2008-03-28 15:45:19 +01:00
|
|
|
|
2018-01-17 22:04:11 +01:00
|
|
|
%if %{with python3}
|
2017-11-09 18:04:53 +01:00
|
|
|
%files -n python3-audit
|
2018-01-17 22:04:11 +01:00
|
|
|
%attr(755,root,root) %{python3_sitearch}/_audit.so
|
|
|
|
%attr(755,root,root) %{python3_sitearch}/auparse.so
|
|
|
|
%{python3_sitearch}/audit.py*
|
|
|
|
%endif
|
2015-09-05 00:09:27 +02:00
|
|
|
|
2008-03-28 15:45:19 +01:00
|
|
|
%files -n audit-audispd-plugins
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/audispd-zos-remote.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/zos-remote.conf.5.gz
|
2013-06-28 10:51:36 +02:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/audisp-remote.conf.5.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz
|
2016-04-01 18:36:15 +02:00
|
|
|
%attr(750,root,root) %dir %{_sysconfdir}/audisp
|
|
|
|
%attr(750,root,root) %dir %{_sysconfdir}/audisp/plugins.d
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/audispd-zos-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/zos-remote.conf
|
|
|
|
%attr(750,root,root) %{_sbindir}/audisp-remote
|
|
|
|
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audisp-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/au-remote.conf
|
2008-03-28 15:45:19 +01:00
|
|
|
|
|
|
|
%changelog
|