2007-01-15 23:51:54 +01:00
|
|
|
#
|
2011-02-21 14:53:49 +01:00
|
|
|
# spec file for package audit
|
2007-01-15 23:51:54 +01:00
|
|
|
#
|
- Update to version 2.6.5:
* Fix segfault on shutdown
* Fix hang on startup (#1587995)
* Add sleep to script to dump state so file is ready when needed
* Add auparse_normalizer support for SOFTWARE_UPDATE event
* Mark netlabel events as simple events so that get processed quicker
* When audispd is reconfiguring, only SIGHUP plugins with valid pid (#1614833)
* Add 30-ospp-v42.rules to meet new Common Criteria requirements
* Update lookup tables for the 4.18 kernel
* In aureport, fix segfault in file report
* Add auparse_normalizer support for labeled networking events
* Fix memory leak in audisp-remote plugin when using krb5 transport. (#1622194)
* Event aging is off by a second
* In ausearch/auparse, correct event ordering to process oldest first
* auparse_reset was not clearing everything it should
* Add support for AUDIT_MAC_CALIPSO_ADD, AUDIT_MAC_CALIPSO_DEL events
* In ausearch/report, lightly parse selinux portion of USER_AVC events
* In ausearch/report, limit record size when malformed
* In auditd, fix extract_type function for network originating events
* In auditd, calculate right size and location for network originating events
* Treat all network originating events as VER2 so dispatcher doesn't format it
* In audisp-remote do an initial connection attempt (#1625156)
* In auditd, allow expression of space left as a percentage (#1650670)
* On PPC64LE systems, only allow 64 bit rules (#1462178)
* Make some parts of auditd state report optional based on config
* Fix ausearch when checkpointing a single file (Burn Alting)
* Fix scripting in 31-privileged.rules wrt filecap (#1662516)
* In ausearch, do not checkpt if stdin is input source
* In libev, remove __cold__ attribute for functions to allow proper hardening
* Add tests to configure.ac for openldap support
OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=108
2020-01-16 21:02:22 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-01-15 23:51:54 +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/
|
2007-01-15 23:51:54 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: audit
|
- Update to version 2.6.5:
* Fix segfault on shutdown
* Fix hang on startup (#1587995)
* Add sleep to script to dump state so file is ready when needed
* Add auparse_normalizer support for SOFTWARE_UPDATE event
* Mark netlabel events as simple events so that get processed quicker
* When audispd is reconfiguring, only SIGHUP plugins with valid pid (#1614833)
* Add 30-ospp-v42.rules to meet new Common Criteria requirements
* Update lookup tables for the 4.18 kernel
* In aureport, fix segfault in file report
* Add auparse_normalizer support for labeled networking events
* Fix memory leak in audisp-remote plugin when using krb5 transport. (#1622194)
* Event aging is off by a second
* In ausearch/auparse, correct event ordering to process oldest first
* auparse_reset was not clearing everything it should
* Add support for AUDIT_MAC_CALIPSO_ADD, AUDIT_MAC_CALIPSO_DEL events
* In ausearch/report, lightly parse selinux portion of USER_AVC events
* In ausearch/report, limit record size when malformed
* In auditd, fix extract_type function for network originating events
* In auditd, calculate right size and location for network originating events
* Treat all network originating events as VER2 so dispatcher doesn't format it
* In audisp-remote do an initial connection attempt (#1625156)
* In auditd, allow expression of space left as a percentage (#1650670)
* On PPC64LE systems, only allow 64 bit rules (#1462178)
* Make some parts of auditd state report optional based on config
* Fix ausearch when checkpointing a single file (Burn Alting)
* Fix scripting in 31-privileged.rules wrt filecap (#1662516)
* In ausearch, do not checkpt if stdin is input source
* In libev, remove __cold__ attribute for functions to allow proper hardening
* Add tests to configure.ac for openldap support
OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=108
2020-01-16 21:02:22 +01:00
|
|
|
Version: 2.8.5
|
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
|
- Update to version 2.6.5:
* Fix segfault on shutdown
* Fix hang on startup (#1587995)
* Add sleep to script to dump state so file is ready when needed
* Add auparse_normalizer support for SOFTWARE_UPDATE event
* Mark netlabel events as simple events so that get processed quicker
* When audispd is reconfiguring, only SIGHUP plugins with valid pid (#1614833)
* Add 30-ospp-v42.rules to meet new Common Criteria requirements
* Update lookup tables for the 4.18 kernel
* In aureport, fix segfault in file report
* Add auparse_normalizer support for labeled networking events
* Fix memory leak in audisp-remote plugin when using krb5 transport. (#1622194)
* Event aging is off by a second
* In ausearch/auparse, correct event ordering to process oldest first
* auparse_reset was not clearing everything it should
* Add support for AUDIT_MAC_CALIPSO_ADD, AUDIT_MAC_CALIPSO_DEL events
* In ausearch/report, lightly parse selinux portion of USER_AVC events
* In ausearch/report, limit record size when malformed
* In auditd, fix extract_type function for network originating events
* In auditd, calculate right size and location for network originating events
* Treat all network originating events as VER2 so dispatcher doesn't format it
* In audisp-remote do an initial connection attempt (#1625156)
* In auditd, allow expression of space left as a percentage (#1650670)
* On PPC64LE systems, only allow 64 bit rules (#1462178)
* Make some parts of auditd state report optional based on config
* Fix ausearch when checkpointing a single file (Burn Alting)
* Fix scripting in 31-privileged.rules wrt filecap (#1662516)
* In ausearch, do not checkpt if stdin is input source
* In libev, remove __cold__ attribute for functions to allow proper hardening
* Add tests to configure.ac for openldap support
OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=108
2020-01-16 21:02:22 +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
|
2013-12-04 08:41:29 +01:00
|
|
|
Source1: baselibs.conf
|
|
|
|
Source2: README-BEFORE-ADDING-PATCHES
|
2013-01-22 15:09:24 +01:00
|
|
|
BuildRequires: autoconf >= 2.12
|
|
|
|
BuildRequires: gcc-c++
|
2013-03-26 09:57:41 +01:00
|
|
|
BuildRequires: kernel-headers >= 2.6.30
|
2013-01-22 15:09:24 +01:00
|
|
|
BuildRequires: libtool
|
2015-09-05 00:09:27 +02:00
|
|
|
BuildRequires: pkgconfig
|
2013-01-22 15:09:24 +01:00
|
|
|
BuildRequires: tcpd-devel
|
2020-06-01 19:13:53 +02:00
|
|
|
Requires: libaudit1 = %{version}
|
|
|
|
Requires: libauparse0 = %{version}
|
2007-01-15 23:51:54 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The audit package contains the user space utilities for storing and
|
2017-08-03 10:14:13 +02:00
|
|
|
processing the records generated by the audit subsystem in the
|
2016-04-01 18:36:15 +02:00
|
|
|
Linux kernel.
|
2007-01-15 23:51:54 +01:00
|
|
|
|
2010-05-05 20:41:24 +02:00
|
|
|
%package -n libaudit1
|
2017-08-03 10:14:13 +02:00
|
|
|
Summary: Library for interfacing with the kernel audit subsystem
|
2018-03-01 22:24:42 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2019-10-18 19:26:13 +02:00
|
|
|
Group: System/Libraries
|
2010-05-05 20:41:24 +02:00
|
|
|
Obsoletes: %{name}-libs < 2.0.4
|
|
|
|
Provides: %{name}-libs = %{version}
|
2007-01-15 23:51:54 +01:00
|
|
|
|
2010-05-05 20:41:24 +02:00
|
|
|
%description -n libaudit1
|
2017-08-03 10:14:13 +02:00
|
|
|
The libaudit package contains the shared libraries needed for
|
2007-01-15 23:51:54 +01:00
|
|
|
applications to use the audit framework.
|
|
|
|
|
2010-05-05 20:41:24 +02:00
|
|
|
%package -n libauparse0
|
2017-08-03 10:14:13 +02:00
|
|
|
Summary: Library for parsing and interpreting audit events
|
2018-03-01 22:24:42 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2019-10-18 19:26:13 +02:00
|
|
|
Group: System/Libraries
|
2007-01-15 23:51:54 +01:00
|
|
|
|
2010-05-05 20:41:24 +02:00
|
|
|
%description -n libauparse0
|
2017-08-03 10:14:13 +02:00
|
|
|
The libauparse package contains the shared libraries needed to
|
2010-05-05 20:41:24 +02:00
|
|
|
parse audit records.
|
2007-01-15 23:51:54 +01:00
|
|
|
|
2013-06-28 10:51:36 +02:00
|
|
|
%package -n audit-devel
|
2017-08-03 10:14:13 +02:00
|
|
|
Summary: Header files 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/Libraries/C and C++
|
2010-05-05 20:41:24 +02:00
|
|
|
Requires: libaudit1 = %{version}
|
|
|
|
Requires: libauparse0 = %{version}
|
2007-01-15 23:51:54 +01:00
|
|
|
|
2013-06-28 10:51:36 +02:00
|
|
|
%description -n audit-devel
|
2017-08-03 10:14:13 +02:00
|
|
|
The audit-devel package contains the header files
|
2007-01-15 23:51:54 +01:00
|
|
|
needed for developing applications that need to use the audit framework
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
%prep
|
2016-04-01 18:36:15 +02:00
|
|
|
%setup -q
|
2007-01-15 23:51:54 +01:00
|
|
|
|
|
|
|
%build
|
2008-03-19 11:57:31 +01:00
|
|
|
autoreconf -fi
|
2007-01-15 23:51:54 +01:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="$CFLAGS"
|
2010-11-09 13:34:18 +01:00
|
|
|
export LDFLAGS="-Wl,-z,relro,-z,now"
|
2009-06-05 22:36:33 +02:00
|
|
|
# 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 \
|
|
|
|
--without-libcap-ng \
|
|
|
|
--disable-static \
|
- Update to version 2.6.5:
* Fix segfault on shutdown
* Fix hang on startup (#1587995)
* Add sleep to script to dump state so file is ready when needed
* Add auparse_normalizer support for SOFTWARE_UPDATE event
* Mark netlabel events as simple events so that get processed quicker
* When audispd is reconfiguring, only SIGHUP plugins with valid pid (#1614833)
* Add 30-ospp-v42.rules to meet new Common Criteria requirements
* Update lookup tables for the 4.18 kernel
* In aureport, fix segfault in file report
* Add auparse_normalizer support for labeled networking events
* Fix memory leak in audisp-remote plugin when using krb5 transport. (#1622194)
* Event aging is off by a second
* In ausearch/auparse, correct event ordering to process oldest first
* auparse_reset was not clearing everything it should
* Add support for AUDIT_MAC_CALIPSO_ADD, AUDIT_MAC_CALIPSO_DEL events
* In ausearch/report, lightly parse selinux portion of USER_AVC events
* In ausearch/report, limit record size when malformed
* In auditd, fix extract_type function for network originating events
* In auditd, calculate right size and location for network originating events
* Treat all network originating events as VER2 so dispatcher doesn't format it
* In audisp-remote do an initial connection attempt (#1625156)
* In auditd, allow expression of space left as a percentage (#1650670)
* On PPC64LE systems, only allow 64 bit rules (#1462178)
* Make some parts of auditd state report optional based on config
* Fix ausearch when checkpointing a single file (Burn Alting)
* Fix scripting in 31-privileged.rules wrt filecap (#1662516)
* In ausearch, do not checkpt if stdin is input source
* In libev, remove __cold__ attribute for functions to allow proper hardening
* Add tests to configure.ac for openldap support
OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=108
2020-01-16 21:02:22 +01:00
|
|
|
--without-python \
|
|
|
|
--disable-zos-remote
|
2016-04-01 18:36:15 +02:00
|
|
|
make %{?_smp_mflags} -C lib
|
|
|
|
make %{?_smp_mflags} -C auparse
|
|
|
|
make %{?_smp_mflags} -C docs
|
2007-01-15 23:51:54 +01:00
|
|
|
|
|
|
|
%install
|
2019-06-08 18:58:52 +02:00
|
|
|
%make_install -C lib
|
|
|
|
%make_install -C auparse
|
|
|
|
%make_install -C docs
|
2016-04-01 18:36:15 +02:00
|
|
|
rm -rf %{buildroot}/%{_mandir}/man[578]
|
2017-11-09 14:54:55 +01:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}
|
2016-04-01 18:36:15 +02:00
|
|
|
mkdir -p %{buildroot}/%{_includedir}
|
|
|
|
mkdir -p %{buildroot}/%{_mandir}/man5
|
2007-01-15 23:51:54 +01:00
|
|
|
# We manually install this since Makefile doesn't
|
2016-04-01 18:36:15 +02:00
|
|
|
install -m 0644 lib/libaudit.h %{buildroot}/%{_includedir}
|
2016-04-04 11:18:16 +02:00
|
|
|
install -D -m 0644 ./m4/audit.m4 %{buildroot}%{_datadir}/aclocal/audit.m4
|
2013-06-28 10:51:36 +02:00
|
|
|
# Install libaudit.conf files by hand
|
2016-04-01 18:36:15 +02:00
|
|
|
install -m 0644 docs/libaudit.conf.5 %{buildroot}/%{_mandir}/man5
|
2017-11-09 14:54:55 +01:00
|
|
|
install -m 0644 init.d/libaudit.conf %{buildroot}%{_sysconfdir}
|
2010-05-05 20:41:24 +02:00
|
|
|
|
2016-04-01 18:36:15 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-05-05 20:41:23 +02:00
|
|
|
|
2008-09-29 17:28:30 +02:00
|
|
|
%check
|
2016-04-01 18:36:15 +02:00
|
|
|
make %{?_smp_mflags} check -C lib
|
|
|
|
make %{?_smp_mflags} check -C auparse
|
2008-09-29 17:28:30 +02:00
|
|
|
|
2010-05-05 20:41:24 +02:00
|
|
|
%post -n libaudit1 -p /sbin/ldconfig
|
|
|
|
%post -n libauparse0 -p /sbin/ldconfig
|
|
|
|
%postun -n libaudit1 -p /sbin/ldconfig
|
|
|
|
%postun -n libauparse0 -p /sbin/ldconfig
|
2007-01-15 23:51:54 +01:00
|
|
|
|
2010-05-05 20:41:24 +02:00
|
|
|
%files -n libaudit1
|
2012-10-12 15:06:39 +02:00
|
|
|
%{_libdir}/libaudit.so.*
|
2016-04-01 18:36:15 +02:00
|
|
|
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/libaudit.conf
|
2017-11-09 14:54:55 +01:00
|
|
|
%{_mandir}/man5/libaudit.conf.5%{ext_man}
|
2010-05-05 20:41:24 +02:00
|
|
|
|
|
|
|
%files -n libauparse0
|
2012-10-12 15:06:39 +02:00
|
|
|
%{_libdir}/libauparse.so.*
|
2007-01-15 23:51:54 +01:00
|
|
|
|
2013-06-28 10:51:36 +02:00
|
|
|
%files -n audit-devel
|
2008-03-28 15:45:19 +01:00
|
|
|
%doc contrib/skeleton.c contrib/plugin
|
2012-10-12 15:06:39 +02:00
|
|
|
%{_libdir}/libaudit.so
|
|
|
|
%{_libdir}/libauparse.so
|
2007-01-15 23:51:54 +01:00
|
|
|
%{_includedir}/libaudit.h
|
2007-05-06 17:10:42 +02:00
|
|
|
%{_includedir}/auparse.h
|
|
|
|
%{_includedir}/auparse-defs.h
|
2007-01-15 23:51:54 +01:00
|
|
|
%{_mandir}/man3/*
|
2016-04-01 18:36:15 +02:00
|
|
|
%{_datadir}/aclocal/audit.m4
|
2014-09-03 01:07:21 +02:00
|
|
|
%{_libdir}/pkgconfig/audit.pc
|
2015-09-05 00:09:27 +02:00
|
|
|
%{_libdir}/pkgconfig/auparse.pc
|
2007-01-15 23:51:54 +01:00
|
|
|
|
2007-05-06 17:10:42 +02:00
|
|
|
%changelog
|