forked from pool/audit
5a9dff2cf2
Copy from security/audit based on submit request 24465 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/24465 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audit?expand=0&rev=30
58 lines
2.7 KiB
Diff
58 lines
2.7 KiB
Diff
From: Tony Jones <tonyj@suse.de>
|
|
Subject: Disable automatic building of python code
|
|
Upsteam: never
|
|
|
|
Python code is disabled for audit.spec. Built manually by audit-libs-python.spec.
|
|
This is apparantly necessary due to the SuSE build system. Bit of a PITA but
|
|
there you have it.
|
|
|
|
Index: audit-1.7.13/configure.ac
|
|
===================================================================
|
|
--- audit-1.7.13.orig/configure.ac
|
|
+++ audit-1.7.13/configure.ac
|
|
@@ -39,7 +39,6 @@ AC_CANONICAL_TARGET
|
|
AM_INIT_AUTOMAKE
|
|
AM_PROG_LIBTOOL
|
|
AC_SUBST(LIBTOOL_DEPS)
|
|
-AM_PATH_PYTHON
|
|
OLDLIBS="$LIBS"
|
|
m4_include([src/libev/libev.m4])
|
|
libev_LIBS="$LIBS"
|
|
@@ -202,7 +201,8 @@ AC_SUBST(libev_LIBS)
|
|
AC_SUBST(LIBPRELUDE_CFLAGS)
|
|
AC_SUBST(LIBPRELUDE_LDFLAGS)
|
|
|
|
-AC_OUTPUT(Makefile lib/Makefile lib/test/Makefile auparse/Makefile auparse/test/Makefile src/Makefile src/mt/Makefile src/libev/Makefile src/test/Makefile swig/Makefile docs/Makefile init.d/Makefile audisp/Makefile audisp/plugins/Makefile audisp/plugins/builtins/Makefile audisp/plugins/prelude/Makefile audisp/plugins/remote/Makefile audisp/plugins/zos-remote/Makefile bindings/Makefile bindings/python/Makefile tools/Makefile tools/aulast/Makefile tools/aulastlog/Makefile tools/ausyscall/Makefile)
|
|
+# SuSE: remove swig/Makefile + bindings/Makefile + bindings/python/Makefile
|
|
+AC_OUTPUT(Makefile lib/Makefile lib/test/Makefile auparse/Makefile auparse/test/Makefile src/Makefile src/mt/Makefile src/libev/Makefile src/test/Makefile docs/Makefile init.d/Makefile audisp/Makefile audisp/plugins/Makefile audisp/plugins/builtins/Makefile audisp/plugins/prelude/Makefile audisp/plugins/remote/Makefile audisp/plugins/zos-remote/Makefile tools/Makefile tools/aulast/Makefile tools/aulastlog/Makefile tools/ausyscall/Makefile)
|
|
|
|
echo .
|
|
echo "
|
|
Index: audit-1.7.13/Makefile.am
|
|
===================================================================
|
|
--- audit-1.7.13.orig/Makefile.am
|
|
+++ audit-1.7.13/Makefile.am
|
|
@@ -21,8 +21,8 @@
|
|
# Rickard E. (Rik) Faith <faith@redhat.com>
|
|
#
|
|
|
|
-SUBDIRS = lib auparse src/mt src/libev src audisp tools swig bindings init.d \
|
|
- docs
|
|
+# SuSE: remove swig + bindings
|
|
+SUBDIRS = lib auparse src/mt src/libev src audisp tools init.d docs
|
|
EXTRA_DIST = ChangeLog AUTHORS NEWS README INSTALL audit.spec \
|
|
contrib/capp.rules contrib/nispom.rules contrib/lspp.rules \
|
|
contrib/stig.rules contrib/skeleton.c contrib/avc_snap \
|
|
Index: audit-1.7.13/auparse/Makefile.am
|
|
===================================================================
|
|
--- audit-1.7.13.orig/auparse/Makefile.am
|
|
+++ audit-1.7.13/auparse/Makefile.am
|
|
@@ -20,7 +20,6 @@
|
|
# Steve Grubb <sgrubb@redhat.com>
|
|
#
|
|
|
|
-SUBDIRS = test
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
CONFIG_CLEAN_FILES = *.loT *.rej *.orig
|
|
AM_CFLAGS = -fPIC -DPIC -D_GNU_SOURCE -g ${DEBUG}
|