diff options
-rw-r--r-- | appendices/dependencies.xml | 48 | ||||
-rw-r--r-- | bootscripts/lfs/init.d/checkfs | 2 | ||||
-rw-r--r-- | chapter01/changelog.xml | 565 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 197 | ||||
-rw-r--r-- | chapter02/hostreqs.xml | 6 | ||||
-rw-r--r-- | chapter07/createfiles.xml | 2 | ||||
-rw-r--r-- | chapter08/autoconf.xml | 2 | ||||
-rw-r--r-- | chapter08/chapter08.xml | 2 | ||||
-rw-r--r-- | chapter08/flit-core.xml | 11 | ||||
-rw-r--r-- | chapter08/jinja2.xml | 2 | ||||
-rw-r--r-- | chapter08/markupsafe.xml | 2 | ||||
-rw-r--r-- | chapter08/meson.xml | 2 | ||||
-rw-r--r-- | chapter08/mpfr.xml | 14 | ||||
-rw-r--r-- | chapter08/openssl.xml | 15 | ||||
-rw-r--r-- | chapter08/procps.xml | 15 | ||||
-rw-r--r-- | chapter08/shadow.xml | 9 | ||||
-rw-r--r-- | chapter08/stripping.xml | 1 | ||||
-rw-r--r-- | chapter08/systemd.xml | 9 | ||||
-rw-r--r-- | chapter08/util-linux.xml | 3 | ||||
-rw-r--r-- | chapter08/wheel.xml | 2 | ||||
-rw-r--r-- | chapter10/kernel.xml | 1 | ||||
-rw-r--r-- | general.ent | 1 | ||||
l---------[-rw-r--r--] | lfs-latest.php | 482 | ||||
-rw-r--r-- | packages.ent | 100 | ||||
-rw-r--r-- | part3intro/generalinstructions.xml | 14 | ||||
-rw-r--r-- | patches.ent | 76 |
26 files changed, 272 insertions, 1311 deletions
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 8038ee943..0ab386dff 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -147,7 +147,7 @@ <segmentedlist id="autoconf-before"> <segtitle>&before;</segtitle> <seglistitem> - <seg>Automake</seg> + <seg>Automake and Coreutils</seg> </seglistitem> </segmentedlist> @@ -189,7 +189,7 @@ <segmentedlist id="automake-before"> <segtitle>&before;</segtitle> <seglistitem> - <seg>None</seg> + <seg>Coreutils</seg> </seglistitem> </segmentedlist> @@ -286,7 +286,8 @@ <segtitle>&dependencies;</segtitle> <seglistitem> <seg>Bash, Binutils, Coreutils, Diffutils, File, Flex, Gawk, GCC, - Glibc, Grep, Make, Perl, Sed, Texinfo, and Zlib</seg> + Glibc, Grep, Make, Perl, Pkgconf, Sed, Texinfo, Zlib, and + Zstd</seg> </seglistitem> </segmentedlist> @@ -437,6 +438,9 @@ <seglistitem> <seg> <ulink url='&github;/testing-cabal/subunit'>libsubunit</ulink> + and + <ulink url='http://cyberelk.net/tim/software/patchutils/'> + patchutils</ulink> </seg> </seglistitem> </segmentedlist> @@ -447,8 +451,9 @@ <segmentedlist id="coreutils-depends"> <segtitle>&dependencies;</segtitle> <seglistitem> - <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, - Libcap, Make, OpenSSL, Patch, Perl, Sed, and Texinfo</seg> + <seg>Autoconf, Automake, Bash, Binutils, Coreutils, GCC, Gettext, + Glibc, GMP, Grep, Libcap, Make, OpenSSL, Patch, Perl, Sed, and + Texinfo</seg> </seglistitem> </segmentedlist> @@ -2514,9 +2519,10 @@ <segmentedlist id="pkgconf-before"> <segtitle>&before;</segtitle> <seglistitem> - <seg><phrase revision='systemd'>D-Bus, </phrase>E2fsprogs, + <seg>Binutils, + <phrase revision='systemd'>D-Bus, </phrase>E2fsprogs, IProute2, Kmod, Man-DB, Procps-ng, Python, - &systemd-udev;, and Util-linux</seg> + &systemd-udev;, and Util-linux</seg> </seglistitem> </segmentedlist> @@ -2566,7 +2572,7 @@ <seg> <phrase revision='systemd'>None</phrase> <phrase revision='sysv'> - <ulink url='&blfs-book;general/elogind.xml'>elogind</ulink> + <ulink url='&blfs-book;general/elogind.html'>elogind</ulink> </phrase> </seg> </seglistitem> @@ -2854,6 +2860,11 @@ <segtitle>&external;</segtitle> <seglistitem> <seg> + <ulink url="https://www.apparmor.net/">AppArmor</ulink>, + <ulink url="&github;/linux-audit/audit-userspace"> + audit-userspace</ulink>, + <ulink url="&github;/scop/bash-completion"> + bash-completion</ulink>, <ulink url="&blfs-book;postlfs/btrfs-progs.html">btrfs-progs</ulink>, <ulink url="&blfs-book;basicnet/curl.html">cURL</ulink>, @@ -2861,20 +2872,20 @@ <ulink url="&blfs-book;pst/docbook.html">docbook-xml</ulink>, <ulink url="&blfs-book;pst/docbook-xsl.html">docbook-xsl-nons</ulink>, - <ulink url="https://sourceware.org/elfutils/">elfutils</ulink>, <ulink url="&blfs-book;general/git.html">Git</ulink>, - <ulink - url="https://sourceforge.net/projects/gnu-efi/">gnu-efi</ulink>, <ulink url="&blfs-book;postlfs/gnutls.html">GnuTLS</ulink>, <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>, + <ulink url='https://jekyllrb.com/'>jekyll</ulink>, <ulink url="https://www.kernel.org/pub/linux/utils/kernel/kexec/"> kexec-tools</ulink>, + <ulink url='&github;/libbpf/libbpf'>libbpf</ulink>, + <ulink url="https://sourceware.org/elfutils/">libdw</ulink>, <ulink url="https://developers.yubico.com/libfido2/">libfido2</ulink>, <ulink url="&blfs-book;general/libgcrypt.html">libgcrypt</ulink>, <ulink url="&blfs-book;general/libidn2.html">libidn2</ulink>, <ulink url="https://www.gnu.org/software/libmicrohttpd/"> - Libmicrohttpd</ulink>, + libmicrohttpd</ulink>, <ulink url="&blfs-book;postlfs/libpwquality.html">libpwquality</ulink>, <ulink url="&blfs-book;general/libseccomp.html">libseccomp</ulink>, @@ -2889,16 +2900,23 @@ <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>, <ulink url="&blfs-book;general/pcre2.html">PCRE2</ulink>, <ulink url="&blfs-book;postlfs/polkit.html">Polkit</ulink>, + <ulink url='&pypi-home;/pyelftools'>pyelftools</ulink>, <ulink url="&blfs-book;postlfs/qemu.html">qemu</ulink>, <ulink url="&blfs-book;general/qrencode.html">qrencode</ulink>, - <ulink url="https://sourceforge.net/projects/linuxquota/"> - quota-tools</ulink>, + <ulink url="https://sourceforge.net/projects/linuxquota/" + >quota-tools</ulink>, + <ulink url="https://rpm.org">rpm</ulink>, <ulink url="&blfs-book;basicnet/rsync.html">rsync</ulink>, + <ulink url="&github;/SELinuxProject/selinux"> + SELinux</ulink>, <ulink url="&blfs-book;general/python-modules.html#sphinx"> Sphinx</ulink>, + <ulink url="https://sourceware.org/systemtap/"> + systemtap</ulink>, <ulink url="https://tpm2-tss.readthedocs.io/en/latest/"> tpm2-tss</ulink>, <ulink url="&blfs-book;general/valgrind.html">Valgrind</ulink>, + <ulink url="https://xenproject.org">Xen</ulink>, and <ulink url="&blfs-book;postlfs/zsh.html">zsh</ulink> </seg> @@ -3380,7 +3398,7 @@ <segmentedlist id="zstd-before"> <segtitle>&before;</segtitle> <seglistitem> - <seg>GCC, Libelf, and &systemd-udev;</seg> + <seg>Binutils, GCC, Libelf, and &systemd-udev;</seg> </seglistitem> </segmentedlist> diff --git a/bootscripts/lfs/init.d/checkfs b/bootscripts/lfs/init.d/checkfs index 0903a0111..bbbae8d99 100644 --- a/bootscripts/lfs/init.d/checkfs +++ b/bootscripts/lfs/init.d/checkfs @@ -101,7 +101,7 @@ case "${1}" in if [ "${error_value}" = 2 -o "${error_value}" = 3 ]; then msg="\nWARNING:\n\nFile system errors " - msg="${msg}were found and have been been " + msg="${msg}were found and have been " msg="${msg}corrected, but the nature of the " msg="${msg}errors require this system to be rebooted.\n\n" msg="${msg}After you press enter, " diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f7a808cea..2debc0c0a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,582 +39,117 @@ <listitem revision="sysv"> or <listitem revision="systemd"> as appropriate for the entry or if needed the entire day's listitem. --> - <listitem> - <para>2023-08-18</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Update to linux-6.4.12. Fixes - <ulink url='&lfs-ticket-root;5320'>#5320</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> <listitem> - <para>2023-08-18</para> + <para>2023-09-05</para> <itemizedlist> <listitem> - <para>[bdubbs] - Update to udev-lfs-20230818.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-08-15</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Add a patch to fix a performance regression in - glibc's posix_memalign() function. Fixes - <ulink url='&lfs-ticket-root;5315'>#5315</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to less-643. Fixes - <ulink url='&lfs-ticket-root;5317'>#5317</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to meson-1.2.1. Fixes - <ulink url='&lfs-ticket-root;5314'>#5314</ulink>.</para> + <para>[xry111] - Move pkgconf before binutils for binutils + building system to detect zstd properly. + <ulink url='&lfs-ticket-root;5340'>#5340</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to linux-6.4.10. Fixes - <ulink url='&lfs-ticket-root;5313'>#5313</ulink>.</para> + <para>[xry111] - Update to linux-6.5.1. Fixes + <ulink url='&lfs-ticket-root;5332'>#5332</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to iana-etc-20230810. Addresses - <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> + <para>[xry111] - Update to pkgconf-2.0.3. Fixes + <ulink url='&lfs-ticket-root;5339'>#5339</ulink>.</para> </listitem> <listitem> - <para>[rahul] - Update to pkgconf-2.0.1. Fixes - <ulink url='&lfs-ticket-root;5316'>#5316</ulink>.</para> + <para>[xry111] - Update to dbus-1.14.10. Fixes + <ulink url='&lfs-ticket-root;5337'>#5337</ulink>.</para> </listitem> </itemizedlist> </listitem> <listitem> - <para>2023-08-07</para> + <para>2023-09-04</para> <itemizedlist> <listitem> - <para>[bdubbs] - Update to xz-5.4.4. Fixes - <ulink url='&lfs-ticket-root;5307'>#5307</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to wheel-0.41.1 (Python Module). Fixes - <ulink url='&lfs-ticket-root;5311'>#5311</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to man-pages-6.05.01. Fixes - <ulink url='&lfs-ticket-root;5306'>#5306</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.4.8. Fixes - <ulink url='&lfs-ticket-root;5309'>#5309</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to iana-etc-20230804. Addresses - <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> - </listitem> - <listitem> - <para>[rahul] - Update to pkgconf-2.0.0. Fixes - <ulink url='&lfs-ticket-root;5310'>#5310</ulink>.</para> + <para>[bdubbs] - Move caution regarding building by mixing + different version of LFS to General Compilation Instructions. Fixes + <ulink url='&lfs-ticket-root;5338'>#5338</ulink>.</para> </listitem> </itemizedlist> </listitem> <listitem> - <para>2023-08-01</para> + <para>2023-09-02</para> <itemizedlist> <listitem> - <para>[bdubbs] - Update to vim-9.0.1677. Addresses - <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to openssl-3.1.2. Fixes - <ulink url='&lfs-ticket-root;5305'>#5305</ulink>.</para> + <para>[xry111] - Add --no-cache-dir option for pip3 wheel + commands. Addresses + <ulink url='&blfs-ticket-root;18466'>BLFS #18466</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to man-pages-6.05. Fixes - <ulink url='&lfs-ticket-root;5303'>#5303</ulink>.</para> + <para>[bdubbs] - Update to vim-9.0.1837. Addresses + <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to binutils-2.41. Fixes - <ulink url='&lfs-ticket-root;5300'>#5300</ulink>.</para> + <para>[bdubbs] - Update to zlib-1.3. Fixes + <ulink url='&lfs-ticket-root;5324'>#5324</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to gmp-6.3.0. Fixes - <ulink url='&lfs-ticket-root;5301'>#5301</ulink>.</para> + <para>[bdubbs] - Update to wheel-0.41.2 (Python Module). Fixes + <ulink url='&lfs-ticket-root;5328'>#5328</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to glibc-2.38. Fixes - <ulink url='&lfs-ticket-root;5302'>#5302</ulink>.</para> + <para>[bdubbs] - Update to util-linux-2.39.2. Fixes + <ulink url='&lfs-ticket-root;5322'>#5322</ulink>.</para> </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-07-28</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Update udev-lfs tarball to remove obsolete - cdrom rules and references to ISDN devices. Fixes - <ulink url='&lfs-ticket-root;5291'>#5291</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to wheel-0.41.0 (Python Module). Fixes - <ulink url='&lfs-ticket-root;5290'>#5290</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to tar-1.35. Fixes - <ulink url='&lfs-ticket-root;5287'>#5287</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to<phrase revision='sysv'> udev - from</phrase> systemd-254. Fixes - <ulink url='&lfs-ticket-root;5293'>#5293</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to meson-1.2.0. Fixes - <ulink url='&lfs-ticket-root;5286'>#5286</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.4.7. Fixes - <ulink url='&lfs-ticket-root;5288'>#5288</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to gcc-13.2.0. Fixes - <ulink url='&lfs-ticket-root;5292'>#5292</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to file-5.45. Fixes - <ulink url='&lfs-ticket-root;5294'>#5294</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem revision='sysv'> - <para>2023-07-28</para> - <itemizedlist> - <listitem> - <para>[xry111] - Enable cgroup-based memory pressure information - in kernel, and add the cgroup file system into /etc/fstab and the - mountvirtfs bootscript. This is a preparation for udev from - systemd-254. Addresses - <ulink url='&lfs-ticket-root;5293'>#5293</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem revision='sysv'> - <para>2023-07-22</para> - <itemizedlist> - <listitem> - <para>[xry111] - Make the mountvirtfs bootscript create essential - symlinks in /dev. Fixes - <ulink url='&lfs-ticket-root;5289'>#5289</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-07-15</para> - <itemizedlist> <listitem revision='sysv'> - <para>[xry111] - Replace eudev-3.2.12 with udev from systemd-253. - Fixes <ulink url='&lfs-ticket-root;5285'>#5085</ulink>.</para> + <para>[bdubbs] - Update to sysvinit-3.08. Fixes + <ulink url='&lfs-ticket-root;5321'>#5321</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to iana-etc-20230629. Addresses - <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> + <para>[bdubbs] - Update to shadow-4.14.0. Fixes + <ulink url='&lfs-ticket-root;5319'>#5319</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to linux-6.4.3. Fixes - <ulink url='&lfs-ticket-root;5284'>#5284</ulink>.</para> + <para>[bdubbs] - Update to Python-3.11.5. Fixes + <ulink url='&lfs-ticket-root;5330'>#5330</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to libxcrypt-4.4.36. Fixes - <ulink url='&lfs-ticket-root;5283'>#5283</ulink>.</para> + <para>[bdubbs] - Update to procps-ng-4.0.4. Fixes + <ulink url='&lfs-ticket-root;5335'>#5335</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to groff-1.23.0. Fixes - <ulink url='&lfs-ticket-root;5282'>#5282</ulink>.</para> + <para>[bdubbs] - Update to pkgconf-2.0.2. Fixes + <ulink url='&lfs-ticket-root;5323'>#5323</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Update to perl-5.38.0. Fixes - <ulink url='&lfs-ticket-root;5281'>#5281</ulink>.</para> + <para>[bdubbs] - Update to mpfr-4.2.1. Fixes + <ulink url='&lfs-ticket-root;5326'>#5326</ulink>.</para> </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-07-02</para> - <itemizedlist> - <listitem> - <para>[xry111] - Add libxcrypt-4.4.35. Fixes - <ulink url='&lfs-ticket-root;5280'>#5280</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to iproute2-6.4.0. Fixes - <ulink url='&lfs-ticket-root;5277'>#5277</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to linux-6.4.1. Fixes - <ulink url='&lfs-ticket-root;5276'>#5276</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-07-01</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Update to iana-etc-20230615. Addresses - <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to vim-9.0.1671. Addresses - <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to util-linux-2.39.1. Addresses - <ulink url='&lfs-ticket-root;5278'>#5278</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.3.10. Addresses - <ulink url='&lfs-ticket-root;5276'>#5276</ulink>.</para> - </listitem> - <listitem> - <para>[rahul] - Update to kbd-2.6.1. Fixes - <ulink url='&lfs-ticket-root;5279'>#5279</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to gettext-0.22. Fixes - <ulink url='&lfs-ticket-root;5275'>#5275</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-06-17</para> - <itemizedlist> <listitem> - <para>[xry111] - Update to linux-6.3.8. Fixes - <ulink url='&lfs-ticket-root;5272'>#5272</ulink>.</para> + <para>[bdubbs] - Update to kbd-2.6.2. Fixes + <ulink url='&lfs-ticket-root;5318'>#5318</ulink>.</para> </listitem> <listitem> - <para>[xry111] - Update to kbd-2.6.0. Fixes - <ulink url='&lfs-ticket-root;5273'>#5273</ulink>.</para> + <para>[bdubbs] - Update to gzip-1.13. Fixes + <ulink url='&lfs-ticket-root;5325'>#5325</ulink>.</para> </listitem> <listitem> - <para>[rahul] - Changed from pkg-config to pkgconf-1.9.5. Fixes - <ulink url='&lfs-ticket-root;5274'>#5274</ulink>.</para> + <para>[bdubbs] - Update to coreutils-9.4. Fixes + <ulink url='&lfs-ticket-root;5334'>#5334</ulink>.</para> </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-06-09</para> - <itemizedlist> <listitem revision='systemd'> - <para>[bdubbs] - Update to dbus-1.14.8. Fixes - <ulink url='&lfs-ticket-root;5271'>#5271</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.3.6. Fixes - <ulink url='&lfs-ticket-root;5269'>#5269</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to Python-3.11.4. Fixes - <ulink url='&lfs-ticket-root;5271'>#5271</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-06-03</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Update to iana-etc-20230524. Addresses - <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> - </listitem> - <listitem revision='systemd'> - <para>[bdubbs] - Update to MarkupSafe-2.1.3 (Python Module). Fixes - <ulink url='&lfs-ticket-root;5268'>#5268</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.3.5. Fixes - <ulink url='&lfs-ticket-root;5264'>#5264</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to openssl-3.1.1. Fixes - <ulink url='&lfs-ticket-root;5267'>#5267</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to meson-1.1.1. Fixes - <ulink url='&lfs-ticket-root;5266'>#5266</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to diffutils-3.10. Fixes - <ulink url='&lfs-ticket-root;5262'>#5262</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to bc-6.6.0. Fixes - <ulink url='&lfs-ticket-root;5263'>#5263</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem revision='sysv'> - <para>2023-05-25</para> - <itemizedlist> - <listitem revision='sysv'> - <para>[ken] - Remove unneeded group sgx from eudev rules. Fixes - <ulink url='&lfs-ticket-root;5265'>#5265</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-05-18</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Update to util-linux-2.39. Fixes - <ulink url='&lfs-ticket-root;5259'>#5259</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.3.3. Fixes - <ulink url='&lfs-ticket-root;5261'>#5261</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to libcap-2.69. Fixes - <ulink url='&lfs-ticket-root;5258'>#5258</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to grep-3.11. Fixes - <ulink url='&lfs-ticket-root;5256'>#5256</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to flit_core-3.9.0. Fixes - <ulink url='&lfs-ticket-root;5257'>#5257</ulink>.</para> - </listitem> - <listitem revision="sysv"> - <para>[bdubbs] - Update to eudev-3.2.12. Fixes - <ulink url='&lfs-ticket-root;5260'>#5260</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-05-13</para> - <itemizedlist> - <listitem> - <para>[xry111] - Update to less-633. Fixes - <ulink url='&lfs-ticket-root;5251'>#5251</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to linux-6.3.2. Fixes - <ulink url='&lfs-ticket-root;5255'>#5255</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to xz-5.4.3. Fixes - <ulink url='&lfs-ticket-root;5252'>#5252</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to gawk-5.2.2. Fixes - <ulink url='&lfs-ticket-root;5253'>#5253</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Fix systemd runtime issue exploited by GCC 13. - Fixes <ulink url='&lfs-ticket-root;5254'>#5254</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-05-01</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Update to vim-9.0.1503. Addresses - <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to iana-etc-20230418. Addresses - <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> - </listitem> - <listitem revision='sysv'> - <para>[bdubbs] - Update to sysvinit-3.07. Fixes - <ulink url='&lfs-ticket-root;5250'>#5250</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to iproute2-6.3.0. Fixes - <ulink url='&lfs-ticket-root;5248'>#5248</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to gcc-13.1.0. Fixes - <ulink url='&lfs-ticket-root;5247'>#5247</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to perl-5.36.1. Fixes - <ulink url='&lfs-ticket-root;5246'>#5246</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.3.1. Fixes - <ulink url='&lfs-ticket-root;5245'>#5245</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to coreutils-9.3. Fixes - <ulink url='&lfs-ticket-root;5244'>#5244</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-04-15</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Update to vim-9.0.1452. Addresses - <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to iana-etc-20230405. Addresses - <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to zstd-1.5.5. Fixes - <ulink url='&lfs-ticket-root;5239'>#5239</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to Python-3.11.3. Fixes - <ulink url='&lfs-ticket-root;5240'>#5240</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to meson-1.1.0. Fixes - <ulink url='&lfs-ticket-root;5242'>#5242</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to man-pages-6.04. Fixes - <ulink url='&lfs-ticket-root;5238'>#5238</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.2.11. Fixes - <ulink url='&lfs-ticket-root;5241'>#5241</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-03-31</para> - <itemizedlist> - <listitem> - <para>[xry111] - Update to linux-6.2.9 (security fix). Fixes - <ulink url='&lfs-ticket-root;5230'>#5230</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to grep-3.10. Fixes - <ulink url='&lfs-ticket-root;5234'>#5234</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to wheel-0.40.0. Fixes - <ulink url='&lfs-ticket-root;5229'>#5229</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to bc-6.5.0. Fixes - <ulink url='&lfs-ticket-root;5228'>#5228</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to texinfo-7.0.3. Fixes - <ulink url='&lfs-ticket-root;5235'>#5235</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to coreutils-9.2. Fixes - <ulink url='&lfs-ticket-root;5232'>#5232</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to libcap-2.68. Fixes - <ulink url='&lfs-ticket-root;5236'>#5236</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to tzdata-2023c. Fixes - <ulink url='&lfs-ticket-root;5237'>#5237</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to xz-5.4.2. Fixes - <ulink url='&lfs-ticket-root;5233'>#5233</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to openssl-3.1.0. Fixes - <ulink url='&lfs-ticket-root;5227'>#5227</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Add flit-core-3.8.0.</para> - </listitem> - </itemizedlist> - </listitem> - - <listitem> - <para>2023-03-15</para> - <itemizedlist> - <listitem> - <para>[bdubbs] - Update to bc-6.4.0. Fixes - <ulink url='&lfs-ticket-root;5217'>#5217</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to grep-3.9. Fixes - <ulink url='&lfs-ticket-root;5225'>#5225</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to linux-6.2.6. Fixes - <ulink url='&lfs-ticket-root;5226'>#5226</ulink>.</para> - </listitem> - <listitem> - <para>[bdubbs] - Update to iana-etc-20230306. Addresses - <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> - </listitem> - </itemizedlist> - </listitem> - <listitem> - <para>2023-03-04</para> - <itemizedlist> - <listitem revision='systemd'> - <para>[xry111] - Update to systemd-253. Fixes - <ulink url='&lfs-ticket-root;5206'>#5206</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to bc-6.3.1. Fixes - <ulink url='&lfs-ticket-root;5217'>#5217</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to linux-6.2.2 (security fixes). Fixes - <ulink url='&lfs-ticket-root;5218'>#5218</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to procps-ng-4.0.3. Fixes - <ulink url='&lfs-ticket-root;5220'>#5220</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to iproute2-6.2.0. Fixes - <ulink url='&lfs-ticket-root;5221'>#5221</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to meson-1.0.1. Fixes - <ulink url='&lfs-ticket-root;5222'>#5222</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to make-4.4.1. Fixes - <ulink url='&lfs-ticket-root;5223'>#5223</ulink>.</para> - </listitem> - <listitem> - <para>[xry111] - Update to libelf-0.189. Fixes - <ulink url='&lfs-ticket-root;5224'>#5224</ulink>.</para> + <para>[bdubbs] - Specify the 'nobody-group' for systemd. Fixes + <ulink url='&lfs-ticket-root;5333'>#5333</ulink>.</para> </listitem> <listitem> - <para>[bdubbs] - Change to a better host requirements script in Chapter 2.</para> + <para>[bdubbs] - Remove unused usb group. Fixes + <ulink url='&lfs-ticket-root;5331'>#5331</ulink>.</para> </listitem> </itemizedlist> </listitem> <listitem> - <para>2023-03-01</para> + <para>2023-09-01</para> <itemizedlist> <listitem> - <para>[bdubbs] - LFS-11.3 released.</para> + <para>[bdubbs] - LFS-12.0 released.</para> </listitem> </itemizedlist> </listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 78a241373..d7c391796 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -11,26 +11,6 @@ <title>What's new since the last release</title> - <caution> - <para> - During a development cycle of LFS, the instructions in the book is - often modified to adapt for a package update or take the advantage of - new features from updated packages. Mixing up the instructions of - different versions of the LFS book can cause subtle breakages. This - kind of issue is generally a result from reusing some script created - for a prior LFS release. Such a reuse is strongly discouraged. If - you are reusing scripts for a prior LFS release for any reason, you'll - need to be very careful to update the scripts to match current version - of the LFS book. - </para> - </caution> - - <para>In the 11.4 release, <parameter>--disable-fixincludes</parameter> - is set for GCC. It's a configure switch newly added in GCC 13.1 to - prevent GCC from <quote>fixing</quote> the system headers. Such a - <quote>fix</quote> is unnecessary for a modern Linux system and may cause - issues if a package is updated after installing GCC.</para> - <para>Here is a list of the packages updated since the previous release of LFS.</para> @@ -61,12 +41,12 @@ <!--<listitem> <para>Bash &bash-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>Bc &bc-version;</para> - </listitem> - <listitem> + </listitem>--> + <!--<listitem> <para>Binutils-&binutils-version;</para> - </listitem> + </listitem>--> <!--<listitem> <para>Bison-&bison-version;</para> </listitem>--> @@ -82,12 +62,12 @@ <!--<listitem> <para>DejaGNU-&dejagnu-version;</para> </listitem>--> - <listitem revision="systemd"> + <!--<listitem revision="systemd"> <para>D-Bus-&dbus-version;</para> - </listitem> - <listitem> + </listitem>--> + <!--<listitem> <para>Diffutils-&diffutils-version;</para> - </listitem> + </listitem>--> <!--<listitem> <para>E2fsprogs-&e2fsprogs-version;</para> </listitem>--> @@ -100,63 +80,63 @@ <!--<listitem> <para>Expect-&expect-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>File-&file-version;</para> - </listitem> + </listitem>--> <!--<listitem> <para>Findutils-&findutils-version;</para> </listitem>--> <!--<listitem> <para>Flex-&flex-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>Flit-core-&flit-core-version;</para> - </listitem> - <listitem> + </listitem>--> + <!--<listitem> <para>Gawk-&gawk-version;</para> - </listitem> - <listitem> + </listitem>--> + <!--<listitem> <para>GCC-&gcc-version;</para> - </listitem> + </listitem>--> <!--<listitem> <para>GDBM-&gdbm-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>Gettext-&gettext-version;</para> - </listitem> - <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>--> - <listitem> + <!--<listitem> <para>Grep-&grep-version;</para> - </listitem> - <listitem> - <para>Groff-&groff-version;</para> - </listitem> + </listitem>--> <!--<listitem> - <para>GRUB-&grub-version;</para> + <para>Groff-&groff-version;</para> </listitem>--> <!--<listitem> - <para>Gzip-&gzip-version;</para> + <para>GRUB-&grub-version;</para> </listitem>--> <listitem> - <para>IANA-Etc-&iana-etc-version;</para> + <para>Gzip-&gzip-version;</para> </listitem> <!--<listitem> + <para>IANA-Etc-&iana-etc-version;</para> + </listitem>--> + <!--<listitem> <para>Inetutils-&inetutils-version;</para> </listitem>--> <!--<listitem> <para>Intltool-&intltool-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>IPRoute2-&iproute2-version;</para> - </listitem> + </listitem>--> <!--<listitem revision="systemd"> <para>Jinja2-&jinja2-version;</para> </listitem>--> @@ -166,18 +146,18 @@ <!--<listitem> <para>Kmod-&kmod-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>Less-&less-version;</para> - </listitem> + </listitem>--> <!--<listitem> <para>LFS-Bootscripts-&lfs-bootscripts-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>Libcap-&libcap-version;</para> - </listitem> - <listitem> + </listitem>--> + <!--<listitem> <para>Libelf-&elfutils-version; (from elfutils)</para> - </listitem> + </listitem>--> <!--<listitem> <para>Libffi-&libffi-version;</para> </listitem>--> @@ -187,51 +167,51 @@ <!--<listitem> <para>Libtool-&libtool-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>Linux-&linux-version;</para> - </listitem> + </listitem>--> <!--<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>--> - <listitem> + <!--<listitem> <para>Man-pages-&man-pages-version;</para> - </listitem> - <listitem revision="systemd"> + </listitem>--> + <!--<listitem revision="systemd"> <para>MarkupSafe-&markupsafe-version;</para> - </listitem> - <listitem> + </listitem>--> + <!--<listitem> <para>Meson-&meson-version;</para> - </listitem> + </listitem>--> <!--<listitem> <para>MPC-&mpc-version;</para> </listitem>--> - <!--<listitem> + <listitem> <para>MPFR-&mpfr-version;</para> - </listitem>--> + </listitem> <!--<listitem> <para>Ncurses-&ncurses-version;</para> </listitem>--> <!--<listitem> <para>Ninja-&ninja-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>Openssl-&openssl-version;</para> - </listitem> + </listitem>--> <!--<listitem> <para>Patch-&patch-version;</para> </listitem>--> <listitem> <para>Pkgconf-&pkgconf-version;</para> </listitem> - <listitem> + <!--<listitem> <para>Perl-&perl-version;</para> - </listitem> + </listitem>--> <listitem> <para>Procps-ng-&procps-ng-version;</para> </listitem> @@ -247,30 +227,30 @@ <!--<listitem> <para>Sed-&sed-version;</para> </listitem>--> - <!--<listitem> - <para>Shadow-&shadow-version;</para> - </listitem>--> - <listitem revision="sysv"> - <para>Sysklogd-&sysklogd-version;</para> - </listitem> <listitem> - <para>Systemd-&systemd-version;</para> + <para>Shadow-&shadow-version;</para> </listitem> <!--<listitem revision="sysv"> - <para>SysVinit-&sysvinit-version;</para> + <para>Sysklogd-&sysklogd-version;</para> </listitem>--> - <listitem> - <para>Tar-&tar-version;</para> + <!--<listitem> + <para>Systemd-&systemd-version;</para> + </listitem>--> + <listitem revision="sysv"> + <para>SysVinit-&sysvinit-version;</para> </listitem> <!--<listitem> + <para>Tar-&tar-version;</para> + </listitem>--> + <!--<listitem> <para>Tcl-&tcl-version;</para> </listitem>--> - <listitem> + <!--<listitem> <para>Texinfo-&texinfo-version;</para> - </listitem> - <listitem> + </listitem>--> + <!--<listitem> <para>Tzdata-&tzdata-version;</para> - </listitem> + </listitem>--> <listitem> <para>Util-Linux-&util-linux-version;</para> </listitem> @@ -283,15 +263,15 @@ <!--<listitem> <para>XML-Parser-&xml-parser-version;</para> </listitem>--> - <listitem> - <para>XZ-Utils-&xz-version;</para> - </listitem> <!--<listitem> - <para>Zlib-&zlib-version;</para> + <para>XZ-Utils-&xz-version;</para> </listitem>--> <listitem> - <para>Zstd-&zstd-version;</para> + <para>Zlib-&zlib-version;</para> </listitem> + <!--<listitem> + <para>Zstd-&zstd-version;</para> + </listitem>--> </itemizedlist> <!--<itemizedlist> @@ -307,34 +287,6 @@ <title>Added:</title> <listitem><para></para></listitem> <!-- satisfy build --> - <listitem revision="sysv"> - <para>Udev-&systemd-version; (from systemd)</para> - </listitem> - - <listitem revision="sysv"> - <para>Jinja2-&jinja2-version;</para> - </listitem> - - <listitem revision="sysv"> - <para>MarkupSafe-&markupsafe-version;</para> - </listitem> - - <listitem> - <para>Libxcrypt-&libxcrypt-version;</para> - </listitem> - - <listitem> - <para>Pkgconf-&pkgconf-version;</para> - </listitem> - - <listitem> - <para>Flit-core-&flit-core-version;</para> - </listitem> - - <listitem> - <para>&glibc-memalign-patch;</para> - </listitem> - <!--<listitem> <para>&grub-upstream-fixes-patch;</para> </listitem>--> @@ -351,7 +303,7 @@ <itemizedlist> <title>Removed:</title> <listitem><para></para></listitem> <!-- satisfy build --> - +<!-- <listitem revision='sysv'> <para>eudev-3.2.12</para> </listitem> @@ -363,6 +315,7 @@ <listitem revision='systemd'> <para>systemd-252-security_fix-1.patch</para> </listitem> +--> </itemizedlist> </sect1> diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 862d2605c..10c1bf16e 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -145,7 +145,7 @@ </listitem> <listitem> - <para><emphasis role="strong">Texinfo-4.7</emphasis></para> + <para><emphasis role="strong">Texinfo-5.0</emphasis></para> </listitem> <listitem> @@ -173,7 +173,7 @@ <para >To see whether your host system has all the appropriate versions, and the ability to compile programs, run the following commands:</para> -<screen role="nodump"><userinput>cat > version-check.sh << "EOF" +<screen role="nodump"><?dbfo keep-together="auto"?><userinput>cat > version-check.sh << "EOF" <literal>#!/bin/bash # A script to list version numbers of critical development tools @@ -235,7 +235,7 @@ ver_check Perl perl 5.8.8 ver_check Python python3 3.4 ver_check Sed sed 4.1.5 ver_check Tar tar 1.22 -ver_check Texinfo texi2any 4.7 +ver_check Texinfo texi2any 5.0 ver_check Xz xz 5.0.0 ver_kernel &min-kernel; diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml index 2434a6b17..2b752b944 100644 --- a/chapter07/createfiles.xml +++ b/chapter07/createfiles.xml @@ -107,7 +107,6 @@ dialout:x:10: audio:x:11: video:x:12: utmp:x:13: -usb:x:14: cdrom:x:15: adm:x:16: messagebus:x:18: @@ -135,7 +134,6 @@ dialout:x:10: audio:x:11: video:x:12: utmp:x:13: -usb:x:14: cdrom:x:15: adm:x:16: messagebus:x:18: diff --git a/chapter08/autoconf.xml b/chapter08/autoconf.xml index 7925e44ea..38375665f 100644 --- a/chapter08/autoconf.xml +++ b/chapter08/autoconf.xml @@ -153,7 +153,7 @@ <para>Helps to create a <filename>configure.in</filename> file for a software package; it examines the source files in a directory tree, searching them for common portability issues, and creates a - <filename>configure.scan</filename> file that serves as as a + <filename>configure.scan</filename> file that serves as a preliminary <filename>configure.in</filename> file for the package</para> <indexterm zone="ch-system-autoconf autoscan"> diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml index 3f356d39e..8ab81d2f8 100644 --- a/chapter08/chapter08.xml +++ b/chapter08/chapter08.xml @@ -29,6 +29,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconf.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpfr.xml"/> @@ -39,7 +40,6 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxcrypt.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconf.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/> diff --git a/chapter08/flit-core.xml b/chapter08/flit-core.xml index 641ff73b7..661a02684 100644 --- a/chapter08/flit-core.xml +++ b/chapter08/flit-core.xml @@ -42,7 +42,7 @@ <para>Build the package:</para> -<screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> +<screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> <para>Install the package:</para> @@ -67,6 +67,15 @@ </varlistentry> <varlistentry> + <term><parameter>--no-cache-dir</parameter></term> + <listitem> + <para>Prevents pip from copying the created wheel into the + <filename class='directory'>/root/.cache/pip</filename> + directory.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><command>install</command></term> <listitem> <para>This command installs the package.</para> diff --git a/chapter08/jinja2.xml b/chapter08/jinja2.xml index ca614ecdc..59a01e26c 100644 --- a/chapter08/jinja2.xml +++ b/chapter08/jinja2.xml @@ -42,7 +42,7 @@ <para>Build the package:</para> -<screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> +<screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> <para>Install the package:</para> diff --git a/chapter08/markupsafe.xml b/chapter08/markupsafe.xml index b4a0cbc58..c09b9a64c 100644 --- a/chapter08/markupsafe.xml +++ b/chapter08/markupsafe.xml @@ -42,7 +42,7 @@ <para>Compile MarkupSafe with the following command:</para> -<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> +<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> <para>This package does not come with a test suite.</para> diff --git a/chapter08/meson.xml b/chapter08/meson.xml index a53a88c3c..8cf308237 100644 --- a/chapter08/meson.xml +++ b/chapter08/meson.xml @@ -46,7 +46,7 @@ --> <para>Compile Meson with the following command:</para> -<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> +<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> <para>The test suite requires some packages outside the scope of LFS.</para> diff --git a/chapter08/mpfr.xml b/chapter08/mpfr.xml index 2d16053de..c9e7c1a7d 100644 --- a/chapter08/mpfr.xml +++ b/chapter08/mpfr.xml @@ -41,20 +41,6 @@ <sect2 role="installation"> <title>Installation of MPFR</title> - <!-- https://sympa.inria.fr/sympa/arc/mpfr/2023-01/msg00002.html - https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c - - Note that it's a different issue from Glibc #30068 we've fixed in - chapter08/glibc.xml with a sed. Normally we just document the - test failure, but in this case the particular subtest also serves - as an additional guard against Glibc #30068. So we apply the - upstream fix here. --> - <para>Fix a test case based on a bug of old Glibc releases:</para> - -<screen><userinput remap="pre">sed -e 's/+01,234,567/+1,234,567 /' \ - -e 's/13.10Pd/13Pd/' \ - -i tests/tsprintf.c</userinput></screen> - <para>Prepare MPFR for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr \ diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml index 40a769311..6a4441552 100644 --- a/chapter08/openssl.xml +++ b/chapter08/openssl.xml @@ -101,21 +101,6 @@ make MANSUFFIX=ssl install</userinput></screen> number</emphasis>. </para> - <!-- https://bugzilla.mindrot.org/show_bug.cgi?id=3548 --> - <para> - If <application>OpenSSH</application> is installed, it will be an - exception of the general rule above. It contains an - over-restrictive OpenSSL version check, so both SSH client and SSH - server will refuse to start if OpenSSL - is updated with MAJOR version number unchanged but MINOR version - number changed. You need to rebuild - <application>OpenSSH</application> after such an upgrade. - <emphasis role='bold'>If <application>OpenSSH</application> is being - used to access the system, you must rebuild and reinstall it - after upgrading OpenSSL to a new MINOR version number before logout - or you won't be able to login via SSH anymore.</emphasis> - </para> - <para> However, any running programs linked to those libraries need to be stopped and restarted. Read the related entries in diff --git a/chapter08/procps.xml b/chapter08/procps.xml index 20a6be096..7fc74f587 100644 --- a/chapter08/procps.xml +++ b/chapter08/procps.xml @@ -67,18 +67,9 @@ <para>Compile the package:</para> -<screen><userinput remap="make">make</userinput></screen> -<!-- - <para>The test suite needs some custom modifications for LFS. - Remove a test that fails when scripting does not use a tty device and - fix two others. - To run the test suite, run the following commands:</para> - -<screen><userinput remap="test">sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp -sed -i '/set tty/d' testsuite/pkill.test/pkill.exp -rm testsuite/pgrep.test/pgrep.exp -make check</userinput></screen> ---> +<screen revision='sysv'><userinput remap="make">make</userinput></screen> +<screen revision='systemd'><userinput remap="make">make src_w_LDADD='$(LDADD) -lsystemd'</userinput></screen> + <para> To run the test suite, run:</para> <screen><userinput remap="test">make check</userinput></screen> diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml index 0f34d70ac..f88216a5b 100644 --- a/chapter08/shadow.xml +++ b/chapter08/shadow.xml @@ -107,6 +107,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s ./configure --sysconfdir=/etc \ --disable-static \ --with-{b,yes}crypt \ + --without-libbsd \ --with-group-name-max-length=32</userinput></screen> <variablelist> @@ -144,6 +145,14 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s </listitem> </varlistentry> + <varlistentry> + <term><parameter>--without-libbsd</parameter></term> + <listitem> + <para>Do not use the readpassphrase function from libbsd which + is not in LFS. Use the internal copy instead.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml index 1446949be..92ecfe310 100644 --- a/chapter08/stripping.xml +++ b/chapter08/stripping.xml @@ -95,6 +95,7 @@ online_usrlib="libbfd-&binutils-version;.so libm.so.6 libreadline.so.&readline-soversion; libz.so.&zlib-version; + libzstd.so.&zstd-version; $(cd /usr/lib; find libnss*.so* -type f)" for BIN in $online_usrbin; do diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 63003ac68..761467acd 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -68,6 +68,7 @@ meson setup \ -Dmode=release \ -Dpamconfdir=no \ -Ddev-kvm-mode=0660 \ + -Dnobody-group=nogroup \ -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ ..</userinput></screen> @@ -178,6 +179,14 @@ meson setup \ consider it dangerous. This option overrides it.</para> </listitem> </varlistentry> + + <varlistentry> + <term><parameter>-Dnobody-group=nogroup</parameter></term> + <listitem> + <para>Tell the package the group name with GID 65534 is + <systemitem class='groupname'>nogroup</systemitem>.</para> + </listitem> + </varlistentry> </variablelist> <para>Compile the package:</para> diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index 72c6e3699..0ec5c1c8e 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -1220,7 +1220,8 @@ su tester -c "make -k check"</userinput></screen> <para>Creates new UUIDs. Each new UUID is a random number likely to be unique among all UUIDs created, on the local system and on other systems, in the past and in the future, with extremely high - probability (~340 trillion trillion trillion unique UUIDs are possible)</para> + probability (2<superscript>128</superscript> UUIDs are + possible)</para> <indexterm zone="ch-system-util-linux uuidgen"> <primary sortas="b-uuidgen">uuidgen</primary> </indexterm> diff --git a/chapter08/wheel.xml b/chapter08/wheel.xml index 88e47d556..0f3a1c99e 100644 --- a/chapter08/wheel.xml +++ b/chapter08/wheel.xml @@ -42,7 +42,7 @@ <para>Compile Wheel with the following command:</para> -<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> +<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> <para>Install Wheel with the following command:</para> diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 314ba3f31..587417f19 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -122,6 +122,7 @@ <note> + <?dbfo keep-together="auto"?> <para>A good starting place for setting up the kernel configuration is to run <command>make defconfig</command>. This will set the base configuration to a good state that takes your current system architecture diff --git a/general.ent b/general.ent index a222812e9..0540ac6c2 100644 --- a/general.ent +++ b/general.ent @@ -103,6 +103,7 @@ <!ENTITY erratad "&lfs-root;lfs/errata/&generic-versiond;/"> --> <!ENTITY lfs-ticket-root "https://wiki.linuxfromscratch.org/lfs/ticket/"> +<!ENTITY blfs-ticket-root "https://wiki.linuxfromscratch.org/blfs/ticket/"> <!ENTITY anduin-sources "https://anduin.linuxfromscratch.org/LFS"> diff --git a/lfs-latest.php b/lfs-latest.php index 3a4df9243..f41b1b2b9 100644..120000 --- a/lfs-latest.php +++ b/lfs-latest.php @@ -1,481 +1 @@ -#! /usr/bin/php -<?php -$dirs = array(); -$vers = array(); - -date_default_timezone_set( "GMT" ); -$date = date( "Y-m-d H:i:s" ); - -// Special cases -$exceptions = array(); -//$exceptions[ 'gmp' ] = "UPDIR=/.*(gmp-\d[\d\.-]*\d).*/:DOWNDIR="; - -$regex = array(); -//$regex[ 'bzip2' ] = "/^.*current version is ([\d\.]+).*$/"; -$regex[ 'check' ] = "/^.*Check (\d[\d\.]+\d).*$/"; -$regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/"; -$regex[ 'less' ] = "/^.*current released version is less-(\d+).*$/"; -$regex[ 'mpfr' ] = "/^mpfr-([\d\.]+)\.tar.*$/"; -$regex[ 'Python' ] = "/^.*Latest Python 3.*Python (3[\d\.]+\d).*$/"; -$regex[ 'systemd' ] = "/^.*v([\d]+)$/"; -//$regex[ 'sysvinit' ] = "/^.*sysvinit-([\d\.]+)dsf\.tar.*$/"; -$regex[ 'tzdata' ] = "/^.*tzdata([\d]+[a-z]).*$/"; -$regex[ 'xz' ] = "/^.*xz-([\d\.]*\d).*$/"; -$regex[ 'zlib' ] = "/^.*zlib ([\d\.]*\d).*$/"; - -function find_max( $lines, $regex_match, $regex_replace ) -{ - $a = array(); - if ( ! is_array( $lines ) ) return -1; - - foreach ( $lines as $line ) - { - if ( ! preg_match( $regex_match, $line ) ) continue; - - // Isolate the version and put in an array - $slice = preg_replace( $regex_replace, "$1", $line ); - if ( $slice == $line ) continue; - - array_push( $a, $slice ); - } - - // SORT_NATURAL requires php-5.4.0 or later - rsort( $a, SORT_NATURAL ); // Max version is at the top - return ( isset( $a[0] ) ) ? $a[0] : -2; -} - -function find_even_max( $lines, $regex_match, $regex_replace ) -{ - $a = array(); - foreach ( $lines as $line ) - { - if ( ! preg_match( $regex_match, $line ) ) continue; - - // Isolate the version and put in an array - $slice = preg_replace( $regex_replace, "$1", $line ); - - if ( "x$slice" == "x$line" ) continue; - - // Skip odd numbered minor versions and minors > 80 - list( $major, $minor, $rest ) = explode( ".", $slice . ".0" ); - if ( $minor % 2 == 1 ) continue; - if ( $minor > 80 ) continue; - array_push( $a, $slice ); - } - - rsort( $a, SORT_NATURAL ); // Max version is at the top - return ( isset( $a[0] ) ) ? $a[0] : -2; -} - -function http_get_file( $url ) -{ - if ( ! preg_match( "/sourceforge/", $url ) && - ! preg_match( "/psmisc/", $url ) ) - { - exec( "curl --location --silent --max-time 30 $url", $dir ); - - $s = implode( "\n", $dir ); - $dir = strip_tags( $s ); - return explode( "\n", $dir ); - } - else - { - exec( "links -dump $url 2>/dev/null", $lines ); - return $lines; - } -} - -function max_parent( $dirpath, $prefix ) -{ - // First, remove a directory - $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash - $position = strrpos( $dirpath, "/" ); - $dirpath = substr ( $dirpath, 0, $position ); - - $lines = http_get_file( $dirpath ); - - $regex_match = "#${prefix}[\d\.]+/#"; - $regex_replace = "#^.*(${prefix}[\d\.]+)/.*$#"; - $max = find_max( $lines, $regex_match, $regex_replace ); - - return "$dirpath/$max"; -} - -function get_packages( $package, $dirpath ) -{ - global $exceptions; - global $regex; - -//if ( $package != "psmisc" ) return 0; // Debug - -if ( $package == "bc" ) $dirpath = "https://github.com/gavinhoward/bc/releases"; -if ( $package == "check" ) $dirpath = "https://github.com/libcheck/check/releases"; -if ( $package == "e2fsprogs" ) $dirpath = "http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs"; -if ( $package == "expat" ) $dirpath = "http://sourceforge.net/projects/expat/files"; -if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils"; -if ( $package == "expect" ) $dirpath = "http://sourceforge.net/projects/expect/files"; -if ( $package == "file" ) $dirpath = "https://github.com/file/file/releases"; -if ( $package == "flex" ) $dirpath = "https://github.com/westes/flex/releases"; -if ( $package == "gcc" ) $dirpath = max_parent( $dirpath, "gcc-" ); -if ( $package == "iana-etc" ) $dirpath = "https://github.com/Mic92/iana-etc/releases"; -if ( $package == "intltool" ) $dirpath = "https://launchpad.net/intltool/trunk"; -if ( $package == "meson" ) $dirpath = "https://github.com/mesonbuild/meson/releases"; -if ( $package == "mpc" ) $dirpath = "https://ftp.gnu.org/gnu/mpc"; -if ( $package == "mpfr" ) $dirpath = "http://mpfr.loria.fr/mpfr-current"; -if ( $package == "ninja" ) $dirpath = "https://github.com/ninja-build/ninja/releases"; -if ( $package == "procps-ng" ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags"; -if ( $package == "psmisc" ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags"; -if ( $package == "Python" ) $dirpath = "https://www.python.org/downloads/source/"; -if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shadow/releases"; -if ( $package == "systemd" ) $dirpath = "https://github.com/systemd/systemd/releases"; -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 - if ( preg_match( "/^ftp/", $dirpath ) ) - { - $dirpath = substr( $dirpath, 6 ); // Remove ftp:// - $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash - $position = strpos( $dirpath, "/" ); // Divide at first slash - $server = substr( $dirpath, 0, $position ); - $path = substr( $dirpath, $position ); - - $conn = ftp_connect( $server ); - ftp_login( $conn, "anonymous", "" ); - - // See if we need special handling - if ( isset( $exceptions[ $package ] ) ) - { - $specials = explode( ":", $exceptions[ $package ] ); - - foreach ( $specials as $i ) - { - list( $op, $regexp ) = explode( "=", $i ); - - switch ($op) - { - case "UPDIR": - // Remove last dir from $path - $position = strrpos( $path, "/" ); - $path = substr( $path, 0, $position ); - - // Get dir listing - $lines = ftp_rawlist ($conn, $path); - $max = find_max( $lines, $regexp, $regexp ); - break; - - case "DOWNDIR": - // Append found directory - $path .= "/$max"; - break; - - default: - echo "Error in specials array for $package\n"; - return -5; - break; - } - } - } - - $lines = ftp_rawlist ($conn, $path); - ftp_close( $conn ); - } - else // http - { - // Customize http directories as needed - if ( $package == "tzdata" ) - { - // Remove two directories - $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash - $position = strrpos( $dirpath, "/" ); - $dirpath = substr ( $dirpath, 0, $position ); - $position = strrpos( $dirpath, "/" ); - $dirpath = substr ( $dirpath, 0, $position ); - } - - //if ( $package == "bzip2" ) - //{ - // // Remove one directory - // $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash - // $position = strrpos( $dirpath, "/" ); - // $dirpath = substr ( $dirpath, 0, $position ); - //} - - $lines = http_get_file( $dirpath ); - if ( ! is_array( $lines ) ) return -6; - } // End fetch -//print_r($lines); - if ( isset( $regex[ $package ] ) ) - { - // Custom search for latest package name - foreach ( $lines as $l ) - { - $ver = preg_replace( $regex[ $package ], "$1", $l ); - if ( $ver == $l ) continue; - return $ver; // Return first match of regex - } - - return -7; // This is an error - } - - if ( $package == "perl" ) // Custom for perl - { - $tmp = array(); - - foreach ( $lines as $l ) - { - if ( preg_match( "/sperl/", $l ) ) continue; // Don't want this - $ver = preg_replace( "/^.*perl-([\d\.]+\d)\.tar.*$/", "$1", $l ); - if ( $ver == $l ) continue; - list( $s1, $s2, $rest ) = explode( ".", $ver ); - if ( $s2 % 2 == 1 ) continue; // Remove odd minor versions - array_push( $tmp, $l ); - } - - $lines = $tmp; - } - - if ( $package == "attr" || - $package == "acl" ) - { - return find_max( $lines, "/$package/", "/^.*$package-([\d\.-]*\d).tar.*$/" ); - } - - if ( $package == "e2fsprogs" ) - return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]+\d).*$/" ); - - if ( $package == "expect" ) - return find_max( $lines, "/expect/", "/^.*expect(\d[\d\.]+\d).tar.*$/" ); - - if ( $package == "elfutils" ) - return find_max( $lines, "/^\d/", "/^(\d[\d\.]+\d)\/.*$/" ); - - if ( $package == "XML-Parser" ) - { - $max = find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d).tar.*$/" ); - # 2.44_01 is a developer release - if ( $max == "2.44_01" ) { return "2.44"; } - return $max; - } - - if ( $package == "tcl" ) - return find_max( $lines, "/tcl/", "/^.*tcl(\d[\d\.]*\d)-src.*$/" ); - - if ( $package == "ninja" ) - return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" ); - - if ( $package == "gmp" ) - return find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d[a-z]?).tar.*$/" ); - - if ( $package == "dbus" ) - return find_even_max( $lines, "/$package/", "/^.*$package-([\d\.]+).tar.*$/" ); - - if ( $package == "file" ) - { - $max = find_max( $lines, "/FILE5/", "/^.*FILE(5_\d+)*$/" ); - return str_replace( "_", ".", $max ); - } - - if ( $package == "procps-ng" ) - return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); - - if ( $package == "psmisc" ) - return find_max( $lines, "/v\d/", "/^.*v([\d\.]+) .*$/" ); - - if ( $package == "grub" ) - return find_max( $lines, "/grub/", "/^.*grub-(\d\..*).tar.xz.*$/" ); - - if ( $package == "openssl" ) - return find_max( $lines, "/openssl/", "/^.*openssl-([\d\.p]*\d.?).tar.*$/" ); - - 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.*$/" ); -} - -function get_current() -{ - global $dirs; - global $vers; - - // Fetech from svn and get wget-list - $current = array(); - $lfssvn = "svn://svn.linuxfromscratch.org/LFS/trunk"; - - $tmpdir = exec( "mktemp -d /tmp/lfscheck.XXXXXX" ); - $cdir = getcwd(); - chdir( $tmpdir ); - exec ( "svn --quiet export $lfssvn LFS" ); - chdir( $cdir ); - - $PAGE = "$tmpdir/LFS/BOOK/chapter03/chapter03.xml"; - $STYLESHEET = "$tmpdir/LFS/BOOK/stylesheets/wget-list.xsl"; - - exec( "xsltproc --xinclude --nonet $STYLESHEET $PAGE", $current ); - exec( "rm -rf $tmpdir" ); - - foreach ( $current as $line ) - { - $file = basename( $line ) . "\n"; - if ( preg_match( "/patch$/", $file ) ) { continue; } // Skip patches - - $file = preg_replace( "/bz2/", '', $file ); // The 2 confusses the regex - - $file = rtrim( $file ); - $pkg_pattern = "/(\D*).*/"; - //$pattern = "/\D*(\d.*\d)\D*/"; - $pattern = "/\D*(\d.*\d)\D*/"; - - if ( preg_match( "/e2fsprogs/", $file ) ) - { - $pattern = "/e2\D*(\d.*\d)\D*/"; - $pkg_pattern = "/(e2\D*).*/"; - } - - else if ( preg_match( "/tzdata/", $file ) ) - { - $pattern = "/\D*(\d.*[a-z])\.tar\D*/"; - } - - else if ( preg_match( "/openssl/", $file ) ) - { - $pattern = "/\D*(\d.*\d.*).tar.*$/"; - } - - else if ( preg_match( "/gmp/", $file ) ) - { - $pattern = "/\D*(\d.*[a-z]*)\.tar\D*/"; - } - - else if ( preg_match( "/systemd-man-pages/", $file ) ) continue; - else if ( preg_match( "/python/" , $file ) ) continue; - - $version = preg_replace( $pattern, "$1", $file ); // Isolate version - $version = preg_replace( "/^\d-/", "", $version ); // Remove leading #- - - // Touch up package names - $pkg_name = preg_replace( $pkg_pattern, "$1", $file ); - $pkg_name = trim( $pkg_name, "-" ); - - if ( preg_match( "/bzip|iproute/", $pkg_name ) ) { $pkg_name .= "2"; } - if ( preg_match( "/^m$/" , $pkg_name ) ) { $pkg_name .= "4"; } - if ( preg_match( "/shadow/" , $pkg_name ) ) { $pkg_name = "shadow"; } - - $dirs[ $pkg_name ] = dirname( $line ); - $vers[ $pkg_name ] = $version; - } -} - -function mail_to_lfs() -{ - global $date; - global $vers; - global $dirs; - - //$to = "bruce.dubbs@gmail.com"; - $to = "lfs-book@lists.linuxfromscratch.org"; - $from = "bdubbs@linuxfromscratch.org"; - $subject = "LFS Package Currency Check - $date GMT"; - $headers = "From: bdubbs@anduin.linuxfromscratch.org"; - - $message = "Package LFS Upstream Flag\n\n"; - - foreach ( $dirs as $pkg => $dir ) - { - //if ( $pkg != "gmp" ) continue; //debug - $v = get_packages( $pkg, $dir ); - - $flag = ( $vers[ $pkg ] != $v ) ? "*" : ""; - - // Pad for output - $pad = " "; - $p = substr( $pkg . $pad, 0, 15 ); - $l = substr( $vers[ $pkg ] . $pad, 0, 10 ); - $c = substr( $v . $pad, 0, 10 ); - - $message .= "$p $l $c $flag\n"; - } - - exec ( "echo '$message' | mailx -r $from -s '$subject' $to" ); - //echo $message; -} - -function html() -{ - - global $date; - global $vers; - global $dirs; - - echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' - 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> -<head> -<title>LFS Package Currency Check - $date</title> -<style type='text/css'> -h1, h2 { - text-align : center; -} - -table { - border-width : 1px; - border-spacing : 0px; - border-style : outset; - border-color : gray; - border-collapse : separate; - background-color: white; - margin : 0px auto; -} - -table th { - border-width : 1px; - padding : 2px; - border-style : inset; - border-color : gray; - background-color: white; -} - -table td { - border-width : 1px; - padding : 2px; - border-style : inset; - border-color : gray; - background-color: white; -} -</style> - -</head> -<body> -<h1>LFS Package Currency Check</h1> -<h2>As of $date GMT</h1> - -<table> -<tr><th>LFS Package</th> <th>LFS Version</th> <th>Latest</th> <th>Flag</th></tr>\n"; - - // Get the latest version of each package - foreach ( $dirs as $pkg => $dir ) - { - $v = get_packages( $pkg, $dir ); - $flag = ( $vers[ $pkg ] != $v ) ? "*" : ""; - echo "<tr><td>$pkg</td> <td>${vers[ $pkg ]}</td> <td>$v</td> <td>$flag</td></tr>\n"; - } - - echo "</table> -</body> -</html>\n"; - -} - -get_current(); // Get what is in the book -mail_to_lfs(); -//html(); // Write html output -?> +lfs-latest-git.php
\ No newline at end of file diff --git a/packages.ent b/packages.ent index 67ad4012c..7827212da 100644 --- a/packages.ent +++ b/packages.ent @@ -104,20 +104,20 @@ <!ENTITY check-fin-du "12 MB"> <!ENTITY check-fin-sbu "0.1 SBU (about 1.6 SBU with tests)"> -<!ENTITY coreutils-version "9.3"> -<!ENTITY coreutils-size "5,673 KB"> +<!ENTITY coreutils-version "9.4"> +<!ENTITY coreutils-size "5,840 KB"> <!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.xz"> -<!ENTITY coreutils-md5 "040b4b7acaf89499834bfc79609af29f"> +<!ENTITY coreutils-md5 "459e9546074db2834eefe5421f250025"> <!ENTITY coreutils-home "&gnu-software;coreutils/"> <!ENTITY coreutils-tmp-du "168 MB"> <!ENTITY coreutils-tmp-sbu "0.3 SBU"> <!ENTITY coreutils-fin-du "165 MB"> <!ENTITY coreutils-fin-sbu "0.9 SBU"> -<!ENTITY dbus-version "1.14.8"> -<!ENTITY dbus-size "1,340 KB"> +<!ENTITY dbus-version "1.14.10"> +<!ENTITY dbus-size "1,344 KB"> <!ENTITY dbus-url "https://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.xz"> -<!ENTITY dbus-md5 "da42f55aeec51b355587bc3062fc2d41"> +<!ENTITY dbus-md5 "46070a3487817ff690981f8cd2ba9376"> <!ENTITY dbus-home "https://www.freedesktop.org/wiki/Software/dbus"> <!ENTITY dbus-fin-du "20 MB"> <!ENTITY dbus-fin-sbu "0.1 SBU"> @@ -308,10 +308,10 @@ <!ENTITY grub-fin-du "161 MB"> <!ENTITY grub-fin-sbu "0.3 SBU"> -<!ENTITY gzip-version "1.12"> -<!ENTITY gzip-size "807 KB"> +<!ENTITY gzip-version "1.13"> +<!ENTITY gzip-size "819 KB"> <!ENTITY gzip-url "&gnu;gzip/gzip-&gzip-version;.tar.xz"> -<!ENTITY gzip-md5 "9608e4ac5f061b2a6479dc44e917a5db"> +<!ENTITY gzip-md5 "d5c9fc9441288817a4a0be2da0249e29"> <!ENTITY gzip-home "&gnu-software;gzip/"> <!ENTITY gzip-tmp-du "11 MB"> <!ENTITY gzip-tmp-sbu "0.1 SBU"> @@ -359,10 +359,10 @@ <!ENTITY jinja2-fin-du "3.4 MB"> <!ENTITY jinja2-fin-sbu "less than 0.1 SBU"> -<!ENTITY kbd-version "2.6.1"> -<!ENTITY kbd-size "1,554 KB"> +<!ENTITY kbd-version "2.6.2"> +<!ENTITY kbd-size "1,469 KB"> <!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz"> -<!ENTITY kbd-md5 "986241b5d94c6bd4ed2f6d2a5ab4320b"> +<!ENTITY kbd-md5 "35e261a31e673c8aec7dbc6553ea075c"> <!ENTITY kbd-home "https://kbd-project.org/"> <!ENTITY kbd-fin-du "35 MB"> <!ENTITY kbd-fin-sbu "0.1 SBU"> @@ -432,13 +432,13 @@ <!ENTITY libxcrypt-fin-sbu "0.1 SBU"> <!ENTITY linux-major-version "6"> -<!ENTITY linux-minor-version "4"> -<!ENTITY linux-patch-version "12"> +<!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 "134,616 KB"> +<!ENTITY linux-size "135,684 KB"> <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> -<!ENTITY linux-md5 "24570ba0ef9dd592bd640a1a41686fac"> +<!ENTITY linux-md5 "228479f37b3face05b53bd7f8906abe0"> <!ENTITY linux-home "https://www.kernel.org/"> <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is allnoconfig rounded down to allow for ongoing cleanups, @@ -509,10 +509,10 @@ <!ENTITY mpc-fin-du "22 MB"> <!ENTITY mpc-fin-sbu "0.1 SBU"> -<!ENTITY mpfr-version "4.2.0"> -<!ENTITY mpfr-size "1,443 KB"> +<!ENTITY mpfr-version "4.2.1"> +<!ENTITY mpfr-size "1,459 KB"> <!ENTITY mpfr-url "https://ftp.gnu.org/gnu/mpfr/mpfr-&mpfr-version;.tar.xz"> -<!ENTITY mpfr-md5 "a25091f337f25830c16d2054d74b5af7"> +<!ENTITY mpfr-md5 "523c50c6318dde6f9dc523bc0244690a"> <!ENTITY mpfr-home "https://www.mpfr.org/"> <!ENTITY mpfr-fin-du "43 MB"> <!ENTITY mpfr-fin-sbu "0.2 SBU"> @@ -567,18 +567,18 @@ <!ENTITY perl-fin-du "239 MB"> <!ENTITY perl-fin-sbu "7.1 SBU"> -<!ENTITY pkgconf-version "2.0.1"> +<!ENTITY pkgconf-version "2.0.3"> <!ENTITY pkgconf-size "304 KB"> <!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz"> -<!ENTITY pkgconf-md5 "efc1318f368bb592aba6ebb18d9ff254"> +<!ENTITY pkgconf-md5 "b82ca48ed3097adfa007ee71489b6719"> <!ENTITY pkgconf-home "http://pkgconf.org/"> <!ENTITY pkgconf-fin-du "4.6 MB"> <!ENTITY pkgconf-fin-sbu "less than 0.1 SBU"> -<!ENTITY procps-ng-version "4.0.3"> -<!ENTITY procps-ng-size "1,268 KB"> +<!ENTITY procps-ng-version "4.0.4"> +<!ENTITY procps-ng-size "1,369 KB"> <!ENTITY procps-ng-url "https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-&procps-ng-version;.tar.xz"> -<!ENTITY procps-ng-md5 "22b287bcd758831cbaf3356cd3054fe7"> +<!ENTITY procps-ng-md5 "2f747fc7df8ccf402d03e375c565cf96"> <!ENTITY procps-ng-home "https://sourceforge.net/projects/procps-ng"> <!ENTITY procps-ng-fin-du "25 MB"> <!ENTITY procps-ng-fin-sbu "0.1 SBU"> @@ -594,19 +594,19 @@ <!-- If python minor version changes, updates in python and meson pages will be needed: python3.6 and python3.6m --> -<!ENTITY python-version "3.11.4"> +<!ENTITY python-version "3.11.5"> <!ENTITY python-minor "3.11"> -<!ENTITY python-size "19,488 KB"> +<!ENTITY python-size "19,584 KB"> <!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz"> -<!ENTITY python-md5 "fb7f7eae520285788449d569e45b6718"> +<!ENTITY python-md5 "393856f1b7713aa8bba4b642ab9985d3"> <!ENTITY python-home "https://www.python.org/"> <!ENTITY python-tmp-du "533 MB"> <!ENTITY python-tmp-sbu "0.4 SBU"> <!ENTITY python-fin-du "370 MB"> <!ENTITY python-fin-sbu "1.9 SBU"> <!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2"> -<!ENTITY python-docs-md5 "cdce7b1189bcf52947f3b434ab04d7e2"> -<!ENTITY python-docs-size "7,649 KB"> +<!ENTITY python-docs-md5 "1abed52338038f4b53a277a5558af838"> +<!ENTITY python-docs-size "7,678 KB"> <!ENTITY readline-version "8.2"> <!ENTITY readline-soversion "8.2"><!-- used for stripping --> @@ -627,10 +627,10 @@ <!ENTITY sed-fin-du "30 MB"> <!ENTITY sed-fin-sbu "0.3 SBU"> -<!ENTITY shadow-version "4.13"> -<!ENTITY shadow-size "1,722 KB"> +<!ENTITY shadow-version "4.14.0"> +<!ENTITY shadow-size "1,746 KB"> <!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz"> -<!ENTITY shadow-md5 "b1ab01b5462ddcf43588374d57bec123"> +<!ENTITY shadow-md5 "bb0166bebc24db9003bb77bfd1359042"> <!ENTITY shadow-home "https://shadow-maint.github.io/shadow/"> <!ENTITY shadow-fin-du "46 MB"> <!ENTITY shadow-fin-sbu "0.1 SBU"> @@ -660,10 +660,10 @@ <!ENTITY systemd-fin-du "238 MB"> <!ENTITY systemd-fin-sbu "0.7 SBU"> -<!ENTITY sysvinit-version "3.07"> -<!ENTITY sysvinit-size "258 KB"> +<!ENTITY sysvinit-version "3.08"> +<!ENTITY sysvinit-size "263 KB"> <!ENTITY sysvinit-url "&github;/slicer69/sysvinit/releases/download/&sysvinit-version;/sysvinit-&sysvinit-version;.tar.xz"> -<!ENTITY sysvinit-md5 "190398c660af29c97d892126d2a95e28"> +<!ENTITY sysvinit-md5 "81a05f28d7b67533cfc778fcadea168c"> <!ENTITY sysvinit-home "&savannah-nongnu;/projects/sysvinit"> <!ENTITY sysvinit-fin-du "4.5 MB"> <!ENTITY sysvinit-fin-sbu "less than 0.1 SBU"> @@ -716,31 +716,31 @@ <!ENTITY udev-lfs-home " "> <!ENTITY util-linux-minor "2.39"> -<!ENTITY util-linux-version "2.39.1"> <!-- 2.33.x --> -<!ENTITY util-linux-size "8,156 KB"> +<!ENTITY util-linux-version "2.39.2"> <!-- 2.33.x --> +<!ENTITY util-linux-size "8,167 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 "c542cd7c0726254e4b3006a9b428201a"> +<!ENTITY util-linux-md5 "2feb3e7c306f336a3d22a182dfffc942"> <!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/"> <!ENTITY util-linux-tmp-du "169 MB"> <!ENTITY util-linux-tmp-sbu "0.2 SBU"> <!ENTITY util-linux-fin-du "310 MB"> <!ENTITY util-linux-fin-sbu "0.5 SBU"> -<!ENTITY vim-version "9.0.1677"> +<!ENTITY vim-version "9.0.1837"> <!-- <!ENTITY vim-majmin "90"> --> <!ENTITY vim-docdir "vim/vim90"> -<!ENTITY vim-size "16,670 KB"> +<!ENTITY vim-size "16,838 KB"> <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">--> <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz"> -<!ENTITY vim-md5 "65e6b09ef0628a2d8eba79f1d1d5a564"> +<!ENTITY vim-md5 "de7cba78a556f96482ae8f09b082aa59"> <!ENTITY vim-home "https://www.vim.org"> <!ENTITY vim-fin-du "229 MB"> <!ENTITY vim-fin-sbu "2.3 SBU"> -<!ENTITY wheel-version "0.41.1"> +<!ENTITY wheel-version "0.41.2"> <!ENTITY wheel-size "96 KB"> <!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz"> -<!ENTITY wheel-md5 "181cb3f4d8ed340c904a0e1c416d341d"> +<!ENTITY wheel-md5 "06271a9e90c948b7e93dd7ce0fd90272"> <!ENTITY wheel-home "&pypi-home;/wheel/"> <!ENTITY wheel-fin-du "1.5 MB"> <!ENTITY wheel-fin-sbu "less than 0.1 SBU"> @@ -763,11 +763,15 @@ <!ENTITY xz-fin-du "24 MB"> <!ENTITY xz-fin-sbu "0.1 SBU"> -<!ENTITY zlib-version "1.2.13"> -<!ENTITY zlib-size "1267 KB"> -<!ENTITY zlib-url "&anduin-sources;/zlib-&zlib-version;.tar.xz"> -<!ENTITY zlib-md5 "7d9fc1d78ae2fa3e84fe98b77d006c63"> -<!ENTITY zlib-home "https://www.zlib.net/"> +<!ENTITY zlib-version "1.3"> +<!ENTITY zlib-size "1,461 KB"> +<!-- DO NOT remove "fossils"! + The upstream removes https://zlib.net/zlib-&zlib-version;.tar.xz + once a newer version is released EVEN IF there is no security fixes. + Unfortunately there is no .xz files in fossils directory. --> +<!ENTITY zlib-url "https://zlib.net/fossils/zlib-&zlib-version;.tar.gz"> +<!ENTITY zlib-md5 "60373b133d630f74f4a1f94c1185a53f"> +<!ENTITY zlib-home "https://zlib.net/"> <!ENTITY zlib-fin-du "6.2 MB"> <!ENTITY zlib-fin-sbu "less than 0.1 SBU"> diff --git a/part3intro/generalinstructions.xml b/part3intro/generalinstructions.xml index f3285bc17..fe368d8d8 100644 --- a/part3intro/generalinstructions.xml +++ b/part3intro/generalinstructions.xml @@ -11,6 +11,20 @@ <title>General Compilation Instructions</title> + <caution> + <para> + During a development cycle of LFS, the instructions in the book are + often modified to adapt for a package update or take the advantage of + new features from updated packages. Mixing up the instructions of + different versions of the LFS book can cause subtle breakages. This + kind of issue is generally a result from reusing some script created + for a prior LFS release. Such a reuse is strongly discouraged. If + you are reusing scripts for a prior LFS release for any reason, you'll + need to be very careful to update the scripts to match current version + of the LFS book. + </para> + </caution> + <para>Here are some things you should know about building each package:</para> <itemizedlist> diff --git a/patches.ent b/patches.ent index c3b6dfb18..7bb34e656 100644 --- a/patches.ent +++ b/patches.ent @@ -2,50 +2,14 @@ <!-- Start of Common Patches --> -<!-- -<!ENTITY autoconf-fixes-patch "autoconf-&autoconf-version;-consolidated_fixes-1.patch"> -<!ENTITY autoconf-fixes-patch-md5 "3c515415ecdd777990c91e8900279cb9"> -<!ENTITY autoconf-fixes-patch-size "3.8 KB"> ---> -<!-- -<!ENTITY bash-fixes-patch "bash-&bash-version;-upstream_fixes-1.patch"> -<!ENTITY bash-fixes-patch-md5 "5f20760139d6a97e55124988fcddae44"> -<!ENTITY bash-fixes-patch-size "2.0 KB"> ---> -<!-- -<!ENTITY binutils-lto-patch "binutils-&binutils-version;-lto_fix-1.patch"> -<!ENTITY binutils-lto-patch-md5 "3df11b6123d5bbdb0fc83862a003827a"> -<!ENTITY binutils-lto-patch-size "3.5 KB"> ---> - <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch"> <!ENTITY bzip2-docs-patch-md5 "6a5ac7e89b791aae556de0f745916f7f"> <!ENTITY bzip2-docs-patch-size "1.6 KB"> <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch"> -<!ENTITY coreutils-i18n-patch-md5 "3c6340b3ddd62f4acdf8d3caa6fad6b0"> +<!ENTITY coreutils-i18n-patch-md5 "cca7dc8c73147444e77bc45d210229bb"> <!ENTITY coreutils-i18n-patch-size "166 KB"> -<!-- -<!ENTITY coreutils-chmod-patch "coreutils-&coreutils-version;-chmod_fix-1.patch"> -<!ENTITY coreutils-chmod-patch-md5 "4709df88e68279e6ef357aa819ba5b1a"> -<!ENTITY coreutils-chmod-patch-size "3.8 KB"> ---> -<!-- -<!ENTITY flex-fixes-patch "flex-&flex-version;-upstream_fixes-3.patch"> -<!ENTITY flex-fixes-patch-md5 "b46f6b0380e502a3dfb8b503227cd680"> -<!ENTITY flex-fixes-patch-size "3.4 KB"> ---> -<!-- -<!ENTITY file-upstream-fixes-patch "file-&file-version;-upstream_fixes-1.patch"> -<!ENTITY file-upstream-fixes-md5 "d99090db596b9db2bed869662199a56a"> -<!ENTITY file-upstream-fixes-patch-size "4.0 KB"> ---> -<!-- -<!ENTITY gcc-upstream-fixes-patch "gcc-&gcc-version;-glibc_2.36-1.patch"> -<!ENTITY gcc-upstream-fixes-patch-md5 "8a5a4c3d14b9b2398b32f20b53a4de50"> -<!ENTITY gcc-upstream-fixes-patch-size "1.7 KB"> ---> <!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch"> <!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2"> <!ENTITY glibc-fhs-patch-size "2.8 KB"> @@ -62,49 +26,11 @@ <!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895"> <!ENTITY kbd-backspace-patch-size "12 KB"> -<!-- -<!ENTITY libpipeline-checks-patch "libpipeline-&libpipeline-version;-check_fixes-3.patch"> -<!ENTITY libpipeline-checks-patch-md5 "0cd71f98eadaee07647d021d2e4c8621"> -<!ENTITY libpipeline-checks-patch-size "22 KB"> - -<!ENTITY meson-fix-patch "meson-&meson-version;-upstream_fix-2.patch"> -<!ENTITY meson-fix-patch-md5 "dd0b2187d287abcb41c3dd7e497b7df3"> -<!ENTITY meson-fix-patch-size "5.5 KB"> - -<!ENTITY ninja-limit-jobs-patch "ninja-&ninja-version;-add_NINJAJOBS_var-1.patch"> -<!ENTITY ninja-limit-jobs-patch-md5 "f537a633532492e805aa342fa869ca45"> -<!ENTITY ninja-limit-jobs-patch-size "2.5 KB"> ---> -<!-- -<!ENTITY perl-fix-patch "perl-&perl-version;-upstream_fixes-1.patch"> -<!ENTITY perl-fix-patch-md5 "fb42558b59ed95ee00eb9f1c1c9b8056"> -<!ENTITY perl-fix-patch-size "1.6 KB"> ---> <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fix-1.patch"> <!ENTITY readline-fixes-patch-md5 "dd1764b84cfca6b677f44978218a75da"> <!ENTITY readline-fixes-patch-size "1.3 KB"> -<!-- -<!ENTITY shadow-segfault-patch "shadow-&shadow-version;-useradd_segfault-1.patch"> -<!ENTITY shadow-segfault-patch-md5 "66b299c0c9ac66fdb7c91b40df5984c0"> -<!ENTITY shadow-segfault-patch-size "1.7 KB"> ---> <!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> <!ENTITY sysvinit-consolidated-patch-md5 "17ffccbb8e18c39e8cedc32046f3a475"> <!ENTITY sysvinit-consolidated-patch-size "2.5 KB"> -<!-- -<!ENTITY systemd-upstream-patch "systemd-&systemd-version;-security_fix-1.patch"> -<!ENTITY systemd-upstream-patch-md5 "da817e69e897d35cdffd7c45ea06be39"> -<!ENTITY systemd-upstream-patch-size "76.0 KB"> ---> -<!-- -<!ENTITY xz-upstream-fix-patch "xz-&xz-version;-upstream_fix-1.patch"> -<!ENTITY xz-upstream-fix-patch-md5 "584c72ea3d8f7502b2770670f3090788"> -<!ENTITY xz-upstream-fix-patch-size "3.7 KB"> ---> -<!-- -<!ENTITY zstd-upstream-fixes-patch "zstd-&zstd-version;-upstream_fixes-1.patch"> -<!ENTITY zstd-upstream-fixes-patch-md5 "a7e576e3f87415fdf388392b257cdcf3"> -<!ENTITY zstd-upstream-fixes-patch-size "4 KB"> ---> |