Эх сурвалжийг харах

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11747 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Thomas Trepl 5 жил өмнө
parent
commit
a1db5544f9
67 өөрчлөгдсөн 585 нэмэгдсэн , 1318 устгасан
  1. 35 0
      appendices/dependencies.xml
  2. 137 2
      chapter01/changelog.xml
  3. 1 1
      chapter01/how.xml
  4. 15 15
      chapter01/whatsnew.xml
  5. 1 1
      chapter02/creatingfilesystem.xml
  6. 1 1
      chapter02/creatingpartition.xml
  7. 1 1
      chapter02/hostreqs.xml
  8. 1 1
      chapter02/introduction.xml
  9. 1 1
      chapter02/mounting.xml
  10. 1 1
      chapter02/stages.xml
  11. 1 1
      chapter03/introduction.xml
  12. 10 1
      chapter03/packages.xml
  13. 1 1
      chapter03/patches.xml
  14. 1 1
      chapter04/aboutlfs.xml
  15. 1 1
      chapter04/aboutsbus.xml
  16. 1 1
      chapter04/abouttestsuites.xml
  17. 1 1
      chapter04/addinguser.xml
  18. 1 1
      chapter04/creatingtoolsdir.xml
  19. 1 1
      chapter04/introduction.xml
  20. 1 1
      chapter04/settingenviron.xml
  21. 0 98
      chapter05/e2fsprogs.xml
  22. 0 84
      chapter05/flex.xml
  23. 8 1
      chapter05/gcc-pass2.xml
  24. 2 2
      chapter05/generalinstructions.xml
  25. 0 84
      chapter05/gmp.xml
  26. 2 2
      chapter05/make.xml
  27. 0 72
      chapter05/mpfr.xml
  28. 1 1
      chapter05/tcl.xml
  29. 21 1
      chapter06/binutils.xml
  30. 1 0
      chapter06/chapter06.xml
  31. 4 4
      chapter06/check.xml
  32. 0 301
      chapter06/db.xml
  33. 3 6
      chapter06/e2fsprogs.xml
  34. 3 3
      chapter06/findutils.xml
  35. 7 0
      chapter06/gcc.xml
  36. 1 1
      chapter06/glibc.xml
  37. 1 1
      chapter06/grep.xml
  38. 2 2
      chapter06/libcap.xml
  39. 1 1
      chapter06/libpipeline.xml
  40. 2 1
      chapter06/make.xml
  41. 0 185
      chapter06/module-init-tools.xml
  42. 0 187
      chapter06/pcre.xml
  43. 3 3
      chapter06/perl.xml
  44. 0 94
      chapter06/popt.xml
  45. 8 5
      chapter06/python.xml
  46. 5 4
      chapter06/systemd.xml
  47. 136 0
      chapter06/zstd.xml
  48. 25 25
      chapter07/bootscripts.xml
  49. 1 1
      chapter07/chapter07.xml
  50. 2 2
      chapter07/clock.xml
  51. 2 2
      chapter07/consoled.xml
  52. 2 2
      chapter07/inputrc.xml
  53. 1 1
      chapter07/introduction.xml
  54. 11 11
      chapter07/introductiond.xml
  55. 2 2
      chapter07/locale.xml
  56. 9 9
      chapter07/network.xml
  57. 8 8
      chapter07/networkd.xml
  58. 2 2
      chapter07/profile.xml
  59. 3 3
      chapter07/symlinks.xml
  60. 2 2
      chapter07/systemd-custom.xml
  61. 4 4
      chapter07/udev.xml
  62. 13 13
      chapter07/usage.xml
  63. 1 1
      chapter08/kernel.xml
  64. 3 3
      general.ent
  65. 5 1
      lfs-latest.php
  66. 57 49
      packages.ent
  67. 8 0
      prologue/why.xml

+ 35 - 0
appendices/dependencies.xml

@@ -2763,4 +2763,39 @@
         </seglistitem>
       </segmentedlist>
 
+<!-- Begin Zstd dependency info -->
+  <bridgehead renderas="sect2" id="zstd-dep">Zstd</bridgehead>
+
+      <segmentedlist>
+        <segtitle>&dependencies;</segtitle>
+
+        <seglistitem>
+         <seg>Binutils, Coreutils, GCC, Glibc, Gzip, Make, and Xz</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist>
+        <segtitle>&testsuites;</segtitle>
+
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist>
+        <segtitle>&before;</segtitle>
+
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist>
+        <segtitle>&external;</segtitle>
+
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
 </appendix>

+ 137 - 2
chapter01/changelog.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scatter-changelog">
+<sect1 id="ch-intro-changelog">
   <?dbhtml filename="changelog.html"?>
 
   <title>Changelog</title>
@@ -44,7 +44,142 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
        -->
-    <listitem revision="sysv">
+
+    <listitem>
+      <para>2020-01-27</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to vim-8.2.0190. Addresses
+          <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to binutils-2.34. Fixes
+          <ulink url="&lfs-ticket-root;4590">#4590</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to glibc-2.31. Fixes
+          <ulink url="&lfs-ticket-root;4589">#4589</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to linux-5.5.1. Fixes
+          <ulink url="&lfs-ticket-root;4588">#4588</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to bc-2.5.3. Fixes
+          <ulink url="&lfs-ticket-root;4587">#4587</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to iproute2-5.5.0. Fixes
+          <ulink url="&lfs-ticket-root;4586">#4586</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to util-linux 2.35.1. Fixes
+          <ulink url="&lfs-ticket-root;4560">#4560</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+    
+    <listitem revision="systemd">
+      <para>2020-01-23</para>
+      <itemizedlist>
+        <listitem>
+          <para>[renodr] - Remove obsolete installation commands from the
+          systemd page. These have been obsolete since 243 and were recently
+          discovered.</para>
+       </listitem>
+      </itemizedlist>
+    </listitem>
+    
+    <listitem>
+      <para>2020-01-27</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to ninja-1.10.0. Fixes
+          <ulink url="&lfs-ticket-root;4585">#4585</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to check-0.14.0. Fixes
+          <ulink url="&lfs-ticket-root;4583">#4583</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to shadow-4.8.1. Fixes
+          <ulink url="&lfs-ticket-root;4582">#4582</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to meson-0.53.1. Fixes
+          <ulink url="&lfs-ticket-root;4581">#4581</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to linux-5.5. Fixes
+          <ulink url="&lfs-ticket-root;4580">#4580</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to bison-3.5.1. Fixes
+          <ulink url="&lfs-ticket-root;4579">#4579</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>2020-01-19</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to make-4.3. Fixes
+          <ulink url="&lfs-ticket-root;4578">#4578</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to vim-8.2.0129. Addresses 
+          <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to gmp-6.2.0. Fixes
+          <ulink url="&lfs-ticket-root;4577">#4577</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to sed-4.8. Fixes
+          <ulink url="&lfs-ticket-root;4576">#4576</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to bc-2.5.1. Fixes
+          <ulink url="&lfs-ticket-root;4575">#4575</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to linux-5.4.13. Fixes
+          <ulink url="&lfs-ticket-root;4572">#4572</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>2020-01-16</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Update to libcap-2.31. Fixes
+          <ulink url="&lfs-ticket-root;4574">#4574</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>2020-01-13</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Ensure zstd libraries are installed in the correct 
+          location.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>2020-01-12</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Added zstd-1.4.4.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2020-01-09</para>
       <itemizedlist>
         <listitem>

+ 1 - 1
chapter01/how.xml

@@ -82,7 +82,7 @@
   normal.</para>
 
   <para>To finish the installation, the basic system configuration is set up in
-  <xref linkend="chapter-bootscripts"/>, and the kernel and boot loader are set
+  <xref linkend="chapter-config"/>, and the kernel and boot loader are set
   up in <xref linkend="chapter-bootable"/>. <xref linkend="chapter-finalizing"/>
   contains information on continuing the LFS experience beyond this book.
   After the steps in this book have been implemented, the computer will be

+ 15 - 15
chapter01/whatsnew.xml

@@ -101,12 +101,12 @@
     <!--<listitem>
       <para>Gettext-&gettext-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Glibc-&glibc-version;</para>
-    </listitem>-->
-    <!--<listitem>
+    </listitem>
+    <listitem>
       <para>GMP-&gmp-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Gperf-&gperf-version;</para>
     </listitem>-->
@@ -170,9 +170,9 @@
     <!--<listitem>
       <para>M4-&m4-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Make-&make-version;</para>
-    </listitem>-->
+    </listitem>
     <listitem>
       <para>Man-DB-&man-db-version;</para>
    </listitem>
@@ -191,9 +191,9 @@
    <!--<listitem>
       <para>Ncurses-&ncurses-version;</para>
    </listitem>-->
-   <!--<listitem>
+   <listitem>
       <para>Ninja-&ninja-version;</para>
-   </listitem>-->
+   </listitem>
    <listitem>
       <para>Openssl-&openssl-version;</para>
    </listitem>
@@ -218,12 +218,12 @@
     <!--<listitem>
       <para>Readline-&readline-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Sed-&sed-version;</para>
-    </listitem>-->
-    <!--<listitem>
+    </listitem>
+    <listitem>
       <para>Shadow-&shadow-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem revision="sysv">
       <para>Sysklogd-&sysklogd-version;</para>
     </listitem>-->
@@ -245,9 +245,9 @@
    <listitem>
       <para>Tzdata-&tzdata-version;</para>
    </listitem>
-   <!--<listitem>
+   <listitem>
       <para>Util-Linux-&util-linux-version;</para>
-   </listitem>-->
+   </listitem>
     <listitem>
       <para>Vim-&vim-version;</para>
     </listitem>
@@ -273,7 +273,7 @@
 
   <itemizedlist>
     <title>Added:</title>
-    <listitem><para></para></listitem>  <!-- satisfy build -->
+    <listitem><para>Zstd-&zstd-version;</para></listitem>  <!-- satisfy build -->
 
   </itemizedlist>
 

+ 1 - 1
chapter02/creatingfilesystem.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="space-creatingfilesystem">
+<sect1 id="ch-partitioning-creatingfilesystem">
   <?dbhtml filename="creatingfilesystem.html"?>
 
   <title>Creating a File System on the Partition</title>

+ 1 - 1
chapter02/creatingpartition.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="space-creatingpartition">
+<sect1 id="ch-partitioning-creatingpartition">
   <?dbhtml filename="creatingpartition.html"?>
 
   <title>Creating a New Partition</title>

+ 1 - 1
chapter02/hostreqs.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="pre-hostreqs" xreflabel="Host System Requirements">
+<sect1 id="ch-partitioning-hostreqs" xreflabel="Host System Requirements">
   <?dbhtml filename="hostreqs.html"?>
 
   <title>Host System Requirements</title>

+ 1 - 1
chapter02/introduction.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="space-introduction">
+<sect1 id="ch-partitioning-introduction">
   <?dbhtml filename="introduction.html"?>
 
   <title>Introduction</title>

+ 1 - 1
chapter02/mounting.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="space-mounting">
+<sect1 id="ch-partitioning-mounting">
   <?dbhtml filename="mounting.html"?>
 
   <title>Mounting the New Partition</title>

+ 1 - 1
chapter02/stages.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="stages">
+<sect1 id="ch-partitioning-stages">
   <?dbhtml filename="stages.html"?>
 
   <title>Building LFS in Stages</title>

+ 1 - 1
chapter03/introduction.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="materials-introduction">
+<sect1 id="ch-materials-introduction">
   <?dbhtml filename="introduction.html"?>
 
   <title>Introduction</title>

+ 10 - 1
chapter03/packages.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="materials-packages">
+<sect1 id="ch-materials-packages">
   <?dbhtml filename="packages.html"?>
 
   <title>All Packages</title>
@@ -782,6 +782,15 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Zstd (&zstd-version;) - <token>&zstd-size;</token>:</term>
+      <listitem>
+        <para>Home page: <ulink url="&zstd-home;"/></para>
+        <para>Download: <ulink url="&zstd-url;"/></para>
+        <para>MD5 sum: <literal>&zstd-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
   </variablelist>
 
   <para>Total size of these packages: about <returnvalue/></para>

+ 1 - 1
chapter03/patches.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="materials-patches">
+<sect1 id="ch-materials-patches">
   <?dbhtml filename="patches.html"?>
 
   <title>Needed Patches</title>

