Changeset 2df066c9


Ignore:
Timestamp:
09/15/2023 10:54:55 AM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
7546d8b
Parents:
d58da4b (diff), ba40e32 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

Files:
15 added
2 deleted
72 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    rd58da4b r2df066c9  
    11lfs-bootscripts-*.tar.xz
     2lfs-*.tar.xz
    23conditional.ent
    34version.ent
  • Makefile

    rd58da4b r2df066c9  
    210210all: book nochunks pdf dump-commands
    211211
    212 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version
    213 
     212dist:
     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  
    148148        <segtitle>&before;</segtitle>
    149149        <seglistitem>
    150           <seg>Automake</seg>
     150          <seg>Automake and Coreutils</seg>
    151151        </seglistitem>
    152152      </segmentedlist>
     
    190190        <segtitle>&before;</segtitle>
    191191        <seglistitem>
    192           <seg>None</seg>
     192          <seg>Coreutils</seg>
    193193        </seglistitem>
    194194      </segmentedlist>
     
    287287        <seglistitem>
    288288          <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>
    290291        </seglistitem>
    291292      </segmentedlist>
     
    294295        <segtitle>&runtime;</segtitle>
    295296        <seglistitem>
    296           <seg>Glibc and Zlib</seg>
     297          <seg>Glibc, Zlib, and Zstd</seg>
    297298        </seglistitem>
    298299      </segmentedlist>
     
    438439          <seg>
    439440            <ulink url='&github;/testing-cabal/subunit'>libsubunit</ulink>
     441            and
     442            <ulink url='http://cyberelk.net/tim/software/patchutils/'>
     443              patchutils</ulink>
    440444          </seg>
    441445        </seglistitem>
     
    448452        <segtitle>&dependencies;</segtitle>
    449453        <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>
    452457        </seglistitem>
    453458      </segmentedlist>
     
    25152520        <segtitle>&before;</segtitle>
    25162521        <seglistitem>
    2517           <seg><phrase revision='systemd'>D-Bus, </phrase>E2fsprogs,
     2522          <seg>Binutils,
     2523          <phrase revision='systemd'>D-Bus, </phrase>E2fsprogs,
    25182524          IProute2, Kmod, Man-DB, Procps-ng, Python,
    2519                   &systemd-udev;, and Util-linux</seg>
     2525          &systemd-udev;, and Util-linux</seg>
    25202526        </seglistitem>
    25212527      </segmentedlist>
     
    25672573            <phrase revision='systemd'>None</phrase>
    25682574            <phrase revision='sysv'>
    2569               <ulink url='&blfs-book;general/elogind.xml'>elogind</ulink>
     2575              <ulink url='&blfs-book;general/elogind.html'>elogind</ulink>
    25702576            </phrase>
    25712577          </seg>
     
    28552861        <seglistitem>
    28562862          <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>,
    28572868            <ulink
    28582869              url="&blfs-book;postlfs/btrfs-progs.html">btrfs-progs</ulink>,
     
    28622873            <ulink
    28632874              url="&blfs-book;pst/docbook-xsl.html">docbook-xsl-nons</ulink>,
    2864             <ulink url="https://sourceware.org/elfutils/">elfutils</ulink>,
    28652875            <ulink url="&blfs-book;general/git.html">Git</ulink>,
    2866             <ulink
    2867               url="https://sourceforge.net/projects/gnu-efi/">gnu-efi</ulink>,
    28682876            <ulink url="&blfs-book;postlfs/gnutls.html">GnuTLS</ulink>,
    28692877            <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>,
     2878            <ulink url='https://jekyllrb.com/'>jekyll</ulink>,
    28702879            <ulink url="https://www.kernel.org/pub/linux/utils/kernel/kexec/">
    28712880              kexec-tools</ulink>,
     2881            <ulink url='&github;/libbpf/libbpf'>libbpf</ulink>,
     2882            <ulink url="https://sourceware.org/elfutils/">libdw</ulink>,
    28722883            <ulink
    28732884              url="https://developers.yubico.com/libfido2/">libfido2</ulink>,
     
    28752886            <ulink url="&blfs-book;general/libidn2.html">libidn2</ulink>,
    28762887            <ulink url="https://www.gnu.org/software/libmicrohttpd/">
    2877               Libmicrohttpd</ulink>,
     2888              libmicrohttpd</ulink>,
    28782889            <ulink
    28792890              url="&blfs-book;postlfs/libpwquality.html">libpwquality</ulink>,
     
    28902901            <ulink url="&blfs-book;general/pcre2.html">PCRE2</ulink>,
    28912902            <ulink url="&blfs-book;postlfs/polkit.html">Polkit</ulink>,
     2903            <ulink url='&pypi-home;/pyelftools'>pyelftools</ulink>,
    28922904            <ulink url="&blfs-book;postlfs/qemu.html">qemu</ulink>,
    28932905            <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>,
    28962909            <ulink url="&blfs-book;basicnet/rsync.html">rsync</ulink>,
     2910            <ulink url="&github;/SELinuxProject/selinux">
     2911              SELinux</ulink>,
    28972912            <ulink url="&blfs-book;general/python-modules.html#sphinx">
    28982913              Sphinx</ulink>,
     2914            <ulink url="https://sourceware.org/systemtap/">
     2915              systemtap</ulink>,
    28992916            <ulink url="https://tpm2-tss.readthedocs.io/en/latest/">
    29002917              tpm2-tss</ulink>,
    29012918            <ulink url="&blfs-book;general/valgrind.html">Valgrind</ulink>,
     2919            <ulink url="https://xenproject.org">Xen</ulink>,
    29022920            and
    29032921            <ulink url="&blfs-book;postlfs/zsh.html">zsh</ulink>
     
    33813399        <segtitle>&before;</segtitle>
    33823400        <seglistitem>
    3383           <seg>GCC, Libelf, and &systemd-udev;</seg>
     3401          <seg>Binutils, GCC, Libelf, and &systemd-udev;</seg>
    33843402        </seglistitem>
    33853403      </segmentedlist>
  • bootscripts/ChangeLog

    rd58da4b r2df066c9  
     12023-07-28 Xi Ruoyao <xry111@xry111.site>
     2   * In mountvirtfs, mount /sys/fs/cgroup for udev from systemd-254.
     3
    142023-07-22 Xi Ruoyao <xry111@xry111.site>
    25   * In mountvirtfs, create symlinks /dev/{fd,std{in,out,err}} and
  • bootscripts/lfs/init.d/checkfs

    rd58da4b r2df066c9  
    102102      if [ "${error_value}" = 2 -o "${error_value}" = 3 ]; then
    103103         msg="\nWARNING:\n\nFile system errors "
    104          msg="${msg}were found and have been been "
     104         msg="${msg}were found and have been "
    105105         msg="${msg}corrected, but the nature of the "
    106106         msg="${msg}errors require this system to be rebooted.\n\n"
  • bootscripts/lfs/init.d/mountvirtfs

    rd58da4b r2df066c9  
    6464      mount -o nosuid,nodev /dev/shm || failed=1
    6565
     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
    6670      (exit ${failed})
    6771      evaluate_retval
  • chapter01/askforhelp.xml

    rd58da4b r2df066c9  
    1010
    1111  <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>
    1234
    1335  <para>If an issue or a question is encountered while working through
  • chapter01/changelog.xml

    rd58da4b r2df066c9  
    4141    -->
    4242
    43     <listitem revision='sysv'>
    44       <para>2023-07-22</para>
     43    <listitem>
     44      <para>2023-09-13</para>
    4545      <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>
    5049        </listitem>
    5150      </itemizedlist>
     
    5352
    5453    <listitem>
    55       <para>2023-07-15</para>
     54      <para>2023-09-12</para>
    5655      <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>
    6156        <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>
    8059        </listitem>
    8160      </itemizedlist>
     
    8362
    8463    <listitem>
    85       <para>2023-07-02</para>
     64      <para>2023-09-07</para>
    8665      <itemizedlist>
    8766        <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>
    9870        </listitem>
    9971      </itemizedlist>
     
    10173
    10274    <listitem>
    103       <para>2023-07-01</para>
     75      <para>2023-09-05</para>
    10476      <itemizedlist>
    10577        <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>
    10881        </listitem>
    10982        <listitem>
    110           <para>[bdubbs] - Update to vim-9.0.1671.  Addresses
    111           <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>
    11285        </listitem>
    11386        <listitem>
    114           <para>[bdubbs] - Update to util-linux-2.39.1.  Addresses
    115           <ulink url='&lfs-ticket-root;5278'>#5278</ulink>.</para>
     87          <para>[xry111] - Update to pkgconf-2.0.3.  Fixes
     88          <ulink url='&lfs-ticket-root;5339'>#5339</ulink>.</para>
    11689        </listitem>
    11790        <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>
    12893        </listitem>
    12994      </itemizedlist>
     
    13196
    13297    <listitem>
    133       <para>2023-06-17</para>
     98      <para>2023-09-04</para>
    13499      <itemizedlist>
    135100        <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>
    146104        </listitem>
    147105      </itemizedlist>
     
    149107
    150108    <listitem>
    151       <para>2023-06-09</para>
     109      <para>2023-09-02</para>
    152110      <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>
    156115        </listitem>
    157116        <listitem>
    158           <para>[bdubbs] - Update to linux-6.3.6. Fixes
    159           <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>
    160119        </listitem>
    161120        <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>
    164175        </listitem>
    165176      </itemizedlist>
     
    167178
    168179    <listitem>
    169       <para>2023-06-03</para>
     180      <para>2023-09-01</para>
    170181      <itemizedlist>
    171182        <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>
    456184        </listitem>
    457185      </itemizedlist>
  • chapter01/whatsnew.xml

    rd58da4b r2df066c9  
    1212  <title>What's new since the last release</title>
    1313
    14   <caution>
    15     <para>
    16       During a development cycle of LFS, the instructions in the book is
    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>
    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 to
    30   prevent GCC from <quote>fixing</quote> the system headers.  Such a
    31   <quote>fix</quote> is unnecessary for a modern Linux system and may cause
    32   issues if a package is updated after installing GCC.</para>
    33 
    3414  <para>Here is a list of the packages updated since the previous
    3515  release of LFS.</para>
     
    6040    </listitem>-->
    6141    <!--<listitem>
    62       <para>Bash &bash-version;</para>
    63     </listitem>-->
    64     <listitem>
    65       <para>Bc &bc-version;</para>
    66     </listitem>
     42      <para>Bash-&bash-version;</para>
     43    </listitem>-->
     44    <!--<listitem>
     45      <para>Bc-&bc-version;</para>
     46    </listitem>-->
    6747    <!--<listitem>
    6848      <para>Binutils-&binutils-version;</para>
     
    8666      <para>D-Bus-&dbus-version;</para>
    8767    </listitem>
    88     <listitem>
     68    <!--<listitem>
    8969      <para>Diffutils-&diffutils-version;</para>
    90     </listitem>
     70    </listitem>-->
    9171    <!--<listitem>
    9272       <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>
    93250    </listitem>-->
    94251    <!--<listitem revision="sysv">
    95252       <para>Udev-&systemd-version; (from systemd)</para>
    96253    </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>
    273256    </listitem>
    274257    <listitem>
    275258      <para>Vim-&vim-version;</para>
    276259    </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>XZ-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>
    287270      <para>Zlib-&zlib-version;</para>
    288     </listitem>-->
    289     <listitem>
     271    </listitem>
     272    <!--<listitem>
    290273      <para>Zstd-&zstd-version;</para>
    291     </listitem>
     274    </listitem>-->
    292275  </itemizedlist>
    293276
     
    305288    <listitem><para></para></listitem>  <!-- satisfy build -->
    306289
    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
    342294  </itemizedlist>
    343295
     
    346298    <listitem><para></para></listitem>  <!-- satisfy build -->
    347299
    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
    359304  </itemizedlist>
    360305
  • chapter02/hostreqs.xml

    rd58da4b r2df066c9  
    127127
    128128    <listitem>
    129       <para><emphasis role="strong">Texinfo-4.7</emphasis></para>
     129      <para><emphasis role="strong">Texinfo-5.0</emphasis></para>
    130130    </listitem>
    131131
     
    155155  the ability to compile programs, run the following commands:</para>
    156156
    157 <screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
     157<screen role="nodump"><?dbfo keep-together="auto"?><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
    158158<literal>#!/bin/bash
    159159# A script to list version numbers of critical development tools
     
    206206ver_check Sed            sed      4.1.5
    207207ver_check Tar            tar      1.22
    208 ver_check Texinfo        texi2any 4.7
     208ver_check Texinfo        texi2any 5.0
    209209ver_check Xz             xz       5.0.0
    210210
  • chapter03/packages.xml

    rd58da4b r2df066c9  
    6363        <para>Download: <ulink url="&automake-url;"/></para>
    6464        <para>MD5 sum: <literal>&automake-md5;</literal></para>
    65         <para>SHA256 sum: <literal>&automake-sha256;</literal></para>
    6665      </listitem>
    6766    </varlistentry>
  • chapter03/patches.xml

    rd58da4b r2df066c9  
    7878    </varlistentry>
    7979-->
     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
    8088    <varlistentry>
    8189      <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
  • chapter05/glibc.xml

    rd58da4b r2df066c9  
    9494      --enable-kernel=&linux-major-version;.&linux-minor-version;                \
    9595      --with-headers=$LFS/usr/include    \
    96       --disable-crypt                    \
    9796      libc_cv_slibdir=/usr/lib</userinput></screen>
    9897
  • chapter06/binutils-pass2.xml

    rd58da4b r2df066c9  
    4444    <title>Installation of Binutils</title>
    4545
    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>
    5157
    5258<screen><userinput remap="pre">sed '6009s/$add_dir//' -i ltmain.sh</userinput></screen>
     
    102108    cross compilation, and remove unnecessary static libraries:</para>
    103109
    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>
    105111
    106112  </sect2>
  • chapter06/coreutils.xml

    rd58da4b r2df066c9  
    4444    <title>Installation of Coreutils</title>
    4545
    46 <!--
    47 <screen><userinput remap="configure">export gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen>
    48 -->
    4946    <para>Prepare Coreutils for compilation:</para>
    5047
     
    5350            --build=$(build-aux/config.guess) \
    5451            --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>
    5753
    5854    <variablelist>
  • chapter06/diffutils.xml

    rd58da4b r2df066c9  
    4646    <para>Prepare Diffutils for compilation:</para>
    4747
    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>
    4951
    5052    <para>Compile the package:</para>
  • chapter06/grep.xml

    rd58da4b r2df066c9  
    4646    <para>Prepare Grep for compilation:</para>
    4747
    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>
    5051
    5152    <para>Compile the package:</para>
  • chapter06/sed.xml

    rd58da4b r2df066c9  
    4646    <para>Prepare Sed for compilation:</para>
    4747
    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>
    5051
    5152    <para>Compile the package:</para>
  • chapter07/createfiles.xml

    rd58da4b r2df066c9  
    108108video:x:12:
    109109utmp:x:13:
    110 usb:x:14:
    111110cdrom:x:15:
    112111adm:x:16:
     
    136135video:x:12:
    137136utmp:x:13:
    138 usb:x:14:
    139137cdrom:x:15:
    140138adm:x:16:
  • chapter07/perl.xml

    rd58da4b r2df066c9  
    5858
    5959    <variablelist>
    60       <title>The meaning of the new Configure options:</title>
     60      <title>The meaning of the Configure options:</title>
     61
    6162      <varlistentry>
    6263        <term><parameter>-des</parameter></term>
     
    6566          all items; -e ensures completion of all tasks; -s silences
    6667          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>
    6797        </listitem>
    6898      </varlistentry>
  • chapter08/autoconf.xml

    rd58da4b r2df066c9  
    154154          software package; it examines the source files in a directory tree,
    155155          searching them for common portability issues, and creates a
    156           <filename>configure.scan</filename> file that serves as as a
     156          <filename>configure.scan</filename> file that serves as a
    157157          preliminary <filename>configure.in</filename> file for the
    158158          package</para>
  • chapter08/binutils.xml

    rd58da4b r2df066c9  
    146146    <option>--enable-default-ssp</option> options are passed to GCC.</para>
    147147
     148    <para>Three tests in the gprofng suite are also known to fail.</para>
     149
    148150    <para>Install the package:</para>
    149151
    150152<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
    151153
    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>
    156157
    157158  </sect2>
     
    168169        <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm,
    169170        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>
    171173        <seg>/usr/lib/ldscripts</seg>
    172174      </seglistitem>
     
    416418      </varlistentry>
    417419
     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
    418431      <varlistentry id="libopcodes">
    419432        <term><filename class="libraryfile">libopcodes</filename></term>
  • chapter08/chapter08.xml

    rd58da4b r2df066c9  
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/>
    3131  <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"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils.xml"/>
    3334  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/>
     
    4041  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
    4142  <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"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
    4444  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
  • chapter08/coreutils.xml

    rd58da4b r2df066c9  
    122122    user <systemitem class="username">tester</systemitem> a part of it:</para>
    123123
    124 <screen><userinput remap="test">echo "dummy:x:102:tester" &gt;&gt; /etc/group</userinput></screen>
     124<screen><userinput remap="test">groupadd -g 102 dummy -U tester</userinput></screen>
    125125
    126126    <para>Fix some of the permissions so that the non-&root; user can
     
    140140    <para>Remove the temporary group:</para>
    141141
    142 <screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen>
     142<screen><userinput remap="test">groupdel dummy</userinput></screen>
     143
    143144    <para>Install the package:</para>
    144145
  • chapter08/dbus.xml

    rd58da4b r2df066c9  
    5353            --localstatedir=/var                 \
    5454            --runstatedir=/run                   \
     55            --enable-user-session                \
    5556            --disable-static                     \
    5657            --disable-doxygen-docs               \
     
    7172          to be in <filename class="directory">/run</filename>, instead of
    7273          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>
    7386        </listitem>
    7487      </varlistentry>
  • chapter08/flit-core.xml

    rd58da4b r2df066c9  
    4343    <para>Build the package:</para>
    4444
    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>
    4646
    4747    <para>Install the package:</para>
     
    6464           <para>Instructs pip to put the created wheel into the
    6565           <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>
    6675        </listitem>
    6776      </varlistentry>
  • chapter08/gawk.xml

    rd58da4b r2df066c9  
    6262<screen><userinput remap="install">make LN='ln -f' install</userinput></screen>
    6363
    64     <para>The installation process already created <command>awk</command>
    65     as a symlink to <command>gawk</command>, create its man page as a
    66     symlink as well:</para>
    67 
    68 <screen><userinput remap="install">ln -sv gawk.1 /usr/share/man/man1/awk.1</userinput></screen>
    69 
    7064    <variablelist>
    7165      <title>The meaning of the overridden make variable:</title>
     
    7973      </varlistentry>
    8074   </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>
    8181
    8282    <para>If desired, install the documentation:</para>
  • chapter08/gcc.xml

    rd58da4b r2df066c9  
    172172    <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
    173173
    174     <para>Two tests named <filename>pr104610.c</filename> and
     174 <para><!--Two tests named <filename>pr104610.c</filename> and
    175175    <filename>pr69482-1.c</filename> are known to fail because the test
    176176    files does not account for the
    177     <parameter>--enable-default-ssp</parameter> option.
     177    <parameter>- -enable-default-ssp</parameter> option.-->
    178178    <!-- https://gcc.gnu.org/PR106375 and https://gcc.gnu.org/PR109353 -->
    179179    Two tests named <filename>copy.cc</filename> and
     
    183183    <filename class='directory'>vect</filename> directory are known to fail
    184184    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>
    185196
    186197    <para>A few unexpected failures cannot always be avoided. The GCC developers
  • chapter08/glibc.xml

    rd58da4b r2df066c9  
    5151<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    5252
    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>
    6257
    6358    <para>The Glibc documentation recommends building Glibc
     
    8075             --enable-stack-protector=strong          \
    8176             --with-headers=/usr/include              \
    82              --disable-crypt                          \
    8377             libc_cv_slibdir=/usr/lib</userinput></screen>
    8478
     
    168162      </listitem>
    169163
     164<!-- Did not fail with glibc-2.38
    170165      <listitem>
    171166        <para><emphasis>misc/tst-ttyname</emphasis>
    172167        is known to fail in the LFS chroot environment.</para>
    173168      </listitem>
     169-->
    174170
    175171      <!-- https://sourceware.org/pipermail/libc-alpha/2022-August/141567.html -->
     
    326322    following:</para>
    327323
    328 <screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
     324<screen revision='sysv'><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
    329325<literal># Begin /etc/nsswitch.conf
    330326
     
    334330
    335331hosts: files dns
     332networks: files
     333
     334protocols: files
     335services: files
     336ethers: files
     337rpc: files
     338
     339# End /etc/nsswitch.conf</literal>
     340EOF</userinput></screen>
     341
     342<screen revision='systemd'><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
     343<literal># Begin /etc/nsswitch.conf
     344
     345passwd: files systemd
     346group: files systemd
     347shadow: files systemd
     348
     349hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
    336350networks: files
    337351
  • chapter08/gmp.xml

    rd58da4b r2df066c9  
    5555      the host processor.  If libraries suitable for processors less
    5656      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>
    5859
    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.  -->
    6163    </note>
    6264
     
    107109    applications using the gmp libraries with the message "Illegal
    108110    instruction".  In this case, gmp should be reconfigured with the option
    109     --build=x86_64-pc-linux-gnu and rebuilt.</para></caution>
     111    <option>--host=none-linux-gnu</option> and rebuilt.</para></caution>
    110112
    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.
    112116    Check the results by issuing the following command:</para>
    113117
     
    125129
    126130    <segmentedlist>
    127       <segtitle>Installed Libraries</segtitle>
     131      <segtitle>Installed libraries</segtitle>
    128132      <segtitle>Installed directory</segtitle>
    129133
  • chapter08/jinja2.xml

    rd58da4b r2df066c9  
    4343    <para>Build the package:</para>
    4444
    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>
    4646
    4747    <para>Install the package:</para>
  • chapter08/less.xml

    rd58da4b r2df066c9  
    6363<screen><userinput remap="make">make</userinput></screen>
    6464
    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>
    6668
    6769    <para>Install the package:</para>
  • chapter08/libelf.xml

    rd58da4b r2df066c9  
    7171
    7272    <segmentedlist>
    73       <segtitle>Installed Library</segtitle>
    74       <segtitle>Installed Directory</segtitle>
     73      <segtitle>Installed library</segtitle>
     74      <segtitle>Installed directory</segtitle>
    7575
    7676      <seglistitem>
  • chapter08/libxcrypt.xml

    rd58da4b r2df066c9  
    101101      that link against these functions require ABI version 1.  If you must
    102102      have such functions because of some binary-only application or to be
    103       to be compliant with LSB, build the package again with the following
     103      compliant with LSB, build the package again with the following
    104104      commands:</para>
    105105
    106 <screen><userinput remap="nodump">make distclean
     106<screen role="nodump"><userinput>make distclean
    107107./configure --prefix=/usr                \
    108108            --enable-hashes=strong,glibc \
  • chapter08/markupsafe.xml

    rd58da4b r2df066c9  
    4343    <para>Compile MarkupSafe with the following command:</para>
    4444
    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>
    4646
    4747    <para>This package does not come with a test suite.</para>
  • chapter08/meson.xml

    rd58da4b r2df066c9  
    4747    <para>Compile Meson with the following command:</para>
    4848
    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>
    5050
    5151    <para>The test suite requires some packages outside the scope of LFS.</para>
  • chapter08/mpc.xml

    rd58da4b r2df066c9  
    7070
    7171    <segmentedlist>
    72       <segtitle>Installed Libraries</segtitle>
    73       <segtitle>Installed Directory</segtitle>
     72      <segtitle>Installed libraries</segtitle>
     73      <segtitle>Installed directory</segtitle>
    7474
    7575      <seglistitem>
  • chapter08/mpfr.xml

    rd58da4b r2df066c9  
    4242    <title>Installation of MPFR</title>
    4343
    44     <!-- https://sympa.inria.fr/sympa/arc/mpfr/2023-01/msg00002.html
    45          https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c
    46 
    47          Note that it's a different issue from Glibc #30068 we've fixed in
    48          chapter08/glibc.xml with a sed.  Normally we just document the
    49          test failure, but in this case the particular subtest also serves
    50          as an additional guard against Glibc #30068.  So we apply the
    51          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 
    5844    <para>Prepare MPFR for compilation:</para>
    5945
     
    7359    </important>
    7460
    75     <para>Test the results and ensure that all 197 tests passed:</para>
     61    <para>Test the results and ensure that all 198 tests passed:</para>
    7662
    7763<screen><userinput remap="test">make check</userinput></screen>
     
    8975
    9076    <segmentedlist>
    91       <segtitle>Installed Libraries</segtitle>
     77      <segtitle>Installed libraries</segtitle>
    9278      <segtitle>Installed directory</segtitle>
    9379
  • chapter08/ncurses.xml

    rd58da4b r2df066c9  
    159159    <para>If desired, install the Ncurses documentation:</para>
    160160
    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>
    163162
    164163    <note>
  • chapter08/openssl.xml

    rd58da4b r2df066c9  
    100100        <emphasis>when upgrading to a version with the same MAJOR version
    101101        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 an
    107         exception of the general rule above.  It contains an
    108         over-restrictive OpenSSL version check, so both SSH client and SSH
    109         server will refuse to start if OpenSSL
    110         is updated with MAJOR version number unchanged but MINOR version
    111         number changed.  You need to rebuild
    112         <application>OpenSSH</application> after such an upgrade.
    113         <emphasis role='bold'>If <application>OpenSSH</application> is being
    114         used to access the system, you must rebuild and reinstall it
    115         after upgrading OpenSSL to a new MINOR version number before logout
    116         or you won't be able to login via SSH anymore.</emphasis>
    117102      </para>
    118103
  • chapter08/perl.xml

    rd58da4b r2df066c9  
    7777
    7878    <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>
    8880
    8981      <varlistentry>
     
    10698
    10799      <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>
    115100        <term><parameter>-Dusethreads</parameter></term>
    116101        <listitem>
    117102          <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 installed
    125           modules. The LFS editors chose to put them in a directory structure
    126           based on the MAJOR.MINOR version of Perl (&perl-version-min;) which
    127           allows upgrading Perl to newer patch levels (the patch level is
    128           the last dot separated part in the full version string like
    129           &perl-version;) without reinstalling all of the modules.</para>
    130103        </listitem>
    131104      </varlistentry>
  • chapter08/pkgconf.xml

    rd58da4b r2df066c9  
    4242
    4343  <sect2 role="installation">
     44
    4445    <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-&gt;why)/' cli/main.c</userinput></screen>
    4551
    4652    <para>Prepare Pkgconf for compilation:</para>
  • chapter08/procps.xml

    rd58da4b r2df066c9  
    6868    <para>Compile the package:</para>
    6969
    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
    8273    <para> To run the test suite, run:</para>
    8374
    8475<screen><userinput remap="test">make check</userinput></screen>
    85 
    86     <!-- It's because "free -v" shows "used" greater than "total", and
    87          a negative "free" for "Comm" line.  The "total" value is from
    88          "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 (for
    94     example, JVM and Web browsers) are running on the host distro.</para>
    9576
    9677    <para>Install the package:</para>
  • chapter08/python.xml

    rd58da4b r2df066c9  
    192192
    193193    <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>
    197197
    198198      <seglistitem>
  • chapter08/shadow.xml

    rd58da4b r2df066c9  
    108108            --disable-static    \
    109109            --with-{b,yes}crypt \
     110            --without-libbsd    \
    110111            --with-group-name-max-length=32</userinput></screen>
    111112
     
    142143          <para>The longest permissible user name is 32 characters.  Make the maximum
    143144          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>
    144153        </listitem>
    145154      </varlistentry>
  • chapter08/stripping.xml

    rd58da4b r2df066c9  
    3030  dynamically linked binaries and shared libraries).</para>
    3131
    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
    3538  url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink
    3639  url='&blfs-book;/general/gdb.html'>gdb</ulink> later, in BLFS.
     
    7982
    8083for LIB in $save_usrlib; do
    81     objcopy --only-keep-debug $LIB $LIB.dbg
     84    objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg
    8285    cp $LIB /tmp/$LIB
    8386    strip --strip-unneeded /tmp/$LIB
     
    8992online_usrbin="bash find strip"
    9093online_usrlib="libbfd-&binutils-version;.so
    91                libsframe.so.0.0.0
     94               libsframe.so.&libsframe-version;
    9295               libhistory.so.&readline-soversion;
    9396               libncursesw.so.&ncurses-version;
     
    9598               libreadline.so.&readline-soversion;
    9699               libz.so.&zlib-version;
     100               libzstd.so.&zstd-version;
    97101               $(cd /usr/lib; find libnss*.so* -type f)"
    98102
  • chapter08/systemd.xml

    rd58da4b r2df066c9  
    4040  <sect2 role="installation">
    4141    <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 built
    46       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    &amp;&amp;
    51 sed '/devt_hash_func/s/_pure_//'               \
    52     -i src/basic/hash-funcs.h                  &amp;&amp;
    53 sed '/job_get_timeout/s/_pure_//'              \
    54     -i src/core/job.h</userinput></screen>
    5542
    5643    <para>Remove two unneeded groups,
     
    8269      -Dpamconfdir=no               \
    8370      -Ddev-kvm-mode=0660           \
     71      -Dnobody-group=nogroup        \
    8472      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    8573      ..</userinput></screen>
     
    192180        </listitem>
    193181      </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>
    194190    </variablelist>
    195191
     
    206202    <!-- Please make sure systemd man pages tarball has a common leading
    207203         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>
    209207
    210208    <para>Create the <filename>/etc/machine-id</filename> file needed by
     
    245243        <seg>busctl, coredumpctl, halt (symlink to systemctl),
    246244        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
    248247        systemctl), reboot (symlink to systemctl), resolvconf (symlink to
    249248        resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
    250249        (symlink to systemctl), systemctl, systemd-ac-power, systemd-analyze,
    251250        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,
    253253        systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
    254254        systemd-inhibit, systemd-machine-id-setup,
  • chapter08/tar.xml

    rd58da4b r2df066c9  
    7373<screen><userinput remap="test">make check</userinput></screen>
    7474
     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&lt;N&gt;</command> to the line above.  For
     79    instance, using -j4 can reduce the test time by over 70
     80    percent.</para></note>
     81
    7582    <para>One test, capabilities: binary store/restore, is known to fail if it is
    7683    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>
    7886
    7987    <para>Install the package:</para>
  • chapter08/udev.xml

    rd58da4b r2df066c9  
    128128install -vm755 udevadm                     /usr/bin/
    129129install -vm755 systemd-hwdb                /usr/bin/udev-hwdb
    130 ln      -sv    ../bin/udevadm              /usr/sbin/udevd
     130ln      -svfn  ../bin/udevadm              /usr/sbin/udevd
    131131cp      -av    libudev.so{,*[0-9]}         /usr/lib/
    132132install -vm644 ../src/libudev/libudev.h    /usr/include/
     
    148148    <!-- Please make sure systemd man pages tarball has a common leading
    149149         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                              \
    151152    -C /usr/share/man --wildcards '*/udev*' '*/libudev*'              \
    152153                                  '*/systemd-'{hwdb,udevd.service}.8
    153 sed 's/systemd\(\\\?-\)/udev-/' /usr/share/man/man8/systemd-hwdb.8    \
    154                               > /usr/share/man/man8/udev-hwdb.8
     154sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8   \
     155                               > /usr/share/man/man8/udev-hwdb.8
    155156sed 's|lib.*udevd|sbin/udevd|'                                        \
    156157    /usr/share/man/man8/systemd-udevd.service.8                       \
  • chapter08/util-linux.xml

    rd58da4b r2df066c9  
    4343    <title>Installation of Util-linux</title>
    4444
    45     <para>First, disable a problem test:</para>
     45    <para>First, disable a problematic test:</para>
    4646
    4747    <screen><userinput remap="pre">sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am</userinput></screen>
     
    12311231          unique among all UUIDs created, on the local system and on other
    12321232          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>
    12341235          <indexterm zone="ch-system-util-linux uuidgen">
    12351236            <primary sortas="b-uuidgen">uuidgen</primary>
  • chapter08/wheel.xml

    rd58da4b r2df066c9  
    4343    <para>Compile Wheel with the following command:</para>
    4444
    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>
    4646
    4747    <para>Install Wheel with the following command:</para>
  • chapter09/network.xml

    rd58da4b r2df066c9  
    179179     </indexterm>
    180180
    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>
    184185
    185186<screen><literal>IP_address myhost.example.org aliases</literal></screen>
     
    198199     range 0-255.</para>
    199200
    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>
    205213
    206214     <para>Create the  <filename>/etc/hosts</filename> file by running:</para>
  • chapter09/networkd.xml

    rd58da4b r2df066c9  
    317317     range 0-255.</para>
    318318
    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 &gt; /etc/hosts &lt;&lt; "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 &gt; /etc/hosts &lt;&lt; "EOF"
    329336<literal># Begin /etc/hosts
    330337
    331 127.0.0.1 localhost.localdomain localhost
    332 127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
    333 ::1       localhost ip6-localhost ip6-loopback
     338<replaceable>&lt;192.168.0.2&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>[alias1] [alias2] ...</replaceable>
     339::1       ip6-localhost ip6-loopback
    334340ff02::1   ip6-allnodes
    335341ff02::2   ip6-allrouters
     
    337343# End /etc/hosts</literal>
    338344EOF</userinput></screen>
    339 -->
    340 
    341      <para>Create the <filename>/etc/hosts</filename> file using the following
    342      command:</para>
    343 
    344 <screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
    345 <literal># Begin /etc/hosts
    346 
    347 127.0.0.1 localhost.localdomain localhost
    348 127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
    349 <replaceable>&lt;192.168.0.2&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</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>&lt;192.168.0.2&gt;</replaceable>,
    358      <replaceable>&lt;FQDN&gt;</replaceable>, and
    359      <replaceable>&lt;HOSTNAME&gt;</replaceable> values need to be
     345
     346     <para>The <replaceable>&lt;192.168.0.2&gt;</replaceable> and
     347     <replaceable>&lt;FQDN&gt;</replaceable> values need to be
    360348     changed for specific uses or requirements (if assigned an IP address by a
    361349     network/system administrator and the machine will be connected to an
    362350     existing network). The optional alias name(s) can be omitted, and the
    363351     <replaceable>&lt;192.168.0.2&gt;</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>
    365361
    366362     <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>
    369364
    370365   </sect2>
  • chapter09/usage.xml

    rd58da4b r2df066c9  
    147147  initial letter. The K means to stop (kill) a service and the S means to start a
    148148  service. The numbers determine the order in which the scripts are run, from 00
    149   to 99&mdash;the smaller the number, the sooner tht script runs. When
     149  to 99&mdash;the smaller the number, the sooner the script runs. When
    150150  <command>init</command> switches to another run level, the appropriate services
    151151  are either started or stopped, depending on the run level chosen.</para>
  • chapter10/fstab.xml

    rd58da4b r2df066c9  
    2323<literal># Begin /etc/fstab
    2424
    25 # file system  mount-point  type     options             dump  fsck
    26 #                                                              order
     25# file system  mount-point    type     options             dump  fsck
     26#                                                                order
    2727
    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>&lt;fff&gt;</replaceable>    defaults            1     1
     29/dev/<replaceable>sda</replaceable>3      swap           swap     pri=1               0     0
     30proc           /proc          proc     nosuid,noexec,nodev 0     0
     31sysfs          /sys           sysfs    nosuid,noexec,nodev 0     0
     32devpts         /dev/pts       devpts   gid=5,mode=620      0     0
     33tmpfs          /run           tmpfs    defaults            0     0
     34devtmpfs       /dev           devtmpfs mode=0755,nosuid    0     0
     35tmpfs          /dev/shm       tmpfs    nosuid,nodev        0     0
     36cgroup2        /sys/fs/cgroup cgroup2  nosuid,noexec,nodev 0     0
    3637
    3738# End /etc/fstab</literal>
  • chapter10/grub.xml

    rd58da4b r2df066c9  
    2020    <para>
    2121      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
    2426      <ulink url="&blfs-book;postlfs/grub-setup.html">the BLFS page</ulink>.
    2527    </para>
     
    127129set timeout=5
    128130
     131insmod part_gpt
    129132insmod ext2
    130133set root=(hd0,2)
     
    134137}</literal>
    135138EOF</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>
    136157
    137158    <note><para>From <application>GRUB</application>'s perspective, the
  • chapter10/kernel.xml

    rd58da4b r2df066c9  
    123123
    124124    <note>
     125      <?dbfo keep-together="auto"?>
    125126      <para>A good starting place for setting up the kernel configuration is to
    126127      run <command>make defconfig</command>. This will set the base
     
    131132      not work correctly or boot at all:</para>
    132133
    133       <screen role="nodump" revision="sysv">Processor type and features ---&gt;
    134    [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
    135    [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
    136 General setup ---&gt;
    137    [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
    138    &lt; &gt; 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  ---&gt;
    141    [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
    142    [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
    143 Device Drivers  ---&gt;
    144   Graphics support ---&gt;
    145    Frame buffer Devices ---&gt;
    146       &lt;*&gt; Support for frame buffer devices ---&gt;
    147    Console display driver support ---&gt;
    148       [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
    149   Generic Driver Options  ---&gt;
    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 ---&gt;
    155    [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
    156    [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
    157 General setup ---&gt;
    158    [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
    159    [ ] Auditing Support [CONFIG_AUDIT]
    160    CPU/Task time and stats accounting ---&gt;
    161       [*] Pressure stall information tracking [CONFIG_PSI]
    162       [ ]   Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED]
    163    &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
    164    [*] Control Group support [CONFIG_CGROUPS]   ---&gt;
    165       [*] Memory controller [CONFIG_MEMCG]
    166    [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
    167 General architecture-dependent options  ---&gt;
    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  ---&gt;   [CONFIG_NET]
    172    Networking options  ---&gt;
    173       [*] TCP/IP networking [CONFIG_INET]
    174       &lt;*&gt;   The IPv6 protocol [CONFIG_IPV6]
    175 Device Drivers  ---&gt;
    176    Generic Driver Options  ---&gt;
    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 ---&gt;
    181          [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER]
    182    Firmware Drivers   ---&gt;
    183       [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]
    184    Graphics support ---&gt;
    185       Frame buffer Devices ---&gt;
    186          &lt;*&gt; Support for frame buffer devices ---&gt;
    187       Console display driver support ---&gt;
    188          [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
    189 File systems  ---&gt;
    190    [*] Inotify support for userspace [CONFIG_INOTIFY_USER]
    191        Pseudo filesystems  ---&gt;
    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   
    194144      <para>Enable some additional features if you are building a 64-bit
    195145      system.  If you are using menuconfig, enable them in the order of
     
    199149      shows up after its dependencies are selected.</para>
    200150
    201       <screen role="nodump">Processor type and features ---&gt;
    202   [*] Support x2apic [CONFIG_X86_X2APIC]
    203 Device Drivers ---&gt;
    204   [*] PCI Support ---&gt; [CONFIG_PCI]
    205     [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
    206   [*] IOMMU Hardware Support ---&gt; [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"/>
    208153
    209154      <para>If you are building a 32-bit system running on a hardware
     
    211156      be able to use up to 64GB physical RAM:</para>
    212157
    213       <screen role="nodump">Processor type and features ---&gt;
    214   High Memory Support ---&gt;
    215     (X) 64GB [CONFIG_HIGHMEM64G]</screen>
     158      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     159        href="kernel/highmem.xml"/>
    216160
    217161      <para>If the partition for the LFS system is in a NVME SSD (i. e. the
     
    220164      the LFS system won't boot:</para>
    221165
    222       <screen role="nodump">Device Drivers ---&gt;
    223   NVME Support ---&gt;
    224     &lt;*&gt; 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"/>
    225168    </note>
    226169
     
    350293          processors in x2APIC mode.  x2APIC may be enabled by firmware on
    351294          64-bit x86 systems, and a kernel without this option enabled will
    352           panic on boot if x2APIC is enabled by firmware.  This option has
     295          panic on boot if x2APIC is enabled by firmware.  This option
    353296          has no effect, but also does no harm if x2APIC is disabled by the
    354297          firmware.</para>
  • general.ent

    rd58da4b r2df066c9  
    104104-->
    105105<!ENTITY lfs-ticket-root "https://wiki.linuxfromscratch.org/lfs/ticket/">
     106<!ENTITY blfs-ticket-root "https://wiki.linuxfromscratch.org/blfs/ticket/">
    106107
    107108<!ENTITY anduin-sources  "https://anduin.linuxfromscratch.org/LFS">
  • git-version.sh

    rd58da4b r2df066c9  
    1 #!/bin/sh
     1#!/bin/bash
    22
    33if [ "$1" = sysv ]; then
     
    1515echo "<!ENTITY % systemd \"$SYSTEMD\">"  >> conditional.ent
    1616
     17if [ -e LFS-RELEASE ]; then
     18        exit 0
     19fi
     20
    1721if ! git status > /dev/null; then
    1822    # Either it's not a git repository, or git is unavaliable.
     
    2529    echo "]]>"                                             >> version.ent
    2630    echo "<!ENTITY releasedate       \"unknown\">"         >> version.ent
    27     echo "<!ENTITY copyrightdate     \"1999-2022\">"       >> version.ent
     31    echo "<!ENTITY copyrightdate     \"1999-2023\">"       >> version.ent
    2832    exit 0
    2933fi
     
    6670echo "<!ENTITY releasedate       \"$full_date\">"          >> version.ent
    6771echo "<!ENTITY copyrightdate     \"1999-$year\">"          >> version.ent
     72
     73[ -z "$DIST" ] || echo $version > "$DIST"
  • lfs-latest-git.php

    rd58da4b r2df066c9  
    151151if ( $package == "vim"        ) $dirpath = "https://github.com/vim/vim/tags";
    152152if ( $package == "wheel"      ) $dirpath = "https://pypi.org/project/wheel/#files";
     153if ( $package == "zlib"       ) $dirpath = "https://www.zlib.net";
    153154if ( $package == "zstd"       ) $dirpath = github("facebook/zstd");
    154155
  • lfs-latest.php

    • Property mode changed from 100644 to 120000
    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 ?>
     1lfs-latest-git.php
  • obfuscate.sh

    rd58da4b r2df066c9  
    55# Script written (and slight perl modification) by Archaic <archaic AT linuxfromscratch D0T org>
    66# 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 nonckunked books.
     7# to prevent hangs on very long files, like nonchunked books.
    88# Original Perl expression by Anderson Lizardo <lizardo AT linuxfromscratch D0T org>
    99# Released under the GNU General Public License
  • packages.ent

    rd58da4b r2df066c9  
    3636<!ENTITY autoconf-home "&gnu-software;autoconf/">
    3737<!ENTITY autoconf-fin-du "24 MB">
    38 <!ENTITY autoconf-fin-sbu-tests "6.2">
     38<!ENTITY autoconf-fin-sbu-tests "6.0">
    3939<!ENTITY autoconf-fin-sbu "less than 0.1 SBU (about &autoconf-fin-sbu-tests; SBU with tests)">
    4040
     
    4444<!ENTITY automake-url "&gnu;automake/automake-&automake-version;.tar.xz">
    4545<!ENTITY automake-md5 "4017e96f89fca45ca946f1c5db6be714">
    46 <!ENTITY automake-sha256 "80facc09885a57e6d49d06972c0ae1089c5fa8f4d4c7cfe5baea58e5085f136d">
    4746<!ENTITY automake-home "&gnu-software;automake/">
    4847<!ENTITY automake-fin-du "114 MB">
    49 <!ENTITY automake-fin-sbu "less than 0.1 SBU (about 7.3 SBU with tests)">
     48<!ENTITY automake-fin-sbu "less than 0.1 SBU (about 7.0 SBU with tests)">
    5049
    5150<!ENTITY bash-version "5.2.15">
     
    5756<!ENTITY bash-tmp-sbu "0.2 SBU">
    5857<!ENTITY bash-fin-du "52 MB">
    59 <!ENTITY bash-fin-sbu "1.2 SBU">
     58<!ENTITY bash-fin-sbu "1.1 SBU">
    6059
    6160<!ENTITY bc-version "6.6.0">
     
    6463<!ENTITY bc-md5 "a148cbaaf8ff813b7289a00539e74a5f">
    6564<!ENTITY bc-home "https://git.gavinhoward.com/gavin/bc">
    66 <!ENTITY bc-fin-du "7.6 MB">
     65<!ENTITY bc-fin-du "7.7 MB">
    6766<!ENTITY bc-fin-sbu "less than 0.1 SBU">
    6867
    69 <!ENTITY binutils-version "2.40">
    70 <!ENTITY binutils-size "24,650 KB">
     68<!ENTITY binutils-version "2.41">
     69<!ENTITY binutils-size "26,139 KB">
    7170<!ENTITY binutils-url "https://sourceware.org/pub/binutils/releases/binutils-&binutils-version;.tar.xz">
    72 <!ENTITY binutils-md5 "007b59bd908a737c06e5a8d3d2c737eb">
     71<!ENTITY binutils-md5 "256d7e0ad998e423030c84483a7c1e30">
    7372<!ENTITY binutils-home "&gnu-software;binutils/">
    74 <!ENTITY binutils-tmpp1-du "639 MB">
     73<!ENTITY binutils-tmpp1-du "647 MB">
    7574<!ENTITY binutils-tmpp1-sbu "1 SBU">
    76 <!ENTITY binutils-tmpp2-du "525 MB">
    77 <!ENTITY binutils-tmpp2-sbu "0.4 SBU">
    78 <!ENTITY binutils-fin-du "2.6 GB">
     75<!ENTITY binutils-tmpp2-du "523 MB">
     76<!ENTITY binutils-tmpp2-sbu "0.5 SBU">
     77<!ENTITY binutils-fin-du "2.7 GB">
    7978<!ENTITY binutils-fin-sbu "2.2 SBU">
     79<!ENTITY libsframe-version "1.0.0">
    8080
    8181<!ENTITY bison-version "3.8.2">
     
    8787<!ENTITY bison-tmp-sbu "0.2 SBU">
    8888<!ENTITY bison-fin-du "62 MB">
    89 <!ENTITY bison-fin-sbu "2.3 SBU">
     89<!ENTITY bison-fin-sbu "2.2 SBU">
    9090
    9191<!ENTITY bzip2-version "1.0.8">
     
    103103<!ENTITY check-home "https://libcheck.github.io/check">
    104104<!ENTITY check-fin-du "12 MB">
    105 <!ENTITY check-fin-sbu "0.1 SBU (about 1.7 SBU with tests)">
    106 
    107 <!ENTITY coreutils-version "9.3">
    108 <!ENTITY coreutils-size "5,673 KB">
     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">
    109109<!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.xz">
    110 <!ENTITY coreutils-md5 "040b4b7acaf89499834bfc79609af29f">
     110<!ENTITY coreutils-md5 "459e9546074db2834eefe5421f250025">
    111111<!ENTITY coreutils-home "&gnu-software;coreutils/">
    112 <!ENTITY coreutils-tmp-du "162 MB">
     112<!ENTITY coreutils-tmp-du "168 MB">
    113113<!ENTITY coreutils-tmp-sbu "0.3 SBU">
    114 <!ENTITY coreutils-fin-du "156 MB">
     114<!ENTITY coreutils-fin-du "165 MB">
    115115<!ENTITY coreutils-fin-sbu "0.9 SBU">
    116116
    117 <!ENTITY dbus-version "1.14.8">
    118 <!ENTITY dbus-size "1,340 KB">
     117<!ENTITY dbus-version "1.14.10">
     118<!ENTITY dbus-size "1,344 KB">
    119119<!ENTITY dbus-url "https://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.xz">
    120 <!ENTITY dbus-md5 "da42f55aeec51b355587bc3062fc2d41">
     120<!ENTITY dbus-md5 "46070a3487817ff690981f8cd2ba9376">
    121121<!ENTITY dbus-home "https://www.freedesktop.org/wiki/Software/dbus">
    122 <!ENTITY dbus-fin-du "19 MB">
     122<!ENTITY dbus-fin-du "20 MB">
    123123<!ENTITY dbus-fin-sbu "0.1 SBU">
    124124
     
    129129<!ENTITY dejagnu-home "&gnu-software;dejagnu/">
    130130<!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">
    132132
    133133<!ENTITY diffutils-version "3.10">
     
    136136<!ENTITY diffutils-md5 "2745c50f6f4e395e7b7d52f902d075bf">
    137137<!ENTITY diffutils-home "&gnu-software;diffutils/">
    138 <!ENTITY diffutils-tmp-du "26 MB">
    139 <!ENTITY diffutils-tmp-sbu "0.2 SBU">
    140 <!ENTITY diffutils-fin-du "35 MB">
     138<!ENTITY diffutils-tmp-du "29 MB">
     139<!ENTITY diffutils-tmp-sbu "0.1 SBU">
     140<!ENTITY diffutils-fin-du "36 MB">
    141141<!ENTITY diffutils-fin-sbu "0.3 SBU">
    142142
     
    147147<!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net/">
    148148<!ENTITY e2fsprogs-fin-du "95 MB">
    149 <!ENTITY e2fsprogs-fin-sbu "2.4 SBU on a spinning disk, 0.4 SBU on an SSD">
     149<!ENTITY e2fsprogs-fin-sbu "2.4 SBU on a spinning disk, 0.6 SBU on an SSD">
    150150
    151151<!ENTITY elfutils-version "0.189"> <!-- libelf -->
     
    154154<!ENTITY elfutils-md5 "5cfaa711a90cb670406cd495aeaa6030">
    155155<!ENTITY elfutils-home "https://sourceware.org/elfutils/">
    156 <!ENTITY elfutils-fin-du "120 MB">
     156<!ENTITY elfutils-fin-du "122 MB">
    157157<!ENTITY elfutils-fin-sbu "0.3 SBU">
    158158
     
    173173<!ENTITY expect-tmp-sbu "0.2 SBU">
    174174
    175 <!ENTITY file-version "5.44">
    176 <!ENTITY file-size "1,159 KB">
     175<!ENTITY file-version "5.45">
     176<!ENTITY file-size "1,218 KB">
    177177<!ENTITY file-url "https://astron.com/pub/file/file-&file-version;.tar.gz">
    178 <!ENTITY file-md5 "a60d586d49d015d842b9294864a89c7a">
     178<!ENTITY file-md5 "26b2a96d4e3a8938827a1e572afd527a">
    179179<!ENTITY file-home "https://www.darwinsys.com/file/">
    180 <!ENTITY file-tmp-du "36 MB">
     180<!ENTITY file-tmp-du "37 MB">
    181181<!ENTITY file-tmp-sbu "0.1 SBU">
    182 <!ENTITY file-fin-du "16 MB">
    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">
    184184
    185185<!ENTITY findutils-version "4.9.0">
     
    189189<!ENTITY findutils-home "&gnu-software;findutils/">
    190190<!ENTITY findutils-tmp-du "42 MB">
    191 <!ENTITY findutils-tmp-sbu "0.2 SBU">
     191<!ENTITY findutils-tmp-sbu "0.1 SBU">
    192192<!ENTITY findutils-fin-du "51 MB">
    193193<!ENTITY findutils-fin-sbu "0.4 SBU">
     
    206206<!ENTITY flit-core-md5 "3bc52f1952b9a78361114147da63c35b">
    207207<!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">
    209209<!ENTITY flit-core-fin-sbu "less than 0.1 SBU">
    210210
     
    214214<!ENTITY gawk-md5 "d63b4de2c722cbd9b8cc8e6f14d78a1e">
    215215<!ENTITY gawk-home "&gnu-software;gawk/">
    216 <!ENTITY gawk-tmp-du "47 MB">
     216<!ENTITY gawk-tmp-du "48 MB">
    217217<!ENTITY gawk-tmp-sbu "0.1 SBU">
    218 <!ENTITY gawk-fin-du "43 MB">
    219 <!ENTITY gawk-fin-sbu "0.2 SBU">
    220 
    221 <!ENTITY gcc-version "13.1.0">
    222 <!ENTITY gcc-size "85,402 KB">
     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">
    223223<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
    224 <!ENTITY gcc-md5 "43e4de77f2218c83ca675257ea1af9ef">
     224<!ENTITY gcc-md5 "e0e48554cc6e4f261d55ddee9ab69075">
    225225<!ENTITY gcc-sha256 "">
    226226<!ENTITY gcc-home "https://gcc.gnu.org/">
    227 <!ENTITY gcc-tmpp1-du "3.8 GB">
    228 <!ENTITY gcc-tmpp1-sbu "3.3 SBU">
    229 <!ENTITY gcc-tmpp2-du "4.7 GB">
    230 <!ENTITY gcc-tmpp2-sbu "4.6 SBU">
    231 <!ENTITY gcc-fin-du "5.1 GB ">
    232 <!ENTITY gcc-fin-sbu "43 SBU (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)">
    233233<!ENTITY libquadmath-version "0.0.0">
    234 <!ENTITY libstdcpp-version   "6.0.31">
     234<!ENTITY libstdcpp-version   "6.0.32">
    235235<!ENTITY libitm-version      "1.0.0">
    236236<!ENTITY libatomic-version   "1.2.0">
     
    252252<!ENTITY gettext-md5 "db2f3daf34fd5b85ab1a56f9033e42d1">
    253253<!ENTITY gettext-home "&gnu-software;gettext/">
    254 <!ENTITY gettext-tmp-du "287 MB">
    255 <!ENTITY gettext-tmp-sbu "1.0 SBU">
    256 <!ENTITY gettext-fin-du "241 MB">
    257 <!ENTITY gettext-fin-sbu "1.3 SBU">
    258 
    259 <!ENTITY glibc-version "2.37">
    260 <!ENTITY glibc-size "18,244 KB">
     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">
    261261<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
    262 <!ENTITY glibc-md5 "e89cf3dcb64939d29f04b4ceead5cc4e">
     262<!ENTITY glibc-md5 "778cce0ea6bf7f84ca8caacf4a01f45b">
    263263<!ENTITY glibc-home "&gnu-software;libc/">
    264 <!ENTITY glibc-tmp-du "822 MB">
    265 <!ENTITY glibc-tmp-sbu "1.5 SBU">
    266 <!ENTITY glibc-fin-du "2.9 GB">
     264<!ENTITY glibc-tmp-du "858 MB">
     265<!ENTITY glibc-tmp-sbu "1.6 SBU">
     266<!ENTITY glibc-fin-du "3.0 GB">
    267267<!ENTITY glibc-fin-sbu "11 SBU">
    268268
    269 <!ENTITY gmp-version "6.2.1">
    270 <!ENTITY gmp-size "1,980 KB">
     269<!ENTITY gmp-version "6.3.0">
     270<!ENTITY gmp-size "2,046 KB">
    271271<!ENTITY gmp-url "&gnu;gmp/gmp-&gmp-version;.tar.xz">
    272 <!ENTITY gmp-md5 "0b82665c4a92fd2ade7440c13fcaa42b">
     272<!ENTITY gmp-md5 "956dc04e864001a9c22429f761f2c283">
    273273<!ENTITY gmp-home "&gnu-software;gmp/">
    274 <!ENTITY gmp-fin-du "52 MB">
     274<!ENTITY gmp-fin-du "54 MB">
    275275<!ENTITY gmp-fin-sbu "0.3 SBU">
    276276
     
    288288<!ENTITY grep-md5 "7c9bbd74492131245f7cdb291fa142c0">
    289289<!ENTITY grep-home "&gnu-software;grep/">
    290 <!ENTITY grep-tmp-du "25 MB">
    291 <!ENTITY grep-tmp-sbu "0.2 SBU">
    292 <!ENTITY grep-fin-du "37 MB">
     290<!ENTITY grep-tmp-du "27 MB">
     291<!ENTITY grep-tmp-sbu "0.1 SBU">
     292<!ENTITY grep-fin-du "39 MB">
    293293<!ENTITY grep-fin-sbu "0.4 SBU">
    294294
     
    298298<!ENTITY groff-md5 "5e4f40315a22bb8a158748e7d5094c7d">
    299299<!ENTITY groff-home "&gnu-software;groff/">
    300 <!ENTITY groff-fin-du "89 MB">
     300<!ENTITY groff-fin-du "107 MB">
    301301<!ENTITY groff-fin-sbu "0.2 SBU">
    302302
     
    311311<!ENTITY grub-tmp-sbu "0.3 SBU">
    312312
    313 <!ENTITY gzip-version "1.12">
    314 <!ENTITY gzip-size "807 KB">
     313<!ENTITY gzip-version "1.13">
     314<!ENTITY gzip-size "819 KB">
    315315<!ENTITY gzip-url "&gnu;gzip/gzip-&gzip-version;.tar.xz">
    316 <!ENTITY gzip-md5 "9608e4ac5f061b2a6479dc44e917a5db">
     316<!ENTITY gzip-md5 "d5c9fc9441288817a4a0be2da0249e29">
    317317<!ENTITY gzip-home "&gnu-software;gzip/">
    318318<!ENTITY gzip-tmp-du "11 MB">
     
    321321<!ENTITY gzip-fin-sbu "0.3 SBU">
    322322
    323 <!ENTITY iana-etc-version "20230629">
     323<!ENTITY iana-etc-version "20230810">
    324324<!ENTITY iana-etc-size "588 KB">
    325325<!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">
    327327<!ENTITY iana-etc-home "https://www.iana.org/protocols">
    328328<!ENTITY iana-etc-fin-du "4.8 MB">
     
    364364<!ENTITY jinja2-fin-sbu "less than 0.1 SBU">
    365365
    366 <!ENTITY kbd-version "2.6.1">
    367 <!ENTITY kbd-size "1,554 KB">
     366<!ENTITY kbd-version "2.6.2">
     367<!ENTITY kbd-size "1,469 KB">
    368368<!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">
    370370<!ENTITY kbd-home "https://kbd-project.org/">
    371371<!ENTITY kbd-fin-du "35 MB">
     
    376376<!ENTITY kmod-url "&kernel;linux/utils/kernel/kmod/kmod-&kmod-version;.tar.xz">
    377377<!ENTITY kmod-md5 "85202f0740a75eb52f2163c776f9b564">
    378 <!ENTITY kmod-home " ">
     378<!ENTITY kmod-home "https://github.com/kmod-project/kmod">
    379379<!ENTITY kmod-fin-du "12 MB">
    380380<!ENTITY kmod-fin-sbu "less than 0.1 SBU">
    381381
    382 <!ENTITY less-version "633">
    383 <!ENTITY less-size "368 KB">
     382<!ENTITY less-version "643">
     383<!ENTITY less-size "579 KB">
    384384<!ENTITY less-url "https://www.greenwoodsoftware.com/less/less-&less-version;.tar.gz">
    385 <!ENTITY less-md5 "35cc7734e9e6224388ab7b9a214da4da">
     385<!ENTITY less-md5 "cf05e2546a3729492b944b4874dd43dd">
    386386<!ENTITY less-home "https://www.greenwoodsoftware.com/less/">
    387 <!ENTITY less-fin-du "4.3 MB">
     387<!ENTITY less-fin-du "12 MB">
    388388<!ENTITY less-fin-sbu "less than 0.1 SBU">
    389389
    390 <!ENTITY lfs-bootscripts-version "20230722">      <!-- Scripts depend on this format -->
     390<!ENTITY lfs-bootscripts-version "20230728">      <!-- Scripts depend on this format -->
    391391<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">
    392392<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
     
    425425<!ENTITY libtool-md5 "2fc0b6ddcd66a89ed6e45db28fa44232">
    426426<!ENTITY libtool-home "&gnu-software;libtool/">
    427 <!ENTITY libtool-fin-du "44 MB">
    428 <!ENTITY libtool-fin-sbu "1.4 SBU">
     427<!ENTITY libtool-fin-du "45 MB">
     428<!ENTITY libtool-fin-sbu "1.3 SBU">
    429429
    430430<!ENTITY libxcrypt-version "4.4.36">
     
    433433<!ENTITY libxcrypt-md5 "b84cd4104e08c975063ec6c4d0372446">
    434434<!ENTITY libxcrypt-home "&github;/besser82/libxcrypt/">
    435 <!ENTITY libxcrypt-fin-du "16 MB">
     435<!ENTITY libxcrypt-fin-du "15 MB">
    436436<!ENTITY libxcrypt-fin-sbu "0.1 SBU">
    437437
    438438<!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">
    441441<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    442442<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    443 <!ENTITY linux-size "134,557 KB">
     443<!ENTITY linux-size "135,684 KB">
    444444<!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">
    446446<!ENTITY linux-home "https://www.kernel.org/">
    447447<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
     
    484484<!ENTITY man-db-fin-sbu "0.2 SBU">
    485485
    486 <!ENTITY man-pages-version "6.04">
    487 <!ENTITY man-pages-size "2,137 KB">
     486<!ENTITY man-pages-version "6.05.01">
     487<!ENTITY man-pages-size "2,144 KB">
    488488<!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">
    490490<!ENTITY man-pages-home "https://www.kernel.org/doc/man-pages/">
    491 <!ENTITY man-pages-fin-du "32 MB">
     491<!ENTITY man-pages-fin-du "33 MB">
    492492<!ENTITY man-pages-fin-sbu "less than 0.1 SBU">
    493493
     
    497497<!ENTITY markupsafe-md5 "ca33f119bd0551ce15837f58bb180214">
    498498<!ENTITY markupsafe-home "https://palletsprojects.com/p/markupsafe/">
    499 <!ENTITY markupsafe-fin-du "544 KB">
     499<!ENTITY markupsafe-fin-du "548 KB">
    500500<!ENTITY markupsafe-fin-sbu "less than 0.1 SBU">
    501501
    502 <!ENTITY meson-version "1.1.1">
    503 <!ENTITY meson-size "2,076 KB">
     502<!ENTITY meson-version "1.2.1">
     503<!ENTITY meson-size "2,131 KB">
    504504<!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">
    506506<!ENTITY meson-home "https://mesonbuild.com">
    507 <!ENTITY meson-fin-du "41 MB">
     507<!ENTITY meson-fin-du "42 MB">
    508508<!ENTITY meson-fin-sbu "less than 0.1 SBU">
    509509
     
    516516<!ENTITY mpc-fin-sbu "0.1 SBU">
    517517
    518 <!ENTITY mpfr-version "4.2.0">
    519 <!ENTITY mpfr-size "1,443 KB">
     518<!ENTITY mpfr-version "4.2.1">
     519<!ENTITY mpfr-size "1,459 KB">
    520520<!ENTITY mpfr-url "https://ftp.gnu.org/gnu/mpfr/mpfr-&mpfr-version;.tar.xz">
    521 <!ENTITY mpfr-md5 "a25091f337f25830c16d2054d74b5af7">
     521<!ENTITY mpfr-md5 "523c50c6318dde6f9dc523bc0244690a">
    522522<!ENTITY mpfr-home "https://www.mpfr.org/">
    523523<!ENTITY mpfr-fin-du "43 MB">
     
    539539<!ENTITY ninja-md5 "32151c08211d7ca3c1d832064f6939b0">
    540540<!ENTITY ninja-home "https://ninja-build.org/">
    541 <!ENTITY ninja-fin-du "77 MB">
     541<!ENTITY ninja-fin-du "75 MB">
    542542<!ENTITY ninja-fin-sbu "0.3 SBU">
    543543
    544 <!ENTITY openssl-version "3.1.1">
    545 <!ENTITY openssl-size "15,181 KB">
     544<!ENTITY openssl-version "3.1.2">
     545<!ENTITY openssl-size "15,196 KB">
    546546<!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
    547 <!ENTITY openssl-md5 "1864b75e31fb4a6e0a07fd832529add3">
     547<!ENTITY openssl-md5 "1d7861f969505e67b8677e205afd9ff4">
    548548<!ENTITY openssl-home "https://www.openssl.org/">
    549 <!ENTITY openssl-fin-du "520 MB">
    550 <!ENTITY openssl-fin-sbu "3.2 SBU">
     549<!ENTITY openssl-fin-du "587 MB">
     550<!ENTITY openssl-fin-sbu "3.0 SBU">
    551551
    552552<!ENTITY patch-version "2.7.6">
     
    569569<!ENTITY perl-md5 "e1c8aaec897dd386c741f97eef9f2e87">
    570570<!ENTITY perl-home "https://www.perl.org/">
    571 <!ENTITY perl-tmp-du "281 MB">
     571<!ENTITY perl-tmp-du "280 MB">
    572572<!ENTITY perl-tmp-sbu "0.6 SBU">
    573 <!ENTITY perl-fin-du "234 MB">
    574 <!ENTITY perl-fin-sbu "7.9 SBU">
    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">
    577577<!ENTITY pkgconf-size "304 KB">
    578578<!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz">
    579 <!ENTITY pkgconf-md5 "0a8b69723bef4ebad83e9c8b43a75cc7">
     579<!ENTITY pkgconf-md5 "b82ca48ed3097adfa007ee71489b6719">
    580580<!ENTITY pkgconf-home "http://pkgconf.org/">
    581 <!ENTITY pkgconf-fin-du "8.1 MB">
     581<!ENTITY pkgconf-fin-du "4.6 MB">
    582582<!ENTITY pkgconf-fin-sbu "less than 0.1 SBU">
    583583
    584 <!ENTITY procps-ng-version "4.0.3">
    585 <!ENTITY procps-ng-size "1,268 KB">
     584<!ENTITY procps-ng-version "4.0.4">
     585<!ENTITY procps-ng-size "1,369 KB">
    586586<!ENTITY procps-ng-url "https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-&procps-ng-version;.tar.xz">
    587 <!ENTITY procps-ng-md5 "22b287bcd758831cbaf3356cd3054fe7">
     587<!ENTITY procps-ng-md5 "2f747fc7df8ccf402d03e375c565cf96">
    588588<!ENTITY procps-ng-home "https://sourceforge.net/projects/procps-ng">
    589 <!ENTITY procps-ng-fin-du "26 MB">
     589<!ENTITY procps-ng-fin-du "25 MB">
    590590<!ENTITY procps-ng-fin-sbu "0.1 SBU">
    591591
     
    595595<!ENTITY psmisc-md5 "ed3206da1184ce9e82d607dc56c52633">
    596596<!ENTITY psmisc-home "https://gitlab.com/psmisc/psmisc">
    597 <!ENTITY psmisc-fin-du "6.5 MB">
     597<!ENTITY psmisc-fin-du "6.6 MB">
    598598<!ENTITY psmisc-fin-sbu "less than 0.1 SBU">
    599599
     
    601601     meson pages will be needed: python3.6 and python3.6m -->
    602602
    603 <!ENTITY python-version "3.11.4">
     603<!ENTITY python-version "3.11.5">
    604604<!ENTITY python-minor "3.11">
    605 <!ENTITY python-size "19,488 KB">
     605<!ENTITY python-size "19,584 KB">
    606606<!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">
    608608<!ENTITY python-home "https://www.python.org/">
    609 <!ENTITY python-tmp-du "529 MB">
     609<!ENTITY python-tmp-du "533 MB">
    610610<!ENTITY python-tmp-sbu "0.4 SBU">
    611 <!ENTITY python-fin-du "372 MB">
    612 <!ENTITY python-fin-sbu "2.0 SBU">
     611<!ENTITY python-fin-du "370 MB">
     612<!ENTITY python-fin-sbu "1.9 SBU">
    613613<!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,649 KB">
     614<!ENTITY python-docs-md5 "1abed52338038f4b53a277a5558af838">
     615<!ENTITY python-docs-size "7,678 KB">
    616616
    617617<!ENTITY readline-version "8.2">
     
    629629<!ENTITY sed-md5 "6aac9b2dbafcd5b7a67a8a9bcb8036c3">
    630630<!ENTITY sed-home "&gnu-software;sed/">
    631 <!ENTITY sed-tmp-du "19 MB">
    632 <!ENTITY sed-tmp-sbu "0.2 SBU">
    633 <!ENTITY sed-fin-du "31 MB">
     631<!ENTITY sed-tmp-du "21 MB">
     632<!ENTITY sed-tmp-sbu "0.1 SBU">
     633<!ENTITY sed-fin-du "30 MB">
    634634<!ENTITY sed-fin-sbu "0.3 SBU">
    635635
    636 <!ENTITY shadow-version "4.13">
    637 <!ENTITY shadow-size "1,722 KB">
     636<!ENTITY shadow-version "4.14.0">
     637<!ENTITY shadow-size "1,746 KB">
    638638<!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
    639 <!ENTITY shadow-md5 "b1ab01b5462ddcf43588374d57bec123">
     639<!ENTITY shadow-md5 "bb0166bebc24db9003bb77bfd1359042">
    640640<!ENTITY shadow-home "https://shadow-maint.github.io/shadow/">
    641641<!ENTITY shadow-fin-du "46 MB">
     
    647647<!ENTITY sysklogd-md5 "c70599ab0d037fde724f7210c2c8d7f8">
    648648<!ENTITY sysklogd-home "https://www.infodrom.org/projects/sysklogd/">
    649 <!ENTITY sysklogd-fin-du "0.7 MB">
     649<!ENTITY sysklogd-fin-du "680 KB">
    650650<!ENTITY sysklogd-fin-sbu "less than 0.1 SBU">
    651651
    652 <!ENTITY systemd-version  "253">
     652<!ENTITY systemd-version  "254">
    653653<!--<!ENTITY systemd-stable   "6b4878d">-->
    654654<!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel
    655655     change that is incompatible, we will switch to the backport branch until the next stable release. -->
    656 <!ENTITY systemd-size     "11,708 KB">
     656<!ENTITY systemd-size     "13,985 KB">
    657657<!ENTITY systemd-url      "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz">
    658658<!--<!ENTITY systemd-url      "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">-->
    659 <!ENTITY systemd-md5      "7cf12ee8a91a04306fc6cf290eed42e8">
     659<!ENTITY systemd-md5      "0d266e5361dc72097b6c18cfde1c0001">
    660660<!ENTITY systemd-home     "https://www.freedesktop.org/wiki/Software/systemd/">
    661 <!ENTITY systemd-man-version "253">
    662 <!ENTITY systemd-man-size "600 KB">
     661<!ENTITY systemd-man-version "254">
     662<!ENTITY systemd-man-size "626 KB">
    663663<!--<!ENTITY systemd-man-url  "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">-->
    664664<!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   "258 MB">
     665<!ENTITY systemd-man-md5  "fc32faeac581e1890ca27fcea3858410">
     666<!ENTITY systemd-fin-du   "238 MB">
    667667<!ENTITY systemd-fin-sbu  "0.7 SBU">
    668668
    669 <!ENTITY sysvinit-version "3.07">
    670 <!ENTITY sysvinit-size "258 KB">
     669<!ENTITY sysvinit-version "3.08">
     670<!ENTITY sysvinit-size "263 KB">
    671671<!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">
    673673<!ENTITY sysvinit-home "&savannah-nongnu;/projects/sysvinit">
    674 <!ENTITY sysvinit-fin-du "4.4 MB">
     674<!ENTITY sysvinit-fin-du "4.5 MB">
    675675<!ENTITY sysvinit-fin-sbu "less than 0.1 SBU">
    676676
    677 <!ENTITY tar-version "1.34">
    678 <!ENTITY tar-size "2,174 KB">
     677<!ENTITY tar-version "1.35">
     678<!ENTITY tar-size "2,263 KB">
    679679<!ENTITY tar-url "&gnu;tar/tar-&tar-version;.tar.xz">
    680 <!ENTITY tar-md5 "9a08d29a9ac4727130b5708347c0f5cf">
     680<!ENTITY tar-md5 "a2d8042658cfd8ea939e6d911eaf4152">
    681681<!ENTITY tar-home "&gnu-software;tar/">
    682 <!ENTITY tar-tmp-du "38 MB">
     682<!ENTITY tar-tmp-du "42 MB">
    683683<!ENTITY tar-tmp-sbu "0.1 SBU">
    684 <!ENTITY tar-fin-du "40 MB">
    685 <!ENTITY tar-fin-sbu "1.5 SBU">
     684<!ENTITY tar-fin-du "43 MB">
     685<!ENTITY tar-fin-sbu "1.7 SBU">
    686686
    687687<!ENTITY tcl-version "8.6.13">
     
    703703<!ENTITY texinfo-home "&gnu-software;texinfo/">
    704704<!ENTITY texinfo-tmp-du "116 MB">
    705 <!ENTITY texinfo-tmp-sbu "0.2 SBU">
     705<!ENTITY texinfo-tmp-sbu "0.1 SBU">
    706706<!ENTITY texinfo-fin-du "128 MB">
    707707<!ENTITY texinfo-fin-sbu "0.3 SBU">
     
    713713<!ENTITY tzdata-home "https://www.iana.org/time-zones">
    714714
    715 <!ENTITY udev-fin-du "130 MB">
     715<!ENTITY udev-fin-du "138 MB">
    716716<!ENTITY udev-fin-sbu "0.2 SBU">
    717717
    718 <!ENTITY udev-lfs-version "udev-lfs-20171102">
    719 <!ENTITY udev-lfs-size    "11 KB">
     718<!ENTITY udev-lfs-version "udev-lfs-20230818">
     719<!ENTITY udev-lfs-size    "10 KB">
    720720<!ENTITY udev-lfs-url     "&anduin-sources;/&udev-lfs-version;.tar.xz">
    721 <!ENTITY udev-lfs-md5     "27cd82f9a61422e186b9d6759ddf1634">
     721<!ENTITY udev-lfs-md5     "acd4360d8a5c3ef320b9db88d275dae6">
    722722<!ENTITY udev-lfs-home    " ">
    723723
    724724<!ENTITY util-linux-minor "2.39">
    725 <!ENTITY util-linux-version "2.39.1"> <!-- 2.33.x -->
    726 <!ENTITY util-linux-size "8,156 KB">
     725<!ENTITY util-linux-version "2.39.2"> <!-- 2.33.x -->
     726<!ENTITY util-linux-size "8,167 KB">
    727727<!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">
    729729<!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
    730 <!ENTITY util-linux-tmp-du "150 MB">
     730<!ENTITY util-linux-tmp-du "169 MB">
    731731<!ENTITY util-linux-tmp-sbu "0.2 SBU">
    732 <!ENTITY util-linux-fin-du "283 MB">
     732<!ENTITY util-linux-fin-du "310 MB">
    733733<!ENTITY util-linux-fin-sbu "0.5 SBU">
    734734
     
    736736<!ENTITY mount-setsid-sbu "less than 0.1 SBU">
    737737
    738 <!ENTITY vim-version "9.0.1671">
     738<!ENTITY vim-version "9.0.1837">
    739739<!-- <!ENTITY vim-majmin "90"> -->
    740740<!ENTITY vim-docdir "vim/vim90">
    741 <!ENTITY vim-size "16,669 KB">
     741<!ENTITY vim-size "16,838 KB">
    742742<!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->
    743743<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">
    744 <!ENTITY vim-md5 "243fce49db0dd93af7c2b12163f47fcf">
     744<!ENTITY vim-md5 "de7cba78a556f96482ae8f09b082aa59">
    745745<!ENTITY vim-home "https://www.vim.org">
    746 <!ENTITY vim-fin-du "235 MB">
    747 <!ENTITY vim-fin-sbu "2.4 SBU">
    748 
    749 <!ENTITY wheel-version "0.40.0">
     746<!ENTITY vim-fin-du "229 MB">
     747<!ENTITY vim-fin-sbu "2.3 SBU">
     748
     749<!ENTITY wheel-version "0.41.2">
    750750<!ENTITY wheel-size "96 KB">
    751751<!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz">
    752 <!ENTITY wheel-md5 "ec5004c46d1905da98bb5bc1a10ddd21">
     752<!ENTITY wheel-md5 "06271a9e90c948b7e93dd7ce0fd90272">
    753753<!ENTITY wheel-home "&pypi-home;/wheel/">
    754 <!ENTITY wheel-fin-du "1.3 MB">
     754<!ENTITY wheel-fin-du "1.5 MB">
    755755<!ENTITY wheel-fin-sbu "less than 0.1 SBU">
    756756
     
    763763<!ENTITY xml-parser-fin-sbu "less than 0.1 SBU">
    764764
    765 <!ENTITY xz-version "5.4.3">
    766 <!ENTITY xz-size "1,628 KB">
     765<!ENTITY xz-version "5.4.4">
     766<!ENTITY xz-size "1,623 KB">
    767767<!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz">
    768 <!ENTITY xz-md5 "0bc7220eab3cc37018e0f1965b6ce75a">
     768<!ENTITY xz-md5 "d83d6f64a64f88759e312b8a38c3add6">
    769769<!ENTITY xz-home "https://tukaani.org/xz">
    770 <!ENTITY xz-tmp-du "20 MB">
     770<!ENTITY xz-tmp-du "22 MB">
    771771<!ENTITY xz-tmp-sbu "0.1 SBU">
    772 <!ENTITY xz-fin-du "21 MB">
     772<!ENTITY xz-fin-du "24 MB">
    773773<!ENTITY xz-fin-sbu "0.1 SBU">
    774774
    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/">
    780784<!ENTITY zlib-fin-du "6.2 MB">
    781785<!ENTITY zlib-fin-sbu "less than 0.1 SBU">
     
    786790<!ENTITY zstd-md5 "63251602329a106220e0a5ad26ba656f">
    787791<!ENTITY zstd-home "https://facebook.github.io/zstd/">
    788 <!ENTITY zstd-fin-du "75 MB">
     792<!ENTITY zstd-fin-du "77 MB">
    789793<!ENTITY zstd-fin-sbu "0.4 SBU">
    790794
  • part3intro/generalinstructions.xml

    rd58da4b r2df066c9  
    1111
    1212  <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>
    1327
    1428  <para>Here are some things you should know about building each package:</para>
  • patches.ent

    rd58da4b r2df066c9  
    22
    33<!-- 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 -->
    204
    215<!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch">
     
    248
    259<!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch">
    26 <!ENTITY coreutils-i18n-patch-md5 "3c6340b3ddd62f4acdf8d3caa6fad6b0">
     10<!ENTITY coreutils-i18n-patch-md5 "cca7dc8c73147444e77bc45d210229bb">
    2711<!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 -->
    3812
    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 -->
    4913<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
    5014<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
    5115<!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">
    5220
    5321<!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch">
     
    5927<!ENTITY kbd-backspace-patch-size "12 KB">
    6028
    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 -->
    7929<!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fix-1.patch">
    8030<!ENTITY readline-fixes-patch-md5 "dd1764b84cfca6b677f44978218a75da">
    8131<!ENTITY readline-fixes-patch-size "1.3 KB">
    8232
    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 -->
    8833<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch">
    8934<!ENTITY sysvinit-consolidated-patch-md5 "17ffccbb8e18c39e8cedc32046f3a475">
    9035<!ENTITY sysvinit-consolidated-patch-size "2.5 KB">
    9136
    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  
    372372        needed by various packages (notably, Shadow) for hashing passwords.
    373373        It replaces the obsolete
    374         <systemitem class='library'>libcrypt</systemitem> implmentation in
     374        <systemitem class='library'>libcrypt</systemitem> implementation in
    375375        Glibc.</para>
    376376      </listitem>
  • stylesheets/lfs-xsl/lfs.css

    rd58da4b r2df066c9  
    266266}
    267267
     268span.blue {
     269  color: #2ac;
     270}
    268271
    269272/* Index */
  • udev-lfs/55-lfs.rules

    rd58da4b r2df066c9  
    77KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
    88
    9 # Comms devices
    10 
    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  
    88By default, Udev creates device nodes with UID 0, GID 0, and permissions 0660.
    99
    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
     10The RTC-related rule causes the setclock bootscript to be run as soon as the
    1611RTC device has been created by Udev, meaning that times in log files, for
    1712example, are as accurate as possible as quickly as possible.
    1813
    19 A final word of caution: Any particular rule must be written on one line, and a
    20 comma must separate each part of the rule.
     14A word of caution: A comma must separate each part of the rule. A rule can span
     15multiple lines if the newline is escaped by a backslash.
  • udev-lfs/ChangeLog

    rd58da4b r2df066c9  
     12023-08-18  <bdubbs@linuxfromscratch.org>
     2   * Fix regression when removing cdrom entries
     3
     42023-07-28  <bdubbs@linuxfromscratch.org>
     5   * Remove obsolete 83-cdrom-symlinks.rules and 81-cdrom.rules
     6        * Remove references to obsolete ISDN devices
     7
    182017-10-27  <bdubbs@linuxfromscratch.org>
    29   * 83-cdrom-symlinks.rules: Adjust test for writable root directory.
  • udev-lfs/Makefile.lfs

    rd58da4b r2df066c9  
    44# vim: tabstop=3
    55
    6 VERSION=20171102
     6VERSION=20230818
    77SHELL=/bin/bash
    88
     
    1717
    1818install:
    19         @mkdir -pv $(DESTDIR)/lib/udev/rules.d \
     19        @mkdir -pv $(DESTDIR)/usr/lib/udev/rules.d \
    2020              $(DESTDIR)/etc/udev/rules.d \
    2121              $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
     
    2323   # Copy rules
    2424        @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/udev
     25        @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
    2828
    2929   # Copy documentation
  • udev-lfs/README

    rd58da4b r2df066c9  
    1515contrib              - Useful rules from debian
    1616contrib/debian
    17 contrib/debian/83-cdrom-symlinks.rules
    1817contrib/debian/write_cd_aliases
    19 contrib/debian/81-cdrom.rules
    2018
    211955-lfs.rules         - LFS custom rules
Note: See TracChangeset for help on using the changeset viewer.