Do not use custom sbindir and libdir in configure
This commit is contained in:
parent
2afbab751a
commit
6c41ba29e8
12
audit-3.0.3-lmrt.patch
Normal file
12
audit-3.0.3-lmrt.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -urp audit-3.0.3.orig/src/Makefile.in audit-3.0.3/src/Makefile.in
|
||||
--- audit-3.0.3.orig/src/Makefile.in 2021-06-28 18:04:56.450429090 -0400
|
||||
+++ audit-3.0.3/src/Makefile.in 2021-06-28 18:05:37.325424715 -0400
|
||||
@@ -487,7 +487,7 @@ auditd_SOURCES = auditd.c auditd-event.c
|
||||
$(am__append_1)
|
||||
auditd_CFLAGS = -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pthread -Wno-pointer-sign
|
||||
auditd_LDFLAGS = -pie -Wl,-z,relro -Wl,-z,now
|
||||
-auditd_LDADD = @LIBWRAP_LIBS@ ${top_builddir}/src/libev/libev.la ${top_builddir}/audisp/libdisp.la ${top_builddir}/lib/libaudit.la ${top_builddir}/auparse/libauparse.la -lpthread -lm -lrt $(gss_libs) ${top_builddir}/common/libaucommon.la
|
||||
+auditd_LDADD = @LIBWRAP_LIBS@ ${top_builddir}/src/libev/libev.la ${top_builddir}/audisp/libdisp.la ${top_builddir}/lib/libaudit.la ${top_builddir}/auparse/libauparse.la -lpthread $(gss_libs) ${top_builddir}/common/libaucommon.la
|
||||
auditctl_SOURCES = auditctl.c auditctl-llist.c delete_all.c auditctl-listing.c
|
||||
auditctl_CFLAGS = -fPIE -DPIE -g -D_GNU_SOURCE
|
||||
auditctl_LDFLAGS = -pie -Wl,-z,relro -Wl,-z,now
|
@ -7,6 +7,7 @@ License: GPLv2+
|
||||
URL: http://people.redhat.com/sgrubb/audit/
|
||||
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
||||
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
|
||||
Patch1: audit-3.0.3-lmrt.patch
|
||||
|
||||
BuildRequires: make gcc swig
|
||||
BuildRequires: openldap-devel
|
||||
@ -87,6 +88,7 @@ Management Facility) database, through an IBM Tivoli Directory Server
|
||||
%prep
|
||||
%setup -q
|
||||
cp %{SOURCE1} .
|
||||
%patch1 -p1
|
||||
|
||||
# Remove the ids code, its not ready
|
||||
sed -i 's/ ids / /' audisp/plugins/Makefile.in
|
||||
|
Loading…
Reference in New Issue
Block a user