forked from pool/audit
Accepting request 49601 from home:jones_tony:branches:security
Update to 2.0.5 OBS-URL: https://build.opensuse.org/request/show/49601 OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=20
This commit is contained in:
parent
09202d73d5
commit
ac0c7391c5
@ -4,10 +4,10 @@ SuSE kernel git tree. Patches added without this will be reverted. Thanks.
|
|||||||
From: Name <email>
|
From: Name <email>
|
||||||
Subject: Summary of fix
|
Subject: Summary of fix
|
||||||
Date: date
|
Date: date
|
||||||
References: bnc#xxxxxx (bugzilla reference)
|
References: bnc#xxxxxx (bugzilla reference if applicable)
|
||||||
|
Upstream: yes (provide repo/commit-id in description) or no (provide reason)
|
||||||
Signed-Off-by: Name <email> (same as From: if committer is patch author)
|
Signed-Off-by: Name <email> (same as From: if committer is patch author)
|
||||||
|
|
||||||
Short paragraph describing problem/fix.
|
Short paragraph describing problem/fix.
|
||||||
|
|
||||||
References to upstream repo/commit-id if applicable.
|
References to upstream repo-path/commit-id if applicable.
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:606e3802f022e11791edb40cd93a1d1708c5fc40db56a2bbbba5fa6e61298a95
|
|
||||||
size 617863
|
|
3
audit-2.0.5.tar.bz2
Normal file
3
audit-2.0.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:50761b5ceea7c7cd2833d9dc611ce6dec440ddfb238c8a60e36fffd104ec3df6
|
||||||
|
size 618300
|
@ -1,17 +0,0 @@
|
|||||||
From: Cristian Morales Vega <cmorve69@yahoo.es>
|
|
||||||
Subject: Fix --as-needed build
|
|
||||||
Upsteam: never
|
|
||||||
|
|
||||||
audit_LDADD is overriding LDADD, so -lpthread is missing. Fixed with -pthread in auditd_CFLAGS.
|
|
||||||
|
|
||||||
--- src/Makefile.am
|
|
||||||
+++ src/Makefile.am
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
noinst_HEADERS = auditd-config.h auditd-event.h auditd-listen.h ausearch-llist.h ausearch-options.h auditctl-llist.h aureport-options.h ausearch-parse.h aureport-scan.h ausearch-lookup.h ausearch-int.h auditd-dispatch.h ausearch-string.h ausearch-nvpair.h ausearch-common.h ausearch-avc.h ausearch-time.h ausearch-lol.h
|
|
||||||
|
|
||||||
auditd_SOURCES = auditd.c auditd-event.c auditd-config.c auditd-reconfig.c auditd-sendmail.c auditd-dispatch.c auditd-listen.c
|
|
||||||
-auditd_CFLAGS = -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
|
|
||||||
+auditd_CFLAGS = -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pthread
|
|
||||||
auditd_LDFLAGS = -pie -Wl,-z,relro
|
|
||||||
auditd_DEPENDENCIES = mt/libauditmt.a libev/libev.a
|
|
||||||
auditd_LDADD = @LIBWRAP_LIBS@ @libev_LIBS@ -Llibev -lev -lrt -lm $(gss_libs)
|
|
@ -5,9 +5,13 @@ Upsteam: never
|
|||||||
Disable GSS/Kerberos options from config file. They are disabled from configure
|
Disable GSS/Kerberos options from config file. They are disabled from configure
|
||||||
but need manual removal here.
|
but need manual removal here.
|
||||||
|
|
||||||
--- audit-1.7.7/init.d/auditd.conf.orig 2008-09-26 02:40:48.458847000 +0200
|
---
|
||||||
+++ audit-1.7.7/init.d/auditd.conf 2008-09-26 02:41:13.600681000 +0200
|
init.d/auditd.conf | 3 ---
|
||||||
@@ -26,6 +26,3 @@
|
1 file changed, 3 deletions(-)
|
||||||
|
|
||||||
|
--- a/init.d/auditd.conf
|
||||||
|
+++ b/init.d/auditd.conf
|
||||||
|
@@ -27,6 +27,3 @@ tcp_listen_queue = 5
|
||||||
tcp_max_per_addr = 1
|
tcp_max_per_addr = 1
|
||||||
##tcp_client_ports = 1024-65535
|
##tcp_client_ports = 1024-65535
|
||||||
tcp_client_max_idle = 0
|
tcp_client_max_idle = 0
|
||||||
|
@ -5,8 +5,13 @@ Upsteam: never
|
|||||||
Non builtin plugins is build as part of phase2 by audit-secondary.spec.
|
Non builtin plugins is build as part of phase2 by audit-secondary.spec.
|
||||||
Conf files for builtins are still installed
|
Conf files for builtins are still installed
|
||||||
|
|
||||||
--- audit-1.7.2/audisp/plugins/Makefile.am.orig 2008-04-22 17:20:29.022441000 +0200
|
---
|
||||||
+++ audit-1.7.2/audisp/plugins/Makefile.am 2008-04-22 17:20:36.657804000 +0200
|
audisp/plugins/Makefile.am | 2 +-
|
||||||
|
docs/Makefile.am | 3 +--
|
||||||
|
2 files changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
--- a/audisp/plugins/Makefile.am
|
||||||
|
+++ b/audisp/plugins/Makefile.am
|
||||||
@@ -22,7 +22,7 @@
|
@@ -22,7 +22,7 @@
|
||||||
|
|
||||||
CONFIG_CLEAN_FILES = *.loT *.rej *.orig
|
CONFIG_CLEAN_FILES = *.loT *.rej *.orig
|
||||||
@ -16,10 +21,9 @@ Conf files for builtins are still installed
|
|||||||
#SUBDIRS = builtins zos-remote
|
#SUBDIRS = builtins zos-remote
|
||||||
if HAVE_PRELUDE
|
if HAVE_PRELUDE
|
||||||
SUBDIRS += prelude
|
SUBDIRS += prelude
|
||||||
|
--- a/docs/Makefile.am
|
||||||
--- audit-1.7.2/docs/Makefile.am.orig 2008-04-22 17:21:45.409978000 +0200
|
+++ b/docs/Makefile.am
|
||||||
+++ audit-1.7.2/docs/Makefile.am 2008-04-22 17:21:59.923451000 +0200
|
@@ -53,6 +53,5 @@ ausearch_add_expression.3 ausearch_add_t
|
||||||
@@ -49,6 +49,5 @@
|
|
||||||
ausearch_clear.3 \
|
ausearch_clear.3 \
|
||||||
ausearch_next_event.3 ausearch_set_stop.3 \
|
ausearch_next_event.3 ausearch_set_stop.3 \
|
||||||
autrace.8 get_auditfail_action.3 set_aumessage_mode.3 \
|
autrace.8 get_auditfail_action.3 set_aumessage_mode.3 \
|
||||||
|
@ -6,9 +6,15 @@ Python code is disabled for audit.spec. Built manually by audit-libs-python.spe
|
|||||||
This is apparantly necessary due to the SuSE build system. Bit of a PITA but
|
This is apparantly necessary due to the SuSE build system. Bit of a PITA but
|
||||||
there you have it.
|
there you have it.
|
||||||
|
|
||||||
--- audit-1.7.7/configure.ac.orig 2008-09-23 01:24:06.345492000 +0200
|
---
|
||||||
+++ audit-1.7.7/configure.ac 2008-09-23 01:25:15.325453000 +0200
|
Makefile.am | 4 ++--
|
||||||
@@ -39,7 +39,6 @@
|
auparse/Makefile.am | 1 -
|
||||||
|
configure.ac | 4 ++--
|
||||||
|
3 files changed, 4 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -40,7 +40,6 @@ AC_CANONICAL_TARGET
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
AC_SUBST(LIBTOOL_DEPS)
|
AC_SUBST(LIBTOOL_DEPS)
|
||||||
@ -16,7 +22,7 @@ there you have it.
|
|||||||
OLDLIBS="$LIBS"
|
OLDLIBS="$LIBS"
|
||||||
m4_include([src/libev/libev.m4])
|
m4_include([src/libev/libev.m4])
|
||||||
libev_LIBS="$LIBS"
|
libev_LIBS="$LIBS"
|
||||||
@@ -195,7 +195,8 @@
|
@@ -231,7 +230,8 @@ AC_SUBST(libev_LIBS)
|
||||||
AC_SUBST(LIBPRELUDE_CFLAGS)
|
AC_SUBST(LIBPRELUDE_CFLAGS)
|
||||||
AC_SUBST(LIBPRELUDE_LDFLAGS)
|
AC_SUBST(LIBPRELUDE_LDFLAGS)
|
||||||
|
|
||||||
@ -26,8 +32,8 @@ there you have it.
|
|||||||
|
|
||||||
echo .
|
echo .
|
||||||
echo "
|
echo "
|
||||||
--- audit-1.7.7/Makefile.am.orig 2008-09-23 01:24:26.915901000 +0200
|
--- a/Makefile.am
|
||||||
+++ audit-1.7.7/Makefile.am 2008-09-23 01:25:43.035708000 +0200
|
+++ b/Makefile.am
|
||||||
@@ -21,8 +21,8 @@
|
@@ -21,8 +21,8 @@
|
||||||
# Rickard E. (Rik) Faith <faith@redhat.com>
|
# Rickard E. (Rik) Faith <faith@redhat.com>
|
||||||
#
|
#
|
||||||
@ -39,8 +45,8 @@ there you have it.
|
|||||||
EXTRA_DIST = ChangeLog AUTHORS NEWS README INSTALL audit.spec \
|
EXTRA_DIST = ChangeLog AUTHORS NEWS README INSTALL audit.spec \
|
||||||
contrib/capp.rules contrib/nispom.rules contrib/lspp.rules \
|
contrib/capp.rules contrib/nispom.rules contrib/lspp.rules \
|
||||||
contrib/stig.rules contrib/skeleton.c contrib/avc_snap \
|
contrib/stig.rules contrib/skeleton.c contrib/avc_snap \
|
||||||
--- audit-1.7.7/auparse/Makefile.am.orig 2008-09-23 20:45:53.245409000 +0200
|
--- a/auparse/Makefile.am
|
||||||
+++ audit-1.7.7/auparse/Makefile.am 2008-09-23 20:46:02.659985000 +0200
|
+++ b/auparse/Makefile.am
|
||||||
@@ -20,7 +20,6 @@
|
@@ -20,7 +20,6 @@
|
||||||
# Steve Grubb <sgrubb@redhat.com>
|
# Steve Grubb <sgrubb@redhat.com>
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 29 00:22:38 UTC 2010 - tonyj@novell.com
|
||||||
|
|
||||||
|
- Upgrade to version 2.0.5 (see audit.changes for upstream change
|
||||||
|
history)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de
|
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package audit-secondary (Version 2.0.4)
|
# spec file for package audit-secondary (Version 2.0.5)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -25,12 +25,11 @@ BuildRequires: gcc-c++ openldap2-devel pkg-config python-devel swig
|
|||||||
Summary: Python Bindings for libaudit
|
Summary: Python Bindings for libaudit
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
Version: 2.0.4
|
Version: 2.0.5
|
||||||
Release: 7
|
Release: 1
|
||||||
Url: http://people.redhat.com/sgrubb/audit/
|
Url: http://people.redhat.com/sgrubb/audit/
|
||||||
Source0: audit-%{version}.tar.bz2
|
Source0: audit-%{version}.tar.bz2
|
||||||
Patch1: audit-plugins-path.patch
|
Patch1: audit-plugins-path.patch
|
||||||
Patch2: audit-as_needed.patch
|
|
||||||
Requires: audit = %{version}
|
Requires: audit = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: %insserv_prereq %fillup_prereq
|
PreReq: %insserv_prereq %fillup_prereq
|
||||||
@ -85,7 +84,6 @@ rm -rf audisp/plugins/zos-remote/policy
|
|||||||
rm -rf audisp/plugins/prelude
|
rm -rf audisp/plugins/prelude
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 28 22:41:14 UTC 2010 - tonyj@novell.com
|
||||||
|
|
||||||
|
- Update to version 2.0.5 (drop: audit-as_needed.patch)
|
||||||
|
- Update README-BEFORE-ADDING-PATCHES
|
||||||
|
|
||||||
|
- Upstream 2.0.5 changelog:
|
||||||
|
- Make auparse handle empty AUSOURCE_FILE_ARRAY correctly (Miloslav Trmač)
|
||||||
|
- On i386, audit rules do not work on inode's with a large number (#554553)
|
||||||
|
- Fix displaying of inode values to be unsigned integers when listing rules
|
||||||
|
- Correct Makefile install of audispd (Jason Tang)
|
||||||
|
- Syscall table updates for 2.6.34 kernel
|
||||||
|
- Add definitions for service start and stop
|
||||||
|
- Fix handling of ignore errors in auditctl
|
||||||
|
- Fix gssapi support to build with new linker options
|
||||||
|
- Add virtualization event types
|
||||||
|
- Update aureport program help and man pages to show all options
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 28 07:22:05 UTC 2010 - aj@suse.de
|
Tue Sep 28 07:22:05 UTC 2010 - aj@suse.de
|
||||||
|
|
||||||
|
10
audit.spec
10
audit.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package audit (Version 2.0.4)
|
# spec file for package audit (Version 2.0.5)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -22,8 +22,8 @@ Name: audit
|
|||||||
BuildRequires: gcc-c++ tcpd-devel
|
BuildRequires: gcc-c++ tcpd-devel
|
||||||
BuildRequires: kernel-headers >= 2.6.29
|
BuildRequires: kernel-headers >= 2.6.29
|
||||||
Summary: User Space Tools for 2.6 Kernel Auditing
|
Summary: User Space Tools for 2.6 Kernel Auditing
|
||||||
Version: 2.0.4
|
Version: 2.0.5
|
||||||
Release: 7
|
Release: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
Url: http://people.redhat.com/sgrubb/audit/
|
Url: http://people.redhat.com/sgrubb/audit/
|
||||||
@ -35,8 +35,7 @@ Source4: README-BEFORE-ADDING-PATCHES
|
|||||||
Patch1: audit-no_python.patch
|
Patch1: audit-no_python.patch
|
||||||
Patch2: audit-no_plugins.patch
|
Patch2: audit-no_plugins.patch
|
||||||
Patch3: audit-no-gss.patch
|
Patch3: audit-no-gss.patch
|
||||||
Patch4: audit-as_needed.patch
|
Patch4: audit-oom_score_adj.patch
|
||||||
Patch5: audit-oom_score_adj.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: %{name}-libs = %{version}
|
Requires: %{name}-libs = %{version}
|
||||||
PreReq: %insserv_prereq %fillup_prereq
|
PreReq: %insserv_prereq %fillup_prereq
|
||||||
@ -101,7 +100,6 @@ Authors:
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4
|
%patch4
|
||||||
%patch5
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
Loading…
Reference in New Issue
Block a user