dwight - 2006-06-02

Currently, the 2.4.0.1 source tree won't build and install tripwire. The `make install` step fails.

Here's a little patch which fixes the `make install` step. The changes required are really rather small.

After patching the source, just do a `configure ... && make`. The subsequent `make install` step will now work. Note there might be some tabs dropped here, due to the forums' handling of tabs in posts. So, if there's an error in the `make` step, be sure that the lines listed below do indeed have a tab in front of them, rather than spaces, where appropriate.

--------- patch follows -----------------------------------

diff -ur tripwire-2.4.0.1/contrib/install.sh tripwire-2.4.0.1.new/contrib/install.sh
--- tripwire-2.4.0.1/contrib/install.sh 2005-09-15 20:12:39.000000000 -0700
+++ tripwire-2.4.0.1.new/contrib/install.sh     2006-06-01 22:23:34.000000000 -0700
@@ -160,7 +160,7 @@
CLR_POLICY_FILE="twpol.txt"

# Default installation script configuration file.
-INSTALL_CONFIG_FILE="./install/install.cfg"
+INSTALL_CONFIG_FILE="./contrib/install.cfg"

# Name of the Readme file.
README="README"
diff -ur tripwire-2.4.0.1/Makefile.in tripwire-2.4.0.1.new/Makefile.in
--- tripwire-2.4.0.1/Makefile.in        2005-12-01 19:24:47.000000000 -0800
+++ tripwire-2.4.0.1.new/Makefile.in    2006-06-01 22:29:47.303396456 -0700
@@ -587,7 +587,7 @@
install-data-hook:
        prefix="$(prefix)" sysconfdir="$(sysconfdir)" \          path_to_vi="$(path_to_vi)" path_to_sendmail="$(path_to_sendmail)" \ -        ./install/install.sh
+        ./contrib/install.sh
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: