diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index e2b70f617..39f52d80e 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,16 @@
appropriate for the entry or if needed the entire day's listitem.
-->
+
+ 2023-06-29
+
+
+ [xry111] - Add libxcrypt-4.4.35. Fixes
+ #5280.
+
+
+
+
2023-06-17
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index ded7e7df0..fa08642bc 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -304,6 +304,10 @@
Added:
+
+ Libxcrypt-&libxcrypt-version;
+
+
Pkgconf-&flit-core-version;
diff --git a/chapter03/packages.xml b/chapter03/packages.xml
index 569d6b6aa..86932b428 100644
--- a/chapter03/packages.xml
+++ b/chapter03/packages.xml
@@ -468,6 +468,15 @@
+
+ Libxcrypt (&libxcrypt-version;) - &libxcrypt-size;:
+
+ Home page:
+ Download:
+ MD5 sum: &libxcrypt-md5;
+
+
+
Linux (&linux-version;) - &linux-size;:
diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml
index 605d26782..e97ae7057 100644
--- a/chapter08/chapter08.xml
+++ b/chapter08/chapter08.xml
@@ -36,6 +36,7 @@
+
diff --git a/chapter08/libxcrypt.xml b/chapter08/libxcrypt.xml
new file mode 100644
index 000000000..c65d7db29
--- /dev/null
+++ b/chapter08/libxcrypt.xml
@@ -0,0 +1,148 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+
+ libxcrypt
+ &libxcrypt-version;
+ &libxcrypt-url;
+
+
+ Libxcrypt-&libxcrypt-version;
+
+
+ Libxcrypt
+
+
+
+
+
+ The Libxcrypt package contains a modern library for one-way
+ hashing of passwords.
+
+
+ &buildtime;
+ &diskspace;
+
+
+ &libxcrypt-fin-sbu;
+ &libxcrypt-fin-du;
+
+
+
+
+
+
+ Installation of Libxcrypt
+
+ Prepare Libxcrypt for compilation:
+
+./configure --prefix=/usr \
+ --enable-hashes=strong,glibc \
+ --enable-obsolete-api=no \
+ --disable-static \
+ --disable-failure-tokens
+
+
+ The meaning of the new configure options:
+
+
+ --enable-hashes=strong,glibc
+
+ Build strong hash algorithms recommended for security use
+ cases, and the hash algorithms provided by traditional Glibc
+ libcrypt for
+ compatibility.
+
+
+
+
+ --enable-obsolete-api=no
+
+ Disable obsolete API functions. They are not needed for
+ a modern Linux system built from source.
+
+
+
+
+ --disable-failure-tokens
+
+ Disable failure token feature. It's needed for
+ compatibility with the traditional hash libraries of some
+ platforms, but a Linux system based on Glibc does not need
+ it.
+
+
+
+
+ Compile the package:
+
+make
+
+ To test the results, issue:
+
+make check
+
+ Install the package:
+
+make install
+
+
+
+ The instructions above disabled obsolete API functions since
+ no package installed by compiling from sources would link against
+ them at runtime. However, the only known binary-only applications
+ that link against these functions require ABI version 1. If you must
+ have such libraries because of some binary-only application or to be
+ to be compliant with LSB, build the package again with the following
+ commands:
+
+make distclean
+./configure --prefix=/usr \
+ --enable-hashes=strong,glibc \
+ --enable-obsolete-api=glibc \
+ --disable-static \
+ --disable-failure-tokens
+make
+cp -av .libs/libcrypt.so.1* /usr/lib
+
+
+
+
+
+ Contents of Libxcrypt
+
+
+ Installed libraries
+
+
+ libcrypt.so
+
+
+
+
+ Short Descriptions
+
+
+
+
+ libcrypt
+
+ Contains functions to hash passwords
+
+ libcrypt
+
+
+
+
+
+
+
+
+
diff --git a/packages.ent b/packages.ent
index 315c67fc7..c5ef421bf 100644
--- a/packages.ent
+++ b/packages.ent
@@ -430,6 +430,14 @@
+
+
+
+
+
+
+
+
diff --git a/prologue/why.xml b/prologue/why.xml
index 7cfa14b7a..7cbe0e184 100644
--- a/prologue/why.xml
+++ b/prologue/why.xml
@@ -373,6 +373,17 @@
suites in other LFS packages.
+
+ Libxcrypt
+
+ This package provides the
+ libcrypt library
+ needed by various packages (notably, Shadow) for hashing passwords.
+ It replaces the obsolete
+ libcrypt implmentation in
+ Glibc.
+
+
Linux Kernel