Changeset 131c907 for chapter06


Ignore:
Timestamp:
12/31/2015 09:09:13 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
7.9-systemd
Children:
6e13139
Parents:
6eb40d4
Message:

Sync with trunk r10891, update to udev-1.10.6, update to systemd-228.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10982 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
41 edited

Legend:

Unmodified
Added
Removed
  • chapter06/acl.xml

    r6eb40d4 r131c907  
    9999      <seglistitem>
    100100        <seg>chacl, getfacl, and setacl</seg>
    101         <seg>libacl.{a,so}</seg>
     101        <seg>libacl.so</seg>
    102102        <seg>/usr/include/acl and /usr/share/doc/acl-&acl-version;</seg>
    103103      </seglistitem>
  • chapter06/adjusting.xml

    r6eb40d4 r131c907  
    5656  the prefix of our dynamic linker.</para>
    5757
    58   <para os="d">Now make sure that we're setup to use the correct startfiles:</para>
     58  <para os="d">Now make sure that we're setup to use the correct start files:</para>
    5959
    6060<screen os="e"><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen>
  • chapter06/attr.xml

    r6eb40d4 r131c907  
    9292      <seglistitem>
    9393        <seg>attr, getfattr, and setattr</seg>
    94         <seg>libattr.{a,so}</seg>
     94        <seg>libattr.so</seg>
    9595        <seg>/usr/include/attr and /usr/share/doc/attr-&attr-version;</seg>
    9696      </seglistitem>
  • chapter06/automake.xml

    r6eb40d4 r131c907  
    7878
    7979      <seglistitem>
    80         <seg>aclocal, aclocal-&am-minor-version;, automake,
    81         automake-&am-minor-version;, compile, config.guess, config.sub,
    82         depcomp, install-sh, mdate-sh, missing, mkinstalldirs,
    83         py-compile, and ylwrap</seg>
     80        <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
     81        automake-&am-minor-version; (hard linked with automake) </seg>
    8482        <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
    8583        /usr/share/doc/automake-&automake-version;</seg>
     
    140138      </varlistentry>
    141139
    142       <varlistentry id="compile">
    143         <term><command>compile</command></term>
    144         <listitem>
    145           <para>A wrapper for compilers</para>
    146           <indexterm zone="ch-system-automake compile">
    147             <primary sortas="b-compile">compile</primary>
    148           </indexterm>
    149         </listitem>
    150       </varlistentry>
    151 
    152       <varlistentry id="config.guess">
    153         <term><command>config.guess</command></term>
    154         <listitem>
    155           <para>A script that attempts to guess the canonical triplet for
    156           the given build, host, or target architecture</para>
    157           <indexterm zone="ch-system-automake config.guess">
    158             <primary sortas="b-config.guess">config.guess</primary>
    159           </indexterm>
    160         </listitem>
    161       </varlistentry>
    162 
    163       <varlistentry id="config.sub">
    164         <term><command>config.sub</command></term>
    165         <listitem>
    166           <para>A configuration validation subroutine script</para>
    167           <indexterm zone="ch-system-automake config.sub">
    168             <primary sortas="b-config.sub">config.sub</primary>
    169           </indexterm>
    170         </listitem>
    171       </varlistentry>
    172 
    173       <varlistentry id="depcomp">
    174         <term><command>depcomp</command></term>
    175         <listitem>
    176           <para>A script for compiling a program so that dependency information
    177           is generated in addition to the desired output</para>
    178           <indexterm zone="ch-system-automake depcomp">
    179             <primary sortas="b-depcomp">depcomp</primary>
    180           </indexterm>
    181         </listitem>
    182       </varlistentry>
    183 
    184       <varlistentry id="install-sh">
    185         <term><command>install-sh</command></term>
    186         <listitem>
    187           <para>A script that installs a program, script, or data file</para>
    188           <indexterm zone="ch-system-automake install-sh">
    189             <primary sortas="b-install-sh">install-sh</primary>
    190           </indexterm>
    191         </listitem>
    192       </varlistentry>
    193 
    194       <varlistentry id="mdate-sh">
    195         <term><command>mdate-sh</command></term>
    196         <listitem>
    197           <para>A script that prints the modification time of a file or
    198           directory</para>
    199           <indexterm zone="ch-system-automake mdate-sh">
    200             <primary sortas="b-mdate-sh">mdate-sh</primary>
    201           </indexterm>
    202         </listitem>
    203       </varlistentry>
    204 
    205       <varlistentry id="missing">
    206         <term><command>missing</command></term>
    207         <listitem>
    208           <para>A script acting as a common stub for missing GNU programs during
    209           an installation</para>
    210           <indexterm zone="ch-system-automake missing">
    211             <primary sortas="b-missing">missing</primary>
    212           </indexterm>
    213         </listitem>
    214       </varlistentry>
    215 
    216       <varlistentry id="mkinstalldirs">
    217         <term><command>mkinstalldirs</command></term>
    218         <listitem>
    219           <para>A script that creates a directory tree</para>
    220           <indexterm zone="ch-system-automake mkinstalldirs">
    221             <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
    222           </indexterm>
    223         </listitem>
    224       </varlistentry>
    225 
    226       <varlistentry id="py-compile">
    227         <term><command>py-compile</command></term>
    228         <listitem>
    229           <para>Compiles a Python program</para>
    230           <indexterm zone="ch-system-automake py-compile">
    231             <primary sortas="b-py-compile">py-compile</primary>
    232           </indexterm>
    233         </listitem>
    234       </varlistentry>
    235 
    236       <varlistentry id="ylwrap">
    237         <term><command>ylwrap</command></term>
    238         <listitem>
    239           <para>A wrapper for <command>lex</command> and
    240           <command>yacc</command></para>
    241           <indexterm zone="ch-system-automake ylwrap">
    242             <primary sortas="b-ylwrap">ylwrap</primary>
    243           </indexterm>
    244         </listitem>
    245       </varlistentry>
    246 
    247140    </variablelist>
    248141
  • chapter06/bc.xml

    r6eb40d4 r131c907  
    7474    <para>To test bc, run the commands below. There is quite a bit of output,
    7575    so you may want to redirect it to a file. There are a very small percentage
    76     of tests (10 of 12,144) that will indicate a roundoff error at the last
     76    of tests (10 of 12,144) that will indicate a round off error at the last
    7777    digit.</para>
    7878
  • chapter06/bison.xml

    r6eb40d4 r131c907  
    5353<screen><userinput remap="make">make</userinput></screen>
    5454
    55     <para>To test the results (about 0.5 SBU), issue:</para>
     55<!--
     56    <para>To test the results (about 2.2 SBU), issue:</para>
    5657
    5758<screen><userinput remap="test">make check</userinput></screen>
     59-->
     60    <para>There is a circular dependency between bison and flex with regard to
     61    the checks.  If desired, after installing flex in the next section, the
     62    bison checks can be run with <command>make check</command>.</para>
    5863
    5964    <para>Install the package:</para>
  • chapter06/chapter06.xml

    r6eb40d4 r131c907  
    3838  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
    3939  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/>
    40   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="procps.xml"/>
    41   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/>
    42   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
    4340  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/>
    4441  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/>
     42  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
    4543  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
    46   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
    4744  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/>
    4845  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/>
     
    5148  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtool.xml"/>
    5249  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gdbm.xml"/>
     50  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gperf.xml"/>
    5351  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expat.xml"/>
    5452  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inetutils.xml"/>
    5553  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl.xml"/>
    5654  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xml-parser.xml"/>
     55  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="intltool.xml"/>
    5756  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autoconf.xml"/>
    5857  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="automake.xml"/>
     58  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
     59  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="procps.xml"/>
     60  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/>
     61  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
    5962  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>
    6063  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gawk.xml"/>
    6164  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="findutils.xml"/>
    6265  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/>
    63   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="intltool.xml"/>
    64   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gperf.xml"/>
    6566  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="groff.xml"/>
    6667  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xz.xml"/>
     
    7475  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make.xml"/>
    7576  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="patch.xml"/>
    76   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
    7777  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/>
    7878  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
  • chapter06/creatingdirs.xml

    r6eb40d4 r131c907  
    5353    <title>FHS Compliance Note</title>
    5454
    55     <para>The directory tree is based on the Filesystem Hierarchy Standard (FHS)
    56     (available at <ulink url="https://wiki.linuxfoundation.org/en/FHS"/>).
    57     The FHS also stipulates the existence of <filename
     55    <para>The directory tree is based on the Filesystem Hierarchy Standard
     56    (FHS) (available at <ulink
     57    url="https://wiki.linuxfoundation.org/en/FHS"/>).  The FHS also stipulates
     58    the optional existence some directories such as <filename
    5859    class="directory">/usr/local/games</filename> and <filename
    59     class="directory">/usr/share/games</filename>. The FHS is not precise as to
    60     the structure of the <filename class="directory">/usr/local/share</filename>
    61     subdirectory, so we create only the directories that are needed. However,
    62     feel free to create these directories if you prefer to conform more strictly
    63     to the FHS.</para>
    64 
     60    class="directory">/usr/share/games</filename>.  We create only the
     61    directories that are needed. However, feel free to create these
     62    directories.  </para>
    6563  </sect2>
    6664
  • chapter06/dbus.xml

    r6eb40d4 r131c907  
    4949    <para>Prepare D-Bus for compilation:</para>
    5050
    51 <screen><userinput remap="configure">./configure --prefix=/usr                       \
    52             --sysconfdir=/etc                   \
    53             --localstatedir=/var                \
    54             --docdir=/usr/share/doc/dbus-&dbus-version; \
    55             --disable-static                    \
    56             --with-console-auth-dir=/run/console</userinput></screen>
     51<screen><userinput remap="configure">  ./configure --prefix=/usr                       \
     52              --sysconfdir=/etc                   \
     53              --localstatedir=/var                \
     54              --disable-static                    \
     55              --disable-doxygen-docs              \
     56              --disable-xml-docs                  \
     57              --docdir=/usr/share/doc/dbus-&dbus-version; \
     58              --with-console-auth-dir=/run/console</userinput></screen>
    5759
    5860    <variablelist>
     
    7375<screen><userinput remap="make">make</userinput></screen>
    7476
    75     <para>This package does come with a testsuite, but it requires several
     77    <para>This package does come with a test suite, but it requires several
    7678    packages that are not included in LFS. Instructions for running the
    77     testsuite can be found in the BLFS book at
     79    test suite can be found in the BLFS book at
    7880    <ulink url="&blfs-book;general/dbus.html"/>.</para>
    7981
  • chapter06/e2fsprogs.xml

    r6eb40d4 r131c907  
    4444  <sect2 role="installation">
    4545    <title>Installation of E2fsprogs</title>
    46 
    47 <!--     <para>First, fix a potential security issue identified upstream:</para>
    48 
    49 <screen><userinput remap="pre">sed -e '/int.*old_desc_blocks/s/int/blk64_t/' \
    50     -e '/if (old_desc_blocks/s/super->s_first_meta_bg/desc_blocks/' \
    51     -i lib/ext2fs/closefs.c</userinput></screen> -->
    5246
    5347    <para>The E2fsprogs documentation recommends that the package be built in
     
    178172        e2fsck, e2image, e2label, e2undo, e4defrag, filefrag, fsck.ext2,
    179173        fsck.ext3, fsck.ext4, fsck.ext4dev, logsave, lsattr, mk_cmds, mke2fs,
    180         mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev,
     174        mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, mklost+found,
    181175        resize2fs, and tune2fs</seg>
    182         <seg>libcom_err.{a,so}, libe2p.{a,so}, libext2fs.{a,so},
    183         libquota.a, and libss.{a,so}</seg>
     176        <seg>libcom_err.so, libe2p.so, libext2fs.so, and libss.so</seg>
    184177        <seg>/usr/include/e2p, /usr/include/et, /usr/include/ext2fs,
    185         /usr/include/quota, /usr/include/ss, /usr/share/et, and /usr/share/ss</seg>
     178        /usr/include/ss, /usr/share/et, and /usr/share/ss</seg>
    186179      </seglistitem>
    187180    </segmentedlist>
     
    530523      </varlistentry>
    531524
    532       <varlistentry id="libquota">
     525<!--      <varlistentry id="libquota">
    533526        <term><filename class="libraryfile">libquota</filename></term>
    534527        <listitem>
     
    540533        </listitem>
    541534      </varlistentry>
    542 
     535-->
    543536      <varlistentry id="libss">
    544537        <term><filename class="libraryfile">libss</filename></term>
  • chapter06/expat.xml

    r6eb40d4 r131c907  
    7575      <seglistitem>
    7676        <seg>xmlwf</seg>
    77         <seg>libexpat.{a,so}</seg>
     77        <seg>libexpat.so</seg>
    7878        <seg>/usr/share/doc/expat-&expat-version;</seg>
    7979      </seglistitem>
  • chapter06/findutils.xml

    r6eb40d4 r131c907  
    9191
    9292      <seglistitem>
    93         <seg>bigram, code, find, frcode, locate, oldfind, updatedb, and xargs</seg>
     93        <seg>code, find, locate, oldfind, updatedb, and xargs</seg>
    9494      </seglistitem>
    9595    </segmentedlist>
     
    9999      <?dbfo list-presentation="list"?>
    100100      <?dbhtml list-presentation="table"?>
    101 
    102       <varlistentry id="bigram">
    103         <term><command>bigram</command></term>
    104         <listitem>
    105           <para>Was formerly used to produce <command>locate</command>
    106           databases</para>
    107           <indexterm zone="ch-system-findutils bigram">
    108             <primary sortas="b-bigram">bigram</primary>
    109           </indexterm>
    110         </listitem>
    111       </varlistentry>
    112101
    113102      <varlistentry id="code">
     
    129118          <indexterm zone="ch-system-findutils find">
    130119            <primary sortas="b-find">find</primary>
    131           </indexterm>
    132         </listitem>
    133       </varlistentry>
    134 
    135       <varlistentry id="frcode">
    136         <term><command>frcode</command></term>
    137         <listitem>
    138           <para>Is called by <command>updatedb</command> to compress the list
    139           of file names; it uses front-compression, reducing the database size
    140           by a factor of four to five</para>
    141           <indexterm zone="ch-system-findutils frcode">
    142             <primary sortas="b-frcode">frcode</primary>
    143120          </indexterm>
    144121        </listitem>
  • chapter06/flex.xml

    r6eb40d4 r131c907  
    4242    <title>Installation of Flex</title>
    4343
    44     <para>First, skip running three regression tests that require Bison:</para>
    45 
    46 <screen><userinput remap="pre">sed -i -e '/test-bison/d' tests/Makefile.in</userinput></screen>
    47 
    4844    <para>Prepare Flex for compilation:</para>
    4945
    50 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
     46<screen><userinput remap="configure">./configure --prefix=/usr    \
     47            --disable-static \
     48            --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
    5149
    5250    <para>Compile the package:</para>
     
    6159
    6260<screen><userinput remap="install">make install</userinput></screen>
    63 <!--
    64     <para>There are some packages that expect to find the
    65     <filename class="libraryfile">lex</filename> library in <filename
    66     class="directory">/usr/lib</filename>. Create a symlink to account for
    67     this:</para>
    6861
    69 <screen><userinput remap="install">ln -sv libfl.a /usr/lib/libl.a</userinput></screen>
    70 -->
    7162    <para>A few programs do not know about <command>flex</command> yet and
    7263    try to run its predecessor, <command>lex</command>. To support those
     
    8980      <seglistitem>
    9081        <seg>flex, flex++ (link to flex), and lex (link to flex)</seg>
    91         <seg>libfl.{a,so} and libfl_pic.{a,so}</seg>
     82        <seg>libfl.so and libfl_pic.so</seg>
    9283        <seg>/usr/share/doc/flex-&flex-version;</seg>
    9384      </seglistitem>
  • chapter06/gcc.xml

    r6eb40d4 r131c907  
    117117    <para>A few unexpected failures cannot always be avoided. The GCC developers
    118118    are usually aware of these issues, but have not resolved them yet.
    119     In particular, one test in the libgomp test suite is known to fail.
     119    In particular, two tests in the libstdc++ test suite are known to fail
     120    when running as the root user as we do here.
    120121    Unless the test results are vastly different from those at the above URL,
    121122    it is safe to continue.</para>
     
    140141
    141142<screen><userinput remap="install">install -v -dm755 /usr/lib/bfd-plugins
    142 ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so /usr/lib/bfd-plugins/</userinput></screen>
     143ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
     144        /usr/lib/bfd-plugins/</userinput></screen>
    143145
    144146    <para>Now that our final toolchain is in place, it is important to again ensure
     
    375377          <para>A wrapper around <command>ar</command> that adds a
    376378          plugin to the command line. This program is only used
    377           to add "link time optization" and is not useful with the
     379          to add "link time optimization" and is not useful with the
    378380          default build options</para>
    379381          <indexterm zone="ch-system-gcc gcc-ar">
     
    388390          <para>A wrapper around <command>nm</command> that adds a
    389391          plugin to the command line. This program is only used
    390           to add "link time optization" and is not useful with the
     392          to add "link time optimization" and is not useful with the
    391393          default build options</para>
    392394          <indexterm zone="ch-system-gcc gcc-nm">
     
    401403          <para>A wrapper around <command>ranlib</command> that adds a
    402404          plugin to the command line. This program is only used
    403           to add "link time optization" and is not useful with the
     405          to add "link time optimization" and is not useful with the
    404406          default build options</para>
    405407          <indexterm zone="ch-system-gcc gcc-ranlib">
  • chapter06/gdbm.xml

    r6eb40d4 r131c907  
    8787      <seglistitem>
    8888        <seg>gdbm_dump, gdbm_load, and gdbmtool</seg>
    89         <seg>libgdbm.{a,so} and libgdbm_compat.{a,so}</seg>
     89        <seg>libgdbm.so and libgdbm_compat.so</seg>
    9090      </seglistitem>
    9191    </segmentedlist>
  • chapter06/gettext.xml

    r6eb40d4 r131c907  
    6161    <para>Install the package:</para>
    6262
    63 <screen><userinput remap="install">make install</userinput></screen>
     63<screen><userinput remap="install">make install
     64chmod -v 0755 /usr/lib/preloadable_libintl.so</userinput></screen>
    6465
    6566  </sect2>
     
    7475
    7576      <seglistitem>
    76         <seg>autopoint, config.charset, config.rpath, envsubst, gettext, gettext.sh,
     77        <seg>autopoint, envsubst, gettext, gettext.sh,
    7778        gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen,
    7879        msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq,
    7980        ngettext, recode-sr-latin, and xgettext</seg>
    80         <seg>libasprintf.{a,so}, libgettextlib.so, libgettextpo.{a,so},
     81        <seg>libasprintf.so, libgettextlib.so, libgettextpo.so,
    8182        libgettextsrc.so, and preloadable_libintl.so</seg>
    8283        <seg>/usr/lib/gettext, /usr/share/doc/gettext-&gettext-version;, and
     
    9798          <indexterm zone="ch-system-gettext autopoint">
    9899            <primary sortas="b-autopoint">autopoint</primary>
    99           </indexterm>
    100         </listitem>
    101       </varlistentry>
    102 
    103       <varlistentry id="config.charset">
    104         <term><command>config.charset</command></term>
    105         <listitem>
    106           <para>Outputs a system-dependent table of character encoding
    107           aliases</para>
    108           <indexterm zone="ch-system-gettext config.charset">
    109             <primary sortas="b-config.charset">config.charset</primary>
    110           </indexterm>
    111         </listitem>
    112       </varlistentry>
    113 
    114       <varlistentry id="config.rpath">
    115         <term><command>config.rpath</command></term>
    116         <listitem>
    117           <para>Outputs a system-dependent set of variables, describing how
    118           to set the runtime search path of shared libraries in an
    119           executable</para>
    120           <indexterm zone="ch-system-gettext config.rpath">
    121             <primary sortas="b-config.rpath">config.rpath</primary>
    122100          </indexterm>
    123101        </listitem>
  • chapter06/glibc.xml

    r6eb40d4 r131c907  
    7171<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
    7272
     73    <para>The most recent stable version of Glibc does not handle large files
     74    correctly.  Fix the problem with this patch:</para>
     75
     76<screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen>
     77
    7378    <para>The Glibc documentation recommends building Glibc outside of the source
    7479    directory in a dedicated build directory:</para>
     
    139144-->
    140145      <listitem>
    141         <para>The <emphasis>elf/tst-protected1a</emphasis> and
     146        <para>The <emphasis>elf/tst-protected1b</emphasis> and
    142147        <emphasis>elf/tst-protected1b</emphasis> tests are known to
    143148        fail with the current stable version of binutils.</para>
     
    272277    <title>Adding time zone data</title>
    273278
    274     <para>Install and set up the timezone data with the following:</para>
     279    <para>Install and set up the time zone data with the following:</para>
    275280<screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
    276281
     
    295300        <term><parameter>zic -L /dev/null ...</parameter></term>
    296301        <listitem>
    297           <para>This creates posix timezones, without any leap seconds.  It is
     302          <para>This creates posix time zones, without any leap seconds.  It is
    298303          conventional to put these in both
    299304          <filename class="directory">zoneinfo</filename> and
    300305          <filename class="directory">zoneinfo/posix</filename>. It is
    301           necessary to put the POSIX timezones in
     306          necessary to put the POSIX time zones in
    302307          <filename class="directory">zoneinfo</filename>, otherwise various
    303308          test-suites will report errors. On an embedded system, where space is
    304           tight and you do not intend to ever update the timezones, you could save
     309          tight and you do not intend to ever update the time zones, you could save
    305310          1.9MB by not using the <filename class="directory">posix</filename>
    306311          directory, but some applications or test-suites might produce some
     
    311316        <term><parameter>zic -L leapseconds ...</parameter></term>
    312317        <listitem>
    313           <para>This creates right timezones, including leap seconds. On an
     318          <para>This creates right time zones, including leap seconds. On an
    314319          embedded system, where space is tight and you do not intend to
    315           ever update the timezones, or care about the correct time, you could
     320          ever update the time zones, or care about the correct time, you could
    316321          save 1.9MB by omitting the <filename class="directory">right</filename>
    317322          directory.</para>
     
    337342    output the name of the time zone (e.g.,
    338343    <emphasis>America/Edmonton</emphasis>). There are also some other possible
    339     timezones listed in <filename
     344    time zones listed in <filename
    340345    class='directory'>/usr/share/zoneinfo</filename> such as
    341346    <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
  • chapter06/gmp.xml

    r6eb40d4 r131c907  
    9292<screen><userinput remap="test">make check 2>&amp;1 | tee gmp-check-log</userinput></screen>
    9393
    94     <para>Ensure that all 188 tests in the test suite passed.
     94    <para>Ensure that all 190 tests in the test suite passed.
    9595    Check the results by issuing the following command:</para>
    9696
    97 <screen><userinput remap="test">awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log</userinput></screen>
     97<screen><userinput remap="test">awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log</userinput></screen>
    9898
    9999    <para>Install the package and its documentation:</para>
     
    112112
    113113      <seglistitem>
    114         <seg>libgmp.{a,so} and libgmpxx.{a,so}</seg>
     114        <seg>libgmp.so and libgmpxx.so</seg>
    115115        <seg>/usr/share/doc/gmp-&gmp-version;</seg>
    116116      </seglistitem>
  • chapter06/gperf.xml

    r6eb40d4 r131c907  
    6666    <segmentedlist>
    6767      <segtitle>Installed program</segtitle>
     68      <segtitle>Installed directory</segtitle>
    6869
    6970      <seglistitem>
    7071        <seg>gperf</seg>
     72        <seg>/usr/share/doc/gperf-&gperf-version;</seg>
    7173      </seglistitem>
    7274    </segmentedlist>
  • chapter06/grep.xml

    r6eb40d4 r131c907  
    4040  <sect2 role="installation">
    4141    <title>Installation of Grep</title>
    42 
    43     <para>First fix a potential security issue identified upstream:</para>
    44 
    45 <screen><userinput remap="configure">sed -i -e '/tp++/a  if (ep &lt;= tp) break;' src/kwset.c</userinput></screen>
    4642
    4743    <para>Prepare Grep for compilation:</para>
  • chapter06/groff.xml

    r6eb40d4 r131c907  
    7474
    7575      <seglistitem>
    76         <seg>addftinfo, afmtodit, chem, eqn, eqn2graph, gdiffmk,
    77         geqn (link to eqn), grap2graph, grn, grodvi, groff, groffer, grog,
    78         grolbp, grolj4, grops, grotty, gtbl (link to tbl), hpftodit,
    79         indxbib, lkbib, lookbib, mmroff, neqn, nroff, pdfroff, pfbtops, pic,
    80         pic2graph, post-grohtml, preconv, pre-grohtml, refer, roff2dvi,
    81         roff2html, roff2pdf, roff2ps, roff2text, roff2x, soelim, tbl, tfmtodit,
    82         and troff</seg>
     76        <seg>addftinfo, afmtodit, chem, eqn, eqn2graph, gdiffmk, glilypond,
     77        gperl, gpinyin, grap2graph, grn, grodvi, groff, groffer, grog, grolbp,
     78        grolj4, gropdf, grops, grotty, hpftodit, indxbib, lkbib, lookbib,
     79        mmroff, neqn, nroff, pdfmom, pdfroff, pfbtops, pic, pic2graph,
     80        post-grohtml, preconv, pre-grohtml, refer, roff2dvi, roff2html,
     81        roff2pdf, roff2ps, roff2text, roff2x, soelim, tbl, tfmtodit, and
     82        troff</seg>
    8383        <seg>/usr/lib/groff and /usr/share/doc/groff-&groff-version;,
    8484        /usr/share/groff</seg>
     
    155155      </varlistentry>
    156156
    157       <varlistentry id="geqn">
    158         <term><command>geqn</command></term>
    159         <listitem>
    160           <para>A link to <command>eqn</command></para>
    161           <indexterm zone="ch-system-groff geqn">
    162             <primary sortas="b-geqn">geqn</primary>
     157      <varlistentry id="glilypond">
     158        <term><command>glilypond</command></term>
     159        <listitem>
     160          <para>Transforms sheet music written in the lilypond language into
     161          the groff language</para>
     162          <indexterm zone="ch-system-groff glilypond">
     163            <primary sortas="b-glilypond">glilypond</primary>
     164          </indexterm>
     165        </listitem>
     166      </varlistentry>
     167
     168      <varlistentry id="gperl">
     169        <term><command>gperl</command></term>
     170        <listitem>
     171          <para>Preprocesor for groff, allowing addition of perl code
     172          into groff files</para>
     173          <indexterm zone="ch-system-groff gperl">
     174            <primary sortas="b-gperl">gperl</primary>
     175          </indexterm>
     176        </listitem>
     177      </varlistentry>
     178
     179      <varlistentry id="gpinyin">
     180        <term><command>gpinyin</command></term>
     181        <listitem>
     182          <para>Preprocesor for groff, allowing addition of Chinese
     183          European-like language Pinyin into groff files.</para>
     184          <indexterm zone="ch-system-groff gpinyin">
     185            <primary sortas="b-gpinyin">gpinyin</primary>
    163186          </indexterm>
    164187        </listitem>
     
    255278      </varlistentry>
    256279
     280      <varlistentry id="gropdf">
     281        <term><command>gropdf</command></term>
     282        <listitem>
     283          <para>Translates the output of GNU <command>troff</command> to
     284          PDF</para>
     285          <indexterm zone="ch-system-groff gropdf">
     286            <primary sortas="b-gropdf">gropdf</primary>
     287          </indexterm>
     288        </listitem>
     289      </varlistentry>
     290
    257291      <varlistentry id="grops">
    258292        <term><command>grops</command></term>
     
    273307          <indexterm zone="ch-system-groff grotty">
    274308            <primary sortas="b-grotty">grotty</primary>
    275           </indexterm>
    276         </listitem>
    277       </varlistentry>
    278 
    279       <varlistentry id="gtbl">
    280         <term><command>gtbl</command></term>
    281         <listitem>
    282           <para>A link to <command>tbl</command></para>
    283           <indexterm zone="ch-system-groff gtbl">
    284             <primary sortas="b-gtbl">gtbl</primary>
    285309          </indexterm>
    286310        </listitem>
     
    368392      </varlistentry>
    369393
     394      <varlistentry id="pdfmom">
     395        <term><command>pdfmom</command></term>
     396        <listitem>
     397          <para>Is a wrapper around groff that facilitates the production of PDF
     398          documents from files formatted with the mom macros.</para>
     399          <indexterm zone="ch-system-groff pdfmom">
     400            <primary sortas="b-pdfmom">pdfmom</primary>
     401          </indexterm>
     402        </listitem>
     403      </varlistentry>
     404
    370405      <varlistentry id="pdfroff">
    371406        <term><command>pdfroff</command></term>
  • chapter06/grub.xml

    r6eb40d4 r131c907  
    9595      <seglistitem>
    9696
    97        <seg>                      grub-bios-setup, grub-editenv,     grub-fstest,
    98             grub-install,         grub-kbdcomp,    grub-menulst2cfg, grub-mkconfig,
     97       <seg>grub-bios-setup,      grub-editenv,    grub-file,        grub-fstest,
     98            grub-glue-efi,        grub-install,    grub-kbdcomp,     grub-macbless,
     99            grub-menulst2cfg,     grub-mkconfig,
    99100                                  grub-mkimage,    grub-mklayout,    grub-mknetdir,
    100101            grub-mkpasswd-pbkdf2, grub-mkrelpath,  grub-mkrescue,    grub-mkstandalone,
    101             grub-ofpathname,      grub-probe,      grub-reboot,      grub-script-check,
    102             grub-set-default,                      grub-sparc64-setup </seg>
    103 
    104         <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, /boot/grub</seg>
     102            grub-ofpathname,      grub-probe,      grub-reboot,      grub-render-label,
     103            grub-script-check,
     104            grub-set-default,     grub-sparc64-setup, and grub-syslinux2cfg</seg>
     105
     106        <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, and boot/grub (when grub-install
     107        is first run)</seg>
    105108      </seglistitem>
    106109    </segmentedlist>
     
    131134      </varlistentry>
    132135
     136      <varlistentry id="grub-file">
     137        <term><command>grub-file</command></term>
     138        <listitem>
     139          <para>Checks if FILE is of the specified type.</para>
     140          <indexterm zone="ch-system-grub grub-file">
     141            <primary sortas="b-grub-file">grub-file</primary>
     142          </indexterm>
     143        </listitem>
     144      </varlistentry>
     145
    133146      <varlistentry id="grub-fstest">
    134147        <term><command>grub-fstest</command></term>
     
    137150          <indexterm zone="ch-system-grub grub-fstest">
    138151            <primary sortas="b-grub-fstest">grub-fstest</primary>
     152          </indexterm>
     153        </listitem>
     154      </varlistentry>
     155
     156      <varlistentry id="grub-glue-efi">
     157        <term><command>grub-glue-efi</command></term>
     158        <listitem>
     159          <para>Processes ia32 and amd64 EFI images and glues them
     160          according to Apple format.</para>
     161          <indexterm zone="ch-system-grub grub-glue-efi">
     162            <primary sortas="b-grub-glue-efi">grub-glue-efi</primary>
    139163          </indexterm>
    140164        </listitem>
     
    162186      </varlistentry>
    163187
     188      <varlistentry id="grub-macbless">
     189        <term><command>grub-macbless</command></term>
     190        <listitem>
     191          <para>Mac-style bless on HFS or HFS+ files</para>
     192          <indexterm zone="ch-system-grub grub-macbless">
     193            <primary sortas="b-grub-macbless">grub-macbless</primary>
     194          </indexterm>
     195        </listitem>
     196      </varlistentry>
     197
    164198      <varlistentry id="grub-menulst2cfg">
    165199        <term><command>grub-menulst2cfg</command></term>
     
    284318      </varlistentry>
    285319
     320      <varlistentry id="grub-render-label">
     321        <term><command>grub-render-label</command></term>
     322        <listitem>
     323          <para>Render Apple .disk_label for Apple Macs</para>
     324          <indexterm zone="ch-system-grub grub-render-label">
     325            <primary sortas="b-grub-render-label">grub-render-label</primary>
     326          </indexterm>
     327        </listitem>
     328      </varlistentry>
     329
    286330      <varlistentry id="grub-script-check">
    287331        <term><command>grub-script-check</command></term>
     
    314358      </varlistentry>
    315359
     360      <varlistentry id="grub-syslinux2cfg">
     361        <term><command>grub-syslinux2cfg</command></term>
     362        <listitem>
     363          <para>Transform a syslinux config file into grub.cfg format</para>
     364          <indexterm zone="ch-system-grub grub-syslinux2cfg">
     365            <primary sortas="b-grub-syslinux2cfg">grub-syslinux2cfg</primary>
     366          </indexterm>
     367        </listitem>
     368      </varlistentry>
     369
    316370    </variablelist>
    317371
  • chapter06/gzip.xml

    r6eb40d4 r131c907  
    7272
    7373      <seglistitem>
    74         <seg>gunzip, gzexe, gzip, uncompress, zcat, zcmp, zdiff, zegrep, zfgrep,
    75         zforce, zgrep, zless, zmore, and znew</seg>
     74        <seg>gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp,
     75        zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg>
    7676      </seglistitem>
    7777    </segmentedlist>
  • chapter06/inetutils.xml

    r6eb40d4 r131c907  
    110110
    111111<screen><userinput remap="test">make check</userinput></screen>
     112<!--
    112113    <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
    113114    coding of some support program paths. All tests pass if the tests are rerun
    114115    at the end of Chapter 6.</para>
    115 
     116-->
    116117    <para>Install the package:</para>
    117118
     
    133134
    134135      <seglistitem>
    135         <seg>ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin,
    136         rsh, talk, telnet, tftp, and traceroute</seg>
     136        <seg>dnsdomainname, ftp, ifconfig, hostname, ping, ping6,
     137        talk, telnet, tftp, and traceroute</seg>
    137138      </seglistitem>
    138139    </segmentedlist>
     
    143144      <?dbhtml list-presentation="table"?>
    144145
     146      <varlistentry id="dnsdomainname">
     147        <term><command>dnsdomainname</command></term>
     148        <listitem>
     149        <para>Show the system's DNS domain name</para>
     150        <indexterm zone="ch-system-inetutils dnsdomainname">
     151          <primary sortas="b-dnsdomainname">dnsdomainname</primary>
     152        </indexterm>
     153        </listitem>
     154      </varlistentry>
     155
    145156      <varlistentry id="ftp">
    146157        <term><command>ftp</command></term>
     
    153164      </varlistentry>
    154165
     166      <varlistentry id="hostname">
     167        <term><command>hostname</command></term>
     168        <listitem>
     169          <para>Reports or sets the name of the host</para>
     170          <indexterm zone="ch-system-inetutils hostname">
     171            <primary sortas="b-hostname">hostname</primary>
     172          </indexterm>
     173        </listitem>
     174      </varlistentry>
     175
    155176      <varlistentry id="ifconfig">
    156177        <term><command>ifconfig</command></term>
     
    160181          <primary sortas="b-ifconfig">ifconfig</primary>
    161182        </indexterm>
    162         </listitem>
    163       </varlistentry>
    164 
    165       <varlistentry id="hostname">
    166         <term><command>hostname</command></term>
    167         <listitem>
    168           <para>Reports or sets the name of the host</para>
    169           <indexterm zone="ch-system-inetutils hostname">
    170             <primary sortas="b-hostname">hostname</primary>
    171           </indexterm>
    172183        </listitem>
    173184      </varlistentry>
  • chapter06/kbd.xml

    r6eb40d4 r131c907  
    134134        mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
    135135        psfxtable), psfstriptable (link to psfxtable), psfxtable, <!--resizecons,-->
    136         setfont, setkeycodes, setleds, setmetamode,
     136        setfont, setkeycodes, setleds, setmetamode, setvtrgb,
    137137        showconsolefont, showkey, unicode_start, and unicode_stop</seg>
    138138        <seg>/usr/share/consolefonts, /usr/share/consoletrans, /usr/share/keymaps,
    139         and /usr/share/unimaps</seg>
     139        /usr/share/doc/kbd-&kbd-version;,  and /usr/share/unimaps</seg>
    140140      </seglistitem>
    141141    </segmentedlist>
     
    310310      </varlistentry>
    311311
    312   <!--<varlistentry id="resizecons">
    313         <term><command>resizecons</command></term>
    314         <listitem>
    315           <para>Changes the kernel idea of the console size</para>
    316           <indexterm zone="ch-system-kbd resizecons">
    317             <primary sortas="b-resizecons">resizecons</primary>
    318           </indexterm>
    319         </listitem>
    320       </varlistentry>-->
    321 
    322312      <varlistentry id="setfont">
    323313        <term><command>setfont</command></term>
     
    358348          <indexterm zone="ch-system-kbd setmetamode">
    359349            <primary sortas="b-setmetamode">setmetamode</primary>
     350          </indexterm>
     351        </listitem>
     352      </varlistentry>
     353
     354      <varlistentry id="setvtrgb">
     355        <term><command>setvtrgb</command></term>
     356        <listitem>
     357          <para>Sets the console color map in all virtual terminals</para>
     358          <indexterm zone="ch-system-kbd setvtrgb">
     359            <primary sortas="b-setvtrgb">setvtrgb</primary>
    360360          </indexterm>
    361361        </listitem>
  • chapter06/libcap.xml

    r6eb40d4 r131c907  
    9292      <seglistitem>
    9393        <seg>capsh, getcap, getpcaps, and setcap</seg>
    94         <seg>libcap.{a,so}</seg>
     94        <seg>libcap.so</seg>
    9595      </seglistitem>
    9696    </segmentedlist>
  • chapter06/libtool.xml

    r6eb40d4 r131c907  
    7676      <seglistitem>
    7777        <seg>libtool and libtoolize</seg>
    78         <seg>libltdl.{a,so}</seg>
     78        <seg>libltdl.so</seg>
    7979        <seg>/usr/include/libltdl and /usr/share/libtool</seg>
    8080      </seglistitem>
  • chapter06/man-db.xml

    r6eb40d4 r131c907  
    284284      <seglistitem>
    285285        <seg>accessdb, apropos (link to whatis), catman, lexgrog, man, mandb,
    286         manpath, whatis, and zsoelim</seg>
     286        manpath, and whatis</seg>
    287287        <seg>libman.so and libmandb.so</seg>
    288         <seg>/usr/lib/man-db, /usr/libexec/man-db,
     288        <seg>/usr/lib/man-db, /usr/lib/tmpfiles.d, /usr/libexec/man-db,
    289289        and /usr/share/doc/man-db-&man-db-version;</seg>
    290290      </seglistitem>
     
    384384      </varlistentry>
    385385
    386       <varlistentry id="zsoelim">
    387         <term><command>zsoelim</command></term>
    388         <listitem>
    389           <para>Reads files and replaces lines of the form <emphasis>.so
    390           file</emphasis> by the contents of the mentioned
    391           <emphasis>file</emphasis></para>
    392           <indexterm zone="ch-system-man-db zsoelim">
    393             <primary sortas="b-zsoelim">zsoelim</primary>
    394           </indexterm>
    395         </listitem>
    396       </varlistentry>
    397 
    398386      <varlistentry id="libman">
    399387        <term><filename class="libraryfile">libman</filename></term>
  • chapter06/mpc.xml

    r6eb40d4 r131c907  
    7474
    7575      <seglistitem>
    76         <seg>libmpc.{a,so}</seg>
     76        <seg>libmpc.so</seg>
    7777        <seg>/usr/share/doc/mpc-&mpc-version;</seg>
    7878      </seglistitem>
  • chapter06/mpfr.xml

    r6eb40d4 r131c907  
    8484
    8585      <seglistitem>
    86         <seg>libmpfr.{a,so}</seg>
     86        <seg>libmpfr.so</seg>
    8787        <seg>/usr/share/doc/mpfr-&mpfr-version;</seg>
    8888      </seglistitem>
  • chapter06/ncurses.xml

    r6eb40d4 r131c907  
    175175           infocmp,
    176176           infotocap (link to tic),
    177            ncursesw5-config,
     177           ncursesw6-config,
    178178           reset (link to tset),
    179179           tabs,
     
    188188           libmenuw.so,
    189189           libncursesw.so,
     190           libncurses++w.a,
    190191           libpanelw.so, and their non-wide-character counterparts without "w"
    191192              in the library names.</seg>
     
    243244      </varlistentry>
    244245
    245       <varlistentry id="ncursesw5-config">
    246         <term><command>ncursesw5-config</command></term>
     246      <varlistentry id="ncursesw6-config">
     247        <term><command>ncursesw6-config</command></term>
    247248        <listitem>
    248249          <para>Provides configuration information for ncurses</para>
    249           <indexterm zone="ch-system-ncurses ncursesw5-config">
    250             <primary sortas="b-ncursesw5-config">ncursesw5-config</primary>
     250          <indexterm zone="ch-system-ncurses ncursesw6-config">
     251            <primary sortas="b-ncursesw5-config">ncursesw6-config</primary>
    251252          </indexterm>
    252253        </listitem>
  • chapter06/perl.xml

    r6eb40d4 r131c907  
    136136
    137137      <seglistitem>
    138         <seg>a2p, c2ph, corelist, cpan, cpan2dist, cpanp,
    139         cpanp-run-perl, enc2xs, find2perl, h2ph, h2xs,
    140         instmodsh, json_pp, libnetcfg, perl, perl&perl-version; (link to perl),
    141         perlbug, perldoc, perlivp, perlthanks (link to perlbug), piconv, pl2pm,
    142         pod2html, pod2latex, pod2man, pod2text, pod2usage, podchecker,
    143         podselect, prove, psed (link to s2p), pstruct (link to c2ph), ptar,
    144         ptardiff, ptargrep, s2p, shasum, splain, xsubpp, and zipdetails</seg>
    145         <seg>Several hundred which cannot all be listed here</seg>
     138        <seg>c2ph, corelist, cpan, enc2xs, encguess, h2ph, h2xs, instmodsh,
     139        json_pp, libnetcfg, perl, perl&perl-version; (hard link to perl),
     140        perlbug, perldoc, perlivp, perlthanks (hard link to perlbug), piconv,
     141        pl2pm, pod2html, pod2man, pod2text, pod2usage, podchecker, podselect,
     142        prove, pstruct (hard link to c2ph), ptar, ptardiff, ptargrep, shasum,
     143        splain, xsubpp, and zipdetails</seg>
     144        <seg>Many which cannot all be listed here</seg>
    146145        <seg>/usr/lib/perl5</seg>
    147146      </seglistitem>
     
    233232          <indexterm zone="ch-system-perl enc2xs">
    234233            <primary sortas="b-enc2xs">enc2xs</primary>
     234          </indexterm>
     235        </listitem>
     236      </varlistentry>
     237
     238      <varlistentry id="encguess">
     239        <term><command>encguess</command></term>
     240        <listitem>
     241          <para>Guess the encoding type of one or several files</para>
     242          <indexterm zone="ch-system-perl encguess">
     243            <primary sortas="b-encguess">encguess</primary>
    235244          </indexterm>
    236245        </listitem>
     
    473482      </varlistentry>
    474483
    475       <varlistentry id="psed">
    476         <term><command>psed</command></term>
    477         <listitem>
    478           <para>A Perl version of the stream editor <command>sed</command></para>
    479           <indexterm zone="ch-system-perl psed">
    480             <primary sortas="b-psed">psed</primary>
    481           </indexterm>
    482         </listitem>
    483       </varlistentry>
    484 
    485484      <varlistentry id="pstruct">
    486485        <term><command>pstruct</command></term>
  • chapter06/procps.xml

    r6eb40d4 r131c907  
    4848            --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \
    4949            --disable-static                         \
    50             --disable-kill</userinput></screen>
     50            --disable-kill                           \
     51            --with-systemd</userinput></screen>
    5152
    5253    <variablelist>
  • chapter06/readline.xml

    r6eb40d4 r131c907  
    106106
    107107      <seglistitem>
    108         <seg>libhistory.{a,so} and libreadline.{a,so}</seg>
     108        <seg>libhistory.so and libreadline.so</seg>
    109109        <seg>/usr/include/readline, /usr/share/readline, and
    110110        /usr/share/doc/readline-&readline-version;</seg>
  • chapter06/revisedchroot.xml

    r6eb40d4 r131c907  
    4747  remove them now:</para>
    4848
    49 <screen><userinput>rm /usr/lib/lib{bfd,opcodes}.a
    50 rm /usr/lib/libbz2.a
    51 rm /usr/lib/lib{com_err,e2p,ext2fs,ss}.a
    52 <!--rm /usr/lib/lib{fl,fl_pic}.a
    53 -->rm /usr/lib/libltdl.a
    54 rm /usr/lib/libz.a</userinput></screen>
     49<screen><userinput>rm -f /usr/lib/lib{bfd,opcodes}.a
     50rm -f /usr/lib/libbz2.a
     51rm -f /usr/lib/lib{com_err,e2p,ext2fs,ss}.a
     52rm -f /usr/lib/libltdl.a
     53rm -f /usr/lib/libz.a</userinput></screen>
    5554
    5655<!-- Flex shared library is broken. Keep static until next flex release. -->
  • chapter06/shadow.xml

    r6eb40d4 r131c907  
    148148    group ID (GID) numbers will begin with 1000. This means if you don't pass
    149149    parameters to <command>useradd</command>, each user will be a member of a
    150     unique group on the system. If this behaviour is undesirable, you'll need
     150    unique group on the system. If this behavior is undesirable, you'll need
    151151    to pass the <parameter>-g</parameter> parameter to
    152152    <command>useradd</command>. The default parameters are stored in the
     
    212212        <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog, gpasswd,
    213213        groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv,
    214         lastlog, login, logoutd, newgrp, newusers, nologin, passwd, pwck,
    215         pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod,
    216         vigr (link to vipw), and vipw</seg>
     214        lastlog, login, logoutd, newgidmap, newgrp,newuidmap,  newusers,
     215        nologin, passwd, pwck, pwconv, pwunconv, sg (link to newgrp), su,
     216        useradd, userdel, usermod, vigr (link to vipw), and vipw</seg>
    217217        <seg>/etc/default</seg>
    218218      </seglistitem>
     
    415415      </varlistentry>
    416416
     417      <varlistentry id="newgidmap">
     418        <term><command>newgidmap</command></term>
     419        <listitem>
     420          <para>Is used to set the gid mapping of a user namespace</para>
     421          <indexterm zone="ch-system-shadow newgidmap">
     422            <primary sortas="b-newgidmap">newgidmap</primary>
     423          </indexterm>
     424        </listitem>
     425      </varlistentry>
     426
    417427      <varlistentry id="newgrp">
    418428        <term><command>newgrp</command></term>
     
    421431          <indexterm zone="ch-system-shadow newgrp">
    422432            <primary sortas="b-newgrp">newgrp</primary>
     433          </indexterm>
     434        </listitem>
     435      </varlistentry>
     436
     437      <varlistentry id="newuidmap">
     438        <term><command>newuidmap</command></term>
     439        <listitem>
     440          <para>Is used to set the uid mapping of a user namespace</para>
     441          <indexterm zone="ch-system-shadow newuidmap">
     442            <primary sortas="b-newuidmap">newuidmap</primary>
    423443          </indexterm>
    424444        </listitem>
  • chapter06/systemd.xml

    r6eb40d4 r131c907  
    4242
    4343    <para>First, create a file to allow systemd to build when using Util-Linux
    44     built in Chapter 5 and disable LTO by default:</para>
     44    built in Chapter 5, to disable LTO by default, and to build without
     45    xlstproc:</para>
    4546
    4647<screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
     
    5455MOUNT_LIBS="-lmount"
    5556MOUNT_CFLAGS="-I/tools/include/libmount"
    56 cc_cv_CFLAGS__flto=no</literal>
     57cc_cv_CFLAGS__flto=no
     58XSLTPROC="/usr/bin/xsltproc"</literal>
    5759EOF</userinput></screen>
    5860
  • chapter06/tar.xml

    r6eb40d4 r131c907  
    7777<screen><userinput remap="install">make install
    7878make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen>
    79 <!--
    80     <para>Finally, generate the man page and place it in the proper location:</para>
    81 
    82 <screen><userinput remap="install">perl tarman &gt; /usr/share/man/man1/tar.1</userinput></screen>
    83 -->
    8479  </sect2>
    8580
     
    9388
    9489      <seglistitem>
    95         <seg>rmt and tar</seg>
     90        <seg>tar</seg>
    9691        <seg>/usr/share/doc/tar-&tar-version;</seg>
    9792      </seglistitem>
     
    10297      <?dbfo list-presentation="list"?>
    10398      <?dbhtml list-presentation="table"?>
    104 
    105       <varlistentry id="rmt">
    106         <term><command>rmt</command></term>
    107         <listitem>
    108           <para>Remotely manipulates a magnetic
    109           tape drive through an interprocess communication connection</para>
    110           <indexterm zone="ch-system-tar rmt">
    111             <primary sortas="b-rmt">rmt</primary>
    112           </indexterm>
    113         </listitem>
    114       </varlistentry>
    11599
    116100      <varlistentry id="tar">
  • chapter06/texinfo.xml

    r6eb40d4 r131c907  
    102102
    103103      <seglistitem>
    104         <seg>info, infokey, install-info, makeinfo (link to texi2any),
     104        <seg>info, install-info, makeinfo (link to texi2any),
    105105        pdftexi2dvi, pod2texi, texi2any, texi2dvi, texi2pdf, and texindex</seg>
    106106        <seg>/usr/share/texinfo</seg>
     
    126126      </varlistentry>
    127127
    128       <varlistentry id="infokey">
    129         <term><command>infokey</command></term>
    130         <listitem>
    131           <para>Compiles a source file containing Info customizations into a
    132           binary format</para>
    133           <indexterm zone="ch-system-texinfo infokey">
    134             <primary sortas="b-infokey">infokey</primary>
    135           </indexterm>
    136         </listitem>
    137       </varlistentry>
    138 
    139128      <varlistentry id="install-info">
    140129        <term><command>install-info</command></term>
  • chapter06/util-linux.xml

    r6eb40d4 r131c907  
    122122        i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to
    123123        last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu,
    124         lslocks, lslogins, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
    125         more, mount, mountpoint, namei, partx, pg, pivot_root, prlimit, raw,
     124        lsipc, lslocks, lslogins, mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
     125        more, mount, mountpoint, namei, nsenter, partx, pg, pivot_root, prlimit, raw,
    126126        readprofile, rename, renice, resizepart, rev, rtcwake, script,
    127127        scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
    128128        swapoff (link to swapon), swapon, switch_root, tailf, taskset, ul,
    129         umount, unshare, utmpdump, uuidd, uuidgen, wall, wdctl, whereis,
     129        umount, uname26, unshare, utmpdump, uuidd, uuidgen, wall, wdctl, whereis,
    130130        wipefs, x86_64, and zramctl</seg>
    131         <seg>libblkid.{a,so}, libfdisk.{a,so}, libmount.{a,so},
    132         libsmartcols.{a,so}, and libuuid.{a,so}</seg>
    133         <seg>/etc/terminal-colors.d, /usr/include/blkid, /usr/include/libmount,
    134         /usr/include/uuid, /usr/share/doc/util-linux-&util-linux-version;/getopt,
    135         and /var/lib/hwclock</seg>
     131        <seg>libblkid.so, libfdisk.so, libmount.so,
     132        libsmartcols.so, and libuuid.so</seg>
     133        <seg>/usr/include/blkid,
     134             /usr/include/libfdisk,
     135             /usr/include/libmount,
     136             /usr/include/libsmartcols,
     137             /usr/include/uuid,
     138             /usr/share/doc/util-linux-&util-linux-version;,
     139         and /var/lib/hwclock</seg>
    136140      </seglistitem>
    137141    </segmentedlist>
     
    340344        <term><command>fdisk</command></term>
    341345        <listitem>
    342           <para>Manipulates the paritition table of the given device</para>
     346          <para>Manipulates the partition table of the given device</para>
    343347          <indexterm zone="ch-system-util-linux fdisk">
    344348            <primary sortas="b-fdisk">fdisk</primary>
     
    640644      </varlistentry>
    641645
     646      <varlistentry id="lsipc">
     647        <term><command>lsipc</command></term>
     648        <listitem>
     649          <para>Prints information on IPC facilities currently employed
     650          in the system</para>
     651          <indexterm zone="ch-system-util-linux lsipc">
     652            <primary sortas="b-lsipc">lsipc</primary>
     653          </indexterm>
     654        </listitem>
     655      </varlistentry>
     656
    642657      <varlistentry id="lslocks">
    643658        <term><command>lslocks</command></term>
     
    10561071      </varlistentry>
    10571072
     1073      <varlistentry id="uname26">
     1074        <term><command>uname26</command></term>
     1075        <listitem>
     1076          <para>A symbolic link to setarch</para>
     1077          <indexterm zone="ch-system-util-linux uname26">
     1078            <primary sortas="b-uname26">uname26</primary>
     1079          </indexterm>
     1080        </listitem>
     1081      </varlistentry>
     1082
    10581083      <varlistentry id="unshare">
    10591084        <term><command>unshare</command></term>
  • chapter06/xz.xml

    r6eb40d4 r131c907  
    4444  <sect2 role="installation">
    4545    <title>Installation of Xz</title>
     46
     47    <para>First, fix an internal problem:</para>
     48
     49<screen><userinput remap="pre">sed -e '/mf\.buffer = NULL/a next->coder->mf.size = 0;' \
     50     -i src/liblzma/lz/lz_encoder.c</userinput></screen>
     51
     52
    4653
    4754    <para>Prepare Xz for compilation with:</para>
Note: See TracChangeset for help on using the changeset viewer.