forked from pool/audit
52 lines
2.6 KiB
Diff
52 lines
2.6 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.
|
|
|
|
--- audit-1.7.7/configure.ac.orig 2008-09-23 01:24:06.345492000 +0200
|
|
+++ audit-1.7.7/configure.ac 2008-09-23 01:25:15.325453000 +0200
|
|
@@ -39,7 +39,6 @@
|
|
AM_INIT_AUTOMAKE
|
|
AM_PROG_LIBTOOL
|
|
AC_SUBST(LIBTOOL_DEPS)
|
|
-AM_PATH_PYTHON
|
|
OLDLIBS="$LIBS"
|
|
m4_include([src/libev/libev.m4])
|
|
libev_LIBS="$LIBS"
|
|
@@ -195,7 +195,8 @@
|
|
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 "
|
|
--- audit-1.7.7/Makefile.am.orig 2008-09-23 01:24:26.915901000 +0200
|
|
+++ audit-1.7.7/Makefile.am 2008-09-23 01:25:43.035708000 +0200
|
|
@@ -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 \
|
|
--- audit-1.7.7/auparse/Makefile.am.orig 2008-09-23 20:45:53.245409000 +0200
|
|
+++ audit-1.7.7/auparse/Makefile.am 2008-09-23 20:46:02.659985000 +0200
|
|
@@ -20,7 +20,6 @@
|
|
# Steve Grubb <sgrubb@redhat.com>
|
|
#
|
|
|
|
-SUBDIRS = test
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
CONFIG_CLEAN_FILES = Makefile.in *.loT *.rej *.orig
|
|
AM_CFLAGS = -fPIC -DPIC -D_GNU_SOURCE -g
|