+ 1 - 1
chapter04/aboutlfs.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="prepare-aboutlfs">
+<sect1 id="ch-preps-aboutlfs">
   <?dbhtml filename="aboutlfs.html"?>
 
   <title>About $LFS</title>

+ 1 - 1
chapter04/aboutsbus.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="prepare-aboutsbus">
+<sect1 id="ch-preps-aboutsbus">
   <?dbhtml filename="aboutsbus.html"?>
 
   <title>About SBUs</title>

+ 1 - 1
chapter04/abouttestsuites.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="prepare-abouttestsuites">
+<sect1 id="ch-preps-abouttestsuites">
   <?dbhtml filename="abouttestsuites.html"?>
 
   <title>About the Test Suites</title>

+ 1 - 1
chapter04/addinguser.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-tools-addinguser">
+<sect1 id="ch-preps-addinguser">
   <?dbhtml filename="addinguser.html"?>
 
   <title>Adding the LFS User</title>

+ 1 - 1
chapter04/creatingtoolsdir.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-tools-creatingtoolsdir">
+<sect1 id="ch-preps-creatingtoolsdir">
   <?dbhtml filename="creatingtoolsdir.html"?>
 
   <title>Creating the $LFS/tools Directory</title>

+ 1 - 1
chapter04/introduction.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="prepare-introduction">
+<sect1 id="ch-preps-introduction">
   <?dbhtml filename="introduction.html"?>
 
   <title>Introduction</title>

+ 1 - 1
chapter04/settingenviron.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-tools-settingenviron">
+<sect1 id="ch-preps-settingenviron">
   <?dbhtml filename="settingenvironment.html"?>
 
   <title>Setting Up the Environment</title>

+ 0 - 98
chapter05/e2fsprogs.xml

@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-tools-e2fsprogs" role="wrap">
-  <?dbhtml filename="e2fsprogs.html"?>
-
-  <sect1info condition="script">
-    <productname>e2fsprogs</productname>
-    <productnumber>&e2fsprogs-version;</productnumber>
-    <address>&e2fsprogs-url;</address>
-  </sect1info>
-
-  <title>E2fsprogs-&e2fsprogs-version;</title>
-
-  <indexterm zone="ch-tools-e2fsprogs">
-    <primary sortas="a-E2fsprogs">E2fsprogs</primary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../chapter06/e2fsprogs.xml"
-    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
-
-    <segmentedlist>
-      <segtitle>&buildtime;</segtitle>
-      <segtitle>&diskspace;</segtitle>
-
-      <seglistitem>
-        <seg>&e2fsprogs-ch5-sbu;</seg>
-        <seg>&e2fsprogs-ch5-du;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of E2fsprogs</title>
-
-    <para>The E2fsprogs documentation recommends that the package be built in
-    a subdirectory of the source tree: </para>
-
-<screen><userinput remap="pre">mkdir -v build
-cd build</userinput></screen>
-
-    <para>Prepare E2fsprogs for compilation:</para>
-
-<screen><userinput remap="configure">../configure --prefix=/tools --disable-libblkid --disable-libuuid</userinput></screen>
-
-    <variablelist>
-      <title>The meaning of the new configure option:</title>
-
-      <varlistentry>
-        <term><parameter>--disable-libblkid</parameter></term>
-        <listitem>
-          <para>This prevents E2fsprogs from building its own copy of the
-          libblkid library, which Util-Linux-NG provides.</para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term><parameter>--disable-libuuid</parameter></term>
-        <listitem>
-          <para>This prevents E2fsprogs from building its own copy of the
-          libuuid library, which Util-Linux-NG provides.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-
-    <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
-    <para>Install the static libraries and headers required by Util-linux:</para>
-
-<screen><userinput remap="install">make install-libs</userinput></screen>
-
-    <para>Make the installed static libraries writable so debugging symbols can
-    be removed later:</para>
-
-<screen><userinput remap="install">chmod -v u+w \
-    /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
-
-  </sect2>
-
-  <sect2 role="content">
-    <title/>
-
-    <para>Details on this package are located in
-    <xref linkend="contents-e2fsprogs" role="."/></para>
-  </sect2>
-
-</sect1>

+ 0 - 84
chapter05/flex.xml

@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-tools-flex" role="wrap">
-  <?dbhtml filename="flex.html"?>
-
-  <sect1info condition="script">
-    <productname>flex</productname>
-    <productnumber>&flex-version;</productnumber>
-    <address>&flex-url;</address>
-  </sect1info>
-
-  <title>Flex-&flex-version;</title>
-
-  <indexterm zone="ch-tools-flex">
-    <primary sortas="a-Flex">Flex</primary>
-    <secondary>tools</secondary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../chapter06/flex.xml"
-    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
-
-    <segmentedlist>
-      <segtitle>&buildtime;</segtitle>
-      <segtitle>&diskspace;</segtitle>
-
-      <seglistitem>
-        <seg>&flex-ch5-sbu;</seg>
-        <seg>&flex-ch5-du;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of Flex</title>
-<!--
-    <para>Flex contains several known bugs. These can be fixed with the
-    following patch:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
-
-    <para>The GNU autotools will detect that the Flex source code has been
-    modified by the previous patch and tries to update the man page
-    accordingly.  This does not work on many systems, and the default page is
-    fine, so make sure it does not get regenerated:</para>
-
-<screen><userinput remap="pre">touch doc/flex.1</userinput></screen>
--->
-    <para>Prepare Flex for compilation:</para>
-
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
-
-    <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
-    <para>To test the results, issue:</para>
-
-<screen><userinput remap="test">make check</userinput></screen>
-
-    <para>Install the package:</para>
-
-<screen><userinput remap="install">make install</userinput></screen>
-
-  </sect2>
-
-  <sect2 role="content">
-    <title/>
-
-    <para>Details on this package are located in
-    <xref linkend="contents-flex" role="."/></para>
-
-  </sect2>
-
-</sect1>

+ 8 - 1
chapter05/gcc-pass2.xml

@@ -127,6 +127,13 @@ mv -v isl-&isl-version; isl</userinput></screen>
 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e "/#include &lt;isl\/schedule_node.h&gt;/ a#include &lt;isl/id.h&gt;\n#include &lt;isl/space.h&gt;" \
     -i gcc/graphite.h</userinput></screen>
 
+    <para>
+      Now fix a problem introduced by Glibc-2.31:
+    </para>
+
+<screen><userinput remap="pre">sed -e '1161 s|^|//|' \
+    -i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc</userinput></screen>
+
     <para>Create a separate build directory again:</para>
 
 <screen><userinput remap="pre">mkdir -v build
@@ -256,7 +263,7 @@ readelf -l a.out | grep ': /tools'</userinput></screen>
     <filename class="directory">/tools/bin</filename> is at the head of the
     list. If the <envar>PATH</envar> is wrong it could mean that you are not
     logged in as user <systemitem class="username">lfs</systemitem> or that
-    something went wrong back in <xref linkend="ch-tools-settingenviron"
+    something went wrong back in <xref linkend="ch-preps-settingenviron"
     role="."/></para>
 
     <para>Once all is well, clean up the test files:</para>

+ 2 - 2
chapter05/generalinstructions.xml

@@ -53,8 +53,8 @@
     <important>
 
       <para>The build instructions assume that the <xref
-      linkend='pre-hostreqs'/>, including symbolic links, have been set
-      properly:</para>
+      linkend='ch-partitioning-hostreqs'/>, including symbolic links, have
+      been set properly:</para>
 
       <itemizedlist role='important'>
 

+ 0 - 84
chapter05/gmp.xml

@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-tools-gmp" role="wrap">
-  <?dbhtml filename="gmp.html"?>
-
-  <sect1info condition="script">
-    <productname>gmp</productname>
-    <productnumber>&gmp-version;</productnumber>
-    <address>&gmp-url;</address>
-  </sect1info>
-
-  <title>GMP-&gmp-version;</title>
-
-  <indexterm zone="ch-tools-gmp">
-    <primary sortas="a-GMP">GMP</primary>
-    <secondary>tools</secondary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../chapter06/gmp.xml"
-    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
-
-    <segmentedlist>
-      <segtitle>&buildtime;</segtitle>
-      <segtitle>&diskspace;</segtitle>
-
-      <seglistitem>
-        <seg>&gmp-ch5-sbu;</seg>
-        <seg>&gmp-ch5-du;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of GMP</title>
-
-    <para>Prepare GMP for compilation:</para>
-
-<screen><userinput remap="configure">./configure --prefix=/tools --enable-mpbsd</userinput></screen>
-
-    <variablelist>
-      <title>The meaning of the configure option:</title>
-
-      <varlistentry>
-        <term><parameter>--enable-mpbsd</parameter></term>
-        <listitem>
-          <para>This builds the Berkeley MP compatibility library</para>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-    <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
-    <para>To test the results, issue:</para>
-
-<screen><userinput remap="test">make check</userinput></screen>
-
-    <para>Install the package:</para>
-
-<screen><userinput remap="install">make install</userinput></screen>
-
-  </sect2>
-
-  <sect2 role="content">
-    <title/>
-
-    <para>Details on this package are located in
-    <xref linkend="contents-gmp" role="."/></para>
-
-  </sect2>
-
-</sect1>

+ 2 - 2
chapter05/make.xml

@@ -41,11 +41,11 @@
 
   <sect2 role="installation">
     <title>Installation of Make</title>
-
+<!--
     <para>First, work around an error caused by glibc-2.27 and later:</para>
 
 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
-
+-->
     <para>Prepare Make for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/tools --without-guile</userinput></screen>

+ 0 - 72
chapter05/mpfr.xml

@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-tools-mpfr" role="wrap">
-  <?dbhtml filename="mpfr.html"?>
-
-  <sect1info condition="script">
-    <productname>mpfr</productname>
-    <productnumber>&mpfr-version;</productnumber>
-    <address>&mpfr-url;</address>
-  </sect1info>
-
-  <title>MPFR-&mpfr-version;</title>
-
-  <indexterm zone="ch-tools-mpfr">
-    <primary sortas="a-MPFR">MPFR</primary>
-    <secondary>tools</secondary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../chapter06/mpfr.xml"
-    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
-
-    <segmentedlist>
-      <segtitle>&buildtime;</segtitle>
-      <segtitle>&diskspace;</segtitle>
-
-      <seglistitem>
-        <seg>&mpfr-ch5-sbu;</seg>
-        <seg>&mpfr-ch5-du;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of MPFR</title>
-
-    <para>Prepare MPFR for compilation:</para>
-
-<screen><userinput remap="configure">./configure --prefix=/tools --enable-thread-safe</userinput></screen>
-
-    <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
-    <para>To test the results, issue:</para>
-
-<screen><userinput remap="test">make check</userinput></screen>
-
-    <para>Install the package:</para>
-
-<screen><userinput remap="install">make install</userinput></screen>
-
-  </sect2>
-
-  <sect2 role="content">
-    <title/>
-
-    <para>Details on this package are located in
-    <xref linkend="contents-mpfr" role="."/></para>
-
-  </sect2>
-
-</sect1>

+ 1 - 1
chapter05/tcl.xml

@@ -74,7 +74,7 @@
     Universal Time (UTC), but only
     for the duration of the test suite run. This ensures that the clock tests
     are exercised correctly. Details on the <envar>TZ</envar> environment
-    variable are provided in <xref linkend="chapter-bootscripts"/>.</para>
+    variable are provided in <xref linkend="chapter-config"/>.</para>
 
     <para>Install the package:</para>
 

+ 21 - 1
chapter06/binutils.xml

@@ -92,7 +92,7 @@ cd       build</userinput></screen>
       <varlistentry>
         <term><parameter>--enable-ld=default</parameter></term>
         <listitem>
