Changes in / [d58da4b:2df066c9]
- Files:
-
- 15 added
- 2 deleted
- 72 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rd58da4b r2df066c9 1 1 lfs-bootscripts-*.tar.xz 2 lfs-*.tar.xz 2 3 conditional.ent 3 4 version.ent -
Makefile
rd58da4b r2df066c9 210 210 all: book nochunks pdf dump-commands 211 211 212 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version 213 212 dist: 213 $(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV) 214 $(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz 215 $(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \ 216 $(shell git ls-tree HEAD . --name-only) version.ent \ 217 -C /tmp LFS-RELEASE \ 218 --transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/," 219 $(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz" 220 221 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version dist 222 -
appendices/dependencies.xml
rd58da4b r2df066c9 148 148 <segtitle>&before;</segtitle> 149 149 <seglistitem> 150 <seg>Automake </seg>150 <seg>Automake and Coreutils</seg> 151 151 </seglistitem> 152 152 </segmentedlist> … … 190 190 <segtitle>&before;</segtitle> 191 191 <seglistitem> 192 <seg> None</seg>192 <seg>Coreutils</seg> 193 193 </seglistitem> 194 194 </segmentedlist> … … 287 287 <seglistitem> 288 288 <seg>Bash, Binutils, Coreutils, Diffutils, File, Flex, Gawk, GCC, 289 Glibc, Grep, Make, Perl, Sed, Texinfo, and Zlib</seg> 289 Glibc, Grep, Make, Perl, Pkgconf, Sed, Texinfo, Zlib, and 290 Zstd</seg> 290 291 </seglistitem> 291 292 </segmentedlist> … … 294 295 <segtitle>&runtime;</segtitle> 295 296 <seglistitem> 296 <seg>Glibc and Zlib</seg>297 <seg>Glibc, Zlib, and Zstd</seg> 297 298 </seglistitem> 298 299 </segmentedlist> … … 438 439 <seg> 439 440 <ulink url='&github;/testing-cabal/subunit'>libsubunit</ulink> 441 and 442 <ulink url='http://cyberelk.net/tim/software/patchutils/'> 443 patchutils</ulink> 440 444 </seg> 441 445 </seglistitem> … … 448 452 <segtitle>&dependencies;</segtitle> 449 453 <seglistitem> 450 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, 451 Libcap, Make, OpenSSL, Patch, Perl, Sed, and Texinfo</seg> 454 <seg>Autoconf, Automake, Bash, Binutils, Coreutils, GCC, Gettext, 455 Glibc, GMP, Grep, Libcap, Make, OpenSSL, Patch, Perl, Sed, and 456 Texinfo</seg> 452 457 </seglistitem> 453 458 </segmentedlist> … … 2515 2520 <segtitle>&before;</segtitle> 2516 2521 <seglistitem> 2517 <seg><phrase revision='systemd'>D-Bus, </phrase>E2fsprogs, 2522 <seg>Binutils, 2523 <phrase revision='systemd'>D-Bus, </phrase>E2fsprogs, 2518 2524 IProute2, Kmod, Man-DB, Procps-ng, Python, 2519 2525 &systemd-udev;, and Util-linux</seg> 2520 2526 </seglistitem> 2521 2527 </segmentedlist> … … 2567 2573 <phrase revision='systemd'>None</phrase> 2568 2574 <phrase revision='sysv'> 2569 <ulink url='&blfs-book;general/elogind. xml'>elogind</ulink>2575 <ulink url='&blfs-book;general/elogind.html'>elogind</ulink> 2570 2576 </phrase> 2571 2577 </seg> … … 2855 2861 <seglistitem> 2856 2862 <seg> 2863 <ulink url="https://www.apparmor.net/">AppArmor</ulink>, 2864 <ulink url="&github;/linux-audit/audit-userspace"> 2865 audit-userspace</ulink>, 2866 <ulink url="&github;/scop/bash-completion"> 2867 bash-completion</ulink>, 2857 2868 <ulink 2858 2869 url="&blfs-book;postlfs/btrfs-progs.html">btrfs-progs</ulink>, … … 2862 2873 <ulink 2863 2874 url="&blfs-book;pst/docbook-xsl.html">docbook-xsl-nons</ulink>, 2864 <ulink url="https://sourceware.org/elfutils/">elfutils</ulink>,2865 2875 <ulink url="&blfs-book;general/git.html">Git</ulink>, 2866 <ulink2867 url="https://sourceforge.net/projects/gnu-efi/">gnu-efi</ulink>,2868 2876 <ulink url="&blfs-book;postlfs/gnutls.html">GnuTLS</ulink>, 2869 2877 <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>, 2878 <ulink url='https://jekyllrb.com/'>jekyll</ulink>, 2870 2879 <ulink url="https://www.kernel.org/pub/linux/utils/kernel/kexec/"> 2871 2880 kexec-tools</ulink>, 2881 <ulink url='&github;/libbpf/libbpf'>libbpf</ulink>, 2882 <ulink url="https://sourceware.org/elfutils/">libdw</ulink>, 2872 2883 <ulink 2873 2884 url="https://developers.yubico.com/libfido2/">libfido2</ulink>, … … 2875 2886 <ulink url="&blfs-book;general/libidn2.html">libidn2</ulink>, 2876 2887 <ulink url="https://www.gnu.org/software/libmicrohttpd/"> 2877 Libmicrohttpd</ulink>,2888 libmicrohttpd</ulink>, 2878 2889 <ulink 2879 2890 url="&blfs-book;postlfs/libpwquality.html">libpwquality</ulink>, … … 2890 2901 <ulink url="&blfs-book;general/pcre2.html">PCRE2</ulink>, 2891 2902 <ulink url="&blfs-book;postlfs/polkit.html">Polkit</ulink>, 2903 <ulink url='&pypi-home;/pyelftools'>pyelftools</ulink>, 2892 2904 <ulink url="&blfs-book;postlfs/qemu.html">qemu</ulink>, 2893 2905 <ulink url="&blfs-book;general/qrencode.html">qrencode</ulink>, 2894 <ulink url="https://sourceforge.net/projects/linuxquota/"> 2895 quota-tools</ulink>, 2906 <ulink url="https://sourceforge.net/projects/linuxquota/" 2907 >quota-tools</ulink>, 2908 <ulink url="https://rpm.org">rpm</ulink>, 2896 2909 <ulink url="&blfs-book;basicnet/rsync.html">rsync</ulink>, 2910 <ulink url="&github;/SELinuxProject/selinux"> 2911 SELinux</ulink>, 2897 2912 <ulink url="&blfs-book;general/python-modules.html#sphinx"> 2898 2913 Sphinx</ulink>, 2914 <ulink url="https://sourceware.org/systemtap/"> 2915 systemtap</ulink>, 2899 2916 <ulink url="https://tpm2-tss.readthedocs.io/en/latest/"> 2900 2917 tpm2-tss</ulink>, 2901 2918 <ulink url="&blfs-book;general/valgrind.html">Valgrind</ulink>, 2919 <ulink url="https://xenproject.org">Xen</ulink>, 2902 2920 and 2903 2921 <ulink url="&blfs-book;postlfs/zsh.html">zsh</ulink> … … 3381 3399 <segtitle>&before;</segtitle> 3382 3400 <seglistitem> 3383 <seg> GCC, Libelf, and &systemd-udev;</seg>3401 <seg>Binutils, GCC, Libelf, and &systemd-udev;</seg> 3384 3402 </seglistitem> 3385 3403 </segmentedlist> -
bootscripts/ChangeLog
rd58da4b r2df066c9 1 2023-07-28 Xi Ruoyao <xry111@xry111.site> 2 * In mountvirtfs, mount /sys/fs/cgroup for udev from systemd-254. 3 1 4 2023-07-22 Xi Ruoyao <xry111@xry111.site> 2 5 * In mountvirtfs, create symlinks /dev/{fd,std{in,out,err}} and -
bootscripts/lfs/init.d/checkfs
rd58da4b r2df066c9 102 102 if [ "${error_value}" = 2 -o "${error_value}" = 3 ]; then 103 103 msg="\nWARNING:\n\nFile system errors " 104 msg="${msg}were found and have been been"104 msg="${msg}were found and have been " 105 105 msg="${msg}corrected, but the nature of the " 106 106 msg="${msg}errors require this system to be rebooted.\n\n" -
bootscripts/lfs/init.d/mountvirtfs
rd58da4b r2df066c9 64 64 mount -o nosuid,nodev /dev/shm || failed=1 65 65 66 mkdir -p /sys/fs/cgroup 67 log_info_msg2 " ${INFO}/sys/fs/cgroup" 68 mount -o nosuid,noexec,nodev /sys/fs/cgroup || failed=1 69 66 70 (exit ${failed}) 67 71 evaluate_retval -
chapter01/askforhelp.xml
rd58da4b r2df066c9 10 10 11 11 <title>Help</title> 12 13 <note> 14 <para> 15 In case you've hit an issue building one package with the LFS 16 instruction, we strongly discourage posting the issue directly onto 17 the upstream support channel before discussing via a LFS support 18 channel listed in <xref linkend="ch-intro-resources"/>. 19 Doing so is often quite inefficient because the upstream 20 maintainers are rarely familiar with LFS building procedure. Even if 21 you've really hit an upstream issue, the LFS community can still help 22 to isolate the information wanted by the upstream maintainers and make 23 a proper report. 24 </para> 25 26 <para> 27 If you must ask a question directly via an upstream support channel, 28 you shall at least note that many upstream projects have the support 29 channels separated from the bug tracker. The <quote>bug</quote> 30 reports for asking questions are considered invalid and may annoy 31 upstream developers for these projects. 32 </para> 33 </note> 12 34 13 35 <para>If an issue or a question is encountered while working through -
chapter01/changelog.xml
rd58da4b r2df066c9 41 41 --> 42 42 43 <listitem revision='sysv'>44 <para>2023-0 7-22</para>43 <listitem> 44 <para>2023-09-13</para> 45 45 <itemizedlist> 46 <listitem revision='sysv'> 47 <para>[xry111] - Make the mountvirtfs bootscript create essential 48 symlinks in /dev. Fixes 49 <ulink url='&lfs-ticket-root;5289'>#5289</ulink>.</para> 46 <listitem> 47 <para>[xry111] - Fix CVE-2023-4806 for Glibc-2.38. Fixes 48 <ulink url='&lfs-ticket-root;5347'>#5347</ulink>.</para> 50 49 </listitem> 51 50 </itemizedlist> … … 53 52 54 53 <listitem> 55 <para>2023-0 7-15</para>54 <para>2023-09-12</para> 56 55 <itemizedlist> 57 <listitem revision='sysv'>58 <para>[xry111] - Replace eudev-3.2.12 with udev from systemd-253.59 Fixes <ulink url='&lfs-ticket-root;5285'>#5085</ulink>.</para>60 </listitem>61 56 <listitem> 62 <para>[bdubbs] - Update to iana-etc-20230629. Addresses 63 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 64 </listitem> 65 <listitem> 66 <para>[bdubbs] - Update to linux-6.4.3. Fixes 67 <ulink url='&lfs-ticket-root;5284'>#5284</ulink>.</para> 68 </listitem> 69 <listitem> 70 <para>[bdubbs] - Update to libxcrypt-4.4.36. Fixes 71 <ulink url='&lfs-ticket-root;5283'>#5283</ulink>.</para> 72 </listitem> 73 <listitem> 74 <para>[bdubbs] - Update to groff-1.23.0. Fixes 75 <ulink url='&lfs-ticket-root;5282'>#5282</ulink>.</para> 76 </listitem> 77 <listitem> 78 <para>[bdubbs] - Update to perl-5.38.0. Fixes 79 <ulink url='&lfs-ticket-root;5281'>#5281</ulink>.</para> 57 <para>[xry111] - Fix CVE-2023-4527 for Glibc-2.38. Fixes 58 <ulink url='&lfs-ticket-root;5346'>#5346</ulink>.</para> 80 59 </listitem> 81 60 </itemizedlist> … … 83 62 84 63 <listitem> 85 <para>2023-0 7-02</para>64 <para>2023-09-07</para> 86 65 <itemizedlist> 87 66 <listitem> 88 <para>[xry111] - Add libxcrypt-4.4.35. Fixes 89 <ulink url='&lfs-ticket-root;5280'>#5280</ulink>.</para> 90 </listitem> 91 <listitem> 92 <para>[xry111] - Update to iproute2-6.4.0. Fixes 93 <ulink url='&lfs-ticket-root;5277'>#5277</ulink>.</para> 94 </listitem> 95 <listitem> 96 <para>[xry111] - Update to linux-6.4.1. Fixes 97 <ulink url='&lfs-ticket-root;5276'>#5276</ulink>.</para> 67 <para>[xry111] - Fix an issue in pkgconf-2.0.3 causing 68 BLFS packages fail to build. Fixes 69 <ulink url='&lfs-ticket-root;5341'>#5341</ulink>.</para> 98 70 </listitem> 99 71 </itemizedlist> … … 101 73 102 74 <listitem> 103 <para>2023-0 7-01</para>75 <para>2023-09-05</para> 104 76 <itemizedlist> 105 77 <listitem> 106 <para>[bdubbs] - Update to iana-etc-20230615. Addresses 107 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 78 <para>[xry111] - Move pkgconf before binutils for binutils 79 building system to detect zstd properly. Fixes 80 <ulink url='&lfs-ticket-root;5340'>#5340</ulink>.</para> 108 81 </listitem> 109 82 <listitem> 110 <para>[ bdubbs] - Update to vim-9.0.1671. Addresses111 <ulink url='&lfs-ticket-root; 4500'>#4500</ulink>.</para>83 <para>[xry111] - Update to linux-6.5.1. Fixes 84 <ulink url='&lfs-ticket-root;5332'>#5332</ulink>.</para> 112 85 </listitem> 113 86 <listitem> 114 <para>[ bdubbs] - Update to util-linux-2.39.1. Addresses115 <ulink url='&lfs-ticket-root;5 278'>#5278</ulink>.</para>87 <para>[xry111] - Update to pkgconf-2.0.3. Fixes 88 <ulink url='&lfs-ticket-root;5339'>#5339</ulink>.</para> 116 89 </listitem> 117 90 <listitem> 118 <para>[bdubbs] - Update to linux-6.3.10. Addresses 119 <ulink url='&lfs-ticket-root;5276'>#5276</ulink>.</para> 120 </listitem> 121 <listitem> 122 <para>[rahul] - Update to kbd-2.6.1. Fixes 123 <ulink url='&lfs-ticket-root;5279'>#5279</ulink>.</para> 124 </listitem> 125 <listitem> 126 <para>[bdubbs] - Update to gettext-0.22. Fixes 127 <ulink url='&lfs-ticket-root;5275'>#5275</ulink>.</para> 91 <para>[xry111] - Update to dbus-1.14.10. Fixes 92 <ulink url='&lfs-ticket-root;5337'>#5337</ulink>.</para> 128 93 </listitem> 129 94 </itemizedlist> … … 131 96 132 97 <listitem> 133 <para>2023-0 6-17</para>98 <para>2023-09-04</para> 134 99 <itemizedlist> 135 100 <listitem> 136 <para>[xry111] - Update to linux-6.3.8. Fixes 137 <ulink url='&lfs-ticket-root;5272'>#5272</ulink>.</para> 138 </listitem> 139 <listitem> 140 <para>[xry111] - Update to kbd-2.6.0. Fixes 141 <ulink url='&lfs-ticket-root;5273'>#5273</ulink>.</para> 142 </listitem> 143 <listitem> 144 <para>[rahul] - Changed from pkg-config to pkgconf 1.9.5. Fixes 145 <ulink url='&lfs-ticket-root;5274'>#5274</ulink>.</para> 101 <para>[bdubbs] - Move caution regarding building by mixing 102 different version of LFS to General Compilation Instructions. Fixes 103 <ulink url='&lfs-ticket-root;5338'>#5338</ulink>.</para> 146 104 </listitem> 147 105 </itemizedlist> … … 149 107 150 108 <listitem> 151 <para>2023-0 6-09</para>109 <para>2023-09-02</para> 152 110 <itemizedlist> 153 <listitem revision='systemd'> 154 <para>[bdubbs] - Update to dbus-1.14.8. Fixes 155 <ulink url='&lfs-ticket-root;5271'>#5271</ulink>.</para> 111 <listitem> 112 <para>[xry111] - Add --no-cache-dir option for pip3 wheel 113 commands. Addresses 114 <ulink url='&blfs-ticket-root;18466'>BLFS #18466</ulink>.</para> 156 115 </listitem> 157 116 <listitem> 158 <para>[bdubbs] - Update to linux-6.3.6. Fixes159 <ulink url='&lfs-ticket-root;5269'>#5269</ulink>.</para>117 <para>[bdubbs] - Update to vim-9.0.1837. Addresses 118 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 160 119 </listitem> 161 120 <listitem> 162 <para>[bdubbs] - Update to Python-3.11.4. Fixes 163 <ulink url='&lfs-ticket-root;5271'>#5271</ulink>.</para> 121 <para>[bdubbs] - Update to zlib-1.3. Fixes 122 <ulink url='&lfs-ticket-root;5324'>#5324</ulink>.</para> 123 </listitem> 124 <listitem> 125 <para>[bdubbs] - Update to wheel-0.41.2 (Python Module). Fixes 126 <ulink url='&lfs-ticket-root;5328'>#5328</ulink>.</para> 127 </listitem> 128 <listitem> 129 <para>[bdubbs] - Update to util-linux-2.39.2. Fixes 130 <ulink url='&lfs-ticket-root;5322'>#5322</ulink>.</para> 131 </listitem> 132 <listitem revision='sysv'> 133 <para>[bdubbs] - Update to sysvinit-3.08. Fixes 134 <ulink url='&lfs-ticket-root;5321'>#5321</ulink>.</para> 135 </listitem> 136 <listitem> 137 <para>[bdubbs] - Update to shadow-4.14.0. Fixes 138 <ulink url='&lfs-ticket-root;5319'>#5319</ulink>.</para> 139 </listitem> 140 <listitem> 141 <para>[bdubbs] - Update to Python-3.11.5. Fixes 142 <ulink url='&lfs-ticket-root;5330'>#5330</ulink>.</para> 143 </listitem> 144 <listitem> 145 <para>[bdubbs] - Update to procps-ng-4.0.4. Fixes 146 <ulink url='&lfs-ticket-root;5335'>#5335</ulink>.</para> 147 </listitem> 148 <listitem> 149 <para>[bdubbs] - Update to pkgconf-2.0.2. Fixes 150 <ulink url='&lfs-ticket-root;5323'>#5323</ulink>.</para> 151 </listitem> 152 <listitem> 153 <para>[bdubbs] - Update to mpfr-4.2.1. Fixes 154 <ulink url='&lfs-ticket-root;5326'>#5326</ulink>.</para> 155 </listitem> 156 <listitem> 157 <para>[bdubbs] - Update to kbd-2.6.2. Fixes 158 <ulink url='&lfs-ticket-root;5318'>#5318</ulink>.</para> 159 </listitem> 160 <listitem> 161 <para>[bdubbs] - Update to gzip-1.13. Fixes 162 <ulink url='&lfs-ticket-root;5325'>#5325</ulink>.</para> 163 </listitem> 164 <listitem> 165 <para>[bdubbs] - Update to coreutils-9.4. Fixes 166 <ulink url='&lfs-ticket-root;5334'>#5334</ulink>.</para> 167 </listitem> 168 <listitem revision='systemd'> 169 <para>[bdubbs] - Specify the 'nobody-group' for systemd. Fixes 170 <ulink url='&lfs-ticket-root;5333'>#5333</ulink>.</para> 171 </listitem> 172 <listitem> 173 <para>[bdubbs] - Remove unused usb group. Fixes 174 <ulink url='&lfs-ticket-root;5331'>#5331</ulink>.</para> 164 175 </listitem> 165 176 </itemizedlist> … … 167 178 168 179 <listitem> 169 <para>2023-0 6-03</para>180 <para>2023-09-01</para> 170 181 <itemizedlist> 171 182 <listitem> 172 <para>[bdubbs] - Update to iana-etc-20230524. Addresses 173 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 174 </listitem> 175 <listitem revision='systemd'> 176 <para>[bdubbs] - Update to MarkupSafe-2.1.3 (Python Module). Fixes 177 <ulink url='&lfs-ticket-root;5268'>#5268</ulink>.</para> 178 </listitem> 179 <listitem> 180 <para>[bdubbs] - Update to linux-6.3.5. Fixes 181 <ulink url='&lfs-ticket-root;5264'>#5264</ulink>.</para> 182 </listitem> 183 <listitem> 184 <para>[bdubbs] - Update to openssl-3.1.1. Fixes 185 <ulink url='&lfs-ticket-root;5267'>#5267</ulink>.</para> 186 </listitem> 187 <listitem> 188 <para>[bdubbs] - Update to meson-1.1.1. Fixes 189 <ulink url='&lfs-ticket-root;5266'>#5266</ulink>.</para> 190 </listitem> 191 <listitem> 192 <para>[bdubbs] - Update to diffutils-3.10. Fixes 193 <ulink url='&lfs-ticket-root;5262'>#5262</ulink>.</para> 194 </listitem> 195 <listitem> 196 <para>[bdubbs] - Update to bc-6.6.0. Fixes 197 <ulink url='&lfs-ticket-root;5263'>#5263</ulink>.</para> 198 </listitem> 199 </itemizedlist> 200 </listitem> 201 202 <listitem revision='sysv'> 203 <para>2023-05-25</para> 204 <itemizedlist> 205 <listitem revision='sysv'> 206 <para>[ken] - Remove unneeded group sgx from eudev rules. Fixes 207 <ulink url='&lfs-ticket-root;5265'>#5265</ulink>.</para> 208 </listitem> 209 </itemizedlist> 210 </listitem> 211 212 <listitem> 213 <para>2023-05-18</para> 214 <itemizedlist> 215 <listitem> 216 <para>[bdubbs] - Update to util-linux-2.39. Fixes 217 <ulink url='&lfs-ticket-root;5259'>#5259</ulink>.</para> 218 </listitem> 219 <listitem> 220 <para>[bdubbs] - Update to linux-6.3.3. Fixes 221 <ulink url='&lfs-ticket-root;5261'>#5261</ulink>.</para> 222 </listitem> 223 <listitem> 224 <para>[bdubbs] - Update to libcap-2.69. Fixes 225 <ulink url='&lfs-ticket-root;5258'>#5258</ulink>.</para> 226 </listitem> 227 <listitem> 228 <para>[bdubbs] - Update to grep-3.11. Fixes 229 <ulink url='&lfs-ticket-root;5256'>#5256</ulink>.</para> 230 </listitem> 231 <listitem> 232 <para>[bdubbs] - Update to flit_core-3.9.0. Fixes 233 <ulink url='&lfs-ticket-root;5257'>#5257</ulink>.</para> 234 </listitem> 235 <listitem> 236 <para>[bdubbs] - Update to eudev-3.2.12. Fixes 237 <ulink url='&lfs-ticket-root;5260'>#5260</ulink>.</para> 238 </listitem> 239 </itemizedlist> 240 </listitem> 241 242 <listitem> 243 <para>2023-05-13</para> 244 <itemizedlist> 245 <listitem> 246 <para>[xry111] - Update to less-633. Fixes 247 <ulink url='&lfs-ticket-root;5251'>#5251</ulink>.</para> 248 </listitem> 249 <listitem> 250 <para>[xry111] - Update to linux-6.3.2. Fixes 251 <ulink url='&lfs-ticket-root;5255'>#5255</ulink>.</para> 252 </listitem> 253 <listitem> 254 <para>[xry111] - Update to xz-5.4.3. Fixes 255 <ulink url='&lfs-ticket-root;5252'>#5252</ulink>.</para> 256 </listitem> 257 <listitem> 258 <para>[xry111] - Update to gawk-5.2.2. Fixes 259 <ulink url='&lfs-ticket-root;5253'>#5253</ulink>.</para> 260 </listitem> 261 <listitem> 262 <para>[xry111] - Fix systemd runtime issue exploited by GCC 13. 263 Fixes <ulink url='&lfs-ticket-root;5254'>#5254</ulink>.</para> 264 </listitem> 265 </itemizedlist> 266 </listitem> 267 268 <listitem> 269 <para>2023-05-01</para> 270 <itemizedlist> 271 <listitem> 272 <para>[bdubbs] - Update to vim-9.0.1503. Addresses 273 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 274 </listitem> 275 <listitem> 276 <para>[bdubbs] - Update to iana-etc-20230418. Addresses 277 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 278 </listitem> 279 <listitem revision='sysv'> 280 <para>[bdubbs] - Update to sysvinit-3.07. Fixes 281 <ulink url='&lfs-ticket-root;5250'>#5250</ulink>.</para> 282 </listitem> 283 <listitem> 284 <para>[bdubbs] - Update to iproute2-6.3.0. Fixes 285 <ulink url='&lfs-ticket-root;5248'>#5248</ulink>.</para> 286 </listitem> 287 <listitem> 288 <para>[bdubbs] - Update to gcc-13.1.0. Fixes 289 <ulink url='&lfs-ticket-root;5247'>#5247</ulink>.</para> 290 </listitem> 291 <listitem> 292 <para>[bdubbs] - Update to perl-5.36.1. Fixes 293 <ulink url='&lfs-ticket-root;5246'>#5246</ulink>.</para> 294 </listitem> 295 <listitem> 296 <para>[bdubbs] - Update to linux-6.3.1. Fixes 297 <ulink url='&lfs-ticket-root;5245'>#5245</ulink>.</para> 298 </listitem> 299 <listitem> 300 <para>[bdubbs] - Update to coreutils-9.3. Fixes 301 <ulink url='&lfs-ticket-root;5244'>#5244</ulink>.</para> 302 </listitem> 303 </itemizedlist> 304 </listitem> 305 306 <listitem> 307 <para>2023-04-15</para> 308 <itemizedlist> 309 <listitem> 310 <para>[bdubbs] - Update to vim-9.0.1452. Addresses 311 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 312 </listitem> 313 <listitem> 314 <para>[bdubbs] - Update to iana-etc-20230405. Addresses 315 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 316 </listitem> 317 <listitem> 318 <para>[bdubbs] - Update to zstd-1.5.5. Fixes 319 <ulink url='&lfs-ticket-root;5239'>#5239</ulink>.</para> 320 </listitem> 321 <listitem> 322 <para>[bdubbs] - Update to Python-3.11.3. Fixes 323 <ulink url='&lfs-ticket-root;5240'>#5240</ulink>.</para> 324 </listitem> 325 <listitem> 326 <para>[bdubbs] - Update to meson-1.1.0. Fixes 327 <ulink url='&lfs-ticket-root;5242'>#5242</ulink>.</para> 328 </listitem> 329 <listitem> 330 <para>[bdubbs] - Update to man-pages-6.04. Fixes 331 <ulink url='&lfs-ticket-root;5238'>#5238</ulink>.</para> 332 </listitem> 333 <listitem> 334 <para>[bdubbs] - Update to linux-6.2.11. Fixes 335 <ulink url='&lfs-ticket-root;5241'>#5241</ulink>.</para> 336 </listitem> 337 </itemizedlist> 338 </listitem> 339 340 <listitem> 341 <para>2023-03-31</para> 342 <itemizedlist> 343 <listitem> 344 <para>[xry111] - Update to linux-6.2.9 (security fix). Fixes 345 <ulink url='&lfs-ticket-root;5230'>#5230</ulink>.</para> 346 </listitem> 347 <listitem> 348 <para>[xry111] - Update to grep-3.10. Fixes 349 <ulink url='&lfs-ticket-root;5234'>#5234</ulink>.</para> 350 </listitem> 351 <listitem> 352 <para>[xry111] - Update to wheel-0.40.0. Fixes 353 <ulink url='&lfs-ticket-root;5229'>#5229</ulink>.</para> 354 </listitem> 355 <listitem> 356 <para>[xry111] - Update to bc-6.5.0. Fixes 357 <ulink url='&lfs-ticket-root;5228'>#5228</ulink>.</para> 358 </listitem> 359 <listitem> 360 <para>[xry111] - Update to texinfo-7.0.3. Fixes 361 <ulink url='&lfs-ticket-root;5235'>#5235</ulink>.</para> 362 </listitem> 363 <listitem> 364 <para>[xry111] - Update to coreutils-9.2. Fixes 365 <ulink url='&lfs-ticket-root;5232'>#5232</ulink>.</para> 366 </listitem> 367 <listitem> 368 <para>[xry111] - Update to libcap-2.68. Fixes 369 <ulink url='&lfs-ticket-root;5236'>#5236</ulink>.</para> 370 </listitem> 371 <listitem> 372 <para>[xry111] - Update to tzdata-2023c. Fixes 373 <ulink url='&lfs-ticket-root;5237'>#5237</ulink>.</para> 374 </listitem> 375 <listitem> 376 <para>[xry111] - Update to xz-5.4.2. Fixes 377 <ulink url='&lfs-ticket-root;5233'>#5233</ulink>.</para> 378 </listitem> 379 <listitem> 380 <para>[xry111] - Update to openssl-3.1.0. Fixes 381 <ulink url='&lfs-ticket-root;5227'>#5227</ulink>.</para> 382 </listitem> 383 <listitem> 384 <para>[xry111] - Add flit-core-3.8.0.</para> 385 </listitem> 386 </itemizedlist> 387 </listitem> 388 389 <listitem> 390 <para>2023-03-15</para> 391 <itemizedlist> 392 <listitem> 393 <para>[bdubbs] - Update to bc-6.4.0. Fixes 394 <ulink url='&lfs-ticket-root;5217'>#5217</ulink>.</para> 395 </listitem> 396 <listitem> 397 <para>[bdubbs] - Update to grep-3.9. Fixes 398 <ulink url='&lfs-ticket-root;5225'>#5225</ulink>.</para> 399 </listitem> 400 <listitem> 401 <para>[bdubbs] - Update to linux-6.2.6. Fixes 402 <ulink url='&lfs-ticket-root;5226'>#5226</ulink>.</para> 403 </listitem> 404 <listitem> 405 <para>[bdubbs] - Update to iana-etc-20230306. Addresses 406 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 407 </listitem> 408 </itemizedlist> 409 </listitem> 410 <listitem> 411 <para>2023-03-04</para> 412 <itemizedlist> 413 <listitem revision='systemd'> 414 <para>[xry111] - Update to systemd-253. Fixes 415 <ulink url='&lfs-ticket-root;5206'>#5206</ulink>.</para> 416 </listitem> 417 <listitem> 418 <para>[xry111] - Update to bc-6.3.1. Fixes 419 <ulink url='&lfs-ticket-root;5217'>#5217</ulink>.</para> 420 </listitem> 421 <listitem> 422 <para>[xry111] - Update to linux-6.2.2 (security fixes). Fixes 423 <ulink url='&lfs-ticket-root;5218'>#5218</ulink>.</para> 424 </listitem> 425 <listitem> 426 <para>[xry111] - Update to procps-ng-4.0.3. Fixes 427 <ulink url='&lfs-ticket-root;5220'>#5220</ulink>.</para> 428 </listitem> 429 <listitem> 430 <para>[xry111] - Update to iproute2-6.2.0. Fixes 431 <ulink url='&lfs-ticket-root;5221'>#5221</ulink>.</para> 432 </listitem> 433 <listitem> 434 <para>[xry111] - Update to meson-1.0.1. Fixes 435 <ulink url='&lfs-ticket-root;5222'>#5222</ulink>.</para> 436 </listitem> 437 <listitem> 438 <para>[xry111] - Update to make-4.4.1. Fixes 439 <ulink url='&lfs-ticket-root;5223'>#5223</ulink>.</para> 440 </listitem> 441 <listitem> 442 <para>[xry111] - Update to libelf-0.189. Fixes 443 <ulink url='&lfs-ticket-root;5224'>#5224</ulink>.</para> 444 </listitem> 445 <listitem> 446 <para>[bdubbs] - Change to a better host requirements script in Chapter 2.</para> 447 </listitem> 448 </itemizedlist> 449 </listitem> 450 451 <listitem> 452 <para>2023-03-01</para> 453 <itemizedlist> 454 <listitem> 455 <para>[bdubbs] - LFS-11.3 released.</para> 183 <para>[bdubbs] - LFS-12.0 released.</para> 456 184 </listitem> 457 185 </itemizedlist> -
chapter01/whatsnew.xml
rd58da4b r2df066c9 12 12 <title>What's new since the last release</title> 13 13 14 <caution>15 <para>16 During a development cycle of LFS, the instructions in the book is17 often modified to adapt for a package update or take the advantage of18 new features from updated packages. Mixing up the instructions of19 different versions of the LFS book can cause subtle breakages. This20 kind of issue is generally a result from reusing some script created21 for a prior LFS release. Such a reuse is strongly discouraged. If22 you are reusing scripts for a prior LFS release for any reason, you'll23 need to be very careful to update the scripts to match current version24 of the LFS book.25 </para>26 </caution>27 28 <para>In the 11.4 release, <parameter>--disable-fixincludes</parameter>29 is set for GCC. It's a configure switch newly added in GCC 13.1 to30 prevent GCC from <quote>fixing</quote> the system headers. Such a31 <quote>fix</quote> is unnecessary for a modern Linux system and may cause32 issues if a package is updated after installing GCC.</para>33 34 14 <para>Here is a list of the packages updated since the previous 35 15 release of LFS.</para> … … 60 40 </listitem>--> 61 41 <!--<listitem> 62 <para>Bash 63 </listitem>--> 64 < listitem>65 <para>Bc 66 </listitem> 42 <para>Bash-&bash-version;</para> 43 </listitem>--> 44 <!--<listitem> 45 <para>Bc-&bc-version;</para> 46 </listitem>--> 67 47 <!--<listitem> 68 48 <para>Binutils-&binutils-version;</para> … … 86 66 <para>D-Bus-&dbus-version;</para> 87 67 </listitem> 88 < listitem>68 <!--<listitem> 89 69 <para>Diffutils-&diffutils-version;</para> 90 </listitem> 70 </listitem>--> 91 71 <!--<listitem> 92 72 <para>E2fsprogs-&e2fsprogs-version;</para> 73 </listitem>--> 74 <!--<listitem> 75 <para>Expat-&expat-version;</para> 76 </listitem>--> 77 <!--<listitem> 78 <para>Expect-&expect-version;</para> 79 </listitem>--> 80 <!--<listitem> 81 <para>File-&file-version;</para> 82 </listitem>--> 83 <!--<listitem> 84 <para>Findutils-&findutils-version;</para> 85 </listitem>--> 86 <!--<listitem> 87 <para>Flex-&flex-version;</para> 88 </listitem>--> 89 <!--<listitem> 90 <para>Flit-core-&flit-core-version;</para> 91 </listitem>--> 92 <!--<listitem> 93 <para>Gawk-&gawk-version;</para> 94 </listitem>--> 95 <!--<listitem> 96 <para>GCC-&gcc-version;</para> 97 </listitem>--> 98 <!--<listitem> 99 <para>GDBM-&gdbm-version;</para> 100 </listitem>--> 101 <!--<listitem> 102 <para>Gettext-&gettext-version;</para> 103 </listitem>--> 104 <!--<listitem> 105 <para>Glibc-&glibc-version;</para> 106 </listitem>--> 107 <!--<listitem> 108 <para>GMP-&gmp-version;</para> 109 </listitem>--> 110 <!--<listitem> 111 <para>Gperf-&gperf-version;</para> 112 </listitem>--> 113 <!--<listitem> 114 <para>Grep-&grep-version;</para> 115 </listitem>--> 116 <!--<listitem> 117 <para>Groff-&groff-version;</para> 118 </listitem>--> 119 <!--<listitem> 120 <para>GRUB-&grub-version;</para> 121 </listitem>--> 122 <listitem> 123 <para>Gzip-&gzip-version;</para> 124 </listitem> 125 <!--<listitem> 126 <para>Iana-Etc-&iana-etc-version;</para> 127 </listitem>--> 128 <!--<listitem> 129 <para>Inetutils-&inetutils-version;</para> 130 </listitem>--> 131 <!--<listitem> 132 <para>Intltool-&intltool-version;</para> 133 </listitem>--> 134 <!--<listitem> 135 <para>IPRoute2-&iproute2-version;</para> 136 </listitem>--> 137 <!--<listitem revision="systemd"> 138 <para>Jinja2-&jinja2-version;</para> 139 </listitem>--> 140 <listitem> 141 <para>Kbd-&kbd-version;</para> 142 </listitem> 143 <!--<listitem> 144 <para>Kmod-&kmod-version;</para> 145 </listitem>--> 146 <!--<listitem> 147 <para>Less-&less-version;</para> 148 </listitem>--> 149 <!--<listitem> 150 <para>LFS-Bootscripts-&lfs-bootscripts-version;</para> 151 </listitem>--> 152 <!--<listitem> 153 <para>Libcap-&libcap-version;</para> 154 </listitem>--> 155 <!--<listitem> 156 <para>Libelf-&elfutils-version; (from elfutils)</para> 157 </listitem>--> 158 <!--<listitem> 159 <para>Libffi-&libffi-version;</para> 160 </listitem>--> 161 <!--<listitem> 162 <para>Libpipeline-&libpipeline-version;</para> 163 </listitem>--> 164 <!--<listitem> 165 <para>Libtool-&libtool-version;</para> 166 </listitem>--> 167 <listitem> 168 <para>Linux-&linux-version;</para> 169 </listitem> 170 <!--<listitem> 171 <para>M4-&m4-version;</para> 172 </listitem>--> 173 <!--<listitem> 174 <para>Make-&make-version;</para> 175 </listitem>--> 176 <!--<listitem> 177 <para>Man-DB-&man-db-version;</para> 178 </listitem>--> 179 <!--<listitem> 180 <para>Man-pages-&man-pages-version;</para> 181 </listitem>--> 182 <!--<listitem revision="systemd"> 183 <para>MarkupSafe-&markupsafe-version;</para> 184 </listitem>--> 185 <!--<listitem> 186 <para>Meson-&meson-version;</para> 187 </listitem>--> 188 <!--<listitem> 189 <para>MPC-&mpc-version;</para> 190 </listitem>--> 191 <listitem> 192 <para>MPFR-&mpfr-version;</para> 193 </listitem> 194 <!--<listitem> 195 <para>Ncurses-&ncurses-version;</para> 196 </listitem>--> 197 <!--<listitem> 198 <para>Ninja-&ninja-version;</para> 199 </listitem>--> 200 <!--<listitem> 201 <para>Openssl-&openssl-version;</para> 202 </listitem>--> 203 <!--<listitem> 204 <para>Patch-&patch-version;</para> 205 </listitem>--> 206 <listitem> 207 <para>Pkgconf-&pkgconf-version;</para> 208 </listitem> 209 <!--<listitem> 210 <para>Perl-&perl-version;</para> 211 </listitem>--> 212 <listitem> 213 <para>Procps-ng-&procps-ng-version;</para> 214 </listitem> 215 <!--<listitem> 216 <para>Psmisc-&psmisc-version;</para> 217 </listitem>--> 218 <listitem> 219 <para>Python-&python-version;</para> 220 </listitem> 221 <!--<listitem> 222 <para>Readline-&readline-version;</para> 223 </listitem>--> 224 <!--<listitem> 225 <para>Sed-&sed-version;</para> 226 </listitem>--> 227 <listitem> 228 <para>Shadow-&shadow-version;</para> 229 </listitem> 230 <!--<listitem revision="sysv"> 231 <para>Sysklogd-&sysklogd-version;</para> 232 </listitem>--> 233 <!--<listitem> 234 <para>Systemd-&systemd-version;</para> 235 </listitem>--> 236 <listitem revision="sysv"> 237 <para>SysVinit-&sysvinit-version;</para> 238 </listitem> 239 <!--<listitem> 240 <para>Tar-&tar-version;</para> 241 </listitem>--> 242 <!--<listitem> 243 <para>Tcl-&tcl-version;</para> 244 </listitem>--> 245 <!--<listitem> 246 <para>Texinfo-&texinfo-version;</para> 247 </listitem>--> 248 <!--<listitem> 249 <para>Tzdata-&tzdata-version;</para> 93 250 </listitem>--> 94 251 <!--<listitem revision="sysv"> 95 252 <para>Udev-&systemd-version; (from systemd)</para> 96 253 </listitem>--> 97 <!--<listitem> 98 <para>Expat-&expat-version;</para> 99 </listitem>--> 100 <!--<listitem> 101 <para>Expect-&expect-version;</para> 102 </listitem>--> 103 <!--<listitem> 104 <para>File-&file-version;</para> 105 </listitem>--> 106 <!--<listitem> 107 <para>Findutils-&findutils-version;</para> 108 </listitem>--> 109 <!--<listitem> 110 <para>Flex-&flex-version;</para> 111 </listitem>--> 112 <listitem> 113 <para>Flit-core-&flit-core-version;</para> 114 </listitem> 115 <!--<listitem> 116 <para>Gawk-&gawk-version;</para> 117 </listitem>--> 118 <listitem> 119 <para>GCC-&gcc-version;</para> 120 </listitem> 121 <!--<listitem> 122 <para>GDBM-&gdbm-version;</para> 123 </listitem>--> 124 <listitem> 125 <para>Gettext-&gettext-version;</para> 126 </listitem> 127 <!--<listitem> 128 <para>Glibc-&glibc-version;</para> 129 </listitem>--> 130 <!--<listitem> 131 <para>GMP-&gmp-version;</para> 132 </listitem>--> 133 <!--<listitem> 134 <para>Gperf-&gperf-version;</para> 135 </listitem>--> 136 <listitem> 137 <para>Grep-&grep-version;</para> 138 </listitem> 139 <listitem> 140 <para>Groff-&groff-version;</para> 141 </listitem> 142 <!--<listitem> 143 <para>GRUB-&grub-version;</para> 144 </listitem>--> 145 <!--<listitem> 146 <para>Gzip-&gzip-version;</para> 147 </listitem>--> 148 <listitem> 149 <para>IANA-Etc-&iana-etc-version;</para> 150 </listitem> 151 <!--<listitem> 152 <para>Inetutils-&inetutils-version;</para> 153 </listitem>--> 154 <!--<listitem> 155 <para>Intltool-&intltool-version;</para> 156 </listitem>--> 157 <listitem> 158 <para>IPRoute2-&iproute2-version;</para> 159 </listitem> 160 <!--<listitem revision="systemd"> 161 <para>Jinja2-&jinja2-version;</para> 162 </listitem>--> 163 <listitem> 164 <para>Kbd-&kbd-version;</para> 165 </listitem> 166 <!--<listitem> 167 <para>Kmod-&kmod-version;</para> 168 </listitem>--> 169 <listitem> 170 <para>Less-&less-version;</para> 171 </listitem> 172 <!--<listitem> 173 <para>LFS-Bootscripts-&lfs-bootscripts-version;</para> 174 </listitem>--> 175 <listitem> 176 <para>Libcap-&libcap-version;</para> 177 </listitem> 178 <listitem> 179 <para>Libelf-&elfutils-version; (from elfutils)</para> 180 </listitem> 181 <!--<listitem> 182 <para>Libffi-&libffi-version;</para> 183 </listitem>--> 184 <!--<listitem> 185 <para>Libpipeline-&libpipeline-version;</para> 186 </listitem>--> 187 <!--<listitem> 188 <para>Libtool-&libtool-version;</para> 189 </listitem>--> 190 <listitem> 191 <para>Linux-&linux-version;</para> 192 </listitem> 193 <!--<listitem> 194 <para>M4-&m4-version;</para> 195 </listitem>--> 196 <listitem> 197 <para>Make-&make-version;</para> 198 </listitem> 199 <!--<listitem> 200 <para>Man-DB-&man-db-version;</para> 201 </listitem>--> 202 <listitem> 203 <para>Man-pages-&man-pages-version;</para> 204 </listitem> 205 <listitem revision="systemd"> 206 <para>MarkupSafe-&markupsafe-version;</para> 207 </listitem> 208 <listitem> 209 <para>Meson-&meson-version;</para> 210 </listitem> 211 <!--<listitem> 212 <para>MPC-&mpc-version;</para> 213 </listitem>--> 214 <!--<listitem> 215 <para>MPFR-&mpfr-version;</para> 216 </listitem>--> 217 <!--<listitem> 218 <para>Ncurses-&ncurses-version;</para> 219 </listitem>--> 220 <!--<listitem> 221 <para>Ninja-&ninja-version;</para> 222 </listitem>--> 223 <listitem> 224 <para>Openssl-&openssl-version;</para> 225 </listitem> 226 <!--<listitem> 227 <para>Patch-&patch-version;</para> 228 </listitem>--> 229 <listitem> 230 <para>Perl-&perl-version;</para> 231 </listitem> 232 <listitem> 233 <para>Procps-ng-&procps-ng-version;</para> 234 </listitem> 235 <!--<listitem> 236 <para>Psmisc-&psmisc-version;</para> 237 </listitem>--> 238 <listitem> 239 <para>Python-&python-version;</para> 240 </listitem> 241 <!--<listitem> 242 <para>Readline-&readline-version;</para> 243 </listitem>--> 244 <!--<listitem> 245 <para>Sed-&sed-version;</para> 246 </listitem>--> 247 <!--<listitem> 248 <para>Shadow-&shadow-version;</para> 249 </listitem>--> 250 <listitem revision="sysv"> 251 <para>Sysklogd-&sysklogd-version;</para> 252 </listitem> 253 <listitem revision="systemd"> 254 <para>Systemd-&systemd-version;</para> 255 </listitem> 256 <!--<listitem revision="sysv"> 257 <para>SysVinit-&sysvinit-version;</para> 258 </listitem>--> 259 <!--<listitem> 260 <para>Tar-&tar-version;</para> 261 </listitem>--> 262 <!--<listitem> 263 <para>Tcl-&tcl-version;</para> 264 </listitem>--> 265 <!--<listitem> 266 <para>Texinfo-&texinfo-version;</para> 267 </listitem>--> 268 <!--<listitem> 269 <para>Tzdata-&tzdata-version;</para> 270 </listitem>--> 271 <listitem> 272 <para>Util-Linux-&util-linux-version;</para> 254 <listitem> 255 <para>Util-linux-&util-linux-version;</para> 273 256 </listitem> 274 257 <listitem> 275 258 <para>Vim-&vim-version;</para> 276 259 </listitem> 277 < !--<listitem>278 <para> wheel-&wheel-version;</para>279 </listitem> -->280 <!--<listitem> 281 <para>XML -Parser-&xml-parser-version;</para>282 </listitem>--> 283 <!--<listitem> 284 <para>X Z-Utils-&xz-version;</para>285 </listitem>--> 286 < !--<listitem>260 <listitem> 261 <para>Wheel-&wheel-version;</para> 262 </listitem> 263 <!--<listitem> 264 <para>XML::Parser-&xml-parser-version;</para> 265 </listitem>--> 266 <!--<listitem> 267 <para>Xz-&xz-version;</para> 268 </listitem>--> 269 <listitem> 287 270 <para>Zlib-&zlib-version;</para> 288 </listitem> -->289 < listitem>271 </listitem> 272 <!--<listitem> 290 273 <para>Zstd-&zstd-version;</para> 291 </listitem> 274 </listitem>--> 292 275 </itemizedlist> 293 276 … … 305 288 <listitem><para></para></listitem> <!-- satisfy build --> 306 289 307 <listitem revision="sysv"> 308 <para>Udev-&systemd-version; (from systemd)</para> 309 </listitem> 310 311 <listitem revision="sysv"> 312 <para>Jinja2-&jinja2-version;</para> 313 </listitem> 314 315 <listitem revision="sysv"> 316 <para>MarkupSafe-&markupsafe-version;</para> 317 </listitem> 318 319 <listitem> 320 <para>Libxcrypt-&libxcrypt-version;</para> 321 </listitem> 322 323 <listitem> 324 <para>Pkgconf-&flit-core-version;</para> 325 </listitem> 326 327 <listitem> 328 <para>Flit-core-&flit-core-version;</para> 329 </listitem> 330 331 <!--<listitem> 332 <para>&grub-upstream-fixes-patch;</para> 333 </listitem>--> 334 335 <!--<listitem> 336 <para>&readline-fixes-patch;</para> 337 </listitem>--> 338 339 <!--<listitem revision="systemd"> 340 <para>&systemd-upstream-patch;</para> 341 </listitem>--> 290 <listitem> 291 <para>&glibc-upstream-fixes-patch;</para> 292 </listitem> 293 342 294 </itemizedlist> 343 295 … … 346 298 <listitem><para></para></listitem> <!-- satisfy build --> 347 299 348 <listitem revision='sysv'> 349 <para>eudev-3.2.12</para> 350 </listitem> 351 352 <listitem> 353 <para>Pkg-config-0.29.2</para> 354 </listitem> 355 356 <listitem revision='systemd'> 357 <para>systemd-252-security_fix-1.patch</para> 358 </listitem> 300 <listitem> 301 <para>glibc-2.38-memalign_fix-1.patch</para> 302 </listitem> 303 359 304 </itemizedlist> 360 305 -
chapter02/hostreqs.xml
rd58da4b r2df066c9 127 127 128 128 <listitem> 129 <para><emphasis role="strong">Texinfo- 4.7</emphasis></para>129 <para><emphasis role="strong">Texinfo-5.0</emphasis></para> 130 130 </listitem> 131 131 … … 155 155 the ability to compile programs, run the following commands:</para> 156 156 157 <screen role="nodump">< userinput>cat > version-check.sh << "EOF"157 <screen role="nodump"><?dbfo keep-together="auto"?><userinput>cat > version-check.sh << "EOF" 158 158 <literal>#!/bin/bash 159 159 # A script to list version numbers of critical development tools … … 206 206 ver_check Sed sed 4.1.5 207 207 ver_check Tar tar 1.22 208 ver_check Texinfo texi2any 4.7208 ver_check Texinfo texi2any 5.0 209 209 ver_check Xz xz 5.0.0 210 210 -
chapter03/packages.xml
rd58da4b r2df066c9 63 63 <para>Download: <ulink url="&automake-url;"/></para> 64 64 <para>MD5 sum: <literal>&automake-md5;</literal></para> 65 <para>SHA256 sum: <literal>&automake-sha256;</literal></para>66 65 </listitem> 67 66 </varlistentry> -
chapter03/patches.xml
rd58da4b r2df066c9 78 78 </varlistentry> 79 79 --> 80 <varlistentry> 81 <term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term> 82 <listitem> 83 <para>Download: <ulink url="&patches-root;&glibc-upstream-fixes-patch;"/></para> 84 <para>MD5 sum: <literal>&glibc-upstream-fixes-patch-md5;</literal></para> 85 </listitem> 86 </varlistentry> 87 80 88 <varlistentry> 81 89 <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term> -
chapter05/glibc.xml
rd58da4b r2df066c9 94 94 --enable-kernel=&linux-major-version;.&linux-minor-version; \ 95 95 --with-headers=$LFS/usr/include \ 96 --disable-crypt \97 96 libc_cv_slibdir=/usr/lib</userinput></screen> 98 97 -
chapter06/binutils-pass2.xml
rd58da4b r2df066c9 44 44 <title>Installation of Binutils</title> 45 45 46 <!-- Don't remove this until Binutils upstream updates the libtool 47 copy. On some host distros the issue doesn't show up. --> 48 <para>Binutils ships an outdated copy of libtool in the tarball. It lacks 49 sysroot support, so the produced binaries will be mistakenly linked to 50 libraries from the host distro. Work around this issue:</para> 46 <!-- Don't remove this until Binutils upstream resolves this issue. 47 We can test by building Binutils on a complete system with 48 zlib (libz.so) installed, passing enable-shared and 49 without-system-zlib. If the resulted libctf.so still links against 50 libz.so (check with readelf -d) despite we are saying 51 without-system-zlib, then the issue is still unresolved. --> 52 <para>Binutils building system relies on an shipped libtool copy to link against 53 internal static libraries, but the libiberty and zlib copies shipped 54 in the package do not use libtool. This inconsistency may cause 55 produced binaries mistakenly linked against libraries from the host 56 distro. Work around this issue:</para> 51 57 52 58 <screen><userinput remap="pre">sed '6009s/$add_dir//' -i ltmain.sh</userinput></screen> … … 102 108 cross compilation, and remove unnecessary static libraries:</para> 103 109 104 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes }.{a,la}</userinput></screen>110 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes,sframe}.{a,la}</userinput></screen> 105 111 106 112 </sect2> -
chapter06/coreutils.xml
rd58da4b r2df066c9 44 44 <title>Installation of Coreutils</title> 45 45 46 <!--47 <screen><userinput remap="configure">export gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen>48 -->49 46 <para>Prepare Coreutils for compilation:</para> 50 47 … … 53 50 --build=$(build-aux/config.guess) \ 54 51 --enable-install-program=hostname \ 55 --enable-no-install-program=kill,uptime \ 56 gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen> 52 --enable-no-install-program=kill,uptime</userinput></screen> 57 53 58 54 <variablelist> -
chapter06/diffutils.xml
rd58da4b r2df066c9 46 46 <para>Prepare Diffutils for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 49 51 50 52 <para>Compile the package:</para> -
chapter06/grep.xml
rd58da4b r2df066c9 46 46 <para>Prepare Grep for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 50 51 51 52 <para>Compile the package:</para> -
chapter06/sed.xml
rd58da4b r2df066c9 46 46 <para>Prepare Sed for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 50 51 51 52 <para>Compile the package:</para> -
chapter07/createfiles.xml
rd58da4b r2df066c9 108 108 video:x:12: 109 109 utmp:x:13: 110 usb:x:14:111 110 cdrom:x:15: 112 111 adm:x:16: … … 136 135 video:x:12: 137 136 utmp:x:13: 138 usb:x:14:139 137 cdrom:x:15: 140 138 adm:x:16: -
chapter07/perl.xml
rd58da4b r2df066c9 58 58 59 59 <variablelist> 60 <title>The meaning of the new Configure options:</title> 60 <title>The meaning of the Configure options:</title> 61 61 62 <varlistentry> 62 63 <term><parameter>-des</parameter></term> … … 65 66 all items; -e ensures completion of all tasks; -s silences 66 67 non-essential output.</para> 68 </listitem> 69 </varlistentry> 70 71 <varlistentry> 72 <term><parameter>-Dvendorprefix=/usr</parameter></term> 73 <listitem> 74 <para>This ensures <command>perl</command> knows how to 75 tell packages where they should install their Perl modules.</para> 76 </listitem> 77 </varlistentry> 78 79 <varlistentry> 80 <term><parameter>-Duseshrplib</parameter></term> 81 <listitem> 82 <para>Build <systemitem class='library'>libperl</systemitem> 83 needed by some Perl modules as a shared library, instead of 84 a static library.</para> 85 </listitem> 86 </varlistentry> 87 88 <varlistentry> 89 <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term> 90 <listitem> 91 <para>These settings define where Perl looks for installed 92 modules. The LFS editors chose to put them in a directory structure 93 based on the MAJOR.MINOR version of Perl (&perl-version-min;) which 94 allows upgrading Perl to newer patch levels (the patch level is 95 the last dot separated part in the full version string like 96 &perl-version;) without reinstalling all of the modules.</para> 67 97 </listitem> 68 98 </varlistentry> -
chapter08/autoconf.xml
rd58da4b r2df066c9 154 154 software package; it examines the source files in a directory tree, 155 155 searching them for common portability issues, and creates a 156 <filename>configure.scan</filename> file that serves as a s a156 <filename>configure.scan</filename> file that serves as a 157 157 preliminary <filename>configure.in</filename> file for the 158 158 package</para> -
chapter08/binutils.xml
rd58da4b r2df066c9 146 146 <option>--enable-default-ssp</option> options are passed to GCC.</para> 147 147 148 <para>Three tests in the gprofng suite are also known to fail.</para> 149 148 150 <para>Install the package:</para> 149 151 150 152 <screen><userinput remap="install">make tooldir=/usr install</userinput></screen> 151 153 152 <para>Remove useless static libraries and an empty man page:</para> 153 154 <screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,sframe,opcodes}.a 155 rm -fv /usr/share/man/man1/{gprofng,gp-*}.1</userinput></screen> 154 <para>Remove useless static libraries:</para> 155 156 <screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,gprofng,opcodes,sframe}.a</userinput></screen> 156 157 157 158 </sect2> … … 168 169 <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm, 169 170 objcopy, objdump, ranlib, readelf, size, strings, and strip</seg> 170 <seg>libbfd.so, libctf.so, libctf-nobfd.so, libopcodes.so, and libsframe.so</seg> 171 <seg>libbfd.so, libctf.so, libctf-nobfd.so, libgprofng.so, 172 libopcodes.so, and libsframe.so</seg> 171 173 <seg>/usr/lib/ldscripts</seg> 172 174 </seglistitem> … … 416 418 </varlistentry> 417 419 420 <varlistentry id="libgprofng"> 421 <term><filename class="libraryfile">libgprofng</filename></term> 422 <listitem> 423 <para>A library containing most routines used by 424 <command>gprofng</command></para> 425 <indexterm zone="ch-system-binutils libgprofng"> 426 <primary sortas="c-libgprofng">libgprofng</primary> 427 </indexterm> 428 </listitem> 429 </varlistentry> 430 418 431 <varlistentry id="libopcodes"> 419 432 <term><filename class="libraryfile">libopcodes</filename></term> -
chapter08/chapter08.xml
rd58da4b r2df066c9 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/> 31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/> 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconf.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils.xml"/> 33 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/> … … 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/> 41 42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/> 42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconf.xml"/>43 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/> 44 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/> -
chapter08/coreutils.xml
rd58da4b r2df066c9 122 122 user <systemitem class="username">tester</systemitem> a part of it:</para> 123 123 124 <screen><userinput remap="test"> echo "dummy:x:102:tester" >> /etc/group</userinput></screen>124 <screen><userinput remap="test">groupadd -g 102 dummy -U tester</userinput></screen> 125 125 126 126 <para>Fix some of the permissions so that the non-&root; user can … … 140 140 <para>Remove the temporary group:</para> 141 141 142 <screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen> 142 <screen><userinput remap="test">groupdel dummy</userinput></screen> 143 143 144 <para>Install the package:</para> 144 145 -
chapter08/dbus.xml
rd58da4b r2df066c9 53 53 --localstatedir=/var \ 54 54 --runstatedir=/run \ 55 --enable-user-session \ 55 56 --disable-static \ 56 57 --disable-doxygen-docs \ … … 71 72 to be in <filename class="directory">/run</filename>, instead of 72 73 the deprecated <filename class="directory">/var/run</filename>.</para> 74 </listitem> 75 </varlistentry> 76 77 <varlistentry> 78 <term> 79 <parameter>--enable-user-session</parameter> 80 </term> 81 <listitem> 82 <para>This ensures the D-Bus per-user service and socket unit 83 files are installed for Systemd. They are not useful (but 84 harmless) in a base LFS installation, however they can be used 85 once systemd is rebuilt with PAM support in BLFS.</para> 73 86 </listitem> 74 87 </varlistentry> -
chapter08/flit-core.xml
rd58da4b r2df066c9 43 43 <para>Build the package:</para> 44 44 45 <screen><userinput remap="install">pip3 wheel -w dist --no- build-isolation --no-deps $PWD</userinput></screen>45 <screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> 46 46 47 47 <para>Install the package:</para> … … 64 64 <para>Instructs pip to put the created wheel into the 65 65 <filename class='directory'>dist</filename> directory.</para> 66 </listitem> 67 </varlistentry> 68 69 <varlistentry> 70 <term><parameter>--no-cache-dir</parameter></term> 71 <listitem> 72 <para>Prevents pip from copying the created wheel into the 73 <filename class='directory'>/root/.cache/pip</filename> 74 directory.</para> 66 75 </listitem> 67 76 </varlistentry> -
chapter08/gawk.xml
rd58da4b r2df066c9 62 62 <screen><userinput remap="install">make LN='ln -f' install</userinput></screen> 63 63 64 <para>The installation process already created <command>awk</command>65 as a symlink to <command>gawk</command>, create its man page as a66 symlink as well:</para>67 68 <screen><userinput remap="install">ln -sv gawk.1 /usr/share/man/man1/awk.1</userinput></screen>69 70 64 <variablelist> 71 65 <title>The meaning of the overridden make variable:</title> … … 79 73 </varlistentry> 80 74 </variablelist> 75 76 <para>The installation process already created <command>awk</command> 77 as a symlink to <command>gawk</command>, create its man page as a 78 symlink as well:</para> 79 80 <screen><userinput remap="install">ln -sv gawk.1 /usr/share/man/man1/awk.1</userinput></screen> 81 81 82 82 <para>If desired, install the documentation:</para> -
chapter08/gcc.xml
rd58da4b r2df066c9 172 172 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para> 173 173 174 <para>Two tests named <filename>pr104610.c</filename> and174 <para><!--Two tests named <filename>pr104610.c</filename> and 175 175 <filename>pr69482-1.c</filename> are known to fail because the test 176 176 files does not account for the 177 <parameter>- -enable-default-ssp</parameter> option.177 <parameter>- -enable-default-ssp</parameter> option.--> 178 178 <!-- https://gcc.gnu.org/PR106375 and https://gcc.gnu.org/PR109353 --> 179 179 Two tests named <filename>copy.cc</filename> and … … 183 183 <filename class='directory'>vect</filename> directory are known to fail 184 184 if the hardware does not support AVX.</para> 185 186 <para> 187 With Glibc-2.38, the analyzer tests named 188 <filename>data-model-4.c</filename> and 189 <filename>conftest-1.c</filename> 190 are known to fail. 191 In the asan tests, several tests in <filename>asan_test.C</filename> 192 are known to fail. 193 The test named <filename>interception-malloc-test-1.C</filename> 194 is known to fail. 195 </para> 185 196 186 197 <para>A few unexpected failures cannot always be avoided. The GCC developers -
chapter08/glibc.xml
rd58da4b r2df066c9 51 51 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 52 52 53 <!-- https://sourceware.org/bugzilla/show_bug.cgi?id=30068 54 Upstream fix also added a test case and renamed "prec" to 55 "prec_inc". We'll test this with MPFR test suite so we don't 56 need the test here, and the renaming does not affect program 57 behavior. --> 58 <para>Fix a security issue identified upstream:</para> 59 60 <screen><userinput remap="pre">sed '/width -=/s/workend - string/number_length/' \ 61 -i stdio-common/vfprintf-process-arg.c</userinput></screen> 53 <para>Now fix two security vulnerabilities and a regression causing the 54 posix_memalign() function very slow in some conditions:</para> 55 56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-fixes-patch;</userinput></screen> 62 57 63 58 <para>The Glibc documentation recommends building Glibc … … 80 75 --enable-stack-protector=strong \ 81 76 --with-headers=/usr/include \ 82 --disable-crypt \83 77 libc_cv_slibdir=/usr/lib</userinput></screen> 84 78 … … 168 162 </listitem> 169 163 164 <!-- Did not fail with glibc-2.38 170 165 <listitem> 171 166 <para><emphasis>misc/tst-ttyname</emphasis> 172 167 is known to fail in the LFS chroot environment.</para> 173 168 </listitem> 169 --> 174 170 175 171 <!-- https://sourceware.org/pipermail/libc-alpha/2022-August/141567.html --> … … 326 322 following:</para> 327 323 328 <screen ><userinput>cat > /etc/nsswitch.conf << "EOF"324 <screen revision='sysv'><userinput>cat > /etc/nsswitch.conf << "EOF" 329 325 <literal># Begin /etc/nsswitch.conf 330 326 … … 334 330 335 331 hosts: files dns 332 networks: files 333 334 protocols: files 335 services: files 336 ethers: files 337 rpc: files 338 339 # End /etc/nsswitch.conf</literal> 340 EOF</userinput></screen> 341 342 <screen revision='systemd'><userinput>cat > /etc/nsswitch.conf << "EOF" 343 <literal># Begin /etc/nsswitch.conf 344 345 passwd: files systemd 346 group: files systemd 347 shadow: files systemd 348 349 hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns 336 350 networks: files 337 351 -
chapter08/gmp.xml
rd58da4b r2df066c9 55 55 the host processor. If libraries suitable for processors less 56 56 capable than the host's CPU are desired, generic libraries can be 57 created by running the following: 57 created by appending the <option>--host=none-linux-gnu</option> option 58 to the <command>configure</command> command.</para> 58 59 59 <screen role="nodump"><userinput>cp -v configfsf.guess config.guess 60 cp -v configfsf.sub config.sub</userinput></screen></para> 60 <!-- To editors: the configure script says "the none host is obsolete, 61 use - -disable-assembly", but don't believe it: with the latter 62 CFLAGS is still automatically set to -march=something. --> 61 63 </note> 62 64 … … 107 109 applications using the gmp libraries with the message "Illegal 108 110 instruction". In this case, gmp should be reconfigured with the option 109 --build=x86_64-pc-linux-gnuand rebuilt.</para></caution>111 <option>--host=none-linux-gnu</option> and rebuilt.</para></caution> 110 112 111 <para>Ensure that all 197 tests in the test suite passed. 113 <!-- Some tests PASS on a specific uarch but SKIP on other CPUs. 114 For example on K8 the following command outputs 200. --> 115 <para>Ensure that at least 199 tests in the test suite passed. 112 116 Check the results by issuing the following command:</para> 113 117 … … 125 129 126 130 <segmentedlist> 127 <segtitle>Installed Libraries</segtitle>131 <segtitle>Installed libraries</segtitle> 128 132 <segtitle>Installed directory</segtitle> 129 133 -
chapter08/jinja2.xml
rd58da4b r2df066c9 43 43 <para>Build the package:</para> 44 44 45 <screen><userinput remap="install">pip3 wheel -w dist --no- build-isolation --no-deps $PWD</userinput></screen>45 <screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> 46 46 47 47 <para>Install the package:</para> -
chapter08/less.xml
rd58da4b r2df066c9 63 63 <screen><userinput remap="make">make</userinput></screen> 64 64 65 <para>This package does not come with a test suite.</para> 65 <para>To test the results, issue:</para> 66 67 <screen><userinput remap="test">make check</userinput></screen> 66 68 67 69 <para>Install the package:</para> -
chapter08/libelf.xml
rd58da4b r2df066c9 71 71 72 72 <segmentedlist> 73 <segtitle>Installed Library</segtitle>74 <segtitle>Installed Directory</segtitle>73 <segtitle>Installed library</segtitle> 74 <segtitle>Installed directory</segtitle> 75 75 76 76 <seglistitem> -
chapter08/libxcrypt.xml
rd58da4b r2df066c9 101 101 that link against these functions require ABI version 1. If you must 102 102 have such functions because of some binary-only application or to be 103 to becompliant with LSB, build the package again with the following103 compliant with LSB, build the package again with the following 104 104 commands:</para> 105 105 106 <screen ><userinput remap="nodump">make distclean106 <screen role="nodump"><userinput>make distclean 107 107 ./configure --prefix=/usr \ 108 108 --enable-hashes=strong,glibc \ -
chapter08/markupsafe.xml
rd58da4b r2df066c9 43 43 <para>Compile MarkupSafe with the following command:</para> 44 44 45 <screen><userinput remap="make">pip3 wheel -w dist --no- build-isolation --no-deps $PWD</userinput></screen>45 <screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> 46 46 47 47 <para>This package does not come with a test suite.</para> -
chapter08/meson.xml
rd58da4b r2df066c9 47 47 <para>Compile Meson with the following command:</para> 48 48 49 <screen><userinput remap="make">pip3 wheel -w dist --no- build-isolation --no-deps $PWD</userinput></screen>49 <screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> 50 50 51 51 <para>The test suite requires some packages outside the scope of LFS.</para> -
chapter08/mpc.xml
rd58da4b r2df066c9 70 70 71 71 <segmentedlist> 72 <segtitle>Installed Libraries</segtitle>73 <segtitle>Installed Directory</segtitle>72 <segtitle>Installed libraries</segtitle> 73 <segtitle>Installed directory</segtitle> 74 74 75 75 <seglistitem> -
chapter08/mpfr.xml
rd58da4b r2df066c9 42 42 <title>Installation of MPFR</title> 43 43 44 <!-- https://sympa.inria.fr/sympa/arc/mpfr/2023-01/msg00002.html45 https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c46 47 Note that it's a different issue from Glibc #30068 we've fixed in48 chapter08/glibc.xml with a sed. Normally we just document the49 test failure, but in this case the particular subtest also serves50 as an additional guard against Glibc #30068. So we apply the51 upstream fix here. -->52 <para>Fix a test case based on a bug of old Glibc releases:</para>53 54 <screen><userinput remap="pre">sed -e 's/+01,234,567/+1,234,567 /' \55 -e 's/13.10Pd/13Pd/' \56 -i tests/tsprintf.c</userinput></screen>57 58 44 <para>Prepare MPFR for compilation:</para> 59 45 … … 73 59 </important> 74 60 75 <para>Test the results and ensure that all 19 7tests passed:</para>61 <para>Test the results and ensure that all 198 tests passed:</para> 76 62 77 63 <screen><userinput remap="test">make check</userinput></screen> … … 89 75 90 76 <segmentedlist> 91 <segtitle>Installed Libraries</segtitle>77 <segtitle>Installed libraries</segtitle> 92 78 <segtitle>Installed directory</segtitle> 93 79 -
chapter08/ncurses.xml
rd58da4b r2df066c9 159 159 <para>If desired, install the Ncurses documentation:</para> 160 160 161 <screen><userinput remap="install">mkdir -pv /usr/share/doc/ncurses-&ncurses-version; 162 cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version;</userinput></screen> 161 <screen><userinput remap="install">cp -v -R doc -T /usr/share/doc/ncurses-&ncurses-version;</userinput></screen> 163 162 164 163 <note> -
chapter08/openssl.xml
rd58da4b r2df066c9 100 100 <emphasis>when upgrading to a version with the same MAJOR version 101 101 number</emphasis>. 102 </para>103 104 <!-- https://bugzilla.mindrot.org/show_bug.cgi?id=3548 -->105 <para>106 If <application>OpenSSH</application> is installed, it will be an107 exception of the general rule above. It contains an108 over-restrictive OpenSSL version check, so both SSH client and SSH109 server will refuse to start if OpenSSL110 is updated with MAJOR version number unchanged but MINOR version111 number changed. You need to rebuild112 <application>OpenSSH</application> after such an upgrade.113 <emphasis role='bold'>If <application>OpenSSH</application> is being114 used to access the system, you must rebuild and reinstall it115 after upgrading OpenSSL to a new MINOR version number before logout116 or you won't be able to login via SSH anymore.</emphasis>117 102 </para> 118 103 -
chapter08/perl.xml
rd58da4b r2df066c9 77 77 78 78 <variablelist> 79 <title>The meaning of the configure options:</title> 80 81 <varlistentry> 82 <term><parameter>-Dvendorprefix=/usr</parameter></term> 83 <listitem> 84 <para>This ensures <command>perl</command> knows how to 85 tell packages where they should install their Perl modules.</para> 86 </listitem> 87 </varlistentry> 79 <title>The meaning of the new Configure options:</title> 88 80 89 81 <varlistentry> … … 106 98 107 99 <varlistentry> 108 <term><parameter>-Duseshrplib</parameter></term>109 <listitem>110 <para>Build a shared libperl needed by some Perl modules.</para>111 </listitem>112 </varlistentry>113 114 <varlistentry>115 100 <term><parameter>-Dusethreads</parameter></term> 116 101 <listitem> 117 102 <para>Build Perl with support for threads.</para> 118 </listitem>119 </varlistentry>120 121 <varlistentry>122 <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term>123 <listitem>124 <para>These settings define where Perl looks for installed125 modules. The LFS editors chose to put them in a directory structure126 based on the MAJOR.MINOR version of Perl (&perl-version-min;) which127 allows upgrading Perl to newer patch levels (the patch level is128 the last dot separated part in the full version string like129 &perl-version;) without reinstalling all of the modules.</para>130 103 </listitem> 131 104 </varlistentry> -
chapter08/pkgconf.xml
rd58da4b r2df066c9 42 42 43 43 <sect2 role="installation"> 44 44 45 <title>Installation of Pkgconf</title> 46 47 <!-- https://github.com/pkgconf/pkgconf/issues/317 --> 48 <para>Fix a regression in pkgconf-2.0.3 breaking BLFS packages:</para> 49 50 <screen><userinput remap="pre">sed -i 's/str\(cmp.*package\)/strn\1, strlen(pkg->why)/' cli/main.c</userinput></screen> 45 51 46 52 <para>Prepare Pkgconf for compilation:</para> -
chapter08/procps.xml
rd58da4b r2df066c9 68 68 <para>Compile the package:</para> 69 69 70 <screen><userinput remap="make">make</userinput></screen> 71 <!-- 72 <para>The test suite needs some custom modifications for LFS. 73 Remove a test that fails when scripting does not use a tty device and 74 fix two others. 75 To run the test suite, run the following commands:</para> 76 77 <screen><userinput remap="test">sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp 78 sed -i '/set tty/d' testsuite/pkill.test/pkill.exp 79 rm testsuite/pgrep.test/pgrep.exp 80 make check</userinput></screen> 81 --> 70 <screen revision='sysv'><userinput remap="make">make</userinput></screen> 71 <screen revision='systemd'><userinput remap="make">make src_w_LDADD='$(LDADD) -lsystemd'</userinput></screen> 72 82 73 <para> To run the test suite, run:</para> 83 74 84 75 <screen><userinput remap="test">make check</userinput></screen> 85 86 <!-- It's because "free -v" shows "used" greater than "total", and87 a negative "free" for "Comm" line. The "total" value is from88 "CommitLimit" in /proc/meminfo, which is the limit for one process.89 But the "used" value is from "Committed_AS" in the same file,90 which is the total commited virtual memory space of all processes.91 I'll make a report to upstream anyway. -->92 <para>One test named <filename>free with commit</filename>93 may fail if some applications with a custom memory allocator (for94 example, JVM and Web browsers) are running on the host distro.</para>95 76 96 77 <para>Install the package:</para> -
chapter08/python.xml
rd58da4b r2df066c9 192 192 193 193 <segmentedlist> 194 <segtitle>Installed Programs</segtitle>195 <segtitle>Installed Library</segtitle>196 <segtitle>Installed Directories</segtitle>194 <segtitle>Installed programs</segtitle> 195 <segtitle>Installed library</segtitle> 196 <segtitle>Installed directories</segtitle> 197 197 198 198 <seglistitem> -
chapter08/shadow.xml
rd58da4b r2df066c9 108 108 --disable-static \ 109 109 --with-{b,yes}crypt \ 110 --without-libbsd \ 110 111 --with-group-name-max-length=32</userinput></screen> 111 112 … … 142 143 <para>The longest permissible user name is 32 characters. Make the maximum 143 144 length of a group name the same.</para> 145 </listitem> 146 </varlistentry> 147 148 <varlistentry> 149 <term><parameter>--without-libbsd</parameter></term> 150 <listitem> 151 <para>Do not use the readpassphrase function from libbsd which 152 is not in LFS. Use the internal copy instead.</para> 144 153 </listitem> 145 154 </varlistentry> -
chapter08/stripping.xml
rd58da4b r2df066c9 30 30 dynamically linked binaries and shared libraries).</para> 31 31 32 <para>The debugging symbols from selected libraries are preserved 33 in separate files. That debugging information is needed to run 34 regression tests with <ulink 32 <!-- TODO: Zstd is better than Zlib for both speed and size. 33 Unfortunately Valgrind does not support Zstd-compressed debug 34 info yet: https://bugs.kde.org/show_bug.cgi?id=469782 --> 35 <para>The debugging symbols from selected libraries are compressed with 36 <application>Zlib</application> and preserved in separate files. That 37 debugging information is needed to run regression tests with <ulink 35 38 url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink 36 39 url='&blfs-book;/general/gdb.html'>gdb</ulink> later, in BLFS. … … 79 82 80 83 for LIB in $save_usrlib; do 81 objcopy --only-keep-debug $LIB $LIB.dbg84 objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg 82 85 cp $LIB /tmp/$LIB 83 86 strip --strip-unneeded /tmp/$LIB … … 89 92 online_usrbin="bash find strip" 90 93 online_usrlib="libbfd-&binutils-version;.so 91 libsframe.so. 0.0.094 libsframe.so.&libsframe-version; 92 95 libhistory.so.&readline-soversion; 93 96 libncursesw.so.&ncurses-version; … … 95 98 libreadline.so.&readline-soversion; 96 99 libz.so.&zlib-version; 100 libzstd.so.&zstd-version; 97 101 $(cd /usr/lib; find libnss*.so* -type f)" 98 102 -
chapter08/systemd.xml
rd58da4b r2df066c9 40 40 <sect2 role="installation"> 41 41 <title>Installation of systemd</title> 42 43 <para>44 Remove several inappropriate uses of the <literal>pure</literal>45 attribute that cause runtime issues when the package is built46 with gcc-13 or later:47 </para>48 49 <screen><userinput remap='pre'>sed '/bus_message_type_from_string/s/_pure_//' \50 -i src/libsystemd/sd-bus/bus-internal.h &&51 sed '/devt_hash_func/s/_pure_//' \52 -i src/basic/hash-funcs.h &&53 sed '/job_get_timeout/s/_pure_//' \54 -i src/core/job.h</userinput></screen>55 42 56 43 <para>Remove two unneeded groups, … … 82 69 -Dpamconfdir=no \ 83 70 -Ddev-kvm-mode=0660 \ 71 -Dnobody-group=nogroup \ 84 72 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ 85 73 ..</userinput></screen> … … 192 180 </listitem> 193 181 </varlistentry> 182 183 <varlistentry> 184 <term><parameter>-Dnobody-group=nogroup</parameter></term> 185 <listitem> 186 <para>Tell the package the group name with GID 65534 is 187 <systemitem class='groupname'>nogroup</systemitem>.</para> 188 </listitem> 189 </varlistentry> 194 190 </variablelist> 195 191 … … 206 202 <!-- Please make sure systemd man pages tarball has a common leading 207 203 component in the path. --> 208 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen> 204 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-version;.tar.xz \ 205 --no-same-owner --strip-components=1 \ 206 -C /usr/share/man</userinput></screen> 209 207 210 208 <para>Create the <filename>/etc/machine-id</filename> file needed by … … 245 243 <seg>busctl, coredumpctl, halt (symlink to systemctl), 246 244 hostnamectl, init, journalctl, kernel-install, localectl, loginctl, 247 machinectl, networkctl, oomctl, portablectl, poweroff (symlink to 245 machinectl, mount.ddi (symlink to systemd-dissect), networkctl, 246 oomctl, portablectl, poweroff (symlink to 248 247 systemctl), reboot (symlink to systemctl), resolvconf (symlink to 249 248 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown 250 249 (symlink to systemctl), systemctl, systemd-ac-power, systemd-analyze, 251 250 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop, 252 systemd-creds, systemd-delta, systemd-detect-virt, 251 systemd-confext (symlink to systemd-sysext), systemd-creds, 252 systemd-delta, systemd-detect-virt, 253 253 systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128, 254 254 systemd-inhibit, systemd-machine-id-setup, -
chapter08/tar.xml
rd58da4b r2df066c9 73 73 <screen><userinput remap="test">make check</userinput></screen> 74 74 75 <!-- On one system the -j4 improvement is 167s - 46s = 121s (72.46%) --> 76 <note><para>The test time for Tar can be reduced significantly on a 77 system with multiple cores. To do this, append 78 <command>TESTSUITEFLAGS=-j<N></command> to the line above. For 79 instance, using -j4 can reduce the test time by over 70 80 percent.</para></note> 81 75 82 <para>One test, capabilities: binary store/restore, is known to fail if it is 76 83 run because LFS lacks selinux, but will be skipped if the host kernel does 77 not support extended attributes on the filesystem used for building LFS.</para> 84 not support extended attributes or security labels on the filesystem 85 used for building LFS.</para> 78 86 79 87 <para>Install the package:</para> -
chapter08/udev.xml
rd58da4b r2df066c9 128 128 install -vm755 udevadm /usr/bin/ 129 129 install -vm755 systemd-hwdb /usr/bin/udev-hwdb 130 ln -sv 130 ln -svfn ../bin/udevadm /usr/sbin/udevd 131 131 cp -av libudev.so{,*[0-9]} /usr/lib/ 132 132 install -vm644 ../src/libudev/libudev.h /usr/include/ … … 148 148 <!-- Please make sure systemd man pages tarball has a common leading 149 149 component in the path. --> 150 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-253.tar.xz --strip-components=1 \ 150 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz \ 151 --no-same-owner --strip-components=1 \ 151 152 -C /usr/share/man --wildcards '*/udev*' '*/libudev*' \ 152 153 '*/systemd-'{hwdb,udevd.service}.8 153 sed 's/systemd\(\\\?-\)/udev -/' /usr/share/man/man8/systemd-hwdb.8\154 > /usr/share/man/man8/udev-hwdb.8154 sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \ 155 > /usr/share/man/man8/udev-hwdb.8 155 156 sed 's|lib.*udevd|sbin/udevd|' \ 156 157 /usr/share/man/man8/systemd-udevd.service.8 \ -
chapter08/util-linux.xml
rd58da4b r2df066c9 43 43 <title>Installation of Util-linux</title> 44 44 45 <para>First, disable a problem test:</para>45 <para>First, disable a problematic test:</para> 46 46 47 47 <screen><userinput remap="pre">sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am</userinput></screen> … … 1231 1231 unique among all UUIDs created, on the local system and on other 1232 1232 systems, in the past and in the future, with extremely high 1233 probability (~340 trillion trillion trillion unique UUIDs are possible)</para> 1233 probability (2<superscript>128</superscript> UUIDs are 1234 possible)</para> 1234 1235 <indexterm zone="ch-system-util-linux uuidgen"> 1235 1236 <primary sortas="b-uuidgen">uuidgen</primary> -
chapter08/wheel.xml
rd58da4b r2df066c9 43 43 <para>Compile Wheel with the following command:</para> 44 44 45 <screen><userinput remap="make">pip3 wheel -w dist --no- build-isolation --no-deps $PWD</userinput></screen>45 <screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen> 46 46 47 47 <para>Install Wheel with the following command:</para> -
chapter09/network.xml
rd58da4b r2df066c9 179 179 </indexterm> 180 180 181 <para>Decide on the IP address, fully-qualified domain name (FQDN), and 182 possible aliases for use in the <filename>/etc/hosts</filename> file. The 183 syntax is:</para> 181 <para>Decide on a fully-qualified domain name (FQDN), and possible aliases 182 for use in the <filename>/etc/hosts</filename> file. If using static IP 183 addresses, you'll also need to decide on an IP address. The syntax 184 for a hosts file entry is:</para> 184 185 185 186 <screen><literal>IP_address myhost.example.org aliases</literal></screen> … … 198 199 range 0-255.</para> 199 200 200 <para>A valid private IP address could be 192.168.1.1. A valid FQDN for 201 this IP could be lfs.example.org.</para> 202 203 <para>Even if not using a network card, a valid FQDN is still required. 204 This is necessary for certain programs to operate correctly.</para> 201 <para>A valid private IP address could be 192.168.1.1.</para> 202 203 <para>If the computer is to be visible to the Internet, a valid FQDN 204 can be the domain name itself, or a string resulted by concatenating a 205 prefix (often the hostname) and the domain name with a <quote>.</quote> 206 character. And, you need to contact the domain provider to resolve the 207 FQDN to your public IP address.</para> 208 209 <para>Even if the computer is not visible to the Internet, a FQDN is 210 still needed for certain programs, such as MTAs, to operate properly. 211 A special FQDN, <literal>localhost.localdomain</literal>, can be used 212 for this purpose.</para> 205 213 206 214 <para>Create the <filename>/etc/hosts</filename> file by running:</para> -
chapter09/networkd.xml
rd58da4b r2df066c9 317 317 range 0-255.</para> 318 318 319 <para>A valid private IP address could be 192.168.1.1. A valid FQDN for 320 this IP could be lfs.example.org.</para> 321 322 <para>Even if not using a network card, a valid FQDN is still required. 323 This is necessary for certain programs, such as MTAs, to operate properly.</para> 324 325 <!-- 326 <para>Create the /etc/hosts file using the following command:</para> 327 328 <screen role="nodump"><userinput>cat > /etc/hosts << "EOF" 319 <para>A valid private IP address could be 192.168.1.1.</para> 320 321 <para>If the computer is to be visible to the Internet, a valid FQDN 322 can be the domain name itself, or a string resulted by concatenating a 323 prefix (often the hostname) and the domain name with a <quote>.</quote> 324 character. And, you need to contact the domain provider to resolve the 325 FQDN to your public IP address.</para> 326 327 <para>Even if the computer is not visible to the Internet, a FQDN is 328 still needed for certain programs, such as MTAs, to operate properly. 329 A special FQDN, <literal>localhost.localdomain</literal>, can be used 330 for this purpose.</para> 331 332 <para>Create the <filename>/etc/hosts</filename> file using the following 333 command:</para> 334 335 <screen><userinput>cat > /etc/hosts << "EOF" 329 336 <literal># Begin /etc/hosts 330 337 331 127.0.0.1 localhost.localdomain localhost 332 127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> 333 ::1 localhost ip6-localhost ip6-loopback 338 <replaceable><192.168.0.2></replaceable> <replaceable><FQDN></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> 339 ::1 ip6-localhost ip6-loopback 334 340 ff02::1 ip6-allnodes 335 341 ff02::2 ip6-allrouters … … 337 343 # End /etc/hosts</literal> 338 344 EOF</userinput></screen> 339 --> 340 341 <para>Create the <filename>/etc/hosts</filename> file using the following 342 command:</para> 343 344 <screen><userinput>cat > /etc/hosts << "EOF" 345 <literal># Begin /etc/hosts 346 347 127.0.0.1 localhost.localdomain localhost 348 127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> 349 <replaceable><192.168.0.2></replaceable> <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> 350 ::1 localhost ip6-localhost ip6-loopback 351 ff02::1 ip6-allnodes 352 ff02::2 ip6-allrouters 353 354 # End /etc/hosts</literal> 355 EOF</userinput></screen> 356 357 <para>The <replaceable><192.168.0.2></replaceable>, 358 <replaceable><FQDN></replaceable>, and 359 <replaceable><HOSTNAME></replaceable> values need to be 345 346 <para>The <replaceable><192.168.0.2></replaceable> and 347 <replaceable><FQDN></replaceable> values need to be 360 348 changed for specific uses or requirements (if assigned an IP address by a 361 349 network/system administrator and the machine will be connected to an 362 350 existing network). The optional alias name(s) can be omitted, and the 363 351 <replaceable><192.168.0.2></replaceable> line can be omitted if you 364 are using a connection configured with DHCP or IPv6 Autoconfiguration.</para> 352 are using a connection configured with DHCP or IPv6 Autoconfiguration, 353 or using <literal>localhost.localdomain</literal> as the FQDN.</para> 354 355 <para>The <filename>/etc/hostname</filename> does not contain entries 356 for <literal>localhost</literal>, 357 <literal>localhost.localdomain</literal>, or the hostname (without a 358 domain) because they are handled by the 359 <systemitem class='library'>myhostname</systemitem> NSS module, read 360 the man page <filename>nss-myhostname(8)</filename> for details.</para> 365 361 366 362 <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents 367 the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved 368 specifically for the FQDN.</para> 363 the IPv6 loopback interface.</para> 369 364 370 365 </sect2> -
chapter09/usage.xml
rd58da4b r2df066c9 147 147 initial letter. The K means to stop (kill) a service and the S means to start a 148 148 service. The numbers determine the order in which the scripts are run, from 00 149 to 99—the smaller the number, the sooner th tscript runs. When149 to 99—the smaller the number, the sooner the script runs. When 150 150 <command>init</command> switches to another run level, the appropriate services 151 151 are either started or stopped, depending on the run level chosen.</para> -
chapter10/fstab.xml
rd58da4b r2df066c9 23 23 <literal># Begin /etc/fstab 24 24 25 # file system mount-point type options dump fsck26 # order25 # file system mount-point type options dump fsck 26 # order 27 27 28 /dev/<replaceable>sda</replaceable>3 / ext4 defaults 1 1 29 /dev/<replaceable>sda</replaceable>2 /boot ext4 defaults 0 2 30 proc /proc proc nosuid,noexec,nodev 0 0 31 sysfs /sys sysfs nosuid,noexec,nodev 0 0 32 devpts /dev/pts devpts gid=5,mode=620 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 35 tmpfs /dev/shm tmpfs nosuid,nodev 0 0 28 /dev/<replaceable>sda</replaceable>2 / <replaceable><fff></replaceable> defaults 1 1 29 /dev/<replaceable>sda</replaceable>3 swap swap pri=1 0 0 30 proc /proc proc nosuid,noexec,nodev 0 0 31 sysfs /sys sysfs nosuid,noexec,nodev 0 0 32 devpts /dev/pts devpts gid=5,mode=620 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 35 tmpfs /dev/shm tmpfs nosuid,nodev 0 0 36 cgroup2 /sys/fs/cgroup cgroup2 nosuid,noexec,nodev 0 0 36 37 37 38 # End /etc/fstab</literal> -
chapter10/grub.xml
rd58da4b r2df066c9 20 20 <para> 21 21 If your system has UEFI support and you wish to boot LFS with UEFI, 22 you should skip this page, and configure GRUB with UEFI support 23 using the instructions provided in 22 you should skip the instructions in this page but still learn the 23 syntax of <filename>grub.cfg</filename> and the method to specify 24 a partition in the file from this page, and configure GRUB with UEFI 25 support using the instructions provided in 24 26 <ulink url="&blfs-book;postlfs/grub-setup.html">the BLFS page</ulink>. 25 27 </para> … … 127 129 set timeout=5 128 130 131 insmod part_gpt 129 132 insmod ext2 130 133 set root=(hd0,2) … … 134 137 }</literal> 135 138 EOF</userinput></screen> 139 140 <para> 141 The <command>insmod</command> commands load the 142 <application>GRUB</application> modules named 143 <filename>part_gpt</filename> and <filename>ext2</filename>. 144 Despite the naming, <filename>ext2</filename> actually supports 145 <systemitem class='filesystem'>ext2</systemitem>, 146 <systemitem class='filesystem'>ext3</systemitem>, and 147 <systemitem class='filesystem'>ext4</systemitem> filesystems. 148 The <command>grub-install</command> command has embedded some modules 149 into the main <application>GRUB</application> image (installed into 150 the MBR or the GRUB BIOS partition) to access the other modules 151 (in <filename class='directory'>/boot/grub/i386-pc</filename>) without 152 a chicken-or-egg issue, so with a typical configuration these two 153 modules are already embedded and those two <command>insmod</command> 154 commands will do nothing. But they do no harm anyway, and they may 155 be needed with some rare configurations. 156 </para> 136 157 137 158 <note><para>From <application>GRUB</application>'s perspective, the -
chapter10/kernel.xml
rd58da4b r2df066c9 123 123 124 124 <note> 125 <?dbfo keep-together="auto"?> 125 126 <para>A good starting place for setting up the kernel configuration is to 126 127 run <command>make defconfig</command>. This will set the base … … 131 132 not work correctly or boot at all:</para> 132 133 133 <screen role="nodump" revision="sysv">Processor type and features ---> 134 [*] Build a relocatable kernel [CONFIG_RELOCATABLE] 135 [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE] 136 General setup ---> 137 [ ] Compile the kernel with warnings as errors [CONFIG_WERROR] 138 < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 139 [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT] 140 General architecture-dependent options ---> 141 [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR] 142 [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG] 143 Device Drivers ---> 144 Graphics support ---> 145 Frame buffer Devices ---> 146 <*> Support for frame buffer devices ---> 147 Console display driver support ---> 148 [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE] 149 Generic Driver Options ---> 150 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 151 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 152 [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen> 153 154 <screen role="nodump" revision="systemd">Processor type and features ---> 155 [*] Build a relocatable kernel [CONFIG_RELOCATABLE] 156 [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE] 157 General setup ---> 158 [ ] Compile the kernel with warnings as errors [CONFIG_WERROR] 159 [ ] Auditing Support [CONFIG_AUDIT] 160 CPU/Task time and stats accounting ---> 161 [*] Pressure stall information tracking [CONFIG_PSI] 162 [ ] Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED] 163 < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 164 [*] Control Group support [CONFIG_CGROUPS] ---> 165 [*] Memory controller [CONFIG_MEMCG] 166 [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT] 167 General architecture-dependent options ---> 168 [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP] 169 [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR] 170 [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG] 171 [*] Networking support ---> [CONFIG_NET] 172 Networking options ---> 173 [*] TCP/IP networking [CONFIG_INET] 174 <*> The IPv6 protocol [CONFIG_IPV6] 175 Device Drivers ---> 176 Generic Driver Options ---> 177 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 178 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 179 [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT] 180 Firmware Loader ---> 181 [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER] 182 Firmware Drivers ---> 183 [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID] 184 Graphics support ---> 185 Frame buffer Devices ---> 186 <*> Support for frame buffer devices ---> 187 Console display driver support ---> 188 [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE] 189 File systems ---> 190 [*] Inotify support for userspace [CONFIG_INOTIFY_USER] 191 Pseudo filesystems ---> 192 [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen> 193 134 <!-- To editors: for updating kernel configuration, edit 135 kernel/*.toml and regenerate kernel/*.xml with 136 "make -C kernel KERNEL_TREE=</usr/src/linux-&linux-version> --> 137 138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 139 href="kernel/sysv.xml"/> 140 141 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 142 href="kernel/systemd.xml"/> 143 194 144 <para>Enable some additional features if you are building a 64-bit 195 145 system. If you are using menuconfig, enable them in the order of … … 199 149 shows up after its dependencies are selected.</para> 200 150 201 <screen role="nodump">Processor type and features ---> 202 [*] Support x2apic [CONFIG_X86_X2APIC] 203 Device Drivers ---> 204 [*] PCI Support ---> [CONFIG_PCI] 205 [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI] 206 [*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT] 207 [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen> 151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 152 href="kernel/x2apic.xml"/> 208 153 209 154 <para>If you are building a 32-bit system running on a hardware … … 211 156 be able to use up to 64GB physical RAM:</para> 212 157 213 <screen role="nodump">Processor type and features ---> 214 High Memory Support ---> 215 (X) 64GB [CONFIG_HIGHMEM64G]</screen> 158 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 159 href="kernel/highmem.xml"/> 216 160 217 161 <para>If the partition for the LFS system is in a NVME SSD (i. e. the … … 220 164 the LFS system won't boot:</para> 221 165 222 <screen role="nodump">Device Drivers ---> 223 NVME Support ---> 224 <*> NVM Express block device [CONFIG_BLK_DEV_NVME]</screen> 166 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 167 href="kernel/nvme.xml"/> 225 168 </note> 226 169 … … 350 293 processors in x2APIC mode. x2APIC may be enabled by firmware on 351 294 64-bit x86 systems, and a kernel without this option enabled will 352 panic on boot if x2APIC is enabled by firmware. This option has295 panic on boot if x2APIC is enabled by firmware. This option 353 296 has no effect, but also does no harm if x2APIC is disabled by the 354 297 firmware.</para> -
general.ent
rd58da4b r2df066c9 104 104 --> 105 105 <!ENTITY lfs-ticket-root "https://wiki.linuxfromscratch.org/lfs/ticket/"> 106 <!ENTITY blfs-ticket-root "https://wiki.linuxfromscratch.org/blfs/ticket/"> 106 107 107 108 <!ENTITY anduin-sources "https://anduin.linuxfromscratch.org/LFS"> -
git-version.sh
rd58da4b r2df066c9 1 #!/bin/ sh1 #!/bin/bash 2 2 3 3 if [ "$1" = sysv ]; then … … 15 15 echo "<!ENTITY % systemd \"$SYSTEMD\">" >> conditional.ent 16 16 17 if [ -e LFS-RELEASE ]; then 18 exit 0 19 fi 20 17 21 if ! git status > /dev/null; then 18 22 # Either it's not a git repository, or git is unavaliable. … … 25 29 echo "]]>" >> version.ent 26 30 echo "<!ENTITY releasedate \"unknown\">" >> version.ent 27 echo "<!ENTITY copyrightdate \"1999-202 2\">" >> version.ent31 echo "<!ENTITY copyrightdate \"1999-2023\">" >> version.ent 28 32 exit 0 29 33 fi … … 66 70 echo "<!ENTITY releasedate \"$full_date\">" >> version.ent 67 71 echo "<!ENTITY copyrightdate \"1999-$year\">" >> version.ent 72 73 [ -z "$DIST" ] || echo $version > "$DIST" -
lfs-latest-git.php
rd58da4b r2df066c9 151 151 if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/tags"; 152 152 if ( $package == "wheel" ) $dirpath = "https://pypi.org/project/wheel/#files"; 153 if ( $package == "zlib" ) $dirpath = "https://www.zlib.net"; 153 154 if ( $package == "zstd" ) $dirpath = github("facebook/zstd"); 154 155 -
lfs-latest.php
-
Property mode
changed from
100644
to120000
rd58da4b r2df066c9 1 #! /usr/bin/php 2 <?php 3 $dirs = array(); 4 $vers = array(); 5 6 date_default_timezone_set( "GMT" ); 7 $date = date( "Y-m-d H:i:s" ); 8 9 // Special cases 10 $exceptions = array(); 11 //$exceptions[ 'gmp' ] = "UPDIR=/.*(gmp-\d[\d\.-]*\d).*/:DOWNDIR="; 12 13 $regex = array(); 14 //$regex[ 'bzip2' ] = "/^.*current version is ([\d\.]+).*$/"; 15 $regex[ 'check' ] = "/^.*Check (\d[\d\.]+\d).*$/"; 16 $regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/"; 17 $regex[ 'less' ] = "/^.*current released version is less-(\d+).*$/"; 18 $regex[ 'mpfr' ] = "/^mpfr-([\d\.]+)\.tar.*$/"; 19 $regex[ 'Python' ] = "/^.*Latest Python 3.*Python (3[\d\.]+\d).*$/"; 20 $regex[ 'systemd' ] = "/^.*v([\d]+)$/"; 21 //$regex[ 'sysvinit' ] = "/^.*sysvinit-([\d\.]+)dsf\.tar.*$/"; 22 $regex[ 'tzdata' ] = "/^.*tzdata([\d]+[a-z]).*$/"; 23 $regex[ 'xz' ] = "/^.*xz-([\d\.]*\d).*$/"; 24 $regex[ 'zlib' ] = "/^.*zlib ([\d\.]*\d).*$/"; 25 26 function find_max( $lines, $regex_match, $regex_replace ) 27 { 28 $a = array(); 29 if ( ! is_array( $lines ) ) return -1; 30 31 foreach ( $lines as $line ) 32 { 33 if ( ! preg_match( $regex_match, $line ) ) continue; 34 35 // Isolate the version and put in an array 36 $slice = preg_replace( $regex_replace, "$1", $line ); 37 if ( $slice == $line ) continue; 38 39 array_push( $a, $slice ); 40 } 41 42 // SORT_NATURAL requires php-5.4.0 or later 43 rsort( $a, SORT_NATURAL ); // Max version is at the top 44 return ( isset( $a[0] ) ) ? $a[0] : -2; 45 } 46 47 function find_even_max( $lines, $regex_match, $regex_replace ) 48 { 49 $a = array(); 50 foreach ( $lines as $line ) 51 { 52 if ( ! preg_match( $regex_match, $line ) ) continue; 53 54 // Isolate the version and put in an array 55 $slice = preg_replace( $regex_replace, "$1", $line ); 56 57 if ( "x$slice" == "x$line" ) continue; 58 59 // Skip odd numbered minor versions and minors > 80 60 list( $major, $minor, $rest ) = explode( ".", $slice . ".0" ); 61 if ( $minor % 2 == 1 ) continue; 62 if ( $minor > 80 ) continue; 63 array_push( $a, $slice ); 64 } 65 66 rsort( $a, SORT_NATURAL ); // Max version is at the top 67 return ( isset( $a[0] ) ) ? $a[0] : -2; 68 } 69 70 function http_get_file( $url ) 71 { 72 if ( ! preg_match( "/sourceforge/", $url ) && 73 ! preg_match( "/psmisc/", $url ) ) 74 { 75 exec( "curl --location --silent --max-time 30 $url", $dir ); 76 77 $s = implode( "\n", $dir ); 78 $dir = strip_tags( $s ); 79 return explode( "\n", $dir ); 80 } 81 else 82 { 83 exec( "links -dump $url 2>/dev/null", $lines ); 84 return $lines; 85 } 86 } 87 88 function max_parent( $dirpath, $prefix ) 89 { 90 // First, remove a directory 91 $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash 92 $position = strrpos( $dirpath, "/" ); 93 $dirpath = substr ( $dirpath, 0, $position ); 94 95 $lines = http_get_file( $dirpath ); 96 97 $regex_match = "#${prefix}[\d\.]+/#"; 98 $regex_replace = "#^.*(${prefix}[\d\.]+)/.*$#"; 99 $max = find_max( $lines, $regex_match, $regex_replace ); 100 101 return "$dirpath/$max"; 102 } 103 104 function get_packages( $package, $dirpath ) 105 { 106 global $exceptions; 107 global $regex; 108 109 //if ( $package != "psmisc" ) return 0; // Debug 110 111 if ( $package == "bc" ) $dirpath = "https://github.com/gavinhoward/bc/releases"; 112 if ( $package == "check" ) $dirpath = "https://github.com/libcheck/check/releases"; 113 if ( $package == "e2fsprogs" ) $dirpath = "http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs"; 114 if ( $package == "expat" ) $dirpath = "http://sourceforge.net/projects/expat/files"; 115 if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils"; 116 if ( $package == "expect" ) $dirpath = "http://sourceforge.net/projects/expect/files"; 117 if ( $package == "file" ) $dirpath = "https://github.com/file/file/releases"; 118 if ( $package == "flex" ) $dirpath = "https://github.com/westes/flex/releases"; 119 if ( $package == "gcc" ) $dirpath = max_parent( $dirpath, "gcc-" ); 120 if ( $package == "iana-etc" ) $dirpath = "https://github.com/Mic92/iana-etc/releases"; 121 if ( $package == "intltool" ) $dirpath = "https://launchpad.net/intltool/trunk"; 122 if ( $package == "meson" ) $dirpath = "https://github.com/mesonbuild/meson/releases"; 123 if ( $package == "mpc" ) $dirpath = "https://ftp.gnu.org/gnu/mpc"; 124 if ( $package == "mpfr" ) $dirpath = "http://mpfr.loria.fr/mpfr-current"; 125 if ( $package == "ninja" ) $dirpath = "https://github.com/ninja-build/ninja/releases"; 126 if ( $package == "procps-ng" ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags"; 127 if ( $package == "psmisc" ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags"; 128 if ( $package == "Python" ) $dirpath = "https://www.python.org/downloads/source/"; 129 if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shadow/releases"; 130 if ( $package == "systemd" ) $dirpath = "https://github.com/systemd/systemd/releases"; 131 if ( $package == "tcl" ) $dirpath = "http://sourceforge.net/projects/tcl/files"; 132 if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." ); 133 if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/releases"; 134 if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/releases"; 135 //if ( $package == "vim" ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix"; 136 137 // Check for ftp 138 if ( preg_match( "/^ftp/", $dirpath ) ) 139 { 140 $dirpath = substr( $dirpath, 6 ); // Remove ftp:// 141 $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash 142 $position = strpos( $dirpath, "/" ); // Divide at first slash 143 $server = substr( $dirpath, 0, $position ); 144 $path = substr( $dirpath, $position ); 145 146 $conn = ftp_connect( $server ); 147 ftp_login( $conn, "anonymous", "" ); 148 149 // See if we need special handling 150 if ( isset( $exceptions[ $package ] ) ) 151 { 152 $specials = explode( ":", $exceptions[ $package ] ); 153 154 foreach ( $specials as $i ) 155 { 156 list( $op, $regexp ) = explode( "=", $i ); 157 158 switch ($op) 159 { 160 case "UPDIR": 161 // Remove last dir from $path 162 $position = strrpos( $path, "/" ); 163 $path = substr( $path, 0, $position ); 164 165 // Get dir listing 166 $lines = ftp_rawlist ($conn, $path); 167 $max = find_max( $lines, $regexp, $regexp ); 168 break; 169 170 case "DOWNDIR": 171 // Append found directory 172 $path .= "/$max"; 173 break; 174 175 default: 176 echo "Error in specials array for $package\n"; 177 return -5; 178 break; 179 } 180 } 181 } 182 183 $lines = ftp_rawlist ($conn, $path); 184 ftp_close( $conn ); 185 } 186 else // http 187 { 188 // Customize http directories as needed 189 if ( $package == "tzdata" ) 190 { 191 // Remove two directories 192 $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash 193 $position = strrpos( $dirpath, "/" ); 194 $dirpath = substr ( $dirpath, 0, $position ); 195 $position = strrpos( $dirpath, "/" ); 196 $dirpath = substr ( $dirpath, 0, $position ); 197 } 198 199 //if ( $package == "bzip2" ) 200 //{ 201 // // Remove one directory 202 // $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash 203 // $position = strrpos( $dirpath, "/" ); 204 // $dirpath = substr ( $dirpath, 0, $position ); 205 //} 206 207 $lines = http_get_file( $dirpath ); 208 if ( ! is_array( $lines ) ) return -6; 209 } // End fetch 210 //print_r($lines); 211 if ( isset( $regex[ $package ] ) ) 212 { 213 // Custom search for latest package name 214 foreach ( $lines as $l ) 215 { 216 $ver = preg_replace( $regex[ $package ], "$1", $l ); 217 if ( $ver == $l ) continue; 218 return $ver; // Return first match of regex 219 } 220 221 return -7; // This is an error 222 } 223 224 if ( $package == "perl" ) // Custom for perl 225 { 226 $tmp = array(); 227 228 foreach ( $lines as $l ) 229 { 230 if ( preg_match( "/sperl/", $l ) ) continue; // Don't want this 231 $ver = preg_replace( "/^.*perl-([\d\.]+\d)\.tar.*$/", "$1", $l ); 232 if ( $ver == $l ) continue; 233 list( $s1, $s2, $rest ) = explode( ".", $ver ); 234 if ( $s2 % 2 == 1 ) continue; // Remove odd minor versions 235 array_push( $tmp, $l ); 236 } 237 238 $lines = $tmp; 239 } 240 241 if ( $package == "attr" || 242 $package == "acl" ) 243 { 244 return find_max( $lines, "/$package/", "/^.*$package-([\d\.-]*\d).tar.*$/" ); 245 } 246 247 if ( $package == "e2fsprogs" ) 248 return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]+\d).*$/" ); 249 250 if ( $package == "expect" ) 251 return find_max( $lines, "/expect/", "/^.*expect(\d[\d\.]+\d).tar.*$/" ); 252 253 if ( $package == "elfutils" ) 254 return find_max( $lines, "/^\d/", "/^(\d[\d\.]+\d)\/.*$/" ); 255 256 if ( $package == "XML-Parser" ) 257 { 258 $max = find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d).tar.*$/" ); 259 # 2.44_01 is a developer release 260 if ( $max == "2.44_01" ) { return "2.44"; } 261 return $max; 262 } 263 264 if ( $package == "tcl" ) 265 return find_max( $lines, "/tcl/", "/^.*tcl(\d[\d\.]*\d)-src.*$/" ); 266 267 if ( $package == "ninja" ) 268 return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" ); 269 270 if ( $package == "gmp" ) 271 return find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d[a-z]?).tar.*$/" ); 272 273 if ( $package == "dbus" ) 274 return find_even_max( $lines, "/$package/", "/^.*$package-([\d\.]+).tar.*$/" ); 275 276 if ( $package == "file" ) 277 { 278 $max = find_max( $lines, "/FILE5/", "/^.*FILE(5_\d+)*$/" ); 279 return str_replace( "_", ".", $max ); 280 } 281 282 if ( $package == "procps-ng" ) 283 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); 284 285 if ( $package == "psmisc" ) 286 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+) .*$/" ); 287 288 if ( $package == "grub" ) 289 return find_max( $lines, "/grub/", "/^.*grub-(\d\..*).tar.xz.*$/" ); 290 291 if ( $package == "openssl" ) 292 return find_max( $lines, "/openssl/", "/^.*openssl-([\d\.p]*\d.?).tar.*$/" ); 293 294 if ( $package == "vim" ) 295 return find_max( $lines, "/v\d\./", "/^.*v([\d\.]+).*$/" ); 296 297 if ( $package == "zstd" ) 298 return find_max( $lines, "/Zstandard v/", "/^.*v([\d\.]+).*$/" ); 299 300 // Most packages are in the form $package-n.n.n 301 // Occasionally there are dashes (e.g. 201-1) 302 return find_max( $lines, "/$package/", "/^.*$package-([\d\.-]*\d)\.tar.*$/" ); 303 } 304 305 function get_current() 306 { 307 global $dirs; 308 global $vers; 309 310 // Fetech from svn and get wget-list 311 $current = array(); 312 $lfssvn = "svn://svn.linuxfromscratch.org/LFS/trunk"; 313 314 $tmpdir = exec( "mktemp -d /tmp/lfscheck.XXXXXX" ); 315 $cdir = getcwd(); 316 chdir( $tmpdir ); 317 exec ( "svn --quiet export $lfssvn LFS" ); 318 chdir( $cdir ); 319 320 $PAGE = "$tmpdir/LFS/BOOK/chapter03/chapter03.xml"; 321 $STYLESHEET = "$tmpdir/LFS/BOOK/stylesheets/wget-list.xsl"; 322 323 exec( "xsltproc --xinclude --nonet $STYLESHEET $PAGE", $current ); 324 exec( "rm -rf $tmpdir" ); 325 326 foreach ( $current as $line ) 327 { 328 $file = basename( $line ) . "\n"; 329 if ( preg_match( "/patch$/", $file ) ) { continue; } // Skip patches 330 331 $file = preg_replace( "/bz2/", '', $file ); // The 2 confusses the regex 332 333 $file = rtrim( $file ); 334 $pkg_pattern = "/(\D*).*/"; 335 //$pattern = "/\D*(\d.*\d)\D*/"; 336 $pattern = "/\D*(\d.*\d)\D*/"; 337 338 if ( preg_match( "/e2fsprogs/", $file ) ) 339 { 340 $pattern = "/e2\D*(\d.*\d)\D*/"; 341 $pkg_pattern = "/(e2\D*).*/"; 342 } 343 344 else if ( preg_match( "/tzdata/", $file ) ) 345 { 346 $pattern = "/\D*(\d.*[a-z])\.tar\D*/"; 347 } 348 349 else if ( preg_match( "/openssl/", $file ) ) 350 { 351 $pattern = "/\D*(\d.*\d.*).tar.*$/"; 352 } 353 354 else if ( preg_match( "/gmp/", $file ) ) 355 { 356 $pattern = "/\D*(\d.*[a-z]*)\.tar\D*/"; 357 } 358 359 else if ( preg_match( "/systemd-man-pages/", $file ) ) continue; 360 else if ( preg_match( "/python/" , $file ) ) continue; 361 362 $version = preg_replace( $pattern, "$1", $file ); // Isolate version 363 $version = preg_replace( "/^\d-/", "", $version ); // Remove leading #- 364 365 // Touch up package names 366 $pkg_name = preg_replace( $pkg_pattern, "$1", $file ); 367 $pkg_name = trim( $pkg_name, "-" ); 368 369 if ( preg_match( "/bzip|iproute/", $pkg_name ) ) { $pkg_name .= "2"; } 370 if ( preg_match( "/^m$/" , $pkg_name ) ) { $pkg_name .= "4"; } 371 if ( preg_match( "/shadow/" , $pkg_name ) ) { $pkg_name = "shadow"; } 372 373 $dirs[ $pkg_name ] = dirname( $line ); 374 $vers[ $pkg_name ] = $version; 375 } 376 } 377 378 function mail_to_lfs() 379 { 380 global $date; 381 global $vers; 382 global $dirs; 383 384 //$to = "bruce.dubbs@gmail.com"; 385 $to = "lfs-book@lists.linuxfromscratch.org"; 386 $from = "bdubbs@linuxfromscratch.org"; 387 $subject = "LFS Package Currency Check - $date GMT"; 388 $headers = "From: bdubbs@anduin.linuxfromscratch.org"; 389 390 $message = "Package LFS Upstream Flag\n\n"; 391 392 foreach ( $dirs as $pkg => $dir ) 393 { 394 //if ( $pkg != "gmp" ) continue; //debug 395 $v = get_packages( $pkg, $dir ); 396 397 $flag = ( $vers[ $pkg ] != $v ) ? "*" : ""; 398 399 // Pad for output 400 $pad = " "; 401 $p = substr( $pkg . $pad, 0, 15 ); 402 $l = substr( $vers[ $pkg ] . $pad, 0, 10 ); 403 $c = substr( $v . $pad, 0, 10 ); 404 405 $message .= "$p $l $c $flag\n"; 406 } 407 408 exec ( "echo '$message' | mailx -r $from -s '$subject' $to" ); 409 //echo $message; 410 } 411 412 function html() 413 { 414 415 global $date; 416 global $vers; 417 global $dirs; 418 419 echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 420 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> 421 <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> 422 <head> 423 <title>LFS Package Currency Check - $date</title> 424 <style type='text/css'> 425 h1, h2 { 426 text-align : center; 427 } 428 429 table { 430 border-width : 1px; 431 border-spacing : 0px; 432 border-style : outset; 433 border-color : gray; 434 border-collapse : separate; 435 background-color: white; 436 margin : 0px auto; 437 } 438 439 table th { 440 border-width : 1px; 441 padding : 2px; 442 border-style : inset; 443 border-color : gray; 444 background-color: white; 445 } 446 447 table td { 448 border-width : 1px; 449 padding : 2px; 450 border-style : inset; 451 border-color : gray; 452 background-color: white; 453 } 454 </style> 455 456 </head> 457 <body> 458 <h1>LFS Package Currency Check</h1> 459 <h2>As of $date GMT</h1> 460 461 <table> 462 <tr><th>LFS Package</th> <th>LFS Version</th> <th>Latest</th> <th>Flag</th></tr>\n"; 463 464 // Get the latest version of each package 465 foreach ( $dirs as $pkg => $dir ) 466 { 467 $v = get_packages( $pkg, $dir ); 468 $flag = ( $vers[ $pkg ] != $v ) ? "*" : ""; 469 echo "<tr><td>$pkg</td> <td>${vers[ $pkg ]}</td> <td>$v</td> <td>$flag</td></tr>\n"; 470 } 471 472 echo "</table> 473 </body> 474 </html>\n"; 475 476 } 477 478 get_current(); // Get what is in the book 479 mail_to_lfs(); 480 //html(); // Write html output 481 ?> 1 lfs-latest-git.php -
Property mode
changed from
-
obfuscate.sh
rd58da4b r2df066c9 5 5 # Script written (and slight perl modification) by Archaic <archaic AT linuxfromscratch D0T org> 6 6 # Modified from "sed -i" to old style "sed -e" by Manuel Canales <manuel AT linuxfromscratch D0T org> 7 # to prevent hangs on very long files, like nonc kunked books.7 # to prevent hangs on very long files, like nonchunked books. 8 8 # Original Perl expression by Anderson Lizardo <lizardo AT linuxfromscratch D0T org> 9 9 # Released under the GNU General Public License -
packages.ent
rd58da4b r2df066c9 36 36 <!ENTITY autoconf-home "&gnu-software;autoconf/"> 37 37 <!ENTITY autoconf-fin-du "24 MB"> 38 <!ENTITY autoconf-fin-sbu-tests "6. 2">38 <!ENTITY autoconf-fin-sbu-tests "6.0"> 39 39 <!ENTITY autoconf-fin-sbu "less than 0.1 SBU (about &autoconf-fin-sbu-tests; SBU with tests)"> 40 40 … … 44 44 <!ENTITY automake-url "&gnu;automake/automake-&automake-version;.tar.xz"> 45 45 <!ENTITY automake-md5 "4017e96f89fca45ca946f1c5db6be714"> 46 <!ENTITY automake-sha256 "80facc09885a57e6d49d06972c0ae1089c5fa8f4d4c7cfe5baea58e5085f136d">47 46 <!ENTITY automake-home "&gnu-software;automake/"> 48 47 <!ENTITY automake-fin-du "114 MB"> 49 <!ENTITY automake-fin-sbu "less than 0.1 SBU (about 7. 3SBU with tests)">48 <!ENTITY automake-fin-sbu "less than 0.1 SBU (about 7.0 SBU with tests)"> 50 49 51 50 <!ENTITY bash-version "5.2.15"> … … 57 56 <!ENTITY bash-tmp-sbu "0.2 SBU"> 58 57 <!ENTITY bash-fin-du "52 MB"> 59 <!ENTITY bash-fin-sbu "1. 2SBU">58 <!ENTITY bash-fin-sbu "1.1 SBU"> 60 59 61 60 <!ENTITY bc-version "6.6.0"> … … 64 63 <!ENTITY bc-md5 "a148cbaaf8ff813b7289a00539e74a5f"> 65 64 <!ENTITY bc-home "https://git.gavinhoward.com/gavin/bc"> 66 <!ENTITY bc-fin-du "7. 6MB">65 <!ENTITY bc-fin-du "7.7 MB"> 67 66 <!ENTITY bc-fin-sbu "less than 0.1 SBU"> 68 67 69 <!ENTITY binutils-version "2.4 0">70 <!ENTITY binutils-size "2 4,650KB">68 <!ENTITY binutils-version "2.41"> 69 <!ENTITY binutils-size "26,139 KB"> 71 70 <!ENTITY binutils-url "https://sourceware.org/pub/binutils/releases/binutils-&binutils-version;.tar.xz"> 72 <!ENTITY binutils-md5 " 007b59bd908a737c06e5a8d3d2c737eb">71 <!ENTITY binutils-md5 "256d7e0ad998e423030c84483a7c1e30"> 73 72 <!ENTITY binutils-home "&gnu-software;binutils/"> 74 <!ENTITY binutils-tmpp1-du "6 39MB">73 <!ENTITY binutils-tmpp1-du "647 MB"> 75 74 <!ENTITY binutils-tmpp1-sbu "1 SBU"> 76 <!ENTITY binutils-tmpp2-du "52 5MB">77 <!ENTITY binutils-tmpp2-sbu "0. 4SBU">78 <!ENTITY binutils-fin-du "2. 6GB">75 <!ENTITY binutils-tmpp2-du "523 MB"> 76 <!ENTITY binutils-tmpp2-sbu "0.5 SBU"> 77 <!ENTITY binutils-fin-du "2.7 GB"> 79 78 <!ENTITY binutils-fin-sbu "2.2 SBU"> 79 <!ENTITY libsframe-version "1.0.0"> 80 80 81 81 <!ENTITY bison-version "3.8.2"> … … 87 87 <!ENTITY bison-tmp-sbu "0.2 SBU"> 88 88 <!ENTITY bison-fin-du "62 MB"> 89 <!ENTITY bison-fin-sbu "2. 3SBU">89 <!ENTITY bison-fin-sbu "2.2 SBU"> 90 90 91 91 <!ENTITY bzip2-version "1.0.8"> … … 103 103 <!ENTITY check-home "https://libcheck.github.io/check"> 104 104 <!ENTITY check-fin-du "12 MB"> 105 <!ENTITY check-fin-sbu "0.1 SBU (about 1. 7SBU with tests)">106 107 <!ENTITY coreutils-version "9. 3">108 <!ENTITY coreutils-size "5, 673KB">105 <!ENTITY check-fin-sbu "0.1 SBU (about 1.6 SBU with tests)"> 106 107 <!ENTITY coreutils-version "9.4"> 108 <!ENTITY coreutils-size "5,840 KB"> 109 109 <!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.xz"> 110 <!ENTITY coreutils-md5 " 040b4b7acaf89499834bfc79609af29f">110 <!ENTITY coreutils-md5 "459e9546074db2834eefe5421f250025"> 111 111 <!ENTITY coreutils-home "&gnu-software;coreutils/"> 112 <!ENTITY coreutils-tmp-du "16 2MB">112 <!ENTITY coreutils-tmp-du "168 MB"> 113 113 <!ENTITY coreutils-tmp-sbu "0.3 SBU"> 114 <!ENTITY coreutils-fin-du "1 56MB">114 <!ENTITY coreutils-fin-du "165 MB"> 115 115 <!ENTITY coreutils-fin-sbu "0.9 SBU"> 116 116 117 <!ENTITY dbus-version "1.14. 8">118 <!ENTITY dbus-size "1,34 0KB">117 <!ENTITY dbus-version "1.14.10"> 118 <!ENTITY dbus-size "1,344 KB"> 119 119 <!ENTITY dbus-url "https://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.xz"> 120 <!ENTITY dbus-md5 " da42f55aeec51b355587bc3062fc2d41">120 <!ENTITY dbus-md5 "46070a3487817ff690981f8cd2ba9376"> 121 121 <!ENTITY dbus-home "https://www.freedesktop.org/wiki/Software/dbus"> 122 <!ENTITY dbus-fin-du " 19MB">122 <!ENTITY dbus-fin-du "20 MB"> 123 123 <!ENTITY dbus-fin-sbu "0.1 SBU"> 124 124 … … 129 129 <!ENTITY dejagnu-home "&gnu-software;dejagnu/"> 130 130 <!ENTITY dejagnu-tmp-du "6.9 MB"> 131 <!ENTITY dejagnu-tmp-sbu " 0.1 SBU">131 <!ENTITY dejagnu-tmp-sbu "less than 0.1 SBU"> 132 132 133 133 <!ENTITY diffutils-version "3.10"> … … 136 136 <!ENTITY diffutils-md5 "2745c50f6f4e395e7b7d52f902d075bf"> 137 137 <!ENTITY diffutils-home "&gnu-software;diffutils/"> 138 <!ENTITY diffutils-tmp-du "2 6MB">139 <!ENTITY diffutils-tmp-sbu "0. 2SBU">140 <!ENTITY diffutils-fin-du "3 5MB">138 <!ENTITY diffutils-tmp-du "29 MB"> 139 <!ENTITY diffutils-tmp-sbu "0.1 SBU"> 140 <!ENTITY diffutils-fin-du "36 MB"> 141 141 <!ENTITY diffutils-fin-sbu "0.3 SBU"> 142 142 … … 147 147 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net/"> 148 148 <!ENTITY e2fsprogs-fin-du "95 MB"> 149 <!ENTITY e2fsprogs-fin-sbu "2.4 SBU on a spinning disk, 0. 4SBU on an SSD">149 <!ENTITY e2fsprogs-fin-sbu "2.4 SBU on a spinning disk, 0.6 SBU on an SSD"> 150 150 151 151 <!ENTITY elfutils-version "0.189"> <!-- libelf --> … … 154 154 <!ENTITY elfutils-md5 "5cfaa711a90cb670406cd495aeaa6030"> 155 155 <!ENTITY elfutils-home "https://sourceware.org/elfutils/"> 156 <!ENTITY elfutils-fin-du "12 0MB">156 <!ENTITY elfutils-fin-du "122 MB"> 157 157 <!ENTITY elfutils-fin-sbu "0.3 SBU"> 158 158 … … 173 173 <!ENTITY expect-tmp-sbu "0.2 SBU"> 174 174 175 <!ENTITY file-version "5.4 4">176 <!ENTITY file-size "1, 159KB">175 <!ENTITY file-version "5.45"> 176 <!ENTITY file-size "1,218 KB"> 177 177 <!ENTITY file-url "https://astron.com/pub/file/file-&file-version;.tar.gz"> 178 <!ENTITY file-md5 " a60d586d49d015d842b9294864a89c7a">178 <!ENTITY file-md5 "26b2a96d4e3a8938827a1e572afd527a"> 179 179 <!ENTITY file-home "https://www.darwinsys.com/file/"> 180 <!ENTITY file-tmp-du "3 6MB">180 <!ENTITY file-tmp-du "37 MB"> 181 181 <!ENTITY file-tmp-sbu "0.1 SBU"> 182 <!ENTITY file-fin-du "1 6MB">183 <!ENTITY file-fin-sbu " 0.1 SBU">182 <!ENTITY file-fin-du "17 MB"> 183 <!ENTITY file-fin-sbu "less than 0.1 SBU"> 184 184 185 185 <!ENTITY findutils-version "4.9.0"> … … 189 189 <!ENTITY findutils-home "&gnu-software;findutils/"> 190 190 <!ENTITY findutils-tmp-du "42 MB"> 191 <!ENTITY findutils-tmp-sbu "0. 2SBU">191 <!ENTITY findutils-tmp-sbu "0.1 SBU"> 192 192 <!ENTITY findutils-fin-du "51 MB"> 193 193 <!ENTITY findutils-fin-sbu "0.4 SBU"> … … 206 206 <!ENTITY flit-core-md5 "3bc52f1952b9a78361114147da63c35b"> 207 207 <!ENTITY flit-core-home "&pypi-home;/flit-core/"> 208 <!ENTITY flit-core-fin-du " 736 KB">208 <!ENTITY flit-core-fin-du "1.7 MB"> 209 209 <!ENTITY flit-core-fin-sbu "less than 0.1 SBU"> 210 210 … … 214 214 <!ENTITY gawk-md5 "d63b4de2c722cbd9b8cc8e6f14d78a1e"> 215 215 <!ENTITY gawk-home "&gnu-software;gawk/"> 216 <!ENTITY gawk-tmp-du "4 7MB">216 <!ENTITY gawk-tmp-du "48 MB"> 217 217 <!ENTITY gawk-tmp-sbu "0.1 SBU"> 218 <!ENTITY gawk-fin-du "4 3MB">219 <!ENTITY gawk-fin-sbu "0. 2SBU">220 221 <!ENTITY gcc-version "13. 1.0">222 <!ENTITY gcc-size "85, 402KB">218 <!ENTITY gawk-fin-du "46 MB"> 219 <!ENTITY gawk-fin-sbu "0.1 SBU"> 220 221 <!ENTITY gcc-version "13.2.0"> 222 <!ENTITY gcc-size "85,800 KB"> 223 223 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz"> 224 <!ENTITY gcc-md5 " 43e4de77f2218c83ca675257ea1af9ef">224 <!ENTITY gcc-md5 "e0e48554cc6e4f261d55ddee9ab69075"> 225 225 <!ENTITY gcc-sha256 ""> 226 226 <!ENTITY gcc-home "https://gcc.gnu.org/"> 227 <!ENTITY gcc-tmpp1-du " 3.8GB">228 <!ENTITY gcc-tmpp1-sbu "3. 3SBU">229 <!ENTITY gcc-tmpp2-du "4. 7GB">230 <!ENTITY gcc-tmpp2-sbu "4. 6SBU">231 <!ENTITY gcc-fin-du "5. 1GB ">232 <!ENTITY gcc-fin-sbu "4 3SBU (with tests)">227 <!ENTITY gcc-tmpp1-du "4.2 GB"> 228 <!ENTITY gcc-tmpp1-sbu "3.5 SBU"> 229 <!ENTITY gcc-tmpp2-du "4.8 GB"> 230 <!ENTITY gcc-tmpp2-sbu "4.3 SBU"> 231 <!ENTITY gcc-fin-du "5.5 GB "> 232 <!ENTITY gcc-fin-sbu "42 SBU (with tests)"> 233 233 <!ENTITY libquadmath-version "0.0.0"> 234 <!ENTITY libstdcpp-version "6.0.3 1">234 <!ENTITY libstdcpp-version "6.0.32"> 235 235 <!ENTITY libitm-version "1.0.0"> 236 236 <!ENTITY libatomic-version "1.2.0"> … … 252 252 <!ENTITY gettext-md5 "db2f3daf34fd5b85ab1a56f9033e42d1"> 253 253 <!ENTITY gettext-home "&gnu-software;gettext/"> 254 <!ENTITY gettext-tmp-du " 287MB">255 <!ENTITY gettext-tmp-sbu "1. 0SBU">256 <!ENTITY gettext-fin-du "2 41MB">257 <!ENTITY gettext-fin-sbu "1. 3SBU">258 259 <!ENTITY glibc-version "2.3 7">260 <!ENTITY glibc-size "18, 244KB">254 <!ENTITY gettext-tmp-du "306 MB"> 255 <!ENTITY gettext-tmp-sbu "1.1 SBU"> 256 <!ENTITY gettext-fin-du "250 MB"> 257 <!ENTITY gettext-fin-sbu "1.4 SBU"> 258 259 <!ENTITY glibc-version "2.38"> 260 <!ENTITY glibc-size "18,471 KB"> 261 261 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz"> 262 <!ENTITY glibc-md5 " e89cf3dcb64939d29f04b4ceead5cc4e">262 <!ENTITY glibc-md5 "778cce0ea6bf7f84ca8caacf4a01f45b"> 263 263 <!ENTITY glibc-home "&gnu-software;libc/"> 264 <!ENTITY glibc-tmp-du "8 22MB">265 <!ENTITY glibc-tmp-sbu "1. 5SBU">266 <!ENTITY glibc-fin-du " 2.9GB">264 <!ENTITY glibc-tmp-du "858 MB"> 265 <!ENTITY glibc-tmp-sbu "1.6 SBU"> 266 <!ENTITY glibc-fin-du "3.0 GB"> 267 267 <!ENTITY glibc-fin-sbu "11 SBU"> 268 268 269 <!ENTITY gmp-version "6. 2.1">270 <!ENTITY gmp-size " 1,980KB">269 <!ENTITY gmp-version "6.3.0"> 270 <!ENTITY gmp-size "2,046 KB"> 271 271 <!ENTITY gmp-url "&gnu;gmp/gmp-&gmp-version;.tar.xz"> 272 <!ENTITY gmp-md5 " 0b82665c4a92fd2ade7440c13fcaa42b">272 <!ENTITY gmp-md5 "956dc04e864001a9c22429f761f2c283"> 273 273 <!ENTITY gmp-home "&gnu-software;gmp/"> 274 <!ENTITY gmp-fin-du "5 2MB">274 <!ENTITY gmp-fin-du "54 MB"> 275 275 <!ENTITY gmp-fin-sbu "0.3 SBU"> 276 276 … … 288 288 <!ENTITY grep-md5 "7c9bbd74492131245f7cdb291fa142c0"> 289 289 <!ENTITY grep-home "&gnu-software;grep/"> 290 <!ENTITY grep-tmp-du "2 5MB">291 <!ENTITY grep-tmp-sbu "0. 2SBU">292 <!ENTITY grep-fin-du "3 7MB">290 <!ENTITY grep-tmp-du "27 MB"> 291 <!ENTITY grep-tmp-sbu "0.1 SBU"> 292 <!ENTITY grep-fin-du "39 MB"> 293 293 <!ENTITY grep-fin-sbu "0.4 SBU"> 294 294 … … 298 298 <!ENTITY groff-md5 "5e4f40315a22bb8a158748e7d5094c7d"> 299 299 <!ENTITY groff-home "&gnu-software;groff/"> 300 <!ENTITY groff-fin-du " 89MB">300 <!ENTITY groff-fin-du "107 MB"> 301 301 <!ENTITY groff-fin-sbu "0.2 SBU"> 302 302 … … 311 311 <!ENTITY grub-tmp-sbu "0.3 SBU"> 312 312 313 <!ENTITY gzip-version "1.1 2">314 <!ENTITY gzip-size "8 07KB">313 <!ENTITY gzip-version "1.13"> 314 <!ENTITY gzip-size "819 KB"> 315 315 <!ENTITY gzip-url "&gnu;gzip/gzip-&gzip-version;.tar.xz"> 316 <!ENTITY gzip-md5 " 9608e4ac5f061b2a6479dc44e917a5db">316 <!ENTITY gzip-md5 "d5c9fc9441288817a4a0be2da0249e29"> 317 317 <!ENTITY gzip-home "&gnu-software;gzip/"> 318 318 <!ENTITY gzip-tmp-du "11 MB"> … … 321 321 <!ENTITY gzip-fin-sbu "0.3 SBU"> 322 322 323 <!ENTITY iana-etc-version "20230 629">323 <!ENTITY iana-etc-version "20230810"> 324 324 <!ENTITY iana-etc-size "588 KB"> 325 325 <!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz"> 326 <!ENTITY iana-etc-md5 " 8c2e8385391306edbf4ca26ed4930a71">326 <!ENTITY iana-etc-md5 "0502bd41cc0bf1c1c3cd8651058b9650"> 327 327 <!ENTITY iana-etc-home "https://www.iana.org/protocols"> 328 328 <!ENTITY iana-etc-fin-du "4.8 MB"> … … 364 364 <!ENTITY jinja2-fin-sbu "less than 0.1 SBU"> 365 365 366 <!ENTITY kbd-version "2.6. 1">367 <!ENTITY kbd-size "1, 554KB">366 <!ENTITY kbd-version "2.6.2"> 367 <!ENTITY kbd-size "1,469 KB"> 368 368 <!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz"> 369 <!ENTITY kbd-md5 " 986241b5d94c6bd4ed2f6d2a5ab4320b">369 <!ENTITY kbd-md5 "35e261a31e673c8aec7dbc6553ea075c"> 370 370 <!ENTITY kbd-home "https://kbd-project.org/"> 371 371 <!ENTITY kbd-fin-du "35 MB"> … … 376 376 <!ENTITY kmod-url "&kernel;linux/utils/kernel/kmod/kmod-&kmod-version;.tar.xz"> 377 377 <!ENTITY kmod-md5 "85202f0740a75eb52f2163c776f9b564"> 378 <!ENTITY kmod-home " 378 <!ENTITY kmod-home "https://github.com/kmod-project/kmod"> 379 379 <!ENTITY kmod-fin-du "12 MB"> 380 380 <!ENTITY kmod-fin-sbu "less than 0.1 SBU"> 381 381 382 <!ENTITY less-version "6 33">383 <!ENTITY less-size " 368KB">382 <!ENTITY less-version "643"> 383 <!ENTITY less-size "579 KB"> 384 384 <!ENTITY less-url "https://www.greenwoodsoftware.com/less/less-&less-version;.tar.gz"> 385 <!ENTITY less-md5 " 35cc7734e9e6224388ab7b9a214da4da">385 <!ENTITY less-md5 "cf05e2546a3729492b944b4874dd43dd"> 386 386 <!ENTITY less-home "https://www.greenwoodsoftware.com/less/"> 387 <!ENTITY less-fin-du " 4.3MB">387 <!ENTITY less-fin-du "12 MB"> 388 388 <!ENTITY less-fin-sbu "less than 0.1 SBU"> 389 389 390 <!ENTITY lfs-bootscripts-version "2023072 2"> <!-- Scripts depend on this format -->390 <!ENTITY lfs-bootscripts-version "20230728"> <!-- Scripts depend on this format --> 391 391 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> 392 392 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz"> … … 425 425 <!ENTITY libtool-md5 "2fc0b6ddcd66a89ed6e45db28fa44232"> 426 426 <!ENTITY libtool-home "&gnu-software;libtool/"> 427 <!ENTITY libtool-fin-du "4 4MB">428 <!ENTITY libtool-fin-sbu "1. 4SBU">427 <!ENTITY libtool-fin-du "45 MB"> 428 <!ENTITY libtool-fin-sbu "1.3 SBU"> 429 429 430 430 <!ENTITY libxcrypt-version "4.4.36"> … … 433 433 <!ENTITY libxcrypt-md5 "b84cd4104e08c975063ec6c4d0372446"> 434 434 <!ENTITY libxcrypt-home "&github;/besser82/libxcrypt/"> 435 <!ENTITY libxcrypt-fin-du "1 6MB">435 <!ENTITY libxcrypt-fin-du "15 MB"> 436 436 <!ENTITY libxcrypt-fin-sbu "0.1 SBU"> 437 437 438 438 <!ENTITY linux-major-version "6"> 439 <!ENTITY linux-minor-version " 4">440 <!ENTITY linux-patch-version " 3">439 <!ENTITY linux-minor-version "5"> 440 <!ENTITY linux-patch-version "1"> 441 441 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 442 442 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 443 <!ENTITY linux-size "13 4,557KB">443 <!ENTITY linux-size "135,684 KB"> 444 444 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 445 <!ENTITY linux-md5 " c83363136e61977c63d655733424d37a">445 <!ENTITY linux-md5 "228479f37b3face05b53bd7f8906abe0"> 446 446 <!ENTITY linux-home "https://www.kernel.org/"> 447 447 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is … … 484 484 <!ENTITY man-db-fin-sbu "0.2 SBU"> 485 485 486 <!ENTITY man-pages-version "6.0 4">487 <!ENTITY man-pages-size "2,1 37KB">486 <!ENTITY man-pages-version "6.05.01"> 487 <!ENTITY man-pages-size "2,144 KB"> 488 488 <!ENTITY man-pages-url "&kernel;linux/docs/man-pages/man-pages-&man-pages-version;.tar.xz"> 489 <!ENTITY man-pages-md5 " bbce1456edfa75a66c189cc594af6c4d">489 <!ENTITY man-pages-md5 "de4563b797cf9b1e0b0d73628b35e442"> 490 490 <!ENTITY man-pages-home "https://www.kernel.org/doc/man-pages/"> 491 <!ENTITY man-pages-fin-du "3 2MB">491 <!ENTITY man-pages-fin-du "33 MB"> 492 492 <!ENTITY man-pages-fin-sbu "less than 0.1 SBU"> 493 493 … … 497 497 <!ENTITY markupsafe-md5 "ca33f119bd0551ce15837f58bb180214"> 498 498 <!ENTITY markupsafe-home "https://palletsprojects.com/p/markupsafe/"> 499 <!ENTITY markupsafe-fin-du "54 4KB">499 <!ENTITY markupsafe-fin-du "548 KB"> 500 500 <!ENTITY markupsafe-fin-sbu "less than 0.1 SBU"> 501 501 502 <!ENTITY meson-version "1. 1.1">503 <!ENTITY meson-size "2, 076KB">502 <!ENTITY meson-version "1.2.1"> 503 <!ENTITY meson-size "2,131 KB"> 504 504 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz"> 505 <!ENTITY meson-md5 " 0f810b31b26156989ac9321fa2063a04">505 <!ENTITY meson-md5 "e3cc846536189aacd7d01858a45ca9af"> 506 506 <!ENTITY meson-home "https://mesonbuild.com"> 507 <!ENTITY meson-fin-du "4 1MB">507 <!ENTITY meson-fin-du "42 MB"> 508 508 <!ENTITY meson-fin-sbu "less than 0.1 SBU"> 509 509 … … 516 516 <!ENTITY mpc-fin-sbu "0.1 SBU"> 517 517 518 <!ENTITY mpfr-version "4.2. 0">519 <!ENTITY mpfr-size "1,4 43KB">518 <!ENTITY mpfr-version "4.2.1"> 519 <!ENTITY mpfr-size "1,459 KB"> 520 520 <!ENTITY mpfr-url "https://ftp.gnu.org/gnu/mpfr/mpfr-&mpfr-version;.tar.xz"> 521 <!ENTITY mpfr-md5 " a25091f337f25830c16d2054d74b5af7">521 <!ENTITY mpfr-md5 "523c50c6318dde6f9dc523bc0244690a"> 522 522 <!ENTITY mpfr-home "https://www.mpfr.org/"> 523 523 <!ENTITY mpfr-fin-du "43 MB"> … … 539 539 <!ENTITY ninja-md5 "32151c08211d7ca3c1d832064f6939b0"> 540 540 <!ENTITY ninja-home "https://ninja-build.org/"> 541 <!ENTITY ninja-fin-du "7 7MB">541 <!ENTITY ninja-fin-du "75 MB"> 542 542 <!ENTITY ninja-fin-sbu "0.3 SBU"> 543 543 544 <!ENTITY openssl-version "3.1. 1">545 <!ENTITY openssl-size "15,1 81KB">544 <!ENTITY openssl-version "3.1.2"> 545 <!ENTITY openssl-size "15,196 KB"> 546 546 <!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz"> 547 <!ENTITY openssl-md5 "1 864b75e31fb4a6e0a07fd832529add3">547 <!ENTITY openssl-md5 "1d7861f969505e67b8677e205afd9ff4"> 548 548 <!ENTITY openssl-home "https://www.openssl.org/"> 549 <!ENTITY openssl-fin-du "5 20MB">550 <!ENTITY openssl-fin-sbu "3. 2SBU">549 <!ENTITY openssl-fin-du "587 MB"> 550 <!ENTITY openssl-fin-sbu "3.0 SBU"> 551 551 552 552 <!ENTITY patch-version "2.7.6"> … … 569 569 <!ENTITY perl-md5 "e1c8aaec897dd386c741f97eef9f2e87"> 570 570 <!ENTITY perl-home "https://www.perl.org/"> 571 <!ENTITY perl-tmp-du "28 1MB">571 <!ENTITY perl-tmp-du "280 MB"> 572 572 <!ENTITY perl-tmp-sbu "0.6 SBU"> 573 <!ENTITY perl-fin-du "23 4MB">574 <!ENTITY perl-fin-sbu "7. 9SBU">575 576 <!ENTITY pkgconf-version " 1.9.5">573 <!ENTITY perl-fin-du "239 MB"> 574 <!ENTITY perl-fin-sbu "7.1 SBU"> 575 576 <!ENTITY pkgconf-version "2.0.3"> 577 577 <!ENTITY pkgconf-size "304 KB"> 578 578 <!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz"> 579 <!ENTITY pkgconf-md5 " 0a8b69723bef4ebad83e9c8b43a75cc7">579 <!ENTITY pkgconf-md5 "b82ca48ed3097adfa007ee71489b6719"> 580 580 <!ENTITY pkgconf-home "http://pkgconf.org/"> 581 <!ENTITY pkgconf-fin-du " 8.1MB">581 <!ENTITY pkgconf-fin-du "4.6 MB"> 582 582 <!ENTITY pkgconf-fin-sbu "less than 0.1 SBU"> 583 583 584 <!ENTITY procps-ng-version "4.0. 3">585 <!ENTITY procps-ng-size "1, 268KB">584 <!ENTITY procps-ng-version "4.0.4"> 585 <!ENTITY procps-ng-size "1,369 KB"> 586 586 <!ENTITY procps-ng-url "https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-&procps-ng-version;.tar.xz"> 587 <!ENTITY procps-ng-md5 "2 2b287bcd758831cbaf3356cd3054fe7">587 <!ENTITY procps-ng-md5 "2f747fc7df8ccf402d03e375c565cf96"> 588 588 <!ENTITY procps-ng-home "https://sourceforge.net/projects/procps-ng"> 589 <!ENTITY procps-ng-fin-du "2 6MB">589 <!ENTITY procps-ng-fin-du "25 MB"> 590 590 <!ENTITY procps-ng-fin-sbu "0.1 SBU"> 591 591 … … 595 595 <!ENTITY psmisc-md5 "ed3206da1184ce9e82d607dc56c52633"> 596 596 <!ENTITY psmisc-home "https://gitlab.com/psmisc/psmisc"> 597 <!ENTITY psmisc-fin-du "6. 5MB">597 <!ENTITY psmisc-fin-du "6.6 MB"> 598 598 <!ENTITY psmisc-fin-sbu "less than 0.1 SBU"> 599 599 … … 601 601 meson pages will be needed: python3.6 and python3.6m --> 602 602 603 <!ENTITY python-version "3.11. 4">603 <!ENTITY python-version "3.11.5"> 604 604 <!ENTITY python-minor "3.11"> 605 <!ENTITY python-size "19, 488KB">605 <!ENTITY python-size "19,584 KB"> 606 606 <!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz"> 607 <!ENTITY python-md5 " fb7f7eae520285788449d569e45b6718">607 <!ENTITY python-md5 "393856f1b7713aa8bba4b642ab9985d3"> 608 608 <!ENTITY python-home "https://www.python.org/"> 609 <!ENTITY python-tmp-du "5 29MB">609 <!ENTITY python-tmp-du "533 MB"> 610 610 <!ENTITY python-tmp-sbu "0.4 SBU"> 611 <!ENTITY python-fin-du "37 2MB">612 <!ENTITY python-fin-sbu " 2.0SBU">611 <!ENTITY python-fin-du "370 MB"> 612 <!ENTITY python-fin-sbu "1.9 SBU"> 613 613 <!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2"> 614 <!ENTITY python-docs-md5 " cdce7b1189bcf52947f3b434ab04d7e2">615 <!ENTITY python-docs-size "7,6 49KB">614 <!ENTITY python-docs-md5 "1abed52338038f4b53a277a5558af838"> 615 <!ENTITY python-docs-size "7,678 KB"> 616 616 617 617 <!ENTITY readline-version "8.2"> … … 629 629 <!ENTITY sed-md5 "6aac9b2dbafcd5b7a67a8a9bcb8036c3"> 630 630 <!ENTITY sed-home "&gnu-software;sed/"> 631 <!ENTITY sed-tmp-du " 19MB">632 <!ENTITY sed-tmp-sbu "0. 2SBU">633 <!ENTITY sed-fin-du "3 1MB">631 <!ENTITY sed-tmp-du "21 MB"> 632 <!ENTITY sed-tmp-sbu "0.1 SBU"> 633 <!ENTITY sed-fin-du "30 MB"> 634 634 <!ENTITY sed-fin-sbu "0.3 SBU"> 635 635 636 <!ENTITY shadow-version "4.1 3">637 <!ENTITY shadow-size "1,7 22KB">636 <!ENTITY shadow-version "4.14.0"> 637 <!ENTITY shadow-size "1,746 KB"> 638 638 <!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz"> 639 <!ENTITY shadow-md5 "b 1ab01b5462ddcf43588374d57bec123">639 <!ENTITY shadow-md5 "bb0166bebc24db9003bb77bfd1359042"> 640 640 <!ENTITY shadow-home "https://shadow-maint.github.io/shadow/"> 641 641 <!ENTITY shadow-fin-du "46 MB"> … … 647 647 <!ENTITY sysklogd-md5 "c70599ab0d037fde724f7210c2c8d7f8"> 648 648 <!ENTITY sysklogd-home "https://www.infodrom.org/projects/sysklogd/"> 649 <!ENTITY sysklogd-fin-du " 0.7 MB">649 <!ENTITY sysklogd-fin-du "680 KB"> 650 650 <!ENTITY sysklogd-fin-sbu "less than 0.1 SBU"> 651 651 652 <!ENTITY systemd-version "25 3">652 <!ENTITY systemd-version "254"> 653 653 <!--<!ENTITY systemd-stable "6b4878d">--> 654 654 <!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel 655 655 change that is incompatible, we will switch to the backport branch until the next stable release. --> 656 <!ENTITY systemd-size "1 1,708KB">656 <!ENTITY systemd-size "13,985 KB"> 657 657 <!ENTITY systemd-url "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz"> 658 658 <!--<!ENTITY systemd-url "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">--> 659 <!ENTITY systemd-md5 " 7cf12ee8a91a04306fc6cf290eed42e8">659 <!ENTITY systemd-md5 "0d266e5361dc72097b6c18cfde1c0001"> 660 660 <!ENTITY systemd-home "https://www.freedesktop.org/wiki/Software/systemd/"> 661 <!ENTITY systemd-man-version "25 3">662 <!ENTITY systemd-man-size "6 00KB">661 <!ENTITY systemd-man-version "254"> 662 <!ENTITY systemd-man-size "626 KB"> 663 663 <!--<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">--> 664 664 <!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz"> 665 <!ENTITY systemd-man-md5 " 8b54792c9433fc8db8e5d10db326802d">666 <!ENTITY systemd-fin-du "2 58 MB">665 <!ENTITY systemd-man-md5 "fc32faeac581e1890ca27fcea3858410"> 666 <!ENTITY systemd-fin-du "238 MB"> 667 667 <!ENTITY systemd-fin-sbu "0.7 SBU"> 668 668 669 <!ENTITY sysvinit-version "3.0 7">670 <!ENTITY sysvinit-size "2 58KB">669 <!ENTITY sysvinit-version "3.08"> 670 <!ENTITY sysvinit-size "263 KB"> 671 671 <!ENTITY sysvinit-url "&github;/slicer69/sysvinit/releases/download/&sysvinit-version;/sysvinit-&sysvinit-version;.tar.xz"> 672 <!ENTITY sysvinit-md5 " 190398c660af29c97d892126d2a95e28">672 <!ENTITY sysvinit-md5 "81a05f28d7b67533cfc778fcadea168c"> 673 673 <!ENTITY sysvinit-home "&savannah-nongnu;/projects/sysvinit"> 674 <!ENTITY sysvinit-fin-du "4. 4MB">674 <!ENTITY sysvinit-fin-du "4.5 MB"> 675 675 <!ENTITY sysvinit-fin-sbu "less than 0.1 SBU"> 676 676 677 <!ENTITY tar-version "1.3 4">678 <!ENTITY tar-size "2, 174KB">677 <!ENTITY tar-version "1.35"> 678 <!ENTITY tar-size "2,263 KB"> 679 679 <!ENTITY tar-url "&gnu;tar/tar-&tar-version;.tar.xz"> 680 <!ENTITY tar-md5 " 9a08d29a9ac4727130b5708347c0f5cf">680 <!ENTITY tar-md5 "a2d8042658cfd8ea939e6d911eaf4152"> 681 681 <!ENTITY tar-home "&gnu-software;tar/"> 682 <!ENTITY tar-tmp-du " 38MB">682 <!ENTITY tar-tmp-du "42 MB"> 683 683 <!ENTITY tar-tmp-sbu "0.1 SBU"> 684 <!ENTITY tar-fin-du "4 0MB">685 <!ENTITY tar-fin-sbu "1. 5SBU">684 <!ENTITY tar-fin-du "43 MB"> 685 <!ENTITY tar-fin-sbu "1.7 SBU"> 686 686 687 687 <!ENTITY tcl-version "8.6.13"> … … 703 703 <!ENTITY texinfo-home "&gnu-software;texinfo/"> 704 704 <!ENTITY texinfo-tmp-du "116 MB"> 705 <!ENTITY texinfo-tmp-sbu "0. 2SBU">705 <!ENTITY texinfo-tmp-sbu "0.1 SBU"> 706 706 <!ENTITY texinfo-fin-du "128 MB"> 707 707 <!ENTITY texinfo-fin-sbu "0.3 SBU"> … … 713 713 <!ENTITY tzdata-home "https://www.iana.org/time-zones"> 714 714 715 <!ENTITY udev-fin-du "13 0MB">715 <!ENTITY udev-fin-du "138 MB"> 716 716 <!ENTITY udev-fin-sbu "0.2 SBU"> 717 717 718 <!ENTITY udev-lfs-version "udev-lfs-20 171102">719 <!ENTITY udev-lfs-size "1 1KB">718 <!ENTITY udev-lfs-version "udev-lfs-20230818"> 719 <!ENTITY udev-lfs-size "10 KB"> 720 720 <!ENTITY udev-lfs-url "&anduin-sources;/&udev-lfs-version;.tar.xz"> 721 <!ENTITY udev-lfs-md5 " 27cd82f9a61422e186b9d6759ddf1634">721 <!ENTITY udev-lfs-md5 "acd4360d8a5c3ef320b9db88d275dae6"> 722 722 <!ENTITY udev-lfs-home " "> 723 723 724 724 <!ENTITY util-linux-minor "2.39"> 725 <!ENTITY util-linux-version "2.39. 1"> <!-- 2.33.x -->726 <!ENTITY util-linux-size "8,1 56KB">725 <!ENTITY util-linux-version "2.39.2"> <!-- 2.33.x --> 726 <!ENTITY util-linux-size "8,167 KB"> 727 727 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz"> 728 <!ENTITY util-linux-md5 " c542cd7c0726254e4b3006a9b428201a">728 <!ENTITY util-linux-md5 "2feb3e7c306f336a3d22a182dfffc942"> 729 729 <!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/"> 730 <!ENTITY util-linux-tmp-du "1 50MB">730 <!ENTITY util-linux-tmp-du "169 MB"> 731 731 <!ENTITY util-linux-tmp-sbu "0.2 SBU"> 732 <!ENTITY util-linux-fin-du " 283MB">732 <!ENTITY util-linux-fin-du "310 MB"> 733 733 <!ENTITY util-linux-fin-sbu "0.5 SBU"> 734 734 … … 736 736 <!ENTITY mount-setsid-sbu "less than 0.1 SBU"> 737 737 738 <!ENTITY vim-version "9.0.1 671">738 <!ENTITY vim-version "9.0.1837"> 739 739 <!-- <!ENTITY vim-majmin "90"> --> 740 740 <!ENTITY vim-docdir "vim/vim90"> 741 <!ENTITY vim-size "16, 669KB">741 <!ENTITY vim-size "16,838 KB"> 742 742 <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">--> 743 743 <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz"> 744 <!ENTITY vim-md5 " 243fce49db0dd93af7c2b12163f47fcf">744 <!ENTITY vim-md5 "de7cba78a556f96482ae8f09b082aa59"> 745 745 <!ENTITY vim-home "https://www.vim.org"> 746 <!ENTITY vim-fin-du "2 35MB">747 <!ENTITY vim-fin-sbu "2. 4SBU">748 749 <!ENTITY wheel-version "0.4 0.0">746 <!ENTITY vim-fin-du "229 MB"> 747 <!ENTITY vim-fin-sbu "2.3 SBU"> 748 749 <!ENTITY wheel-version "0.41.2"> 750 750 <!ENTITY wheel-size "96 KB"> 751 751 <!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz"> 752 <!ENTITY wheel-md5 " ec5004c46d1905da98bb5bc1a10ddd21">752 <!ENTITY wheel-md5 "06271a9e90c948b7e93dd7ce0fd90272"> 753 753 <!ENTITY wheel-home "&pypi-home;/wheel/"> 754 <!ENTITY wheel-fin-du "1. 3MB">754 <!ENTITY wheel-fin-du "1.5 MB"> 755 755 <!ENTITY wheel-fin-sbu "less than 0.1 SBU"> 756 756 … … 763 763 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU"> 764 764 765 <!ENTITY xz-version "5.4. 3">766 <!ENTITY xz-size "1,62 8KB">765 <!ENTITY xz-version "5.4.4"> 766 <!ENTITY xz-size "1,623 KB"> 767 767 <!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz"> 768 <!ENTITY xz-md5 " 0bc7220eab3cc37018e0f1965b6ce75a">768 <!ENTITY xz-md5 "d83d6f64a64f88759e312b8a38c3add6"> 769 769 <!ENTITY xz-home "https://tukaani.org/xz"> 770 <!ENTITY xz-tmp-du "2 0MB">770 <!ENTITY xz-tmp-du "22 MB"> 771 771 <!ENTITY xz-tmp-sbu "0.1 SBU"> 772 <!ENTITY xz-fin-du "2 1MB">772 <!ENTITY xz-fin-du "24 MB"> 773 773 <!ENTITY xz-fin-sbu "0.1 SBU"> 774 774 775 <!ENTITY zlib-version "1.2.13"> 776 <!ENTITY zlib-size "1267 KB"> 777 <!ENTITY zlib-url "https://zlib.net/zlib-&zlib-version;.tar.xz"> 778 <!ENTITY zlib-md5 "7d9fc1d78ae2fa3e84fe98b77d006c63"> 779 <!ENTITY zlib-home "https://www.zlib.net/"> 775 <!ENTITY zlib-version "1.3"> 776 <!ENTITY zlib-size "1,461 KB"> 777 <!-- DO NOT remove "fossils"! 778 The upstream removes https://zlib.net/zlib-&zlib-version;.tar.xz 779 once a newer version is released EVEN IF there is no security fixes. 780 Unfortunately there is no .xz files in fossils directory. --> 781 <!ENTITY zlib-url "https://zlib.net/fossils/zlib-&zlib-version;.tar.gz"> 782 <!ENTITY zlib-md5 "60373b133d630f74f4a1f94c1185a53f"> 783 <!ENTITY zlib-home "https://zlib.net/"> 780 784 <!ENTITY zlib-fin-du "6.2 MB"> 781 785 <!ENTITY zlib-fin-sbu "less than 0.1 SBU"> … … 786 790 <!ENTITY zstd-md5 "63251602329a106220e0a5ad26ba656f"> 787 791 <!ENTITY zstd-home "https://facebook.github.io/zstd/"> 788 <!ENTITY zstd-fin-du "7 5MB">792 <!ENTITY zstd-fin-du "77 MB"> 789 793 <!ENTITY zstd-fin-sbu "0.4 SBU"> 790 794 -
part3intro/generalinstructions.xml
rd58da4b r2df066c9 11 11 12 12 <title>General Compilation Instructions</title> 13 14 <caution> 15 <para> 16 During a development cycle of LFS, the instructions in the book are 17 often modified to adapt for a package update or take the advantage of 18 new features from updated packages. Mixing up the instructions of 19 different versions of the LFS book can cause subtle breakages. This 20 kind of issue is generally a result from reusing some script created 21 for a prior LFS release. Such a reuse is strongly discouraged. If 22 you are reusing scripts for a prior LFS release for any reason, you'll 23 need to be very careful to update the scripts to match current version 24 of the LFS book. 25 </para> 26 </caution> 13 27 14 28 <para>Here are some things you should know about building each package:</para> -
patches.ent
rd58da4b r2df066c9 2 2 3 3 <!-- Start of Common Patches --> 4 5 <!--6 <!ENTITY autoconf-fixes-patch "autoconf-&autoconf-version;-consolidated_fixes-1.patch">7 <!ENTITY autoconf-fixes-patch-md5 "3c515415ecdd777990c91e8900279cb9">8 <!ENTITY autoconf-fixes-patch-size "3.8 KB">9 -->10 <!--11 <!ENTITY bash-fixes-patch "bash-&bash-version;-upstream_fixes-1.patch">12 <!ENTITY bash-fixes-patch-md5 "5f20760139d6a97e55124988fcddae44">13 <!ENTITY bash-fixes-patch-size "2.0 KB">14 -->15 <!--16 <!ENTITY binutils-lto-patch "binutils-&binutils-version;-lto_fix-1.patch">17 <!ENTITY binutils-lto-patch-md5 "3df11b6123d5bbdb0fc83862a003827a">18 <!ENTITY binutils-lto-patch-size "3.5 KB">19 -->20 4 21 5 <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch"> … … 24 8 25 9 <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch"> 26 <!ENTITY coreutils-i18n-patch-md5 " 3c6340b3ddd62f4acdf8d3caa6fad6b0">10 <!ENTITY coreutils-i18n-patch-md5 "cca7dc8c73147444e77bc45d210229bb"> 27 11 <!ENTITY coreutils-i18n-patch-size "166 KB"> 28 <!--29 <!ENTITY coreutils-chmod-patch "coreutils-&coreutils-version;-chmod_fix-1.patch">30 <!ENTITY coreutils-chmod-patch-md5 "4709df88e68279e6ef357aa819ba5b1a">31 <!ENTITY coreutils-chmod-patch-size "3.8 KB">32 -->33 <!--34 <!ENTITY flex-fixes-patch "flex-&flex-version;-upstream_fixes-3.patch">35 <!ENTITY flex-fixes-patch-md5 "b46f6b0380e502a3dfb8b503227cd680">36 <!ENTITY flex-fixes-patch-size "3.4 KB">37 -->38 12 39 <!--40 <!ENTITY file-upstream-fixes-patch "file-&file-version;-upstream_fixes-1.patch">41 <!ENTITY file-upstream-fixes-md5 "d99090db596b9db2bed869662199a56a">42 <!ENTITY file-upstream-fixes-patch-size "4.0 KB">43 -->44 <!--45 <!ENTITY gcc-upstream-fixes-patch "gcc-&gcc-version;-glibc_2.36-1.patch">46 <!ENTITY gcc-upstream-fixes-patch-md5 "8a5a4c3d14b9b2398b32f20b53a4de50">47 <!ENTITY gcc-upstream-fixes-patch-size "1.7 KB">48 -->49 13 <!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch"> 50 14 <!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2"> 51 15 <!ENTITY glibc-fhs-patch-size "2.8 KB"> 16 17 <!ENTITY glibc-upstream-fixes-patch "glibc-&glibc-version;-upstream_fixes-1.patch"> 18 <!ENTITY glibc-upstream-fixes-patch-md5 "2e347e291804b62a18a43a8cdc79e01e"> 19 <!ENTITY glibc-upstream-fixes-patch-size "24 KB"> 52 20 53 21 <!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch"> … … 59 27 <!ENTITY kbd-backspace-patch-size "12 KB"> 60 28 61 <!--62 <!ENTITY libpipeline-checks-patch "libpipeline-&libpipeline-version;-check_fixes-3.patch">63 <!ENTITY libpipeline-checks-patch-md5 "0cd71f98eadaee07647d021d2e4c8621">64 <!ENTITY libpipeline-checks-patch-size "22 KB">65 66 <!ENTITY meson-fix-patch "meson-&meson-version;-upstream_fix-2.patch">67 <!ENTITY meson-fix-patch-md5 "dd0b2187d287abcb41c3dd7e497b7df3">68 <!ENTITY meson-fix-patch-size "5.5 KB">69 70 <!ENTITY ninja-limit-jobs-patch "ninja-&ninja-version;-add_NINJAJOBS_var-1.patch">71 <!ENTITY ninja-limit-jobs-patch-md5 "f537a633532492e805aa342fa869ca45">72 <!ENTITY ninja-limit-jobs-patch-size "2.5 KB">73 -->74 <!--75 <!ENTITY perl-fix-patch "perl-&perl-version;-upstream_fixes-1.patch">76 <!ENTITY perl-fix-patch-md5 "fb42558b59ed95ee00eb9f1c1c9b8056">77 <!ENTITY perl-fix-patch-size "1.6 KB">78 -->79 29 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fix-1.patch"> 80 30 <!ENTITY readline-fixes-patch-md5 "dd1764b84cfca6b677f44978218a75da"> 81 31 <!ENTITY readline-fixes-patch-size "1.3 KB"> 82 32 83 <!--84 <!ENTITY shadow-segfault-patch "shadow-&shadow-version;-useradd_segfault-1.patch">85 <!ENTITY shadow-segfault-patch-md5 "66b299c0c9ac66fdb7c91b40df5984c0">86 <!ENTITY shadow-segfault-patch-size "1.7 KB">87 -->88 33 <!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> 89 34 <!ENTITY sysvinit-consolidated-patch-md5 "17ffccbb8e18c39e8cedc32046f3a475"> 90 35 <!ENTITY sysvinit-consolidated-patch-size "2.5 KB"> 91 36 92 <!--93 <!ENTITY systemd-upstream-patch "systemd-&systemd-version;-security_fix-1.patch">94 <!ENTITY systemd-upstream-patch-md5 "da817e69e897d35cdffd7c45ea06be39">95 <!ENTITY systemd-upstream-patch-size "76.0 KB">96 -->97 <!--98 <!ENTITY xz-upstream-fix-patch "xz-&xz-version;-upstream_fix-1.patch">99 <!ENTITY xz-upstream-fix-patch-md5 "584c72ea3d8f7502b2770670f3090788">100 <!ENTITY xz-upstream-fix-patch-size "3.7 KB">101 -->102 <!--103 <!ENTITY zstd-upstream-fixes-patch "zstd-&zstd-version;-upstream_fixes-1.patch">104 <!ENTITY zstd-upstream-fixes-patch-md5 "a7e576e3f87415fdf388392b257cdcf3">105 <!ENTITY zstd-upstream-fixes-patch-size "4 KB">106 --> -
prologue/why.xml
rd58da4b r2df066c9 372 372 needed by various packages (notably, Shadow) for hashing passwords. 373 373 It replaces the obsolete 374 <systemitem class='library'>libcrypt</systemitem> impl mentation in374 <systemitem class='library'>libcrypt</systemitem> implementation in 375 375 Glibc.</para> 376 376 </listitem> -
stylesheets/lfs-xsl/lfs.css
rd58da4b r2df066c9 266 266 } 267 267 268 span.blue { 269 color: #2ac; 270 } 268 271 269 272 /* Index */ -
udev-lfs/55-lfs.rules
rd58da4b r2df066c9 7 7 KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start" 8 8 9 # Comms devices10 11 KERNEL=="ippp[0-9]*", GROUP="dialout"12 KERNEL=="isdn[0-9]*", GROUP="dialout"13 KERNEL=="isdnctrl[0-9]*", GROUP="dialout"14 KERNEL=="dcbri[0-9]*", GROUP="dialout" -
udev-lfs/55-lfs.txt
rd58da4b r2df066c9 8 8 By default, Udev creates device nodes with UID 0, GID 0, and permissions 0660. 9 9 10 ISDN-related devices should be owned by the 'dialout' group, hence the following 11 rule (and similar): 12 13 KERNEL=="ippp[0-9]*", GROUP="dialout" 14 15 The RTC-related rules cause the setclock bootscript to be run as soon as the 10 The RTC-related rule causes the setclock bootscript to be run as soon as the 16 11 RTC device has been created by Udev, meaning that times in log files, for 17 12 example, are as accurate as possible as quickly as possible. 18 13 19 A final word of caution: Any particular rule must be written on one line, and a20 comma must separate each part of the rule.14 A word of caution: A comma must separate each part of the rule. A rule can span 15 multiple lines if the newline is escaped by a backslash. -
udev-lfs/ChangeLog
rd58da4b r2df066c9 1 2023-08-18 <bdubbs@linuxfromscratch.org> 2 * Fix regression when removing cdrom entries 3 4 2023-07-28 <bdubbs@linuxfromscratch.org> 5 * Remove obsolete 83-cdrom-symlinks.rules and 81-cdrom.rules 6 * Remove references to obsolete ISDN devices 7 1 8 2017-10-27 <bdubbs@linuxfromscratch.org> 2 9 * 83-cdrom-symlinks.rules: Adjust test for writable root directory. -
udev-lfs/Makefile.lfs
rd58da4b r2df066c9 4 4 # vim: tabstop=3 5 5 6 VERSION=20 1711026 VERSION=20230818 7 7 SHELL=/bin/bash 8 8 … … 17 17 18 18 install: 19 @mkdir -pv $(DESTDIR)/ lib/udev/rules.d \19 @mkdir -pv $(DESTDIR)/usr/lib/udev/rules.d \ 20 20 $(DESTDIR)/etc/udev/rules.d \ 21 21 $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs … … 23 23 # Copy rules 24 24 @cp -v udev-lfs-$(VERSION)/*.rules $(DESTDIR)/etc/udev/rules.d 25 @cp -v udev-lfs-$(VERSION)/ *_rules\26 udev-lfs-$(VERSION)/ init-net-rules.sh\27 udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/ lib/udev25 @cp -v udev-lfs-$(VERSION)/init-net-rules.sh \ 26 udev-lfs-$(VERSION)/write_net_rules \ 27 udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/usr/lib/udev 28 28 29 29 # Copy documentation -
udev-lfs/README
rd58da4b r2df066c9 15 15 contrib - Useful rules from debian 16 16 contrib/debian 17 contrib/debian/83-cdrom-symlinks.rules18 17 contrib/debian/write_cd_aliases 19 contrib/debian/81-cdrom.rules20 18 21 19 55-lfs.rules - LFS custom rules
Note:
See TracChangeset
for help on using the changeset viewer.