+++ /dev/null
---- audit-1.7.13/src/Makefile.am~ 2009-04-21 20:47:18.000000000 +0200
-+++ audit-1.7.13/src/Makefile.am 2009-07-06 13:01:03.410269265 +0200
-@@ -34,7 +34,7 @@
- auditd_CFLAGS = -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
- 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)
-+auditd_LDADD = @LIBWRAP_LIBS@ @libev_LIBS@ -Llibev -lev -lrt -lm $(gss_libs) $(LDADD)
-
- auditctl_SOURCES = auditctl.c auditctl-llist.c delete_all.c
- auditctl_DEPENDENCIES = mt/libauditmt.a
+++ /dev/null
---- audit-2.0.4/lib/libaudit.c~ 2009-12-07 22:16:48.000000000 +0100
-+++ audit-2.0.4/lib/libaudit.c 2010-06-01 09:11:01.489476207 +0200
-@@ -34,6 +34,7 @@
- #include <errno.h>
- #include <sys/poll.h>
- #include <sys/utsname.h>
-+#include <sys/stat.h>
- #include <fcntl.h> /* O_NOFOLLOW needs gnu defined */
- #include <limits.h> /* for PATH_MAX */
-
Summary: User space tools for 2.6 kernel auditing
Summary(pl.UTF-8): Narzędzia przestrzeni użytkownika do audytu jąder 2.6
Name: audit
-Version: 2.0.4
-Release: 3
+Version: 2.0.5
+Release: 1
License: GPL v2+
Group: Daemons
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
-# Source0-md5: 90d2c70e74041fca5ac4b999cb915d68
+# Source0-md5: 1326b712dab362acbc8686cd91f8e3e1
Source2: %{name}d.init
Source3: %{name}d.sysconfig
Patch0: %{name}-install.patch
-Patch1: %{name}-pthread.patch
-Patch2: %{name}-m4.patch
-Patch3: %{name}-stat.patch
+Patch1: %{name}-m4.patch
URL: http://people.redhat.com/sgrubb/audit/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%if !%{with python}
sed 's#swig/Makefile ##' -i configure.ac