Changeset 1ad59f2 for postlfs/security


Ignore:
Timestamp:
05/14/2014 07:53:28 PM (10 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
aca44793
Parents:
16e2ab9
Message:

Fix compilation of tripwire with gcc-4.9.0

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/tripwire.xml

    r16e2ab9 r1ad59f2  
    8282sed -i -e '/TWMAN/ s|${prefix}|/usr/share|' \
    8383       -e '/TWDOCS/s|${prefix}|/usr/share|' install/install.cfg          &amp;&amp;
     84sed -i -e 's/eArchiveOpen e\([^)]*)\)/throw ( eArchiveOpen\1 )/' \
     85       -e '/throw e;/d' src/core/archive.cpp                             &amp;&amp;
    8486
    8587./configure --prefix=/usr --sysconfdir=/etc/tripwire                     &amp;&amp;
     
    114116    Fix a compilation issue with gcc-4.7.</para>
    115117
     118    <para><command>sed ... install/install.cfg</command>:
     119    Fix the location of the man and doc directories.</para>
     120
     121    <para><command>sed ... src/core/archive.cpp</command>:
     122    Fix compilation with gcc-4.9.</para>
     123
    116124    <para><command>make install</command>: This command creates the
    117125    <application>Tripwire</application> security keys as well as installing
    118126    the binaries. There are two keys: a site key and a local key which are
    119127    stored in <filename class="directory">/etc/tripwire/</filename>.</para>
     128
     129    <note><para>During <command>make install</command>, several questions
     130    are asked, including passwords. If you want to make a script, you have
     131    to apply a <application>sed</application> before running
     132    <command>make install</command>:</para>
     133
     134    <para>
     135    <command>sed -i -e 's@install/install.sh@&amp; -n -s<replaceable>&lt;site-password&gt;</replaceable> -l<replaceable>&lt;local-password&gt;</replaceable>@' Makefile</command>
     136    </para>
     137
     138    <para>Of course, you should do this with dummy passwords and change them
     139    later.</para></note>
    120140
    121141    <para><command>cp -v policy/*.txt /usr/doc/tripwire</command>: This command
     
    150170      <para>Policy files should be tailored to each individual distribution
    151171      and/or installation. Some example policy files can be found in <filename
    152       class="directory">/usr/doc/tripwire/</filename> (Note that <filename
    153       class="directory">/usr/doc/</filename> is a symbolic link on LFS systems
    154       to <filename class="directory">/usr/share/doc/</filename>).</para>
     172      class="directory">/usr/share/doc/tripwire/</filename>.</para>
    155173
    156174      <para>If desired, copy the policy file you'd like to try into <filename
     
    158176      policy file, <filename>twpol.txt</filename>.  It is, however, recommended
    159177      that you edit your policy file. Get ideas from the examples above and
    160       read <filename>/usr/doc/tripwire/policyguide.txt</filename> for
     178      read <filename>/usr/share/doc/tripwire/policyguide.txt</filename> for
    161179      additional information. <filename>twpol.txt</filename> is a good policy
    162       file for learning about  <application>Tripwire</application> as it will
     180      file for learning about <application>Tripwire</application> as it will
    163181      note any changes to the file system and can even be used as an annoying
    164182      way of keeping track of changes for uninstallation of software.</para>
Note: See TracChangeset for help on using the changeset viewer.