diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index d3f99a9e7..cb316cc84 100644
--- a/appendices/dependencies.xml
+++ b/appendices/dependencies.xml
@@ -2763,4 +2763,39 @@
+
+ Zstd
+
+
+ &dependencies;
+
+
+ Binutils, Coreutils, GCC, Glibc, Gzip, Make, and Xz
+
+
+
+
+ &testsuites;
+
+
+ None
+
+
+
+
+ &before;
+
+
+ None
+
+
+
+
+ &external;
+
+
+ None
+
+
+
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 61c7b011b..5d006302b 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Changelog
@@ -44,7 +44,142 @@
or as
appropriate for the entry or if needed the entire day's listitem.
-->
-
+
+
+ 2020-01-27
+
+
+ [bdubbs] - Update to vim-8.2.0190. Addresses
+ #4500.
+
+
+ [bdubbs] - Update to binutils-2.34. Fixes
+ #4590.
+
+
+ [bdubbs] - Update to glibc-2.31. Fixes
+ #4589.
+
+
+ [bdubbs] - Update to linux-5.5.1. Fixes
+ #4588.
+
+
+ [bdubbs] - Update to bc-2.5.3. Fixes
+ #4587.
+
+
+ [bdubbs] - Update to iproute2-5.5.0. Fixes
+ #4586.
+
+
+ [bdubbs] - Update to util-linux 2.35.1. Fixes
+ #4560.
+
+
+
+
+
+ 2020-01-23
+
+
+ [renodr] - Remove obsolete installation commands from the
+ systemd page. These have been obsolete since 243 and were recently
+ discovered.
+
+
+
+
+
+ 2020-01-27
+
+
+ [bdubbs] - Update to ninja-1.10.0. Fixes
+ #4585.
+
+
+ [bdubbs] - Update to check-0.14.0. Fixes
+ #4583.
+
+
+ [bdubbs] - Update to shadow-4.8.1. Fixes
+ #4582.
+
+
+ [bdubbs] - Update to meson-0.53.1. Fixes
+ #4581.
+
+
+ [bdubbs] - Update to linux-5.5. Fixes
+ #4580.
+
+
+ [bdubbs] - Update to bison-3.5.1. Fixes
+ #4579.
+
+
+
+
+
+ 2020-01-19
+
+
+ [bdubbs] - Update to make-4.3. Fixes
+ #4578.
+
+
+ [bdubbs] - Update to vim-8.2.0129. Addresses
+ #4500.
+
+
+ [bdubbs] - Update to gmp-6.2.0. Fixes
+ #4577.
+
+
+ [bdubbs] - Update to sed-4.8. Fixes
+ #4576.
+
+
+ [bdubbs] - Update to bc-2.5.1. Fixes
+ #4575.
+
+
+ [bdubbs] - Update to linux-5.4.13. Fixes
+ #4572.
+
+
+
+
+
+ 2020-01-16
+
+
+ [pierre] - Update to libcap-2.31. Fixes
+ #4574.
+
+
+
+
+
+ 2020-01-13
+
+
+ [bdubbs] - Ensure zstd libraries are installed in the correct
+ location.
+
+
+
+
+
+ 2020-01-12
+
+
+ [bdubbs] - Added zstd-1.4.4.
+
+
+
+
+
2020-01-09
diff --git a/chapter01/how.xml b/chapter01/how.xml
index a92a3fad7..3a8942dba 100644
--- a/chapter01/how.xml
+++ b/chapter01/how.xml
@@ -82,7 +82,7 @@
normal.
To finish the installation, the basic system configuration is set up in
- , and the kernel and boot loader are set
+ , and the kernel and boot loader are set
up in .
contains information on continuing the LFS experience beyond this book.
After the steps in this book have been implemented, the computer will be
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index a2d0befeb..b61eecdaa 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -101,12 +101,12 @@
-
-
+
@@ -170,9 +170,9 @@
-
+
Man-DB-&man-db-version;
@@ -191,9 +191,9 @@
-
+
Openssl-&openssl-version;
@@ -218,12 +218,12 @@
-
-
+
@@ -245,9 +245,9 @@
Tzdata-&tzdata-version;
-
+
Vim-&vim-version;
@@ -273,7 +273,7 @@
Added:
-
+ Zstd-&zstd-version;
diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml
index ebdd79c5c..4a722efe0 100644
--- a/chapter02/creatingfilesystem.xml
+++ b/chapter02/creatingfilesystem.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Creating a File System on the Partition
diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml
index a7facb496..c9daddcb5 100644
--- a/chapter02/creatingpartition.xml
+++ b/chapter02/creatingpartition.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Creating a New Partition
diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml
index c5b9260c9..1989bdec6 100644
--- a/chapter02/hostreqs.xml
+++ b/chapter02/hostreqs.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Host System Requirements
diff --git a/chapter02/introduction.xml b/chapter02/introduction.xml
index 007bdad8b..8dad0ceb8 100644
--- a/chapter02/introduction.xml
+++ b/chapter02/introduction.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Introduction
diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml
index 0a922327f..98a99ed38 100644
--- a/chapter02/mounting.xml
+++ b/chapter02/mounting.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Mounting the New Partition
diff --git a/chapter02/stages.xml b/chapter02/stages.xml
index 7d04e6ca5..30e820213 100644
--- a/chapter02/stages.xml
+++ b/chapter02/stages.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Building LFS in Stages
diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml
index 3c4f26452..e67e62497 100644
--- a/chapter03/introduction.xml
+++ b/chapter03/introduction.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Introduction
diff --git a/chapter03/packages.xml b/chapter03/packages.xml
index fcca03800..f7e586d08 100644
--- a/chapter03/packages.xml
+++ b/chapter03/packages.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
All Packages
@@ -782,6 +782,15 @@
+
+ Zstd (&zstd-version;) - &zstd-size;:
+
+ Home page:
+ Download:
+ MD5 sum: &zstd-md5;
+
+
+
Total size of these packages: about
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index da262f080..0287b3790 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Needed Patches
diff --git a/chapter04/aboutlfs.xml b/chapter04/aboutlfs.xml
index c9e60d533..4c828e6ab 100644
--- a/chapter04/aboutlfs.xml
+++ b/chapter04/aboutlfs.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
About $LFS
diff --git a/chapter04/aboutsbus.xml b/chapter04/aboutsbus.xml
index 357a8c1bf..68e25cce2 100644
--- a/chapter04/aboutsbus.xml
+++ b/chapter04/aboutsbus.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
About SBUs
diff --git a/chapter04/abouttestsuites.xml b/chapter04/abouttestsuites.xml
index b3c1146e1..1b2e0d68f 100644
--- a/chapter04/abouttestsuites.xml
+++ b/chapter04/abouttestsuites.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
About the Test Suites
diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml
index 2c1b1ebec..a26aa55a2 100644
--- a/chapter04/addinguser.xml
+++ b/chapter04/addinguser.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Adding the LFS User
diff --git a/chapter04/creatingtoolsdir.xml b/chapter04/creatingtoolsdir.xml
index 6e79f92cf..0a42daa70 100644
--- a/chapter04/creatingtoolsdir.xml
+++ b/chapter04/creatingtoolsdir.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Creating the $LFS/tools Directory
diff --git a/chapter04/introduction.xml b/chapter04/introduction.xml
index 11ef06e0c..f1ac91989 100644
--- a/chapter04/introduction.xml
+++ b/chapter04/introduction.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Introduction
diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml
index bad719156..7722ff7c5 100644
--- a/chapter04/settingenviron.xml
+++ b/chapter04/settingenviron.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Setting Up the Environment
diff --git a/chapter05/e2fsprogs.xml b/chapter05/e2fsprogs.xml
deleted file mode 100644
index 9ebbba792..000000000
--- a/chapter05/e2fsprogs.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
- e2fsprogs
- &e2fsprogs-version;
- &e2fsprogs-url;
-
-
- E2fsprogs-&e2fsprogs-version;
-
-
- E2fsprogs
-
-
-
-
-
-
-
-
- &buildtime;
- &diskspace;
-
-
- &e2fsprogs-ch5-sbu;
- &e2fsprogs-ch5-du;
-
-
-
-
-
-
- Installation of E2fsprogs
-
- The E2fsprogs documentation recommends that the package be built in
- a subdirectory of the source tree:
-
-mkdir -v build
-cd build
-
- Prepare E2fsprogs for compilation:
-
-../configure --prefix=/tools --disable-libblkid --disable-libuuid
-
-
- The meaning of the new configure option:
-
-
- --disable-libblkid
-
- This prevents E2fsprogs from building its own copy of the
- libblkid library, which Util-Linux-NG provides.
-
-
-
-
- --disable-libuuid
-
- This prevents E2fsprogs from building its own copy of the
- libuuid library, which Util-Linux-NG provides.
-
-
-
-
- Compile the package:
-
-make
-
- Install the static libraries and headers required by Util-linux:
-
-make install-libs
-
- Make the installed static libraries writable so debugging symbols can
- be removed later:
-
-chmod -v u+w \
- /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a
-
-
-
-
-
-
- Details on this package are located in
-
-
-
-
diff --git a/chapter05/flex.xml b/chapter05/flex.xml
deleted file mode 100644
index 2033db549..000000000
--- a/chapter05/flex.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
- flex
- &flex-version;
- &flex-url;
-
-
- Flex-&flex-version;
-
-
- Flex
- tools
-
-
-
-
-
-
-
-
- &buildtime;
- &diskspace;
-
-
- &flex-ch5-sbu;
- &flex-ch5-du;
-
-
-
-
-
-
- Installation of Flex
-
- Prepare Flex for compilation:
-
-./configure --prefix=/tools
-
- Compile the package:
-
-make
-
- To test the results, issue:
-
-make check
-
- Install the package:
-
-make install
-
-
-
-
-
-
- Details on this package are located in
-
-
-
-
-
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 2ed39781e..2ad8fe4e3 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -127,6 +127,13 @@ mv -v isl-&isl-version; isl
sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \
-i gcc/graphite.h
+
+ Now fix a problem introduced by Glibc-2.31:
+
+
+sed -e '1161 s|^|//|' \
+ -i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+
Create a separate build directory again:
mkdir -v build
@@ -256,7 +263,7 @@ readelf -l a.out | grep ': /tools'
/tools/bin is at the head of the
list. If the PATH is wrong it could mean that you are not
logged in as user lfs or that
- something went wrong back in
Once all is well, clean up the test files:
diff --git a/chapter05/generalinstructions.xml b/chapter05/generalinstructions.xml
index 0a6d341a5..bf1ec6112 100644
--- a/chapter05/generalinstructions.xml
+++ b/chapter05/generalinstructions.xml
@@ -53,8 +53,8 @@
The build instructions assume that the , including symbolic links, have been set
- properly:
+ linkend='ch-partitioning-hostreqs'/>, including symbolic links, have
+ been set properly:
diff --git a/chapter05/gmp.xml b/chapter05/gmp.xml
deleted file mode 100644
index 71931294b..000000000
--- a/chapter05/gmp.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
- gmp
- &gmp-version;
- &gmp-url;
-
-
- GMP-&gmp-version;
-
-
- GMP
- tools
-
-
-
-
-
-
-
-
- &buildtime;
- &diskspace;
-
-
- &gmp-ch5-sbu;
- &gmp-ch5-du;
-
-
-
-
-
-
- Installation of GMP
-
- Prepare GMP for compilation:
-
-./configure --prefix=/tools --enable-mpbsd
-
-
- The meaning of the configure option:
-
-
- --enable-mpbsd
-
- This builds the Berkeley MP compatibility library
-
-
-
-
-
- Compile the package:
-
-make
-
- To test the results, issue:
-
-make check
-
- Install the package:
-
-make install
-
-
-
-
-
-
- Details on this package are located in
-
-
-
-
-
diff --git a/chapter05/make.xml b/chapter05/make.xml
index 1ccc60ece..205ae5f15 100644
--- a/chapter05/make.xml
+++ b/chapter05/make.xml
@@ -41,11 +41,11 @@
Installation of Make
-
+
Prepare Make for compilation:
./configure --prefix=/tools --without-guile
diff --git a/chapter05/mpfr.xml b/chapter05/mpfr.xml
deleted file mode 100644
index 004273828..000000000
--- a/chapter05/mpfr.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
- mpfr
- &mpfr-version;
- &mpfr-url;
-
-
- MPFR-&mpfr-version;
-
-
- MPFR
- tools
-
-
-
-
-
-
-
-
- &buildtime;
- &diskspace;
-
-
- &mpfr-ch5-sbu;
- &mpfr-ch5-du;
-
-
-
-
-
-
- Installation of MPFR
-
- Prepare MPFR for compilation:
-
-./configure --prefix=/tools --enable-thread-safe
-
- Compile the package:
-
-make
-
- To test the results, issue:
-
-make check
-
- Install the package:
-
-make install
-
-
-
-
-
-
- Details on this package are located in
-
-
-
-
-
diff --git a/chapter05/tcl.xml b/chapter05/tcl.xml
index 1558148aa..a186e0fde 100644
--- a/chapter05/tcl.xml
+++ b/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 TZ environment
- variable are provided in .
+ variable are provided in .
Install the package:
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 721590376..d2d9c055d 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -92,7 +92,7 @@ cd build
--enable-ld=default
- Build the original bdf linker and install it as both ld (the
+ Build the original bfd linker and install it as both ld (the
default linker) and ld.bfd.
@@ -394,6 +394,26 @@ cd build
+
+ libctf
+
+ The Compat ANSI-C Type Format debugging support library
+
+ libctf
+
+
+
+
+
+ libctf-nobfd
+
+ A libctf variant which does not use libbfd functionality
+
+ libctf-nobfd
+
+
+
+
libopcodes
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 62eadbb18..039fb96fd 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -78,6 +78,7 @@
+
diff --git a/chapter06/check.xml b/chapter06/check.xml
index ee72a0725..e7936f6b2 100644
--- a/chapter06/check.xml
+++ b/chapter06/check.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
@@ -16,7 +16,7 @@
Check-&check-version;
-
+
Check
@@ -87,7 +87,7 @@ sed -i '1 s/tools/usr/' /usr/bin/checkmk
Awk script for generating C unit tests for use with the Check
unit testing framework
-
+
checkmk
@@ -98,7 +98,7 @@ sed -i '1 s/tools/usr/' /usr/bin/checkmk
Contains functions that allow Check to be called from a test
program
-
+
libcheck
diff --git a/chapter06/db.xml b/chapter06/db.xml
deleted file mode 100644
index ab737dd79..000000000
--- a/chapter06/db.xml
+++ /dev/null
@@ -1,301 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
- db
- &db-version;
- &db-url;
-
-
- Berkeley DB-&db-version;
-
-
- Berkeley DB
-
-
-
-
-
- The Berkeley DB package contains programs and utilities used by many
- other applications for database related functions.
-
-
- &buildtime;
- &diskspace;
-
-
- &db-ch6-sbu;
- &db-ch6-du;
-
-
-
-
- Other Installation Possibilities
-
- 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
- for suggested installation instructions.
-
- Also, GDBM could 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
-
-
-
-
-
-
- Installation of Berkeley DB
-
- Apply an upstream patch so that replication clients can open a
- sequence:
-
-patch -Np1 -i ../&db-fixes-patch;
-
- Prepare Berkeley DB for compilation:
-
-cd build_unix
-../dist/configure --prefix=/usr --enable-compat185 --enable-cxx
-
-
- The meaning of the configure options:
-
-
- --enable-compat185
-
- This option enables building Berkeley DB 1.85 compatibility
- API.
-
-
-
-
- --enable-cxx
-
- This option enables building C++ API libraries.
-
-
-
-
-
- Compile the package:
-
-make
-
- 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
- /tools, not against Glibc in
- /usr.
-
- Install the package:
-
-make docdir=/usr/share/doc/db-&db-version; install
-
-
- The meaning of the make parameter:
-
-
- docdir=...
-
- This variable specifies the correct place for the
- documentation.
-
-
-
-
-
- Fix the ownership of the installed documentation:
-
-chown -Rv root:root /usr/share/doc/db-&db-version;
-
-
-
-
- Contents of Berkeley DB
-
-
- Installed programs
- Installed libraries
-
-
- 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
- libdb.{a,so}and libdb_cxx.{a,so}
-
-
-
-
- Short Descriptions
-
-
-
-
- db_archive
-
- Prints the pathnames of log files that are no longer in use
-
- db_archive
-
-
-
-
-
- db_checkpoint
-
- A daemon used to monitor and checkpoint database logs
-
- db_checkpoint
-
-
-
-
-
- db_codegen
-
- 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
-
- db_codegen
-
-
-
-
-
- db_deadlock
-
- A daemon used to abort lock requests when deadlocks are
- detected
-
- db_deadlock
-
-
-
-
-
- db_dump
-
- Converts database files to a plain-text file format readable
- by db_load
-
- db_dump
-
-
-
-
-
- db_hotbackup
-
- Creates hot backup
or hot failover
- snapshots of Berkeley DB databases
-
- db_hotbackup
-
-
-
-
-
- db_load
-
- Is used to create database files from plain-text files
-
- db_load
-
-
-
-
-
- db_printlog
-
- Converts database log files to human readable text
-
- db_printlog
-
-
-
-
-
- db_recover
-
- Is used to restore a database to a consistent state after a
- failure
-
- db_recover
-
-
-
-
-
- db_stat
-
- Displays statistics for Berkeley databases
-
- db_stat
-
-
-
-
-
- db_upgrade
-
- Is used to upgrade database files to a newer version of
- Berkeley DB
-
- db_upgrade
-
-
-
-
-
- db_verify
-
- Is used to run consistency checks on database files
-
- db_verify
-
-
-
-
-
-
- libdb.{a,so}
-
- Contains functions to manipulate database files from C
- programs
-
- libdb
-
-
-
-
-
- libdb_cxx.{a,so}
-
- Contains functions to manipulate database files from C++
- programs
-
- libdb_cxx
-
-
-
-
-
-
-
-
-
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 549991de8..08612ab3f 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -132,17 +132,14 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
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 and
+ linkend="ch-partitioning-creatingfilesystem"/> and
for details on creating and enabling swap space.
- Install the binaries, documentation, and shared libraries:
+ Install the package:
make install
- Install the static libraries and headers:
-
-make install-libs
-
Make the installed static libraries writable so debugging symbols can
be removed later:
diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml
index 3b227eb46..15b6d70fb 100644
--- a/chapter06/findutils.xml
+++ b/chapter06/findutils.xml
@@ -69,13 +69,13 @@
make check
+ Two tests are known to fail in the chroot environment:
+ sv-bug-54171.old-O3 and sv-bug-54171.new-O3.
+
Install the package:
make install
- Two tests are known to fail in the chroot environment:
- sv-bug-54171.old-O3 and sv-bug-54171.new-O3.
-
Some of the scripts in the LFS-Bootscripts package
depend on find. As /usr may not be available during the early
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 8abe79376..fb3650471 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -69,6 +69,13 @@ esac
sed -e "/#include <isl\/schedule_node.h>/ a#include <isl/id.h>\n#include <isl/space.h>" \
-i gcc/graphite.h
+
+ As in gcc-pass2, fix a problem introduced by Glibc-2.31:
+
+
+sed -e '1161 s|^|//|' \
+ -i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+
The GCC documentation recommends building GCC in a dedicated build directory:
mkdir -v build
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 2c8363816..a976665e6 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -50,7 +50,7 @@
Glibc autoconf tests would give false results and defeat the goal
of achieving a clean build.
- Some of the Glibc programs use the non-FHS compilant
+ Some of the Glibc programs use the non-FHS compliant
/var/db directory to store
their runtime data. Apply the following patch to make such programs
store their runtime data in the FHS-compliant locations:
diff --git a/chapter06/grep.xml b/chapter06/grep.xml
index 2d46eb7a9..58b0db366 100644
--- a/chapter06/grep.xml
+++ b/chapter06/grep.xml
@@ -50,7 +50,7 @@
To test the results, issue:
-make -k check
+make check
Install the package:
diff --git a/chapter06/libcap.xml b/chapter06/libcap.xml
index 1b0f69ea8..0ae66edf6 100644
--- a/chapter06/libcap.xml
+++ b/chapter06/libcap.xml
@@ -43,9 +43,9 @@
Installation of Libcap
- Prevent a static library from being installed:
+ Prevent two static libraries from being installed:
-sed -i '/install.*STACAPLIBNAME/d' libcap/Makefile
+sed -i '/install.*STA...LIBNAME/d' libcap/Makefile
Compile the package:
diff --git a/chapter06/libpipeline.xml b/chapter06/libpipeline.xml
index 2ad05deee..6496e792d 100644
--- a/chapter06/libpipeline.xml
+++ b/chapter06/libpipeline.xml
@@ -55,7 +55,7 @@
PKG_CONFIG_PATH
Use pkg-config to obtain the location of the test
- library metadata built in .
+ library metadata built in .
diff --git a/chapter06/make.xml b/chapter06/make.xml
index e2792976b..585f8eea3 100644
--- a/chapter06/make.xml
+++ b/chapter06/make.xml
@@ -39,10 +39,11 @@
Installation of Make
-
+
Prepare Make for compilation:
./configure --prefix=/usr
diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml
deleted file mode 100644
index 929382894..000000000
--- a/chapter06/module-init-tools.xml
+++ /dev/null
@@ -1,185 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
- module-init-tools
- &module-init-tools-version;
- &module-init-tools-url;
-
-
- Module-Init-Tools-&module-init-tools-version;
-
-
- Module-Init-Tools
-
-
-
-
-
- The Module-Init-Tools package contains programs for handling kernel
- modules in Linux kernels greater than or equal to version 2.5.47.
-
-
- &buildtime;
- &diskspace;
-
-
- &module-init-tools-ch6-sbu;
- &module-init-tools-ch6-du;
-
-
-
-
-
-
- Installation of Module-Init-Tools
-
- Apply a patch that contains the generated man pages that were missing
- from the released source tarball:
-
-patch -Np1 -i ../&module-init-tools-man-patch;
-
- The test suite of this package is geared towards the needs of its
- Maintainer. The command make check 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
- make clean command is required to clean up the source
- tree before recompiling for normal use):
-
-DOCBOOKTOMAN=/bin/true ./configure
-make check
-sed -i -e 's@../../configure@DOCBOOKTOMAN=/bin/true &@' tests/runtests
-./tests/runtests
-make clean
-
- Prepare Module-Init-Tools for compilation:
-
-DOCBOOKTOMAN=/bin/true ./configure --prefix=/ \
- --enable-zlib-dynamic --mandir=/usr/share/man
-
- Compile the package:
-
-make
-
- Install the package:
-
-make INSTALL=install install
-
-
- The meaning of the make parameter:
-
- INSTALL=install
-
- Normally, make install will not install the
- binaries if they already exist. This option overrides that behavior by
- calling install instead of using the default
- wrapper script.
-
-
-
-
-
-
-
- Contents of Module-Init-Tools
-
-
- Installed programs
-
-
- depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and rmmod
-
-
-
-
- Short Descriptions
-
-
-
-
- depmod
-
- Creates a dependency file based on the symbols it finds in the
- existing set of modules; this dependency file is used by
- modprobe to automatically load the required
- modules
-
- depmod
-
-
-
-
-
- insmod
-
- Installs a loadable module in the running kernel
-
- insmod
-
-
-
-
-
- insmod.static
-
- A statically compiled version of insmod
-
- insmod.static
-
-
-
-
-
- lsmod
-
- Lists currently loaded modules
-
- lsmod
-
-
-
-
-
- modinfo
-
- Examines an object file associated with a kernel module and
- displays any information that it can glean
-
- modinfo
-
-
-
-
-
- modprobe
-
- Uses a dependency file, created by
- depmod, to automatically load relevant modules
-
- modprobe
-
-
-
-
-
- rmmod
-
- Unloads modules from the running kernel
-
- rmmod
-
-
-
-
-
-
-
-
-
diff --git a/chapter06/pcre.xml b/chapter06/pcre.xml
deleted file mode 100644
index cc7955ab6..000000000
--- a/chapter06/pcre.xml
+++ /dev/null
@@ -1,187 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
- pcre
- &pcre-version;
- &pcre-url;
-
-
- PCRE-&pcre-version;
-
-
- PCRE
-
-
-
-
-
- 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.
-
-
- &buildtime;
- &diskspace;
-
-
- &pcre-ch6-sbu;
- &pcre-ch6-du;
-
-
-
-
-
-
- Installation of PCRE
-
- Prepare PCRE for compilation:
-
-./configure --prefix=/usr \
- --docdir=/usr/share/doc/pcre-&pcre-version; \
- --enable-utf8 \
- --enable-unicode-properties \
- --enable-pcregrep-libz \
- --enable-pcregrep-libbz2
-
-
- The meaning of the configure options:
-
-
- --enable-utf8
-
- This switch includes the code for handling UTF-8 character
- strings in the library.
-
-
-
- --enable-unicode-properties
-
- This switch enables Unicode properties support.
-
-
-
- --enable-pcregrep-lib*
-
- These switches enable the PCRE library to read files compressed
- with gzip and bzip2.
-
-
-
-
- Compile the package:
-
-make
-
- To test the results, issue:
-
-make check
-
- Install the package:
-
-make install
-
- The grep binary will be installed in /bin and will link against the PCRE library; as such,
-move the library to /lib:
-
-mv -v /usr/lib/libpcre.so.* /lib/
-ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so
-
-
-
-
- Contents of PCRE
-
-
- Installed programs
- Installed libraries
- Installed directories
-
-
- pcregrep, pcretest, and pcre-config
- libpcre.{a,so}, libpcrecpp.{a,so} and libpcreposix.{a,so}
- /usr/share/doc/pcre-&pcre-version;
-
-
-
-
- Short Descriptions
-
-
-
-
- pcregrep
-
- A grep that understands Perl compatible regular
- expressions.
-
- pcregrep
-
-
-
-
-
- pcretest
-
- Tests a Perl compatible regular expression
-
- pcretest
-
-
-
-
-
- pcre-config
-
- Used during the compilation process of programs linking to the
- PCRE libraries
-
- pcre-config
-
-
-
-
-
- libpcre
-
- Provides functions useful for working with regular
- expressions
-
- libpcre
-
-
-
-
-
- libpcrecpp
-
- Provides C++ wrapper functions for the libpcre library
-
- libpcrecpp
-
-
-
-
-
- libpcreposix
-
- Provides wrapper functions based on the POSIX regular expression
- API
-
- libpcreposix
-
-
-
-
-
-
-
-
-
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 81ee90d98..284464d87 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -126,10 +126,10 @@ export BUILD_BZIP2=0
To test the results (approximately 11 SBU), issue:
-make -k test
+make test
- One test fails due to using the most recent version of gdbm.
-
+
Install the package and clean up:
diff --git a/chapter06/popt.xml b/chapter06/popt.xml
deleted file mode 100644
index cc7c6bdc2..000000000
--- a/chapter06/popt.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
- popt
- &popt-version;
- &popt-url;
-
-
- Popt-&popt-version;
-
-
- popt
-
-
-
-
-
- The Popt package contains a library used by some programs
- to parse command-line options.
-
-
- &buildtime;
- &diskspace;
-
-
- &popt-ch6-sbu;
- &popt-ch6-du;
-
-
-
-
-
-
- Installation of Popt
-
- Prepare Popt4 for compilation:
-
-./configure --prefix=/usr
-
- Compile the package:
-
-make
-
- To test the results, issue:
-
-make check
-
- Install the package:
-
-make install
-
-
-
-
-
- Contents of Popt
-
-
- Installed libraries:
-
-
- libpopt.{a,so}
-
-
-
-
- Short Descriptions
-
-
-
-
-
- libpopt
-
- is used to parse command-line options
-
- libpopt
-
-
-
-
-
-
-
-
-
diff --git a/chapter06/python.xml b/chapter06/python.xml
index 5718a28a9..cc440903d 100644
--- a/chapter06/python.xml
+++ b/chapter06/python.xml
@@ -83,8 +83,11 @@
make
- The test suite requires TK and X Windows session and cannot
- be run until Python 3 is reinstalled in BLFS.
+ To test the results, issue make test.
+ 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.
Install the package:
@@ -143,7 +146,7 @@ tar --strip-components=1 \
- 2to3, idle3, pip3, pydoc3, python3, python3-config, and pyvenv
+ 2to3, idle3, pip3, pydoc3, python3, and python3-config
libpython&python-minor;.so and libpython3.so
@@ -228,7 +231,7 @@ tar --strip-components=1 \
-
+
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index 41fe03cee..7c6cd584d 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -216,22 +216,23 @@ meson --prefix=/usr \
systemctl disable systemd-time-wait-sync.service
+
+ FCRON in particular
rm -f /etc/sysctl.d/50-pid-max.conf
-
+ -->
Cleanup symbolic links to Util-Linux libraries:
rm -fv /usr/lib/lib{blkid,uuid,mount}.so*
-
+
diff --git a/chapter06/zstd.xml b/chapter06/zstd.xml
new file mode 100644
index 000000000..71e7794b6
--- /dev/null
+++ b/chapter06/zstd.xml
@@ -0,0 +1,136 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+
+ zstd
+ &zstd-version;
+ &zstd-url;
+
+
+ Zstd-&zstd-version;
+
+
+ zstd
+
+
+
+
+
+ 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.
+
+
+ &buildtime;
+ &diskspace;
+
+
+ &zstd-ch6-sbu;
+ &zstd-ch6-du;
+
+
+
+
+
+
+ Installation of Zstd
+
+ Compile the package:
+
+make
+
+ This package does not come with a test suite.
+
+ Install the package:
+
+make prefix=/usr install
+
+ Remove the static library and move the shared library to
+ /lib. Also, the
+ .so file in
+ /usr/lib will need to be recreated:
+
+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
+
+
+
+
+ Contents of Zstd
+
+
+ Installed programs
+ Installed library
+
+
+ zstd,
+ zstdcat (link to zstd),
+ zstdgrep,
+ zstdless,
+ zstdmt (link to zstd), and
+ unzstd (link to zstd)
+
+
+ libzstd.so
+
+
+
+
+ Short Descriptions
+
+
+
+
+ zstd
+
+ Compresses or decompresses files using the ZSTD format
+
+ zstd
+
+
+
+
+
+ zstdgrep
+
+ Runs grep on ZSTD compressed files
+
+ zstdgrep
+
+
+
+
+
+ zstdless
+
+ Runs less on ZSTD compressed files
+
+ zstdless
+
+
+
+
+
+ libzstd
+
+ The library implementing lossless data
+ compression, using the ZSTD algorithm
+
+ libzstd
+
+
+
+
+
+
+
+
+
diff --git a/chapter07/bootscripts.xml b/chapter07/bootscripts.xml
index 0b163b2cb..5c2b28d7c 100644
--- a/chapter07/bootscripts.xml
+++ b/chapter07/bootscripts.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
@@ -16,7 +16,7 @@
LFS-Bootscripts-&lfs-bootscripts-version;
-
+
Bootscripts
@@ -75,7 +75,7 @@
Checks the integrity of the file systems before they are mounted
(with the exception of journal and network based file systems)
-
+
checkfs
@@ -90,7 +90,7 @@
/var/run/utmp and removes the possibly present
/etc/nologin, /fastboot, and
/forcefsck files
-
+
cleanfs
@@ -101,7 +101,7 @@
Loads the correct keymap table for the desired keyboard layout;
it also sets the screen font
-
+
console
@@ -112,7 +112,7 @@
Contains common functions, such as error and status checking,
that are used by several bootscripts
-
+
functions
@@ -122,7 +122,7 @@
halt
Halts the system
-
+
halt
@@ -132,7 +132,7 @@
ifdown
Stops a network device
-
+
ifdown
@@ -142,7 +142,7 @@
ifup
Initializes a network device
-
+
ifup
@@ -152,7 +152,7 @@
localnet
Sets up the system's hostname and local loopback device
-
+
localnet
@@ -164,7 +164,7 @@
Loads kernel modules listed in
/etc/sysconfig/modules, using arguments
that are also given there
-
+
modules
@@ -175,7 +175,7 @@
Mounts all file systems, except ones that are marked
noauto or are network based
-
+
mountfs
@@ -186,7 +186,7 @@
Mounts virtual kernel file systems, such as proc
-
+
mountvirtfs
@@ -197,7 +197,7 @@
Sets up network interfaces, such as network cards, and sets up
the default gateway (where applicable)
-
+
network
@@ -209,7 +209,7 @@
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
-
+
rc
@@ -219,7 +219,7 @@
reboot
Reboots the system
-
+
reboot
@@ -230,7 +230,7 @@
Makes sure every process is terminated before the system reboots
or halts
-
+
sendsignals
@@ -241,7 +241,7 @@
Resets the kernel clock to local time in case the hardware clock
is not set to UTC time
-
+
setclock
@@ -252,7 +252,7 @@
Provides the functionality needed to assign a static Internet
Protocol (IP) address to a network interface
-
+
ipv4-static
@@ -262,7 +262,7 @@
swap
Enables and disables swap files and partitions
-
+
swap
@@ -274,7 +274,7 @@
Loads system configuration values from
/etc/sysctl.conf, if that file exists,
into the running kernel
-
+
sysctl
@@ -284,7 +284,7 @@
sysklogd
Starts and stops the system and kernel log daemons
-
+
sysklogd
@@ -295,7 +295,7 @@
A template to create custom bootscripts for other
daemons
-
+
template
@@ -306,7 +306,7 @@
Prepares the /dev
directory and starts Udev
-
+
udev
@@ -318,7 +318,7 @@
Retries failed udev uevents, and copies generated rules
files from /run/udev to
/etc/udev/rules.d if required
-
+
udev_retry
diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml
index a7c7d9fd2..b745594da 100644
--- a/chapter07/chapter07.xml
+++ b/chapter07/chapter07.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
diff --git a/chapter07/clock.xml b/chapter07/clock.xml
index 1c9542166..872ba677c 100644
--- a/chapter07/clock.xml
+++ b/chapter07/clock.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
Configuring the system clock
-
+
clock
configuring
diff --git a/chapter07/consoled.xml b/chapter07/consoled.xml
index baddc1277..bf1fdc8e0 100644
--- a/chapter07/consoled.xml
+++ b/chapter07/consoled.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
Configuring the Linux Console
-
+
console
configuring
diff --git a/chapter07/inputrc.xml b/chapter07/inputrc.xml
index 0e8a21564..00d36877f 100644
--- a/chapter07/inputrc.xml
+++ b/chapter07/inputrc.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
Creating the /etc/inputrc File
-
+
/etc/inputrc
diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml
index 9bc813170..cbc197a7b 100644
--- a/chapter07/introduction.xml
+++ b/chapter07/introduction.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Introduction
diff --git a/chapter07/introductiond.xml b/chapter07/introductiond.xml
index dbd6705ce..fa2403edb 100644
--- a/chapter07/introductiond.xml
+++ b/chapter07/introductiond.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Introduction
@@ -16,13 +16,13 @@
-
+
-
+
-
+
@@ -31,10 +31,10 @@
-
+
-
+
@@ -42,10 +42,10 @@
-
+
-
+
@@ -55,10 +55,10 @@
-
+
-
+
@@ -66,7 +66,7 @@
-
+
diff --git a/chapter07/locale.xml b/chapter07/locale.xml
index 24e7df89d..5f473ac72 100644
--- a/chapter07/locale.xml
+++ b/chapter07/locale.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
Configuring the System Locale
-
+
/etc/locale.conf
diff --git a/chapter07/network.xml b/chapter07/network.xml
index e523ce35d..2a86df669 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
General Network Configuration
-
+
network
configuring
Creating Network Interface Configuration Files
@@ -138,10 +138,10 @@ EOF
-
+
Configuring the system hostname
-
+
hostname
configuring
@@ -161,19 +161,19 @@ EOF
-
+
Customizing the /etc/hosts File
-
+
/etc/hosts
-
+
localnet
/etc/hosts
-
+
network
/etc/hosts
diff --git a/chapter07/networkd.xml b/chapter07/networkd.xml
index 206f35f7a..b95d9b390 100644
--- a/chapter07/networkd.xml
+++ b/chapter07/networkd.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
General Network Configuration
-
+
network
configuring
@@ -221,10 +221,10 @@ EOF
-
+
Configuring the system hostname
-
+
hostname
configuring
@@ -244,19 +244,19 @@ EOF
-
+
Customizing the /etc/hosts File
-
+
/etc/hosts
-
+
localnet
/etc/hosts
-
+
network
/etc/hosts
diff --git a/chapter07/profile.xml b/chapter07/profile.xml
index 104365f41..226dd9fac 100644
--- a/chapter07/profile.xml
+++ b/chapter07/profile.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
The Bash Shell Startup Files
-
+
/etc/profile
diff --git a/chapter07/symlinks.xml b/chapter07/symlinks.xml
index 4da4c9068..951e6976d 100644
--- a/chapter07/symlinks.xml
+++ b/chapter07/symlinks.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-
+
Managing Devices
@@ -206,7 +206,7 @@
Dealing with duplicate devices
- As explained in , the order in
+ As explained in , the order in
which devices with the same function appear in
/dev 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
- , and sound card configuration can
+ , and sound card configuration can
be found in BLFS.
For each of your devices that is likely to have this problem
diff --git a/chapter07/systemd-custom.xml b/chapter07/systemd-custom.xml
index 0f05cca6d..45d57ce65 100644
--- a/chapter07/systemd-custom.xml
+++ b/chapter07/systemd-custom.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
Systemd Usage and Configuration
-
+
Systemd Customization
diff --git a/chapter07/udev.xml b/chapter07/udev.xml
index 82c64f072..6060849be 100644
--- a/chapter07/udev.xml
+++ b/chapter07/udev.xml
@@ -5,12 +5,12 @@
%general-entities;
]>
-
+
Overview of Device and Module Handling
-
+
Udev
usage
@@ -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 and
- for examples.
+ See and
+ for examples.
diff --git a/chapter07/usage.xml b/chapter07/usage.xml
index b160ff368..2d68f38fd 100644
--- a/chapter07/usage.xml
+++ b/chapter07/usage.xml
@@ -6,12 +6,12 @@
%general-entities;
]>
-
+
System V Bootscript Usage and Configuration
-
+
Bootscripts
usage
@@ -281,11 +281,11 @@ EOF
-->
-
+
Configuring the System Clock
-
- setclock
+
+ setclock
configuring
The setclock script reads the time from the hardware
@@ -341,12 +341,12 @@ EOF
-
+
Configuring the Linux Console
-
+
console
configuring
@@ -577,10 +577,10 @@ EOF
-
+
Creating Files at Boot
-
+
File creation at boot
configuring
@@ -593,10 +593,10 @@ EOF
configuration file.
-
+
Configuring the sysklogd Script
-
+
sysklogd
configuring
@@ -616,10 +616,10 @@ EOF
-
+
The rc.site File
-
+
rc.site
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index 1b42a89a1..83e952ae9 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -229,7 +229,7 @@ Kernel hacking --->
If using kernel modules, module configuration in /etc/modprobe.d may be required.
Information pertaining to modules and kernel configuration is
- located in and in the kernel
+ located in and in the kernel
documentation in the linux-&linux-version;/Documentation directory.
Also, modprobe.d(5) may be of interest.
diff --git a/general.ent b/general.ent
index 233da37ab..3f3905e39 100644
--- a/general.ent
+++ b/general.ent
@@ -1,13 +1,13 @@
-
+
-
+
-
+
diff --git a/lfs-latest.php b/lfs-latest.php
index 504e28648..b1de12689 100644
--- a/lfs-latest.php
+++ b/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.*$/" );
diff --git a/packages.ent b/packages.ent
index 1ab9ca2ef..2ac6e74ac 100644
--- a/packages.ent
+++ b/packages.ent
@@ -50,18 +50,18 @@
-
-
+
+
-
+
-
-
+
+
-
+
@@ -70,10 +70,10 @@
-
-
+
+
-
+
@@ -100,10 +100,10 @@
-
+
-
+
@@ -262,10 +262,10 @@
-
-
+
+
-
+
@@ -273,10 +273,10 @@
-
-
+
+
-
+
@@ -349,10 +349,10 @@
-
-
+
+
-
+
@@ -397,10 +397,10 @@
-
-
+
+
-
+
@@ -430,13 +430,13 @@
-
-
+
+
-
+
-
+
-
+
+
+
-
+
-
+
-
+
-
+
@@ -750,3 +750,11 @@
+
+
+
+
+
+
+
+
diff --git a/prologue/why.xml b/prologue/why.xml
index 31cc87620..4b1b263e1 100644
--- a/prologue/why.xml
+++ b/prologue/why.xml
@@ -608,6 +608,14 @@
used by some programs.
+
+ Zstd
+
+ 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.
+
+