From 50a5d3e2de2f7a98377154f71f6637b14a688094 Mon Sep 17 00:00:00 2001 From: Tushar Teredesai Date: Wed, 8 Oct 2003 04:18:56 +0000 Subject: [PATCH] Fixed tripwire to compile with gcc3 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1344 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- introduction/welcome/changelog.xml | 3 +++ postlfs/security/tripwire/tripwire-exp.xml | 15 +----------- postlfs/security/tripwire/tripwire-inst.xml | 24 ++++++++------------ postlfs/security/tripwire/tripwire-intro.xml | 7 ++++++ 4 files changed, 20 insertions(+), 29 deletions(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 4af787cda1..71fab5e77a 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -11,6 +11,9 @@ who wrote what. +October 7th, 2003 [tushar]: Add patch and modify tripwire +instructions for gcc3 compilation. + October 7th, 2003 [larry]: courier patch submitted by Jim Gifford October 7th, 2003 [igor]: Added missing http/ftp diff --git a/postlfs/security/tripwire/tripwire-exp.xml b/postlfs/security/tripwire/tripwire-exp.xml index 15deffd5b3..0a09cf5348 100644 --- a/postlfs/security/tripwire/tripwire-exp.xml +++ b/postlfs/security/tripwire/tripwire-exp.xml @@ -1,20 +1,7 @@ Command explanations -export PATH_HOLD=$PATH && -export PATH=/opt/gcc-2.95.3/bin:$PATHThese -instructions save the current PATH and then places -GCC-2.95.3 at the head of -the path. This is done because Tripwire will -not compile with the newer -GCC. - -ln -s make /usr/bin/gmake: The reason we create the -gmake symlink is that Tripwire -will only install if the symlink is present. It may be safely removed after -installation. - -gmake release: This command creates the +make release: This command creates the Tripwire binaries. cp install.{sh,cfg} .: These are copied to the main diff --git a/postlfs/security/tripwire/tripwire-inst.xml b/postlfs/security/tripwire/tripwire-inst.xml index 8af6f7e8ef..2d1d2fbb4d 100644 --- a/postlfs/security/tripwire/tripwire-inst.xml +++ b/postlfs/security/tripwire/tripwire-inst.xml @@ -1,27 +1,21 @@ Installation of <application>Tripwire</application> -Download the patch for Tripwire config from -. +Compile Tripwire by running the following +commands: + +patch -Np1 -i ../tripwire-&tripwire-version;-gcc3-build-fixes.patch && +cd src && +make release && +cd .. && +cp install/install.{sh,cfg} . Install Tripwire by running the following commands: -export PATH_HOLD=$PATH && -export PATH=/opt/gcc-2.95.3/bin:$PATH && -ln -s make /usr/bin/gmake && -cd src && -gmake release && -cd .. && -cp install/install.{sh,cfg} . && -patch -Np0 -i ../tripwire-&tripwire-version;-cfg.patch && -./install.sh && +./install.sh && cp /etc/tripwire/tw.cfg /usr/sbin && cp policy/*.txt /usr/share/doc/tripwire -Reverse the modifications made above: -rm /usr/bin/gmake && -export PATH=$PATH_HOLD - diff --git a/postlfs/security/tripwire/tripwire-intro.xml b/postlfs/security/tripwire/tripwire-intro.xml index 0eca83aa81..ced8840ab2 100644 --- a/postlfs/security/tripwire/tripwire-intro.xml +++ b/postlfs/security/tripwire/tripwire-intro.xml @@ -18,4 +18,11 @@ url="&tripwire-download-ftp;"/> &tripwire-time; +Additional downloads + +Required patch to fix multiple build issues (see patch for more information): + + + +