[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Enable make dist



Enclosed is a patch for audit version 1.5.5 that allows "make dist"
to produce a source distribution that compiles.  I use this target to
test patches I write so as to ensure my patch does not rely on
anything left over in the directory in which I am modifying the
sources.  Please apply it.

John

diff -ur oaudit-1.5.5/auparse/Makefile.am audit-1.5.5/auparse/Makefile.am
--- oaudit-1.5.5/auparse/Makefile.am	2007-06-18 16:43:06.000000000 -0400
+++ audit-1.5.5/auparse/Makefile.am	2007-07-20 08:43:44.000000000 -0400
@@ -27,10 +27,12 @@
 LIBS =
 lib_LTLIBRARIES = libauparse.la
 include_HEADERS = auparse.h auparse-defs.h
-libauparse_la_SOURCES = rlist.c nvpair.c interpret.c nvlist.c ellist.c \
-	auparse.c auditd-config.c message.c data_buf.c \
-	captab.h famtab.h flagtab.h ipctab.h socktab.h typetab.h \
-	open-flagtab.h clone-flagtab.h fcntl-cmdtab.h data_buf.h
+libauparse_la_SOURCES = rlist.c nvpair.c interpret.c nvlist.c ellist.c	\
+	auparse.c auditd-config.c message.c data_buf.c auparse-defs.h	\
+	data_buf.h flagtab.h nvlist.h rlist.h auparse.h ellist.h	\
+	internal.h nvpair.h rnode.h captab.h famtab.h interpret.h	\
+	open-flagtab.h socktab.h clone-flagtab.h fcntl-cmdtab.h		\
+	ipctab.h private.h typetab.h
 libauparse_la_LIBADD = ${top_srcdir}/lib/libaudit.la
 libauparse_la_DEPENDENCIES = $(libauparse_la_SOURCES) ../config.h
 libauparse_la_LDFLAGS = -Wl,-z,relro
Only in audit-1.5.5/auparse: Makefile.am~
diff -ur oaudit-1.5.5/bindings/python/Makefile.am audit-1.5.5/bindings/python/Makefile.am
--- oaudit-1.5.5/bindings/python/Makefile.am	2007-05-01 17:28:55.000000000 -0400
+++ audit-1.5.5/bindings/python/Makefile.am	2007-07-20 08:58:12.000000000 -0400
@@ -21,7 +21,7 @@
 # 
 
 CONFIG_CLEAN_FILES = Makefile.in *.loT *.rej *.orig
-EXTRA_DIST = setup.py
+EXTRA_DIST = setup.py auparse_python.c
 
 all:
 	$(PYTHON) setup.py build
@@ -31,4 +31,3 @@
 
 clean-generic:
 	rm -rf build
- 
Only in audit-1.5.5/bindings/python: Makefile.am~
diff -ur oaudit-1.5.5/init.d/Makefile.am audit-1.5.5/init.d/Makefile.am
--- oaudit-1.5.5/init.d/Makefile.am	2007-06-26 11:44:55.000000000 -0400
+++ audit-1.5.5/init.d/Makefile.am	2007-07-20 08:53:28.000000000 -0400
@@ -21,7 +21,8 @@
 #
 
 CONFIG_CLEAN_FILES = Makefile.in *.rej *.orig
-EXTRA_DIST = auditd.init  auditd.sysconfig auditd.conf audit.rules auditd.cron
+EXTRA_DIST = auditd.init auditd.sysconfig auditd.conf audit.rules	\
+auditd.cron libaudit.conf
 libconfig = libaudit.conf
 dispconfig = audispd.conf
 dispconfigdir = $(sysconfdir)/audisp
Only in audit-1.5.5/init.d: Makefile.am~

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]