Ignore:
Timestamp:
10/09/2008 02:21:09 PM (16 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
8465615
Parents:
f003bf7
Message:

Updated Man-DB to 2.5.2

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8610 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/man-db.xml

    rf003bf7 rf2f15e5  
    4242    <title>Installation of Man-DB</title>
    4343
    44     <para>Two adjustments need to be made to the sources of Man-DB.</para>
     44    <!-- <para>Two adjustments need to be made to the sources of Man-DB.</para>
    4545
    4646    <para>The first change is a <command>sed</command> substitution to delete
    4747    the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in
    4848    the <filename>man_db.conf</filename> file to prevent redundant results
     49    when using programs such as <command>whatis</command>:</para> -->
     50
     51    <para>Use a <command>sed</command> substitution to delete
     52    the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in
     53    the <filename>man_db.conf</filename> file to prevent redundant results
    4954    when using programs such as <command>whatis</command>:</para>
    5055
    5156<screen><userinput remap="pre">sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in</userinput></screen>
     57
     58    <!-- This is removed and the same thing is done using the configure
     59         command, which seems to be the more proper method
    5260
    5361    <para>The second change accounts for programs that Man-DB should be able
     
    7078    to install them yourself after finishing LFS if you wish to do so.</para>
    7179
     80    -->
     81
    7282    <para>Prepare Man-DB for compilation:</para>
    7383
    7484<screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc \
    75     --disable-setuid</userinput></screen>
     85    --disable-setuid --with-browser=/usr/bin/lynx \
     86    --with-col=/usr/bin/col --with-vgrind=/usr/bin/vgrind \
     87    --with-grap=/usr/bin/grap</userinput></screen>
    7688
    7789    <variablelist>
     
    8395          <para>This disables making the <command>man</command> program setuid
    8496          to user <systemitem class="username">man</systemitem>.</para>
     97        </listitem>
     98      </varlistentry>
     99
     100      <varlistentry>
     101        <term><parameter>--with-...</parameter></term>
     102        <listitem>
     103          <para>These four parameters are used to set some default programs.
     104          The <command>col</command> program is a part of the Util-linux-ng
     105          package, <command>lynx</command> is a text-based web browser (see BLFS
     106          for installation instructions), <command>vgrind</command> converts
     107          program sources to Groff input, and <command>grap</command> is useful
     108          for typesetting graphs in Groff documents. The <command>vgrind</command>
     109          and <command>grap</command> programs are not normally needed for viewing
     110          manual pages. They are not part of LFS or BLFS, but you should be able
     111          to install them yourself after finishing LFS if you wish to do so.</para>
    85112        </listitem>
    86113      </varlistentry>
     
    319346
    320347      <seglistitem>
    321         <seg>accessdb, apropos, catman, convert-mans, lexgrog, man, mandb,
     348        <seg>apropos, catman, convert-mans, lexgrog, man, mandb,
    322349        manpath, whatis, and zsoelim</seg>
    323350      </seglistitem>
     
    329356      <?dbhtml list-presentation="table"?>
    330357
    331       <varlistentry id="accessdb">
     358      <!-- <varlistentry id="accessdb">
    332359        <term><command>accessdb</command></term>
    333360        <listitem>
     
    338365          </indexterm>
    339366        </listitem>
    340       </varlistentry>
     367      </varlistentry> -->
    341368
    342369      <varlistentry id="apropos">
Note: See TracChangeset for help on using the changeset viewer.