From f3577bed94bad34b85c6331807419f1ff78db2f4 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Feb 16 2010 21:50:10 +0000 Subject: - audit-2.0.4-add-needed.patch: Fix FTBFS for --no-add-needed --- diff --git a/audit-2.0.4-add-needed.patch b/audit-2.0.4-add-needed.patch new file mode 100644 index 0000000..eef39dd --- /dev/null +++ b/audit-2.0.4-add-needed.patch @@ -0,0 +1,12 @@ +diff -up audit-2.0.4/src/Makefile.am.jx audit-2.0.4/src/Makefile.am +--- audit-2.0.4/src/Makefile.am.jx 2009-12-07 16:16:45.000000000 -0500 ++++ audit-2.0.4/src/Makefile.am 2010-02-16 16:51:21.000000000 -0500 +@@ -34,7 +34,7 @@ auditd_SOURCES = auditd.c auditd-event.c + 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 -lpthread -lm $(gss_libs) + + auditctl_SOURCES = auditctl.c auditctl-llist.c delete_all.c + auditctl_DEPENDENCIES = mt/libauditmt.a diff --git a/audit.spec b/audit.spec index c92c2cc..476c5bc 100644 --- a/audit.spec +++ b/audit.spec @@ -3,7 +3,7 @@ Summary: User space tools for 2.6 kernel auditing Name: audit Version: 2.0.4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://people.redhat.com/sgrubb/audit/ @@ -11,6 +11,7 @@ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz Patch1: audit-2.0.5-auparse-empty-FILE_ARRAY.patch Patch2: audit-2.0.5-i386-inode.patch Patch3: audit-2.0.5-glibc.patch +Patch4: audit-2.0.4-add-needed.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: swig python-devel BuildRequires: tcp_wrappers-devel libcap-ng-devel @@ -86,6 +87,7 @@ behavior. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %configure --sbindir=/sbin --libdir=/%{_lib} --with-prelude --with-libwrap --enable-gssapi-krb5=no --with-libcap-ng=yes @@ -238,6 +240,9 @@ fi %attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz %changelog +* Tue Feb 16 2010 Adam Jackson 2.0.4-3 +- audit-2.0.4-add-needed.patch: Fix FTBFS for --no-add-needed + * Fri Jan 29 2010 Steve Grubb 2.0.4-2 - Split out static libs (#556039)