Miloslav Trmac <mitr(a)redhat.com> writes:
...
system-config-audit.lang is generated by %install when building the
rpm,
and should not be in the tarball at all.
...
A better solution is to change s-c-audit/autogen.sh (and to
distribute
the autogen.sh files):
I changed audit/system-config-audit/autogen.sh as you suggested, but
the tarball created with "make dist" contains no .m4 files. To see
what is being left out, I have been doing the following diff. let
grubb-audit-1.5.6.tar.gz be the source tarball created by Steve, and
ramsdell-audit-1.5.6.tar.gz be the one currently being created by my
patched version with "make dist".
$ tar tzf grubb-audit-1.5.6.tar.gz | sort > a.txt
$ tar tzf ramsdell-audit-1.5.6.tar.gz | sort > c.txt
$ diff -u a.txt c.txt > ac.diff
I have enclosed ac.diff. Notice the new_audispd directory is left out
because it is not built by the current release.
John
--- /home/ramsdell/a.txt 2007-07-30 07:51:13.000000000 -0400
+++ c.txt 2007-07-30 10:48:58.000000000 -0400
@@ -1,7 +1,9 @@
audit-1.5.6/
+audit-1.5.6/aclocal.m4
audit-1.5.6/audisp/
audit-1.5.6/audisp/audispd.c
audit-1.5.6/audisp/Makefile.am
+audit-1.5.6/audisp/Makefile.in
audit-1.5.6/audit.spec
audit-1.5.6/auparse/
audit-1.5.6/auparse/auditd-config.c
@@ -22,6 +24,7 @@
audit-1.5.6/auparse/interpret.h
audit-1.5.6/auparse/ipctab.h
audit-1.5.6/auparse/Makefile.am
+audit-1.5.6/auparse/Makefile.in
audit-1.5.6/auparse/message.c
audit-1.5.6/auparse/nvlist.c
audit-1.5.6/auparse/nvlist.h
@@ -39,24 +42,22 @@
audit-1.5.6/auparse/test/auparse_test.ref
audit-1.5.6/auparse/test/Makefile.am
audit-1.5.6/auparse/test/Makefile.in
-audit-1.5.6/auparse/test/test2.log
-audit-1.5.6/auparse/test/test.log
-audit-1.5.6/auparse/test/tmp
-audit-1.5.6/auparse/test/tmp1
-audit-1.5.6/auparse/test/tmp2
audit-1.5.6/auparse/typetab.h
audit-1.5.6/AUTHORS
-audit-1.5.6/autogen.sh
audit-1.5.6/bindings/
audit-1.5.6/bindings/Makefile.am
+audit-1.5.6/bindings/Makefile.in
audit-1.5.6/bindings/python/
audit-1.5.6/bindings/python/auparse_python.c
audit-1.5.6/bindings/python/Makefile.am
+audit-1.5.6/bindings/python/Makefile.in
audit-1.5.6/bindings/python/setup.py
audit-1.5.6/ChangeLog
audit-1.5.6/compile
audit-1.5.6/config.guess
+audit-1.5.6/config.h.in
audit-1.5.6/config.sub
+audit-1.5.6/configure
audit-1.5.6/configure.ac
audit-1.5.6/contrib/
audit-1.5.6/contrib/avc_snap
@@ -131,6 +132,7 @@
audit-1.5.6/docs/autrace.8
audit-1.5.6/docs/get_auditfail_action.3
audit-1.5.6/docs/Makefile.am
+audit-1.5.6/docs/Makefile.in
audit-1.5.6/docs/set_aumessage_mode.3
audit-1.5.6/init.d/
audit-1.5.6/init.d/audispd.conf
@@ -141,6 +143,7 @@
audit-1.5.6/init.d/audit.rules
audit-1.5.6/init.d/libaudit.conf
audit-1.5.6/init.d/Makefile.am
+audit-1.5.6/init.d/Makefile.in
audit-1.5.6/INSTALL
audit-1.5.6/install-sh
audit-1.5.6/lib/
@@ -157,6 +160,7 @@
audit-1.5.6/lib/lookup_table.c
audit-1.5.6/lib/machinetab.h
audit-1.5.6/lib/Makefile.am
+audit-1.5.6/lib/Makefile.in
audit-1.5.6/lib/message.c
audit-1.5.6/lib/msg_typetab.h
audit-1.5.6/lib/netlink.c
@@ -168,24 +172,8 @@
audit-1.5.6/lib/x86_64_table.h
audit-1.5.6/ltmain.sh
audit-1.5.6/Makefile.am
+audit-1.5.6/Makefile.in
audit-1.5.6/missing
-audit-1.5.6/new_audispd/
-audit-1.5.6/new_audispd/audispd-builtins.c
-audit-1.5.6/new_audispd/audispd-builtins.h
-audit-1.5.6/new_audispd/audispd.c
-audit-1.5.6/new_audispd/audispd-config.c
-audit-1.5.6/new_audispd/audispd-config.h
-audit-1.5.6/new_audispd/audispd-llist.c
-audit-1.5.6/new_audispd/audispd-llist.h
-audit-1.5.6/new_audispd/audispd-pconfig.c
-audit-1.5.6/new_audispd/audispd-pconfig.h
-audit-1.5.6/new_audispd/configs/
-audit-1.5.6/new_audispd/configs/af_unix.conf
-audit-1.5.6/new_audispd/configs/Makefile.am
-audit-1.5.6/new_audispd/configs/syslog.conf
-audit-1.5.6/new_audispd/Makefile.am
-audit-1.5.6/new_audispd/queue.c
-audit-1.5.6/new_audispd/queue.h
audit-1.5.6/NEWS
audit-1.5.6/py-compile
audit-1.5.6/README
@@ -235,11 +223,23 @@
audit-1.5.6/src/autrace.c
audit-1.5.6/src/delete_all.c
audit-1.5.6/src/Makefile.am
+audit-1.5.6/src/Makefile.in
audit-1.5.6/src/mt/
+audit-1.5.6/src/mt/audit_logging.c
+audit-1.5.6/src/mt/deprecated.c
+audit-1.5.6/src/mt/libaudit.c
+audit-1.5.6/src/mt/libaudit.h
+audit-1.5.6/src/mt/lookup_table.c
audit-1.5.6/src/mt/Makefile.am
+audit-1.5.6/src/mt/Makefile.in
+audit-1.5.6/src/mt/message.c
+audit-1.5.6/src/mt/netlink.c
+audit-1.5.6/src/mt/private.h
audit-1.5.6/swig/
+audit-1.5.6/swig/audit.py
audit-1.5.6/swig/auditswig.i
audit-1.5.6/swig/Makefile.am
+audit-1.5.6/swig/Makefile.in
audit-1.5.6/system-config-audit/
audit-1.5.6/system-config-audit/ABOUT-NLS
audit-1.5.6/system-config-audit/aclocal.m4
@@ -261,69 +261,21 @@
audit-1.5.6/system-config-audit/admin/system-config-audit-server.pam
audit-1.5.6/system-config-audit/AUTHORS
audit-1.5.6/system-config-audit/autogen.sh
-audit-1.5.6/system-config-audit/autom4te.cache/
-audit-1.5.6/system-config-audit/autom4te.cache/output.0
-audit-1.5.6/system-config-audit/autom4te.cache/requests
-audit-1.5.6/system-config-audit/autom4te.cache/traces.0
audit-1.5.6/system-config-audit/ChangeLog
audit-1.5.6/system-config-audit/configure
audit-1.5.6/system-config-audit/configure.ac
audit-1.5.6/system-config-audit/COPYING
audit-1.5.6/system-config-audit/INSTALL
-audit-1.5.6/system-config-audit.lang
-audit-1.5.6/system-config-audit/m4/
-audit-1.5.6/system-config-audit/m4/codeset.m4
-audit-1.5.6/system-config-audit/m4/gettext.m4
-audit-1.5.6/system-config-audit/m4/glibc21.m4
-audit-1.5.6/system-config-audit/m4/glibc2.m4
-audit-1.5.6/system-config-audit/m4/iconv.m4
-audit-1.5.6/system-config-audit/m4/intdiv0.m4
-audit-1.5.6/system-config-audit/m4/intldir.m4
-audit-1.5.6/system-config-audit/m4/intl.m4
-audit-1.5.6/system-config-audit/m4/intmax.m4
-audit-1.5.6/system-config-audit/m4/inttypes_h.m4
-audit-1.5.6/system-config-audit/m4/inttypes.m4
-audit-1.5.6/system-config-audit/m4/inttypes-pri.m4
-audit-1.5.6/system-config-audit/m4/isc-posix.m4
-audit-1.5.6/system-config-audit/m4/lcmessage.m4
-audit-1.5.6/system-config-audit/m4/lib-ld.m4
-audit-1.5.6/system-config-audit/m4/lib-link.m4
-audit-1.5.6/system-config-audit/m4/lib-prefix.m4
-audit-1.5.6/system-config-audit/m4/lock.m4
-audit-1.5.6/system-config-audit/m4/longdouble.m4
-audit-1.5.6/system-config-audit/m4/longlong.m4
-audit-1.5.6/system-config-audit/m4/nls.m4
-audit-1.5.6/system-config-audit/m4/po.m4
-audit-1.5.6/system-config-audit/m4/printf-posix.m4
-audit-1.5.6/system-config-audit/m4/progtest.m4
-audit-1.5.6/system-config-audit/m4/signed.m4
-audit-1.5.6/system-config-audit/m4/size_max.m4
-audit-1.5.6/system-config-audit/m4/stdint_h.m4
-audit-1.5.6/system-config-audit/m4/uintmax_t.m4
-audit-1.5.6/system-config-audit/m4/ulonglong.m4
-audit-1.5.6/system-config-audit/m4/visibility.m4
-audit-1.5.6/system-config-audit/m4/wchar_t.m4
-audit-1.5.6/system-config-audit/m4/wint_t.m4
-audit-1.5.6/system-config-audit/m4/xsize.m4
audit-1.5.6/system-config-audit/Makefile.am
audit-1.5.6/system-config-audit/Makefile.in
audit-1.5.6/system-config-audit/NEWS
audit-1.5.6/system-config-audit/po/
-audit-1.5.6/system-config-audit/po/boldquot.sed
audit-1.5.6/system-config-audit/po/ChangeLog
audit-1.5.6/system-config-audit/po/cs.po
-audit-1.5.6/system-config-audit/po/en(a)boldquot.header
-audit-1.5.6/system-config-audit/po/en(a)quot.header
-audit-1.5.6/system-config-audit/po/insert-header.sin
audit-1.5.6/system-config-audit/po/LINGUAS
audit-1.5.6/system-config-audit/po/Makefile.in.in
audit-1.5.6/system-config-audit/po/Makevars
-audit-1.5.6/system-config-audit/po/Makevars.template
audit-1.5.6/system-config-audit/po/POTFILES.in
-audit-1.5.6/system-config-audit/po/quot.sed
-audit-1.5.6/system-config-audit/po/remove-potcdate.sin
-audit-1.5.6/system-config-audit/po/Rules-quot
-audit-1.5.6/system-config-audit/po/stamp-po
audit-1.5.6/system-config-audit/README
audit-1.5.6/system-config-audit/src/
audit-1.5.6/system-config-audit/src/auditd_config.py