- audit-2.0.4-add-needed.patch: Fix FTBFS for --no-add-needed
This commit is contained in:
parent
e2190be046
commit
f3577bed94
12
audit-2.0.4-add-needed.patch
Normal file
12
audit-2.0.4-add-needed.patch
Normal file
@ -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
|
@ -3,7 +3,7 @@
|
|||||||
Summary: User space tools for 2.6 kernel auditing
|
Summary: User space tools for 2.6 kernel auditing
|
||||||
Name: audit
|
Name: audit
|
||||||
Version: 2.0.4
|
Version: 2.0.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://people.redhat.com/sgrubb/audit/
|
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
|
Patch1: audit-2.0.5-auparse-empty-FILE_ARRAY.patch
|
||||||
Patch2: audit-2.0.5-i386-inode.patch
|
Patch2: audit-2.0.5-i386-inode.patch
|
||||||
Patch3: audit-2.0.5-glibc.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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: swig python-devel
|
BuildRequires: swig python-devel
|
||||||
BuildRequires: tcp_wrappers-devel libcap-ng-devel
|
BuildRequires: tcp_wrappers-devel libcap-ng-devel
|
||||||
@ -86,6 +87,7 @@ behavior.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --sbindir=/sbin --libdir=/%{_lib} --with-prelude --with-libwrap --enable-gssapi-krb5=no --with-libcap-ng=yes
|
%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
|
%attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 16 2010 Adam Jackson <ajax@redhat.com> 2.0.4-3
|
||||||
|
- audit-2.0.4-add-needed.patch: Fix FTBFS for --no-add-needed
|
||||||
|
|
||||||
* Fri Jan 29 2010 Steve Grubb <sgrubb@redhat.com> 2.0.4-2
|
* Fri Jan 29 2010 Steve Grubb <sgrubb@redhat.com> 2.0.4-2
|
||||||
- Split out static libs (#556039)
|
- Split out static libs (#556039)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user