diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index 0d69afa46..55f424c73 100644
--- a/appendices/dependencies.xml
+++ b/appendices/dependencies.xml
@@ -2584,7 +2584,7 @@
&dependencies;
Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
- and Sed
+ Sed, and Sqlite
@@ -2909,6 +2909,47 @@
+
+ Pcre2
+
+
+ &dependencies;
+
+ Bash, Binutils, GCC, Glibc, Gzip, Make, Ncurses, and Readline
+
+
+
+
+ &runtime;
+
+ Glibc
+
+
+
+
+ &testsuites;
+
+ None
+
+
+
+
+ &before;
+
+ Python
+
+
+
+
+ &external;
+
+
+ libarchive and
+ libedit
+
+
+
+
Sysklogd
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 5cd66724b..703788ee1 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -44,7 +44,11 @@
2025-09-03
- [bdubbs] - Add the pcre2 package. Fixes
+ [bdubbs] - Add the sqlite-3.50.4 package. Fixes
+ #5784.
+
+
+ [bdubbs] - Add the pcre2-10.45 package. Fixes
#5782.
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 17fb72490..c92a5755b 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -293,6 +293,7 @@
Added:
pcre2
+ sqlite
diff --git a/chapter03/packages.xml b/chapter03/packages.xml
index 68a1a6f05..2d5349db5 100644
--- a/chapter03/packages.xml
+++ b/chapter03/packages.xml
@@ -733,6 +733,30 @@
+
+ Sqlite (&sqlite-version;) - &sqlite-size;:
+
+ Home page:
+ Download:
+ MD5 sum: &sqlite-md5;
+
+
+
+
+ Sqlite Documentation (&sqlite-version;) - &sqlite-doc-size;:
+
+ Home page:
+ Download:
+ MD5 sum: &sqlite-doc-md5;
+
+
+ The Linux From Scratch team generates its own tarball of the
+ documentation pages using the sqlite documentation zip file. This is done
+ in order to avoid unnecessary dependencies.
+
+
+
+
Sysklogd (&sysklogd-version;) - &sysklogd-size;:
diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml
index 4e2d94a98..6d3207021 100644
--- a/chapter08/chapter08.xml
+++ b/chapter08/chapter08.xml
@@ -63,6 +63,7 @@
+
diff --git a/chapter08/sqlite.xml b/chapter08/sqlite.xml
new file mode 100644
index 000000000..e01eded51
--- /dev/null
+++ b/chapter08/sqlite.xml
@@ -0,0 +1,144 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+
+ sqlite
+ &sqlite-version;
+ &sqlite-url;
+
+
+ Sqlite-&sqlite-version;
+
+
+ Sqlite
+
+
+
+
+
+ The Sqlite package is a software library that implements
+ a self-contained, serverless, zero-configuration, transactional
+ SQL database engine.
+
+
+ &buildtime;
+ &diskspace;
+
+
+ &sqlite-fin-sbu;
+ &sqlite-fin-du;
+
+
+
+
+
+
+ Installation of Sqlite
+
+ Unpack the documentation:
+
+tar -xf ../sqlite-doc-&sqlite-doc-version;.tar.xz
+
+ Prepare Sqlite for compilation with:
+
+./configure --prefix=/usr \
+ --disable-static \
+ --enable-fts{4,5} \
+ CPPFLAGS="-D SQLITE_ENABLE_COLUMN_METADATA=1 \
+ -D SQLITE_ENABLE_UNLOCK_NOTIFY=1 \
+ -D SQLITE_ENABLE_DBSTAT_VTAB=1 \
+ -D SQLITE_SECURE_DELETE=1"
+
+ The meaning of the make option:
+
+
+ --enable-fts{4,5}
+
+ These switches enable support for version 4 and 5 of
+ the full text search (FTS) extension.
+
+
+
+
+ CPPFLAGS="-D SQLITE_ENABLE_COLUMN_METADATA=1 ...
+
+ Some applications require these options to be turned on. The only
+ way to do this is to include them in the CFLAGS or CPPFLAGS. We use
+ the latter so the default value (or any value set by the user) of
+ CFLAGS won't be affected. For further information on what can be
+ specified see https://www.sqlite.org/compile.html.
+
+
+
+
+
+ Compile the package:
+
+make
+
+ This package does not come with a test suite.
+
+ Install the package:
+
+make install
+
+ If desired, install the documentation:
+
+install -v -m755 -d /usr/share/doc/sqlite-&sqlite-short-version;
+cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-short-version;
+
+
+
+
+ Contents of Sqlite
+
+
+ Installed programs
+ Installed libraries
+ Installed directories
+
+
+ sqlite3
+ libsqlite3.so
+ /usr/share/doc/sqlite-&sqlite-short-version;
+
+
+
+
+ Short Descriptions
+
+
+
+
+ sqlite3
+
+ is a terminal-based front-end to the SQLite library that
+ can evaluate queries interactively and display the results
+
+ sqlite3
+
+
+
+
+
+ libsqlite3.so
+
+ contains the SQLite API functions
+
+ libsqlite3.so
+
+
+
+
+
+
+
+
+
diff --git a/packages.ent b/packages.ent
index 256ea0b15..74bd854e3 100644
--- a/packages.ent
+++ b/packages.ent
@@ -663,6 +663,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/prologue/why.xml b/prologue/why.xml
index 45874dc51..28e3aca36 100644
--- a/prologue/why.xml
+++ b/prologue/why.xml
@@ -553,6 +553,13 @@
securely.
+
+ Sqlite
+
+ This package provides a serverless, zero-configuration,
+ transactional SQL database engine.
+
+
Sysklogd