Changeset 50a5d3e for postlfs


Ignore:
Timestamp:
10/08/2003 04:18:56 AM (21 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
4e2fb270
Parents:
1d70715f
Message:

Fixed tripwire to compile with gcc3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1344 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
postlfs/security/tripwire
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/tripwire/tripwire-exp.xml

    r1d70715f r50a5d3e  
    22<title>Command explanations</title>
    33
    4 <para><screen><command>export PATH_HOLD=$PATH &amp;&amp;
    5 export PATH=/opt/gcc-2.95.3/bin:$PATH</command></screen>These
    6 instructions save the current <envar>PATH</envar> and then places
    7 <application><acronym>GCC</acronym>-2.95.3</application> at the head of
    8 the path. This is done because <application>Tripwire</application> will
    9 not compile with the newer
    10 <application><acronym>GCC</acronym></application>.</para>
    11 
    12 <para><command>ln -s make /usr/bin/gmake</command>: The reason we create the
    13 <command>gmake</command> symlink is that <application>Tripwire</application>
    14 will only install if the symlink is present. It may be safely removed after
    15 installation.</para>
    16 
    17 <para><command>gmake release</command>: This command creates the
     4<para><command>make release</command>: This command creates the
    185<application>Tripwire</application> binaries.</para>
    196
  • postlfs/security/tripwire/tripwire-inst.xml

    r1d70715f r50a5d3e  
    22<title>Installation of <application>Tripwire</application></title>
    33
    4 <para>Download the patch for <application>Tripwire</application> config from
    5 <ulink url="&patch-root;/tripwire-&tripwire-version;-cfg.patch"/>.</para>
     4<para>Compile <application>Tripwire</application> by running the following
     5commands:</para>
     6
     7<screen><userinput><command>patch -Np1 -i ../tripwire-&tripwire-version;-gcc3-build-fixes.patch &amp;&amp;
     8cd src &amp;&amp;
     9make release &amp;&amp;
     10cd .. &amp;&amp;
     11cp install/install.{sh,cfg} .</command></userinput></screen>
    612
    713<para>Install <application>Tripwire</application> by running the following
    814commands:</para>
    915
    10 <screen><userinput><command>export PATH_HOLD=$PATH &amp;&amp;
    11 export PATH=/opt/gcc-2.95.3/bin:$PATH &amp;&amp;
    12 ln -s make /usr/bin/gmake &amp;&amp;
    13 cd src &amp;&amp;
    14 gmake release &amp;&amp;
    15 cd .. &amp;&amp;
    16 cp install/install.{sh,cfg} . &amp;&amp;
    17 patch -Np0 -i ../tripwire-&tripwire-version;-cfg.patch &amp;&amp;
    18 ./install.sh &amp;&amp;
     16<screen><userinput><command>./install.sh &amp;&amp;
    1917cp /etc/tripwire/tw.cfg /usr/sbin &amp;&amp;
    2018cp policy/*.txt /usr/share/doc/tripwire</command></userinput></screen>
    2119
    22 <para>Reverse the modifications made above:</para>
    23 <screen><userinput><command>rm /usr/bin/gmake &amp;&amp;
    24 export PATH=$PATH_HOLD</command></userinput></screen>
    25 
    2620</sect2>
    2721
  • postlfs/security/tripwire/tripwire-intro.xml

    r1d70715f r50a5d3e  
    1919</sect3>
    2020
     21<sect3><title>Additional downloads</title>
     22<itemizedlist spacing='compact'>
     23<listitem><para>Required patch to fix multiple build issues (see patch for more information):
     24<ulink url="&patch-root;/tripwire-&tripwire-version;-gcc3-build-fixes.patch"/></para></listitem>
     25</itemizedlist>
     26</sect3>
     27
    2128</sect2>
Note: See TracChangeset for help on using the changeset viewer.