-          <para>Build the original bdf linker and install it as both ld (the
+          <para>Build the original bfd linker and install it as both ld (the
           default linker) and ld.bfd.</para>
         </listitem>
       </varlistentry>
@@ -394,6 +394,26 @@ cd       build</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry id="libctf">
+        <term><filename class="libraryfile">libctf</filename></term>
+        <listitem>
+          <para>The Compat ANSI-C Type Format debugging support library</para>
+          <indexterm zone="ch-system-binutils libctf">
+            <primary sortas="c-libctf">libctf</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libctf-nobfd">
+        <term><filename class="libraryfile">libctf-nobfd</filename></term>
+        <listitem>
+          <para>A libctf variant which does not use libbfd functionality</para>
+          <indexterm zone="ch-system-binutils libctf-nobfd">
+            <primary sortas="c-libctf-nobfd">libctf-nobfd</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="libopcodes">
         <term><filename class="libraryfile">libopcodes</filename></term>
         <listitem>

+ 1 - 0
chapter06/chapter06.xml

@@ -78,6 +78,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grub.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="less.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gzip.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zstd.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iproute2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kbd.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpipeline.xml"/>

+ 4 - 4
chapter06/check.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-tools-check" role="wrap">
+<sect1 id="ch-system-check" role="wrap">
   <?dbhtml filename="check.html"?>
 
   <sect1info condition="script">
@@ -16,7 +16,7 @@
 
   <title>Check-&check-version;</title>
 
-  <indexterm zone="ch-tools-check">
+  <indexterm zone="ch-system-check">
     <primary sortas="a-Check">Check</primary>
   </indexterm>
 
@@ -87,7 +87,7 @@ sed -i '1 s/tools/usr/' /usr/bin/checkmk</userinput></screen>
         <listitem>
           <para>Awk script for generating C unit tests for use with the Check
           unit testing framework</para>
-          <indexterm zone="ch-tools-check checkmk">
+          <indexterm zone="ch-system-check checkmk">
             <primary sortas="b-checmk">checkmk</primary>
           </indexterm>
         </listitem>
@@ -98,7 +98,7 @@ sed -i '1 s/tools/usr/' /usr/bin/checkmk</userinput></screen>
         <listitem>
           <para>Contains functions that allow Check to be called from a test
           program</para>
-          <indexterm zone="ch-tools-check libcheck">
+          <indexterm zone="ch-system-check libcheck">
             <primary sortas="c-libcheck">libcheck</primary>
           </indexterm>
         </listitem>

+ 0 - 301
chapter06/db.xml

@@ -1,301 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-db" role="wrap">
-  <?dbhtml filename="db.html"?>
-
-  <sect1info condition="script">
-    <productname>db</productname>
-    <productnumber>&db-version;</productnumber>
-    <address>&db-url;</address>
-  </sect1info>
-
-  <title>Berkeley DB-&db-version;</title>
-
-  <indexterm zone="ch-system-db">
-    <primary sortas="a-Berkeley-DB">Berkeley DB</primary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title/>
-
-    <para>The Berkeley DB package contains programs and utilities used by many
-    other applications for database related functions.</para>
-
-    <segmentedlist>
-      <segtitle>&buildtime;</segtitle>
-      <segtitle>&diskspace;</segtitle>
-
-      <seglistitem>
-        <seg>&db-ch6-sbu;</seg>
-        <seg>&db-ch6-du;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-    <tip>
-      <title>Other Installation Possibilities</title>
-
-      <para>There are instructions to build this package in the BLFS book if you
-      need to build the RPC server or additional language bindings. The
-      additional language bindings will require additional packages to be
-      installed. See <ulink url="&blfs-book;server/databases.html#db"/>
-      for suggested installation instructions.</para>
-
-      <para>Also, GDBM <emphasis>could</emphasis> be used in place of Berkeley
-      DB to satisfy Man-DB. However, since Berkeley DB is considered a core part
-      of the LFS build, it will not be listed as a dependency for any package in
-      the BLFS book. Likewise, many hours go into testing LFS with Berkeley DB
-      installed, not with GDBM. If you fully understand the risks versus
-      benefits of using GDBM and wish to use it anyway, see the BLFS
-      instructions located at <ulink
-      url="&blfs-book;general/gdbm.html"/></para>
-
-    </tip>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of Berkeley DB</title>
-
-    <para>Apply an upstream patch so that replication clients can open a
-    sequence:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&db-fixes-patch;</userinput></screen>
-
-    <para>Prepare Berkeley DB for compilation:</para>
-
-<screen><userinput remap="configure">cd build_unix
-../dist/configure --prefix=/usr --enable-compat185 --enable-cxx</userinput></screen>
-
-    <variablelist>
-      <title>The meaning of the configure options:</title>
-
-      <varlistentry>
-        <term><parameter>--enable-compat185</parameter></term>
-        <listitem>
-          <para>This option enables building Berkeley DB 1.85 compatibility
-          API.</para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term><parameter>--enable-cxx</parameter></term>
-        <listitem>
-          <para>This option enables building C++ API libraries.</para>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-    <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
-    <para>It is not possible to test the package meaningfully, because
-    that would involve building Tcl bindings. Tcl bindings cannot be
-    built properly now because Tcl is linked against Glibc in
-    <filename class="directory">/tools</filename>, not against Glibc in
-    <filename class="directory">/usr</filename>.</para>
-
-    <para>Install the package:</para>
-
-<screen><userinput remap="install">make docdir=/usr/share/doc/db-&db-version; install</userinput></screen>
-
-    <variablelist>
-      <title>The meaning of the make parameter:</title>
-
-      <varlistentry>
-        <term><parameter>docdir=...</parameter></term>
-        <listitem>
-          <para>This variable specifies the correct place for the
-          documentation.</para>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-    <para>Fix the ownership of the installed documentation:</para>
-
-<screen><userinput remap="install">chown -Rv root:root /usr/share/doc/db-&db-version;</userinput></screen>
-
-  </sect2>
-
-  <sect2 id="contents-db" role="content">
-    <title>Contents of Berkeley DB</title>
-
-    <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed libraries</segtitle>
-
-      <seglistitem>
-        <seg>db_archive, db_checkpoint, db_codegen, db_deadlock, db_dump,
-        db_hotbackup, db_load, db_printlog, db_recover, db_stat, db_upgrade, and
-        db_verify</seg>
-        <seg>libdb.{a,so}and libdb_cxx.{a,so}</seg>
-      </seglistitem>
-    </segmentedlist>
-
-    <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
-      <?dbfo list-presentation="list"?>
-      <?dbhtml list-presentation="table"?>
-
-      <varlistentry id="db_archive">
-        <term><command>db_archive</command></term>
-        <listitem>
-          <para>Prints the pathnames of log files that are no longer in use</para>
-          <indexterm zone="ch-system-db db_archive">
-            <primary sortas="b-db_archive">db_archive</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_checkpoint">
-        <term><command>db_checkpoint</command></term>
-        <listitem>
-          <para>A daemon used to monitor and checkpoint database logs</para>
-          <indexterm zone="ch-system-db db_checkpoint">
-            <primary sortas="b-db_checkpoint">db_checkpoint</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_codegen">
-        <term><command>db_codegen</command></term>
-        <listitem>
-          <para>Generates application code to create and configure Berkeley DB
-          database environments and databases based on a simple description
-          language, and writes it to one or more output files</para>
-          <indexterm zone="ch-system-db db_codegen">
-            <primary sortas="b-db_codegen">db_codegen</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_deadlock">
-        <term><command>db_deadlock</command></term>
-        <listitem>
-          <para>A daemon used to abort lock requests when deadlocks are
-          detected</para>
-          <indexterm zone="ch-system-db db_deadlock">
-            <primary sortas="b-db_deadlock">db_deadlock</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_dump">
-        <term><command>db_dump</command></term>
-        <listitem>
-          <para>Converts database files to a plain-text file format readable
-          by <command>db_load</command></para>
-          <indexterm zone="ch-system-db db_dump">
-            <primary sortas="b-db_dump">db_dump</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_hotbackup">
-        <term><command>db_hotbackup</command></term>
-        <listitem>
-          <para>Creates <quote>hot backup</quote> or <quote>hot failover</quote>
-          snapshots of Berkeley DB databases</para>
-          <indexterm zone="ch-system-db db_hotbackup">
-            <primary sortas="b-db_hotbackup">db_hotbackup</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_load">
-        <term><command>db_load</command></term>
-        <listitem>
-          <para>Is used to create database files from plain-text files</para>
-          <indexterm zone="ch-system-db db_load">
-            <primary sortas="b-db_load">db_load</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_printlog">
-        <term><command>db_printlog</command></term>
-        <listitem>
-          <para>Converts database log files to human readable text</para>
-          <indexterm zone="ch-system-db db_printlog">
-            <primary sortas="b-db_printlog">db_printlog</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_recover">
-        <term><command>db_recover</command></term>
-        <listitem>
-          <para>Is used to restore a database to a consistent state after a
-          failure</para>
-          <indexterm zone="ch-system-db db_recover">
-            <primary sortas="b-db_recover">db_recover</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_stat">
-        <term><command>db_stat</command></term>
-        <listitem>
-          <para>Displays statistics for Berkeley databases</para>
-          <indexterm zone="ch-system-db db_stat">
-            <primary sortas="b-db_stat">db_stat</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_upgrade">
-        <term><command>db_upgrade</command></term>
-        <listitem>
-          <para>Is used to upgrade database files to a newer version of
-          Berkeley DB</para>
-          <indexterm zone="ch-system-db db_upgrade">
-            <primary sortas="b-db_upgrade">db_upgrade</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="db_verify">
-        <term><command>db_verify</command></term>
-        <listitem>
-          <para>Is used to run consistency checks on database files</para>
-          <indexterm zone="ch-system-db db_verify">
-            <primary sortas="b-db_verify">db_verify</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-
-      <varlistentry id="libdb">
-        <term><filename class="libraryfile">libdb.{a,so}</filename></term>
-        <listitem>
-          <para>Contains functions to manipulate database files from C
-          programs</para>
-          <indexterm zone="ch-system-db libdb">
-            <primary sortas="c-libdb">libdb</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="libdb_cxx">
-        <term><filename class="libraryfile">libdb_cxx.{a,so}</filename></term>
-        <listitem>
-          <para>Contains functions to manipulate database files from C++
-          programs</para>
-          <indexterm zone="ch-system-db libdb_cxx">
-            <primary sortas="c-libdb_cxx">libdb_cxx</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-  </sect2>
-
-</sect1>

+ 3 - 6
chapter06/e2fsprogs.xml

@@ -132,17 +132,14 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
     <para>One of the E2fsprogs tests will attempt to allocate 256 MB of memory.
     If you do not have significantly more RAM than this, be sure to enable
     sufficient swap space for the test. See <xref
-    linkend="space-creatingfilesystem"/> and <xref linkend="space-mounting"/>
+    linkend="ch-partitioning-creatingfilesystem"/> and <xref
+    linkend="ch-partitioning-mounting"/>
     for details on creating and enabling swap space.</para>
 
-    <para>Install the binaries, documentation, and shared libraries:</para>
+    <para>Install the package:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>
 
-    <para>Install the static libraries and headers:</para>
-
-<screen><userinput remap="install">make install-libs</userinput></screen>
-
     <para>Make the installed static libraries writable so debugging symbols can
     be removed later:</para>
 

+ 3 - 3
chapter06/findutils.xml

@@ -69,13 +69,13 @@
 
 <screen><userinput remap="test">make check</userinput></screen>
 
+    <para>Two tests are known to fail in the chroot environment:
+    sv-bug-54171.old-O3 and sv-bug-54171.new-O3.</para>
+
     <para>Install the package:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>
 
-    <para>Two tests are known to fail in the chroot environment: 
-    sv-bug-54171.old-O3 and sv-bug-54171.new-O3.</para>
-
     <para revision="sysv">Some of the scripts in the LFS-Bootscripts package
     depend on <command>find</command>.  As <filename
     class="directory">/usr</filename> may not be available during the early

+ 7 - 0
chapter06/gcc.xml

@@ -69,6 +69,13 @@ esac</userinput></screen>
 <screen><userinput remap="pre">sed -e "/#include &lt;isl\/schedule_node.h&gt;/ a#include &lt;isl/id.h&gt;\n#include &lt;isl/space.h&gt;" \
     -i gcc/graphite.h</userinput></screen>
 
+   <para>
+      As in gcc-pass2, fix a problem introduced by Glibc-2.31:
+    </para>
+
+<screen><userinput remap="pre">sed -e '1161 s|^|//|' \
+    -i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc</userinput></screen>
+
     <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
 
 <screen><userinput remap="pre">mkdir -v build

+ 1 - 1
chapter06/glibc.xml

@@ -50,7 +50,7 @@
     Glibc autoconf tests would give false results and defeat the goal
     of achieving a clean build.</para></note>
 
-    <para>Some of the Glibc programs use the non-FHS compilant
+    <para>Some of the Glibc programs use the non-FHS compliant
     <filename class="directory">/var/db</filename> directory to store
     their runtime data. Apply the following patch to make such programs
     store their runtime data in the FHS-compliant locations:</para>

+ 1 - 1
chapter06/grep.xml

@@ -50,7 +50,7 @@
 
     <para>To test the results, issue:</para>
 
-<screen><userinput remap="test">make -k check</userinput></screen>
+<screen><userinput remap="test">make check</userinput></screen>
 
     <para>Install the package:</para>
 

+ 2 - 2
chapter06/libcap.xml

@@ -43,9 +43,9 @@
   <sect2 role="installation">
     <title>Installation of Libcap</title>
 
-    <para>Prevent a static library from being installed:</para>
+    <para>Prevent two static libraries from being installed:</para>
 
-<screen><userinput remap="pre">sed -i '/install.*STACAPLIBNAME/d' libcap/Makefile</userinput></screen>
+<screen><userinput remap="pre">sed -i '/install.*STA...LIBNAME/d' libcap/Makefile</userinput></screen>
 
     <para>Compile the package:</para>
 

+ 1 - 1
chapter06/libpipeline.xml

@@ -55,7 +55,7 @@
         <term><parameter>PKG_CONFIG_PATH</parameter></term>
         <listitem>
           <para>Use pkg-config to obtain the location of the test
-          library metadata built in <xref linkend="ch-tools-check"/>.</para>
+          library metadata built in <xref linkend="ch-system-check"/>.</para>
         </listitem>
       </varlistentry>
 

+ 2 - 1
chapter06/make.xml

@@ -39,10 +39,11 @@
 
   <sect2 role="installation">
     <title>Installation of Make</title>
-
+<!--
     <para>Again, work around an error caused by glibc-2.27 and later:</para>
 
 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
+-->
     <para>Prepare Make for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>

+ 0 - 185
chapter06/module-init-tools.xml

@@ -1,185 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-module-init-tools" role="wrap">
-  <?dbhtml filename="module-init-tools.html"?>
-
-  <sect1info condition="script">
-    <productname>module-init-tools</productname>
-    <productnumber>&module-init-tools-version;</productnumber>
-    <address>&module-init-tools-url;</address>
-  </sect1info>
-
-  <title>Module-Init-Tools-&module-init-tools-version;</title>
-
-  <indexterm zone="ch-system-module-init-tools">
-    <primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title/>
-
-    <para>The Module-Init-Tools package contains programs for handling kernel
-    modules in Linux kernels greater than or equal to version 2.5.47.</para>
-
-    <segmentedlist>
-      <segtitle>&buildtime;</segtitle>
-      <segtitle>&diskspace;</segtitle>
-
-      <seglistitem>
-        <seg>&module-init-tools-ch6-sbu;</seg>
-        <seg>&module-init-tools-ch6-du;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of Module-Init-Tools</title>
-
-    <para>Apply a patch that contains the generated man pages that were missing
-    from the released source tarball:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&module-init-tools-man-patch;</userinput></screen>
-
-    <para>The test suite of this package is geared towards the needs of its
-    Maintainer. The command <command>make check</command> builds a specially
-    wrapped version of modprobe which is useless for normal operation. To run
-    this (about 0.2 SBU), issue the following commands (note that the
-    <command>make clean</command> command is required to clean up the source
-    tree before recompiling for normal use):</para>
-
-<screen><userinput remap="test">DOCBOOKTOMAN=/bin/true ./configure
-make check
-sed -i -e 's@../../configure@DOCBOOKTOMAN=/bin/true &amp;@' tests/runtests
-./tests/runtests
-make clean</userinput></screen>
-
-    <para>Prepare Module-Init-Tools for compilation:</para>
-
-<screen><userinput remap="configure">DOCBOOKTOMAN=/bin/true ./configure --prefix=/ \
-    --enable-zlib-dynamic --mandir=/usr/share/man</userinput></screen>
-
-    <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
-    <para>Install the package:</para>
-
-<screen><userinput remap="install">make INSTALL=install install</userinput></screen>
-
-    <variablelist>
-      <title>The meaning of the make parameter:</title>
-      <varlistentry>
-        <term><parameter>INSTALL=install</parameter></term>
-        <listitem>
-          <para>Normally, <command>make install</command> will not install the
-          binaries if they already exist. This option overrides that behavior by
-          calling <command>install</command> instead of using the default
-          wrapper script.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-
-  </sect2>
-
-  <sect2 id="contents-module-init-tools" role="content">
-    <title>Contents of Module-Init-Tools</title>
-
-    <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-
-      <seglistitem>
-        <seg>depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and rmmod</seg>
-      </seglistitem>
-    </segmentedlist>
-
-    <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
-      <?dbfo list-presentation="list"?>
-      <?dbhtml list-presentation="table"?>
-
-      <varlistentry id="depmod">
-        <term><command>depmod</command></term>
-        <listitem>
-          <para>Creates a dependency file based on the symbols it finds in the
-          existing set of modules; this dependency file is used by
-          <command>modprobe</command> to automatically load the required
-          modules</para>
-          <indexterm zone="ch-system-module-init-tools depmod">
-            <primary sortas="b-depmod">depmod</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="insmod">
-        <term><command>insmod</command></term>
-        <listitem>
-          <para>Installs a loadable module in the running kernel</para>
-          <indexterm zone="ch-system-module-init-tools insmod">
-            <primary sortas="b-insmod">insmod</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="insmod.static">
-        <term><command>insmod.static</command></term>
-        <listitem>
-          <para>A statically compiled version of <command>insmod</command></para>
-          <indexterm zone="ch-system-module-init-tools insmod.static">
-            <primary sortas="b-insmod.static">insmod.static</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="lsmod">
-        <term><command>lsmod</command></term>
-        <listitem>
-          <para>Lists currently loaded modules</para>
-          <indexterm zone="ch-system-module-init-tools lsmod">
-            <primary sortas="b-lsmod">lsmod</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="modinfo">
-        <term><command>modinfo</command></term>
-        <listitem>
-          <para>Examines an object file associated with a kernel module and
-          displays any information that it can glean</para>
-          <indexterm zone="ch-system-module-init-tools modinfo">
-            <primary sortas="b-modinfo">modinfo</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="modprobe">
-        <term><command>modprobe</command></term>
-        <listitem>
-          <para>Uses a dependency file, created by
-          <command>depmod</command>, to automatically load relevant modules</para>
-          <indexterm zone="ch-system-module-init-tools modprobe">
-            <primary sortas="b-modprobe">modprobe</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="rmmod">
-        <term><command>rmmod</command></term>
-        <listitem>
-          <para>Unloads modules from the running kernel</para>
-          <indexterm zone="ch-system-module-init-tools rmmod">
-            <primary sortas="b-rmmod">rmmod</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-  </sect2>
-
-</sect1>

+ 0 - 187
chapter06/pcre.xml

@@ -1,187 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-pcre" role="wrap">
-  <?dbhtml filename="pcre.html"?>
-
-  <sect1info condition="script">
-    <productname>pcre</productname>
-    <productnumber>&pcre-version;</productnumber>
-    <address>&pcre-url;</address>
-  </sect1info>
-
-  <title>PCRE-&pcre-version;</title>
-
-  <indexterm zone="ch-system-pcre">
-    <primary sortas="a-PCRE">PCRE</primary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title/>
-
-    <para>The PCRE package contains Perl Compatible Regular Expression
-    libraries. These are useful for implementing regular expression pattern
-    matching using the same syntax and semantics as Perl 5.</para>
-
-    <segmentedlist>
-      <segtitle>&buildtime;</segtitle>
-      <segtitle>&diskspace;</segtitle>
-
-      <seglistitem>
-        <seg>&pcre-ch6-sbu;</seg>
-        <seg>&pcre-ch6-du;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of PCRE</title>
-
-    <para>Prepare PCRE for compilation:</para>
-
-<screen><userinput remap="configure">./configure --prefix=/usr \
-            --docdir=/usr/share/doc/pcre-&pcre-version; \
-            --enable-utf8 \
-            --enable-unicode-properties \
-            --enable-pcregrep-libz \
-            --enable-pcregrep-libbz2</userinput></screen>
-
-    <variablelist>
-      <title>The meaning of the configure options:</title>
-
-      <varlistentry>
-        <term><parameter>--enable-utf8</parameter></term>
-        <listitem>
-          <para>This switch includes the code for handling UTF-8 character
-                strings in the library.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><parameter>--enable-unicode-properties</parameter></term>
-        <listitem>
-          <para>This switch enables Unicode properties support.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><parameter>--enable-pcregrep-lib*</parameter></term>
-        <listitem>
-          <para>These switches enable the PCRE library to read files compressed
-          with <command>gzip</command> and <command>bzip2</command>.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-
-    <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
-    <para>To test the results, issue:</para>
-
-<screen><userinput remap="test">make check</userinput></screen>
-
-    <para>Install the package:</para>
-
-<screen><userinput remap="install">make install</userinput></screen>
-
-    <para>The <command>grep</command> binary will be installed in <filename class="directory">/bin</filename> and will link against the PCRE library; as such,
-move the library to <filename class="directory">/lib</filename>:</para>
-
-<screen><userinput remap="install">mv -v /usr/lib/libpcre.so.* /lib/
-ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
-
-  </sect2>
-
-  <sect2 id="contents-pcre" role="content">
-    <title>Contents of PCRE</title>
-
-    <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed libraries</segtitle>
-      <segtitle>Installed directories</segtitle>
-
-      <seglistitem>
-        <seg>pcregrep, pcretest, and pcre-config</seg>
-        <seg>libpcre.{a,so}, libpcrecpp.{a,so} and libpcreposix.{a,so}</seg>
-        <seg>/usr/share/doc/pcre-&pcre-version;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-    <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
-      <?dbfo list-presentation="list"?>
-      <?dbhtml list-presentation="table"?>
-
-      <varlistentry id="pcregrep">
-        <term><command>pcregrep</command></term>
-        <listitem>
-          <para>A grep that understands Perl compatible regular
-          expressions.</para>
-          <indexterm zone="ch-system-pcre pcregrep">
-            <primary sortas="b-pcre">pcregrep</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="pcretest">
-        <term><command>pcretest</command></term>
-        <listitem>
-          <para>Tests a Perl compatible regular expression</para>
-          <indexterm zone="ch-system-pcre pcretest">
-            <primary sortas="b-pcretest">pcretest</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="pcre-config">
-        <term><command>pcre-config</command></term>
-        <listitem>
-          <para>Used during the compilation process of programs linking to the
-          PCRE libraries</para>
-          <indexterm zone="ch-system-pcre pcre-config">
-            <primary sortas="b-pcre-config">pcre-config</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="libpcre">
-        <term><filename class="libraryfile">libpcre</filename></term>
-        <listitem>
-          <para>Provides functions useful for working with regular
-          expressions</para>
-          <indexterm zone="ch-system-pcre libpcre">
-            <primary sortas="c-libpcre">libpcre</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="libpcrecpp">
-        <term><filename class="libraryfile">libpcrecpp</filename></term>
-        <listitem>
-          <para>Provides C++ wrapper functions for the libpcre library</para>
-          <indexterm zone="ch-system-pcre libpcrecpp">
-            <primary sortas="c-libpcrecpp">libpcrecpp</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="libpcreposix">
-        <term><filename class="libraryfile">libpcreposix</filename></term>
-        <listitem>
-          <para>Provides wrapper functions based on the POSIX regular expression
-          API</para>
-          <indexterm zone="ch-system-pcre libpcreposix">
-            <primary sortas="c-libpcreposix">libpcreposix</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-  </sect2>
-
-</sect1>

+ 3 - 3
chapter06/perl.xml

@@ -126,10 +126,10 @@ export BUILD_BZIP2=0</userinput></screen>
 
     <para>To test the results (approximately 11 SBU), issue:</para>
 
-<screen><userinput remap="test">make -k test</userinput></screen>
+<screen><userinput remap="test">make test</userinput></screen>
 
-    <note><para>One test fails due to using the most recent version of gdbm.
-    </para></note>
+    <!--note><para>One test fails due to using the most recent version of gdbm.
+    </para></note-->
 
     <para>Install the package and clean up:</para>
 

+ 0 - 94
chapter06/popt.xml

@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-system-popt" role="wrap">
-  <?dbhtml filename="popt.html"?>
-
-  <sect1info condition="script">
-    <productname>popt</productname>
-    <productnumber>&popt-version;</productnumber>
-    <address>&popt-url;</address>
-  </sect1info>
-
-  <title>Popt-&popt-version;</title>
-
-  <indexterm zone="ch-system-popt">
-    <primary sortas="a-popt">popt</primary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title/>
-
-    <para>The Popt package contains a library used by some programs
-    to parse command-line options.</para>
-
-    <segmentedlist>
-      <segtitle>&buildtime;</segtitle>
-      <segtitle>&diskspace;</segtitle>
-
-      <seglistitem>
-        <seg>&popt-ch6-sbu;</seg>
-        <seg>&popt-ch6-du;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of Popt</title>
-
-    <para>Prepare Popt4 for compilation:</para>
-
-<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
-
-    <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
-    <para>To test the results, issue:</para>
-
-<screen><userinput remap="test">make check</userinput></screen>
-
-    <para>Install the package:</para>
-
-<screen><userinput remap="install">make install</userinput></screen>
-
-  </sect2>
-
-
-  <sect2 id="contents-popt" role="content">
-    <title>Contents of Popt</title>
-
-    <segmentedlist>
-      <segtitle>Installed libraries:</segtitle>
-
-      <seglistitem>
-        <seg>libpopt.{a,so}</seg>
-      </seglistitem>
-    </segmentedlist>
-
-    <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
-      <?dbfo list-presentation="list"?>
-      <?dbhtml list-presentation="table"?>
-
-      <varlistentry id="libpopt">
-         <!-- Don't remove the extra space, it prevet a FOP warning. -->
-        <term><filename class="libraryfile">libpopt</filename></term>
-        <listitem>
-          <para>is used to parse command-line options</para>
-          <indexterm zone="ch-system-popt libpopt">
-            <primary sortas="b-libpopt">libpopt</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-  </sect2>
-
-</sect1>

+ 8 - 5
chapter06/python.xml

@@ -83,8 +83,11 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>The test suite requires TK and X Windows session and cannot
-    be run until Python 3 is reinstalled in BLFS.</para>
+    <para>To test the results, issue <command>make test</command>.
+    Some tests requiring network connection or additional packages are
+    skipped.  The test named test_normalization fails because network
+    configuration is not completed yet.  For more comprehensive results,
+    the test can be rerun when Python 3 is reinstalled in BLFS.</para>
 
     <para>Install the package:</para>
 
@@ -143,7 +146,7 @@ tar --strip-components=1  \
 
       <seglistitem>
         <seg>
-          2to3, idle3, pip3, pydoc3, python3, python3-config, and pyvenv
+          2to3, idle3, pip3, pydoc3, python3, and python3-config
         </seg>
         <seg>
           libpython&python-minor;.so and libpython3.so
@@ -228,7 +231,7 @@ tar --strip-components=1  \
           </indexterm>
         </listitem>
       </varlistentry>
-
+<!--
       <varlistentry id="pyvenv">
         <term><command>pyvenv</command></term>
         <listitem>
@@ -241,7 +244,7 @@ tar --strip-components=1  \
           </indexterm>
         </listitem>
       </varlistentry>
-
+-->
     </variablelist>
 
   </sect2>

+ 5 - 4
chapter06/systemd.xml

@@ -216,22 +216,23 @@ meson --prefix=/usr                \
  
 <screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
 
+    <!--
     <para>Prevent systemd from resetting the maximum PID value which causes
     some problems with packages and units in BLFS:</para>
-    <!-- FCRON in particular -->
+     FCRON in particular
 
 <screen><userinput remap="adjust">rm -f /etc/sysctl.d/50-pid-max.conf</userinput></screen>
-
+    -->
     <para>Cleanup symbolic links to Util-Linux libraries:</para>
 
 <screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>
-
+    <!--
     <para>Prevent systemd from creating <filename>/run/nologin</filename>
     to allow unprivileged user logins without
     <application>systemd-logind</application>:</para>
 
 <screen><userinput remap="adjust">rm -f /usr/lib/tmpfiles.d/systemd-nologin.conf</userinput></screen>
-
+    -->
   </sect2>
 
 <!-- ====== 32-bit ===== -->

+ 136 - 0
chapter06/zstd.xml

@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-zstd" role="wrap">
+  <?dbhtml filename="zstd.html"?>
+
+  <sect1info condition="script">
+    <productname>zstd</productname>
+    <productnumber>&zstd-version;</productnumber>
+    <address>&zstd-url;</address>
+  </sect1info>
+
+  <title>Zstd-&zstd-version;</title>
+
+  <indexterm zone="ch-system-zstd">
+    <primary sortas="a-zstd">zstd</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+    <para>Zstandard is a real-time compression algorithm, providing high
+    compression ratios. It offers a very wide range of compression / speed
+    trade-offs, while being backed by a very fast decoder.</para>
+
+    <segmentedlist>
+      <segtitle>&buildtime;</segtitle>
+      <segtitle>&diskspace;</segtitle>
+
+      <seglistitem>
+        <seg>&zstd-ch6-sbu;</seg>
+        <seg>&zstd-ch6-du;</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Zstd</title>
+
+    <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+    <para>This package does not come with a test suite.</para>
+
+    <para>Install the package:</para>
+
+<screen><userinput remap="install">make prefix=/usr install</userinput></screen>
+
+    <para>Remove the static library and move the shared library to
+    <filename class="directory">/lib</filename>. Also, the
+    <filename class="extension">.so</filename> file in
+    <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
+
+<screen><userinput remap="install">rm -v /usr/lib/libzstd.a
+mv -v /usr/lib/libzstd.so.* /lib
+ln -sfv ../../lib/$(readlink /usr/lib/libzstd.so) /usr/lib/libzstd.so</userinput></screen>
+
+  </sect2>
+
+  <sect2 id="contents-zstd" role="content">
+    <title>Contents of Zstd</title>
+
+    <segmentedlist>
+      <segtitle>Installed programs</segtitle>
+      <segtitle>Installed library</segtitle>
+
+      <seglistitem>
+        <seg>zstd, 
+             zstdcat (link to zstd), 
+             zstdgrep, 
+             zstdless, 
+             zstdmt (link to zstd), and
+             unzstd (link to zstd)
+        </seg>
+
+        <seg>libzstd.so</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="zstd">
+        <term><command>zstd</command></term>
+        <listitem>
+          <para>Compresses or decompresses files using the ZSTD format</para>
+          <indexterm zone="ch-system-zstd zstd">
+            <primary sortas="b-zstd">zstd</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="zstdgrep">
+        <term><command>zstdgrep</command></term>
+        <listitem>
+          <para>Runs <command>grep</command> on ZSTD compressed files</para>
+          <indexterm zone="ch-system-zstd zstdgrep">
+            <primary sortas="b-zstdgrep">zstdgrep</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="zstdless">
+        <term><command>zstdless</command></term>
+        <listitem>
+          <para>Runs <command>less</command> on ZSTD compressed files</para>
+          <indexterm zone="ch-system-zstd zstdless">
+            <primary sortas="b-zstdless">zstdless</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libzstd">
+        <term><filename class="libraryfile">libzstd</filename></term>
+        <listitem>
+          <para>The library implementing lossless data
+          compression, using the ZSTD algorithm</para>
+          <indexterm zone="ch-system-zstd libzstd">
+            <primary sortas="c-libzstd">libzstd</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

+ 25 - 25
chapter07/bootscripts.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-bootscripts" role="wrap" revision="sysv">
+<sect1 id="ch-config-bootscripts" role="wrap" revision="sysv">
   <?dbhtml filename="bootscripts.html"?>
 
   <sect1info condition="script">
@@ -16,7 +16,7 @@
 
   <title>LFS-Bootscripts-&lfs-bootscripts-version;</title>
 
-  <indexterm zone="ch-scripts-bootscripts">
+  <indexterm zone="ch-config-bootscripts">
     <primary sortas="a-Bootscripts">Bootscripts</primary>
   </indexterm>
 
@@ -75,7 +75,7 @@
         <listitem>
           <para>Checks the integrity of the file systems before they are mounted
           (with the exception of journal and network based file systems)</para>
-          <indexterm zone="ch-scripts-bootscripts checkfs-bootscripts">
+          <indexterm zone="ch-config-bootscripts checkfs-bootscripts">
             <primary sortas="d-checkfs">checkfs</primary>
           </indexterm>
         </listitem>
@@ -90,7 +90,7 @@
           <filename>/var/run/utmp</filename> and removes the possibly present
           <filename>/etc/nologin</filename>, <filename>/fastboot</filename>, and
           <filename>/forcefsck</filename> files</para>
-          <indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts">
+          <indexterm zone="ch-config-bootscripts cleanfs-bootscripts">
             <primary sortas="d-cleanfs">cleanfs</primary>
           </indexterm>
         </listitem>
@@ -101,7 +101,7 @@
         <listitem>
           <para>Loads the correct keymap table for the desired keyboard layout;
           it also sets the screen font</para>
-          <indexterm zone="ch-scripts-bootscripts console-bootscripts">
+          <indexterm zone="ch-config-bootscripts console-bootscripts">
             <primary sortas="d-console">console</primary>
           </indexterm>
         </listitem>
@@ -112,7 +112,7 @@
         <listitem>
           <para>Contains common functions, such as error and status checking,
           that are used by several bootscripts</para>
-          <indexterm zone="ch-scripts-bootscripts functions-bootscripts">
+          <indexterm zone="ch-config-bootscripts functions-bootscripts">
             <primary sortas="d-functions">functions</primary>
           </indexterm>
         </listitem>
@@ -122,7 +122,7 @@
         <term><command>halt</command></term>
         <listitem>
           <para>Halts the system</para>
-          <indexterm zone="ch-scripts-bootscripts halt-bootscripts">
+          <indexterm zone="ch-config-bootscripts halt-bootscripts">
             <primary sortas="d-halt">halt</primary>
           </indexterm>
         </listitem>
@@ -132,7 +132,7 @@
         <term><command>ifdown</command></term>
         <listitem>
           <para>Stops a network device</para>
-          <indexterm zone="ch-scripts-bootscripts ifdown-bootscripts">
+          <indexterm zone="ch-config-bootscripts ifdown-bootscripts">
             <primary sortas="d-ifdown">ifdown</primary>
           </indexterm>
         </listitem>
@@ -142,7 +142,7 @@
         <term><command>ifup</command></term>
         <listitem>
           <para>Initializes a network device</para>
-          <indexterm zone="ch-scripts-bootscripts ifup-bootscripts">
+          <indexterm zone="ch-config-bootscripts ifup-bootscripts">
             <primary sortas="d-ifup">ifup</primary>
           </indexterm>
         </listitem>
@@ -152,7 +152,7 @@
         <term><command>localnet</command></term>
         <listitem>
           <para>Sets up the system's hostname and local loopback device</para>
-          <indexterm zone="ch-scripts-bootscripts localnet-bootscripts">
+          <indexterm zone="ch-config-bootscripts localnet-bootscripts">
             <primary sortas="d-localnet">localnet</primary>
           </indexterm>
         </listitem>
@@ -164,7 +164,7 @@
           <para>Loads kernel modules listed in
           <filename>/etc/sysconfig/modules</filename>, using arguments
           that are also given there</para>
-          <indexterm zone="ch-scripts-bootscripts modules-bootscripts">
+          <indexterm zone="ch-config-bootscripts modules-bootscripts">
             <primary sortas="d-modules">modules</primary>
           </indexterm>
         </listitem>
@@ -175,7 +175,7 @@
         <listitem>
           <para>Mounts all file systems, except ones that are marked
           <emphasis>noauto</emphasis> or are network based</para>
-          <indexterm zone="ch-scripts-bootscripts mountfs-bootscripts">
+          <indexterm zone="ch-config-bootscripts mountfs-bootscripts">
             <primary sortas="d-mountfs">mountfs</primary>
           </indexterm>
         </listitem>
@@ -186,7 +186,7 @@
         <listitem>
           <para>Mounts virtual kernel file systems, such as <systemitem
           class="filesystem">proc</systemitem></para>
-          <indexterm zone="ch-scripts-bootscripts mountvirtfs-bootscripts">
+          <indexterm zone="ch-config-bootscripts mountvirtfs-bootscripts">
             <primary sortas="d-mountvirtfs">mountvirtfs</primary>
           </indexterm>
         </listitem>
@@ -197,7 +197,7 @@
         <listitem>
           <para>Sets up network interfaces, such as network cards, and sets up
           the default gateway (where applicable)</para>
-          <indexterm zone="ch-scripts-bootscripts network-bootscripts">
+          <indexterm zone="ch-config-bootscripts network-bootscripts">
             <primary sortas="d-network">network</primary>
           </indexterm>
         </listitem>
@@ -209,7 +209,7 @@
           <para>The master run-level control script; it is responsible for
           running all the other bootscripts one-by-one, in a sequence determined
           by the name of the symbolic links being processed</para>
-          <indexterm zone="ch-scripts-bootscripts rc-bootscripts">
+          <indexterm zone="ch-config-bootscripts rc-bootscripts">
             <primary sortas="d-rc">rc</primary>
           </indexterm>
         </listitem>
@@ -219,7 +219,7 @@
         <term><command>reboot</command></term>
         <listitem>
           <para>Reboots the system</para>
-          <indexterm zone="ch-scripts-bootscripts reboot-bootscripts">
+          <indexterm zone="ch-config-bootscripts reboot-bootscripts">
             <primary sortas="d-reboot">reboot</primary>
           </indexterm>
         </listitem>
@@ -230,7 +230,7 @@
         <listitem>
           <para>Makes sure every process is terminated before the system reboots
           or halts</para>
-          <indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts">
+          <indexterm zone="ch-config-bootscripts sendsignals-bootscripts">
             <primary sortas="d-sendsignals">sendsignals</primary>
           </indexterm>
         </listitem>
@@ -241,7 +241,7 @@
         <listitem>
           <para>Resets the kernel clock to local time in case the hardware clock
           is not set to UTC time</para>
-          <indexterm zone="ch-scripts-bootscripts setclock-bootscripts">
+          <indexterm zone="ch-config-bootscripts setclock-bootscripts">
             <primary sortas="d-setclock">setclock</primary>
           </indexterm>
         </listitem>
@@ -252,7 +252,7 @@
         <listitem>
           <para>Provides the functionality needed to assign a static Internet
           Protocol (IP) address to a network interface</para>
-          <indexterm zone="ch-scripts-bootscripts ipv4-static-bootscripts">
+          <indexterm zone="ch-config-bootscripts ipv4-static-bootscripts">
             <primary sortas="d-ipv4-static">ipv4-static</primary>
           </indexterm>
         </listitem>
@@ -262,7 +262,7 @@
         <term><command>swap</command></term>
         <listitem>
           <para>Enables and disables swap files and partitions</para>
-          <indexterm zone="ch-scripts-bootscripts swap-bootscripts">
+          <indexterm zone="ch-config-bootscripts swap-bootscripts">
             <primary sortas="d-swap">swap</primary>
           </indexterm>
         </listitem>
@@ -274,7 +274,7 @@
           <para>Loads system configuration values from
           <filename>/etc/sysctl.conf</filename>, if that file exists,
           into the running kernel</para>
-          <indexterm zone="ch-scripts-bootscripts sysctl-bootscripts">
+          <indexterm zone="ch-config-bootscripts sysctl-bootscripts">
             <primary sortas="d-sysctl">sysctl</primary>
           </indexterm>
         </listitem>
@@ -284,7 +284,7 @@
         <term><command>sysklogd</command></term>
         <listitem>
           <para>Starts and stops the system and kernel log daemons</para>
-          <indexterm zone="ch-scripts-bootscripts sysklogd-bootscripts">
+          <indexterm zone="ch-config-bootscripts sysklogd-bootscripts">
             <primary sortas="d-sysklogd">sysklogd</primary>
           </indexterm>
         </listitem>
@@ -295,7 +295,7 @@
         <listitem>
           <para>A template to create custom bootscripts for other
           daemons</para>
-          <indexterm zone="ch-scripts-bootscripts template-bootscripts">
+          <indexterm zone="ch-config-bootscripts template-bootscripts">
             <primary sortas="d-template">template</primary>
           </indexterm>
         </listitem>
@@ -306,7 +306,7 @@
         <listitem>
           <para>Prepares the <filename class="directory">/dev</filename>
           directory and starts Udev</para>
-          <indexterm zone="ch-scripts-bootscripts udev-bootscripts">
+          <indexterm zone="ch-config-bootscripts udev-bootscripts">
             <primary sortas="d-udev">udev</primary>
           </indexterm>
         </listitem>
@@ -318,7 +318,7 @@
           <para>Retries failed udev uevents, and copies generated rules
           files from <filename class="directory">/run/udev</filename> to
           <filename class="directory">/etc/udev/rules.d</filename> if required</para>
-          <indexterm zone="ch-scripts-bootscripts udev-retry-bootscripts">
+          <indexterm zone="ch-config-bootscripts udev-retry-bootscripts">
             <primary sortas="d-udev-retry">udev_retry</primary>
           </indexterm>
         </listitem>

+ 1 - 1
chapter07/chapter07.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<chapter id="chapter-bootscripts" xreflabel="Chapter&nbsp;7">
+<chapter id="chapter-config" xreflabel="Chapter&nbsp;7">
   <?dbhtml dir="chapter07"?>
   <?dbhtml filename="chapter07.html"?>
 

+ 2 - 2
chapter07/clock.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-clock" revision="systemd">
+<sect1 id="ch-config-clock" revision="systemd">
   <?dbhtml filename="clock.html"?>
 
   <title>Configuring the system clock</title>
 
-  <indexterm zone="ch-scripts-clock">
+  <indexterm zone="ch-config-clock">
     <primary sortas="d-clock">clock</primary>
   <secondary>configuring</secondary></indexterm>
 

+ 2 - 2
chapter07/consoled.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-console" revision="systemd">
+<sect1 id="ch-config-console" revision="systemd">
   <?dbhtml filename="console.html"?>
 
   <title>Configuring the Linux Console</title>
 
-  <indexterm zone="ch-scripts-console">
+  <indexterm zone="ch-config-console">
     <primary sortas="d-console">console</primary>
     <secondary>configuring</secondary>
   </indexterm>

+ 2 - 2
chapter07/inputrc.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-inputrc">
+<sect1 id="ch-config-inputrc">
   <?dbhtml filename="inputrc.html"?>
 
   <title>Creating the /etc/inputrc File</title>
 
-  <indexterm zone="ch-scripts-inputrc">
+  <indexterm zone="ch-config-inputrc">
     <primary sortas="e-/etc/inputrc">/etc/inputrc</primary>
   </indexterm>
 

+ 1 - 1
chapter07/introduction.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-introduction" revision="sysv">
+<sect1 id="ch-config-introduction" revision="sysv">
   <?dbhtml filename="introduction.html"?>
 
   <title>Introduction</title>

+ 11 - 11
chapter07/introductiond.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-introduction" revision="systemd">
+<sect1 id="ch-config-introduction" revision="systemd">
   <?dbhtml filename="introduction.html"?>
 
   <title>Introduction</title>
@@ -16,13 +16,13 @@
 
   <itemizedlist>
      <listitem>
-       <para><xref linkend="ch-scripts-network" role="."/></para>
+       <para><xref linkend="ch-config-network" role="."/></para>
      </listitem>
      <listitem>
-       <para><xref linkend="ch-scripts-hostname" role="."/></para>
+       <para><xref linkend="ch-config-hostname" role="."/></para>
      </listitem>
      <listitem>
-       <para><xref linkend="ch-scripts-hosts" role="."/></para>
+       <para><xref linkend="ch-config-hosts" role="."/></para>
      </listitem>
   </itemizedlist>
 
@@ -31,10 +31,10 @@
 
   <itemizedlist>
      <listitem>
-       <para><xref linkend="ch-scripts-udev" role="."/></para>
+       <para><xref linkend="ch-config-udev" role="."/></para>
      </listitem>
      <listitem>
-       <para><xref linkend="ch-scripts-symlinks" role="."/></para>
+       <para><xref linkend="ch-config-symlinks" role="."/></para>
      </listitem>
   </itemizedlist>
 
@@ -42,10 +42,10 @@
 
   <itemizedlist>
      <listitem>
-       <para><xref linkend="ch-scripts-clock" role="."/></para>
+       <para><xref linkend="ch-config-clock" role="."/></para>
      </listitem>
      <listitem>
-       <para><xref linkend="ch-scripts-console" role="."/></para>
+       <para><xref linkend="ch-config-console" role="."/></para>
      </listitem>
   </itemizedlist>
 
@@ -55,10 +55,10 @@
 
   <itemizedlist>
      <listitem>
-       <para><xref linkend="ch-scripts-locale" role="."/></para>
+       <para><xref linkend="ch-config-locale" role="."/></para>
      </listitem>
      <listitem>
-       <para><xref linkend="ch-scripts-inputrc" role="."/></para>
+       <para><xref linkend="ch-config-inputrc" role="."/></para>
      </listitem>
   </itemizedlist>
 
@@ -66,7 +66,7 @@
 
   <itemizedlist>
      <listitem>
-       <para><xref linkend="ch-scripts-systemd-custom" role="."/></para>
+       <para><xref linkend="ch-config-systemd-custom" role="."/></para>
      </listitem>
   </itemizedlist>
 

+ 2 - 2
chapter07/locale.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-locale" revision="systemd">
+<sect1 id="ch-config-locale" revision="systemd">
   <?dbhtml filename="locale.html"?>
 
   <title>Configuring the System Locale</title>
 
-  <indexterm zone="ch-scripts-locale">
+  <indexterm zone="ch-config-locale">
     <primary sortas="e-etc-locale-conf">/etc/locale.conf</primary>
   </indexterm>
 

+ 9 - 9
chapter07/network.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-network" revision="sysv">
+<sect1 id="ch-config-network" revision="sysv">
   <?dbhtml filename="network.html"?>
 
   <title>General Network Configuration</title>
 
-  <indexterm zone="ch-scripts-network">
+  <indexterm zone="ch-config-network">
     <primary sortas="d-network">network</primary>
   <secondary>configuring</secondary></indexterm>
 <!--
@@ -22,7 +22,7 @@
   will need to remove the <filename class="symlink">network</filename> symlinks
   from all run-level directories (<filename
   class="directory">/etc/rc.d/rc*.d</filename>) after the bootscripts are
-  installed in <xref linkend="ch-scripts-bootscripts"/>.</para>
+  installed in <xref linkend="ch-config-bootscripts"/>.</para>
 -->
   <sect2>
     <title>Creating Network Interface Configuration Files</title>
@@ -138,10 +138,10 @@ EOF</userinput></screen>
 
   </sect2>
 
-  <sect2 id="ch-scripts-hostname">
+  <sect2 id="ch-config-hostname">
     <title>Configuring the system hostname</title>
 
-    <indexterm zone="ch-scripts-hostname">
+    <indexterm zone="ch-config-hostname">
       <primary sortas="d-hostname">hostname</primary>
       <secondary>configuring</secondary>
     </indexterm>
@@ -161,19 +161,19 @@ EOF</userinput></screen>
 
   </sect2>
 
-  <sect2 id="ch-scripts-hosts">
+  <sect2 id="ch-config-hosts">
      <title>Customizing the /etc/hosts File</title>
 
-     <indexterm zone="ch-scripts-hosts">
+     <indexterm zone="ch-config-hosts">
        <primary sortas="e-/etc/hosts">/etc/hosts</primary>
      </indexterm>
    
-     <indexterm zone="ch-scripts-hosts">
+     <indexterm zone="ch-config-hosts">
        <primary sortas="d-localnet">localnet</primary>
        <secondary>/etc/hosts</secondary>
      </indexterm>
    
-     <indexterm zone="ch-scripts-hosts">
+     <indexterm zone="ch-config-hosts">
        <primary sortas="d-network">network</primary>
        <secondary>/etc/hosts</secondary>
      </indexterm>

+ 8 - 8
chapter07/networkd.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-network" revision="systemd">
+<sect1 id="ch-config-network" revision="systemd">
   <?dbhtml filename="network.html"?>
 
   <title>General Network Configuration</title>
 
-  <indexterm zone="ch-scripts-network">
+  <indexterm zone="ch-config-network">
     <primary sortas="d-network">network</primary>
   <secondary>configuring</secondary></indexterm>
 
@@ -221,10 +221,10 @@ EOF</userinput></screen>
 
   </sect2>
 
-  <sect2 id="ch-scripts-hostname">
+  <sect2 id="ch-config-hostname">
     <title>Configuring the system hostname</title>
 
-    <indexterm zone="ch-scripts-hostname">
+    <indexterm zone="ch-config-hostname">
       <primary sortas="d-hostname">hostname</primary>
       <secondary>configuring</secondary>
     </indexterm>
@@ -244,19 +244,19 @@ EOF</userinput></screen>
 
   </sect2>
 
-  <sect2 id="ch-scripts-hosts">
+  <sect2 id="ch-config-hosts">
      <title>Customizing the /etc/hosts File</title>
 
-     <indexterm zone="ch-scripts-hosts">
+     <indexterm zone="ch-config-hosts">
        <primary sortas="e-/etc/hosts">/etc/hosts</primary>
      </indexterm>
    
-     <indexterm zone="ch-scripts-hosts">
+     <indexterm zone="ch-config-hosts">
        <primary sortas="d-localnet">localnet</primary>
        <secondary>/etc/hosts</secondary>
      </indexterm>
    
-     <indexterm zone="ch-scripts-hosts">
+     <indexterm zone="ch-config-hosts">
        <primary sortas="d-network">network</primary>
        <secondary>/etc/hosts</secondary>
      </indexterm>

+ 2 - 2
chapter07/profile.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-profile" revision="sysv">
+<sect1 id="ch-config-profile" revision="sysv">
   <?dbhtml filename="profile.html"?>
 
   <title>The Bash Shell Startup Files</title>
 
-  <indexterm zone="ch-scripts-profile">
+  <indexterm zone="ch-config-profile">
     <primary sortas="e-/etc/profile">/etc/profile</primary>
   </indexterm>
 

+ 3 - 3
chapter07/symlinks.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-symlinks">
+<sect1 id="ch-config-symlinks">
   <?dbhtml filename="symlinks.html"?>
 
   <title>Managing Devices</title>
@@ -206,7 +206,7 @@
 
     <title>Dealing with duplicate devices</title>
 
-    <para>As explained in <xref linkend="ch-scripts-udev"/>, the order in
+    <para>As explained in <xref linkend="ch-config-udev"/>, the order in
     which devices with the same function appear in
     <filename class="directory">/dev</filename> is essentially random.
     E.g., if you have a USB web camera and a TV tuner, sometimes
@@ -216,7 +216,7 @@
     For all classes of hardware except sound cards and network cards, this is
     fixable by creating Udev rules for custom persistent symlinks.
     The case of network cards is covered separately in
-    <xref linkend="ch-scripts-network"/>, and sound card configuration can
+    <xref linkend="ch-config-network"/>, and sound card configuration can
     be found in <ulink url="&blfs-book;postlfs/devices.html">BLFS</ulink>.</para>
 
     <para>For each of your devices that is likely to have this problem

+ 2 - 2
chapter07/systemd-custom.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-systemd-custom" revision="systemd">
+<sect1 id="ch-config-systemd-custom" revision="systemd">
   <?dbhtml filename="systemd-custom.html"?>
 
   <title>Systemd Usage and Configuration</title>
 
-  <indexterm zone="ch-scripts-systemd-custom">
+  <indexterm zone="ch-config-systemd-custom">
     <primary sortas="e-Systemd">Systemd Customization</primary>
   </indexterm>
 

+ 4 - 4
chapter07/udev.xml

@@ -5,12 +5,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-udev">
+<sect1 id="ch-config-udev">
   <?dbhtml filename="udev.html"?>
 
   <title>Overview of Device and Module Handling</title>
 
-  <indexterm zone="ch-scripts-udev">
+  <indexterm zone="ch-config-udev">
     <primary sortas="a-Udev">Udev</primary>
     <secondary>usage</secondary>
   </indexterm>
@@ -303,8 +303,8 @@
       names being stable. Instead, create your own rules that make symlinks with
       stable names based on some stable attributes of the device, such as a
       serial number or the output of various *_id utilities installed by Udev.
-      See <xref linkend="ch-scripts-symlinks"/> and
-      <xref linkend="ch-scripts-network"/> for examples.</para>
+      See <xref linkend="ch-config-symlinks"/> and
+      <xref linkend="ch-config-network"/> for examples.</para>
 
     </sect3>
 

+ 13 - 13
chapter07/usage.xml

@@ -6,12 +6,12 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scripts-usage" revision="sysv">
+<sect1 id="ch-config-usage" revision="sysv">
   <?dbhtml filename="usage.html"?>
 
   <title>System V Bootscript Usage and Configuration</title>
 
-  <indexterm zone="ch-scripts-usage">
+  <indexterm zone="ch-config-usage">
     <primary sortas="a-Bootscripts">Bootscripts</primary>
     <secondary>usage</secondary>
   </indexterm>
@@ -281,11 +281,11 @@ EOF</userinput></screen>
 -->
   </sect2>
 
-  <sect2 id="ch-scripts-clock">
+  <sect2 id="ch-config-clock">
     <title>Configuring the System Clock</title>
 
-    <indexterm zone="ch-scripts-clock">
-      <primary sortas="d-scripts-setclock">setclock</primary>
+    <indexterm zone="ch-config-clock">
+      <primary sortas="d-setclock">setclock</primary>
     <secondary>configuring</secondary></indexterm>
 
     <para>The <command>setclock</command> script reads the time from the hardware
@@ -341,12 +341,12 @@ EOF</userinput></screen>
 
   </sect2>
 
-  <sect2 id="ch-scripts-console">
+  <sect2 id="ch-config-console">
   <?dbhtml filename="console.html"?>
 
   <title>Configuring the Linux Console</title>
 
-  <indexterm zone="ch-scripts-console">
+  <indexterm zone="ch-config-console">
     <primary sortas="d-console">console</primary>
     <secondary>configuring</secondary>
   </indexterm>
@@ -577,10 +577,10 @@ EOF</userinput></screen>
 
   </sect2>
 
-  <sect2 id="ch-scripts-createfiles">
+  <sect2 id="ch-config-createfiles">
     <title>Creating Files at Boot</title>
   
-    <indexterm zone="ch-scripts-createfiles">
+    <indexterm zone="ch-config-createfiles">
       <primary sortas="d-createfiles">File creation at boot</primary>
       <secondary>configuring</secondary>
     </indexterm>
@@ -593,10 +593,10 @@ EOF</userinput></screen>
     configuration file.</para>
   </sect2>
 
-  <sect2 id="ch-scripts-sysklogd">
+  <sect2 id="ch-config-sysklogd">
     <title>Configuring the sysklogd Script</title>
   
-    <indexterm zone="ch-scripts-sysklogd">
+    <indexterm zone="ch-config-sysklogd">
       <primary sortas="d-sysklogd">sysklogd</primary>
       <secondary>configuring</secondary>
     </indexterm>
@@ -616,10 +616,10 @@ EOF</userinput></screen>
 
   </sect2>
 
-  <sect2 id="ch-scripts-site">
+  <sect2 id="ch-config-site">
     <title>The rc.site File</title>
   
-    <indexterm zone="ch-scripts-site">
+    <indexterm zone="ch-config-site">
       <primary sortas="a-rc.site">rc.site</primary>
     </indexterm>
   

+ 1 - 1
chapter08/kernel.xml

@@ -229,7 +229,7 @@ Kernel hacking  ---&gt;
     <para>If using kernel modules, module configuration in <filename
     class="directory">/etc/modprobe.d</filename> may be required.
     Information pertaining to modules and kernel configuration is
-    located in <xref linkend="ch-scripts-udev"/> and in the kernel
+    located in <xref linkend="ch-config-udev"/> and in the kernel
     documentation in the <filename
     class="directory">linux-&linux-version;/Documentation</filename> directory.
     Also, <filename>modprobe.d(5)</filename> may be of interest.</para>

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20200109">
+<!ENTITY version         "SVN-20200201">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20200109-systemd">
+<!ENTITY versiond        "20200201-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "January 9th, 2020">
+<!ENTITY releasedate     "February 1st, 2020">
 
 <!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "9.0">

+ 5 - 1
lfs-latest.php

@@ -104,7 +104,7 @@ function get_packages( $package, $dirpath )
   global $exceptions;
   global $regex;
 
-//if ( $package != "vim" ) return 0; // Debug
+//if ( $package != "zstd" ) return 0; // Debug
 
 if ( $package == "bc"         ) $dirpath = "https://github.com/gavinhoward/bc/releases";
 if ( $package == "check"      ) $dirpath = "https://github.com/libcheck/check/releases";
@@ -127,6 +127,7 @@ if ( $package == "systemd"    ) $dirpath = "https://github.com/systemd/systemd/r
 if ( $package == "tcl"        ) $dirpath = "http://sourceforge.net/projects/tcl/files";
 if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." );
 if ( $package == "vim"        ) $dirpath = "https://github.com/vim/vim/releases";
+if ( $package == "zstd"       ) $dirpath = "https://github.com/facebook/zstd/releases";
 //if ( $package == "vim"        ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix";
 
   // Check for ftp
@@ -283,6 +284,9 @@ if ( $package == "vim"        ) $dirpath = "https://github.com/vim/vim/releases"
   if ( $package == "vim" )
      return find_max( $lines, "/v\d\./", "/^.*v([\d\.]+).*$/" );
 
+  if ( $package == "zstd" )
+     return find_max( $lines, "/Zstandard v/", "/^.*v([\d\.]+).*$/" );
+
   // Most packages are in the form $package-n.n.n
   // Occasionally there are dashes (e.g. 201-1)
   return find_max( $lines, "/$package/", "/^.*$package-([\d\.-]*\d)\.tar.*$/" );

+ 57 - 49
packages.ent

@@ -50,18 +50,18 @@
 <!ENTITY bash-ch6-du "62 MB">
 <!ENTITY bash-ch6-sbu "2.1 SBU">
 
-<!ENTITY bc-version "2.4.0">
-<!ENTITY bc-size "244 KB">
+<!ENTITY bc-version "2.5.3">
+<!ENTITY bc-size "247 KB">
 <!ENTITY bc-url "https://github.com/gavinhoward/bc/archive/&bc-version;/bc-&bc-version;.tar.gz">
-<!ENTITY bc-md5 "7cd18d7658216df1340beecbb5bfa610">
+<!ENTITY bc-md5 "6582c6fbbae943fbfb8fe14a34feab57">
 <!ENTITY bc-home "https://github.com/gavinhoward/bc">
 <!ENTITY bc-ch6-du "2.9 MB">
 <!ENTITY bc-ch6-sbu "0.1 SBU">
 
-<!ENTITY binutils-version "2.33.1">
-<!ENTITY binutils-size "20,988 KB">
+<!ENTITY binutils-version "2.34">
+<!ENTITY binutils-size "21,131 KB">
 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.xz">
-<!ENTITY binutils-md5 "9406231b7d9dd93731c2d06cefe8aaf1">
+<!ENTITY binutils-md5 "664ec3a2df7805ed3464639aaae332d6">
 <!ENTITY binutils-home "&gnu-software;binutils/">
 <!ENTITY binutils-ch5p1-du "659 MB">
 <!ENTITY binutils-ch5p1-sbu "1 SBU">
@@ -70,10 +70,10 @@
 <!ENTITY binutils-ch6-du "5.1 GB">
 <!ENTITY binutils-ch6-sbu "7.2 SBU">
 
-<!ENTITY bison-version "3.5">
-<!ENTITY bison-size "2,287 KB">
+<!ENTITY bison-version "3.5.1">
+<!ENTITY bison-size "2,300 KB">
 <!ENTITY bison-url "&gnu;bison/bison-&bison-version;.tar.xz">
-<!ENTITY bison-md5 "c0230be066069f33c8445766833f3205">
+<!ENTITY bison-md5 "6fc5fa4488832a65db934b9e93bd5d4c">
 <!ENTITY bison-home "&gnu-software;bison/">
 <!ENTITY bison-ch5-du "42 MB">
 <!ENTITY bison-ch5-sbu "0.3 SBU">
@@ -100,10 +100,10 @@
 <!ENTITY ref6-url "&anduin-sources;/reference-files/chapter6-files-&version;.ref">
 <!ENTITY ref6-md5 "REF6-MD5SUM">
 
-<!ENTITY check-version "0.13.0">
+<!ENTITY check-version "0.14.0">
 <!ENTITY check-size "753 KB">
 <!ENTITY check-url "&github;/libcheck/check/releases/download/&check-version;/check-&check-version;.tar.gz">
-<!ENTITY check-md5 "2c730c40b08482eaeb10132517970593">
+<!ENTITY check-md5 "270e82a445be6026040267a5e11cc94b">
 <!ENTITY check-home "https://libcheck.github.io/check">
 <!ENTITY check-ch5-du "12 MB">
 <!ENTITY check-ch5-sbu "0.1 SBU (about 3.7 SBU with tests)">
@@ -262,10 +262,10 @@
 <!ENTITY gettext-ch6-du "249 MB">
 <!ENTITY gettext-ch6-sbu "2.9 SBU">
 
-<!ENTITY glibc-version "2.30">
-<!ENTITY glibc-size "16,189 KB">
+<!ENTITY glibc-version "2.31">
+<!ENTITY glibc-size "16,286 KB">
 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
-<!ENTITY glibc-md5 "2b1dbdf27b28620752956c061d62f60c">
+<!ENTITY glibc-md5 "78a720f17412f3c3282be5a6f3363ec6">
 <!ENTITY glibc-home "&gnu-software;libc/">
 <!ENTITY glibc-ch5-du "896 MB">
 <!ENTITY glibc-ch5-sbu "4.6 SBU">
@@ -273,10 +273,10 @@
 <!ENTITY glibc-ch6-sbu "20 SBU">
 <!ENTITY libthread_db-version "1.0">
 
-<!ENTITY gmp-version "6.1.2">
-<!ENTITY gmp-size "1,901 KB">
+<!ENTITY gmp-version "6.2.0">
+<!ENTITY gmp-size "1,966 KB">
 <!ENTITY gmp-url "&gnu;gmp/gmp-&gmp-version;.tar.xz">
-<!ENTITY gmp-md5 "f58fa8001d60c4c77595fbbb62b63c1d">
+<!ENTITY gmp-md5 "a325e3f09e6d91e62101e59f9bda3ec1">
 <!ENTITY gmp-home "&gnu-software;gmp/">
 <!ENTITY gmp-ch6-du "61 MB">
 <!ENTITY gmp-ch6-sbu "1.2 SBU">
@@ -349,10 +349,10 @@
 <!ENTITY intltool-ch6-du "1.5 MB">
 <!ENTITY intltool-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY iproute2-version "5.4.0">
-<!ENTITY iproute2-size "724 KB">
+<!ENTITY iproute2-version "5.5.0">
+<!ENTITY iproute2-size "731 KB">
 <!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
-<!ENTITY iproute2-md5 "54d86cadb4cd1d19fd7114b4e53adf51">
+<!ENTITY iproute2-md5 "ee8e2cdb416d4a8ef39525d39ab7c2d0">
 <!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
 <!ENTITY iproute2-ch6-du "13 MB">
 <!ENTITY iproute2-ch6-sbu "0.2 SBU">
@@ -397,10 +397,10 @@
 <!ENTITY lfs-bootscripts-ch7-du "BOOTSCRIPTS-INSTALL-KB KB"> 
 <!ENTITY lfs-bootscripts-ch7-sbu "less than 0.1 SBU">
 
-<!ENTITY libcap-version "2.30">
-<!ENTITY libcap-size "96 KB">
+<!ENTITY libcap-version "2.31">
+<!ENTITY libcap-size "97 KB">
 <!ENTITY libcap-url "&kernel;linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
-<!ENTITY libcap-md5 "ea531f37a30a61dce8bf8544537a46e3">
+<!ENTITY libcap-md5 "52120c05dc797b01f5a7ae70f4335e96">
 <!ENTITY libcap-home "https://sites.google.com/site/fullycapable/">
 <!ENTITY libcap-ch6-du "8.5 MB">
 <!ENTITY libcap-ch6-sbu "less than 0.1 SBU">
@@ -430,13 +430,13 @@
 <!ENTITY libtool-ch6-sbu "1.9 SBU">
 
 <!ENTITY linux-major-version "5">
-<!ENTITY linux-minor-version "4">
-<!ENTITY linux-patch-version "8">
+<!ENTITY linux-minor-version "5">
+<!ENTITY linux-patch-version "1">
 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
-<!ENTITY linux-size "106,892 KB">
+<!ENTITY linux-size "108,113 KB">
 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
-<!ENTITY linux-md5 "2f44c832e1d59ebe766731f9c215aca6">
+<!ENTITY linux-md5 "32736a152de38bc160fb08efc5863997">
 <!ENTITY linux-home "https://www.kernel.org/">
 <!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
  allnoconfig extended for a hopefully-bootable build on desktop machine,
@@ -467,10 +467,10 @@
 <!ENTITY m4-ch6-du "20 MB">
 <!ENTITY m4-ch6-sbu "0.2 SBU">
 
-<!ENTITY make-version "4.2.1">
-<!ENTITY make-size "1,932 KB">
+<!ENTITY make-version "4.3">
+<!ENTITY make-size "2,263 KB">
 <!ENTITY make-url "&gnu;make/make-&make-version;.tar.gz">
-<!ENTITY make-md5 "7d0dcb6c474b258aab4d54098f2cf5a7">
+<!ENTITY make-md5 "fc7a67ea86ace13195b0bce683fd4469">
 <!ENTITY make-home "&gnu-software;make/">
 <!ENTITY make-ch5-du "13 MB">
 <!ENTITY make-ch5-sbu "0.1 SBU">
@@ -493,10 +493,10 @@
 <!ENTITY man-pages-ch6-du "31 MB">
 <!ENTITY man-pages-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY meson-version "0.53.0">
-<!ENTITY meson-size "1,512 KB">
+<!ENTITY meson-version "0.53.1">
+<!ENTITY meson-size "1,516 KB">
 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz">
-<!ENTITY meson-md5 "3a0313d040ded973d84cbec368c2e1d3">
+<!ENTITY meson-md5 "9bf73f7b5a2426a7c8674a809bb8cae2">
 <!ENTITY meson-home "https://mesonbuild.com">
 <!ENTITY meson-ch6-du "28 MB">
 <!ENTITY meson-ch6-sbu "less than 0.1 SBU">
@@ -527,10 +527,10 @@
 <!ENTITY ncurses-ch6-du "42 MB">
 <!ENTITY ncurses-ch6-sbu "0.4 SBU">
 
-<!ENTITY ninja-version "1.9.0">
-<!ENTITY ninja-size "187 KB">
+<!ENTITY ninja-version "1.10.0">
+<!ENTITY ninja-size "206 KB">
 <!ENTITY ninja-url "&github;/ninja-build/ninja/archive/v&ninja-version;/ninja-&ninja-version;.tar.gz">
-<!ENTITY ninja-md5 "f340be768a76724b83e6daab69009902">
+<!ENTITY ninja-md5 "cf1d964113a171da42a8940e7607e71a">
 <!ENTITY ninja-home "https://ninja-build.org/">
 <!ENTITY ninja-ch6-du "69 MB">
 <!ENTITY ninja-ch6-sbu "0.2 SBU">
@@ -612,20 +612,20 @@
 <!ENTITY readline-ch6-du "15 MB">
 <!ENTITY readline-ch6-sbu "0.1 SBU">
 
-<!ENTITY sed-version "4.7">
-<!ENTITY sed-size "1,268 KB">
+<!ENTITY sed-version "4.8">
+<!ENTITY sed-size "1,317 KB">
 <!ENTITY sed-url "&gnu;sed/sed-&sed-version;.tar.xz">
-<!ENTITY sed-md5 "777ddfd9d71dd06711fe91f0925e1573">
+<!ENTITY sed-md5 "6d906edfdb3202304059233f51f9a71d">
 <!ENTITY sed-home "&gnu-software;sed/">
 <!ENTITY sed-ch5-du "20 MB">
 <!ENTITY sed-ch5-sbu "0.2 SBU">
 <!ENTITY sed-ch6-du "32 MB">
 <!ENTITY sed-ch6-sbu "0.4 SBU">
 
-<!ENTITY shadow-version "4.8">
-<!ENTITY shadow-size "1,572 KB">
+<!ENTITY shadow-version "4.8.1">
+<!ENTITY shadow-size "1,574 KB">
 <!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
-<!ENTITY shadow-md5 "723ebb19b06e2f52d9ed7f0653483851">
+<!ENTITY shadow-md5 "4b05eff8a427cf50e615bda324b5bc45">
 <!ENTITY shadow-home "https://pkg-shadow.alioth.debian.org/"> 
 <!ENTITY shadow-ch6-du "46 MB">
 <!ENTITY shadow-ch6-sbu "0.2 SBU">
@@ -703,23 +703,23 @@
 <!ENTITY udev-lfs-md5     "27cd82f9a61422e186b9d6759ddf1634">
 <!ENTITY udev-lfs-home    " ">
 
-<!ENTITY util-linux-minor "2.34">
-<!ENTITY util-linux-version "2.34"> <!-- 2.33.x -->
-<!ENTITY util-linux-size "4,859 KB">
+<!ENTITY util-linux-minor "2.35">
+<!ENTITY util-linux-version "2.35.1"> <!-- 2.33.x -->
+<!ENTITY util-linux-size "5,018 KB">
 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz">
-<!ENTITY util-linux-md5 "a78cbeaed9c39094b96a48ba8f891d50">
+<!ENTITY util-linux-md5 "7f64882f631225f0295ca05080cee1bf">
 <!ENTITY util-linux-home "http://freecode.com/projects/util-linux">
 <!ENTITY util-linux-ch5-du "147 MB">
 <!ENTITY util-linux-ch5-sbu "1 SBU">
 <!ENTITY util-linux-ch6-du "283 MB">
 <!ENTITY util-linux-ch6-sbu "1.2 SBU">
 
-<!ENTITY vim-version "8.2.0024">
+<!ENTITY vim-version "8.2.0190">
 <!ENTITY vim-majmin "82">
 <!ENTITY vim-docdir "vim/vim82">
-<!ENTITY vim-size "14,307 KB">
+<!ENTITY vim-size "14,406 KB">
 <!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">
-<!ENTITY vim-md5 "a1b5e7ae3ce2847dbd8672e6dd882750">
+<!ENTITY vim-md5 "f5337b1170df90e644a636539a0313a3">
 <!ENTITY vim-home "https://www.vim.org">
 <!ENTITY vim-ch6-du "190 MB">
 <!ENTITY vim-ch6-sbu "2.2 SBU">
@@ -750,3 +750,11 @@
 <!ENTITY zlib-ch6-du "5.1 MB">
 <!ENTITY zlib-ch6-sbu "less than 0.1 SBU">
 
+<!ENTITY zstd-version "1.4.4">
+<!ENTITY zstd-size "1,903 KB">
+<!ENTITY zstd-url "https://github.com/facebook/zstd/releases/download/v&zstd-version;/zstd-&zstd-version;.tar.gz">
+<!ENTITY zstd-md5 "487f7ee1562dee7c1c8adf85e2a63df9">
+<!ENTITY zstd-home "https://facebook.github.io/zstd/">
+<!ENTITY zstd-ch6-du "17 MB">
+<!ENTITY zstd-ch6-sbu "0.5 SBU">
+

+ 8 - 0
prologue/why.xml

@@ -608,6 +608,14 @@
         used by some programs.</para>
       </listitem>
 
+      <listitem>
+        <para>Zstd</para>
+
+        <para>This package contains compression and decompression routines
+        used by some programs. It provide high compression ratios and a very 
+        wide range of compression / speed trade-offs.</para>
+      </listitem>
+
     </itemizedlist>
 
 </sect1>