SHA256
1
0
forked from pool/audit

Accepting request 517818 from security

1

OBS-URL: https://build.opensuse.org/request/show/517818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audit?expand=0&rev=83
This commit is contained in:
Dominique Leuenberger 2017-08-24 15:40:36 +00:00 committed by Git OBS Bridge
commit d3da0cd89a
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,24 @@
Index: audit-2.7.7/audisp/audispd.c
===================================================================
--- audit-2.7.7.orig/audisp/audispd.c
+++ audit-2.7.7/audisp/audispd.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <string.h>
#include <sys/wait.h>
+#include <sys/uio.h> // for writev() and readv()
#include <pthread.h>
#include <dirent.h>
#include <fcntl.h>
Index: audit-2.7.7/audisp/audispd-builtins.c
===================================================================
--- audit-2.7.7.orig/audisp/audispd-builtins.c
+++ audit-2.7.7/audisp/audispd-builtins.c
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <sys/un.h>
#include <sys/stat.h>
+#include <sys/uio.h> // for writev()
#include <fcntl.h>
#include "audispd-pconfig.h"
#include "audispd-builtins.h"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 18 08:50:02 UTC 2017 - dimstar@opensuse.org
- Add audit-implicit-writev.patch: include sys/uio.h to ensure
readv and writev are declared.
-------------------------------------------------------------------
Mon Jul 24 13:59:06 UTC 2017 - jengelh@inai.de

View File

@ -31,6 +31,7 @@ Patch1: audit-plugins-path.patch
Patch2: audit-no-gss.patch
Patch3: audit-allow-manual-stop.patch
Patch4: audit-ausearch-do-not-require-tclass.patch
Patch5: audit-implicit-writev.patch
BuildRequires: audit-devel = %{version}
BuildRequires: autoconf >= 2.12
BuildRequires: gcc-c++
@ -102,6 +103,7 @@ rm -rf audisp/plugins/prelude
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
autoreconf -fi