Changeset 73d91ac


Ignore:
Timestamp:
12/05/2023 05:12:55 AM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
00de269
Parents:
6b6a1b9 (diff), dc8572f (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/arm64

Files:
1 added
54 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

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

    r6b6a1b9 r73d91ac  
    5858         /bin/bash obfuscate.sh $$filename;           \
    5959         sed -e "s@text/html@application/xhtml+xml@g" \
    60              -e "s/\xa9/\&copy;/ "                    \
    6160             -i $$filename;                           \
    6261   done;
     
    210209all: book nochunks pdf dump-commands
    211210
    212 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version
    213 
     211dist:
     212        $(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV)
     213        $(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz
     214        $(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \
     215                $(shell git ls-tree HEAD . --name-only) version.ent \
     216                -C /tmp LFS-RELEASE \
     217                --transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/,"
     218        $(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz"
     219
     220.PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version dist
     221
  • appendices/dependencies.xml

    r6b6a1b9 r73d91ac  
    77  <!ENTITY systemd-udev "<phrase revision='systemd'>Systemd</phrase>
    88                         <phrase revision='sysv'>Udev</phrase>">
     9  <!ENTITY bdb "<ulink url='https://www.oracle.com/database/technologies/related/berkeleydb.html'>Berkeley DB</ulink>">
    910]>
    1011
     
    3031  the test suites. The fourth list of dependencies are packages that require
    3132  this package to be built and installed in its final location before they are
    32   built and installed. In most cases, this is because these packages will hard
    33   code paths to binaries within their scripts. If not built in a certain order,
    34   this could result in paths of /tools/bin/[binary] being placed inside scripts
    35   installed to the final system. This is obviously not desirable.</para>
     33  built and installed.</para>
    3634
    3735  <para>The last list of dependencies are optional packages that are not
     
    295293        <segtitle>&runtime;</segtitle>
    296294        <seglistitem>
    297           <seg>Glibc and Zlib</seg>
     295          <seg>Glibc, Zlib, and Zstd</seg>
    298296        </seglistitem>
    299297      </segmentedlist>
     
    14871485        <seglistitem>
    14881486          <seg>
    1489             <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>,
     1487            &bdb;,
    14901488            <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>,
    14911489            <ulink url="&github;/libbpf/libbpf">libbpf</ulink>,
     
    14971495
    14981496<!-- Begin Jinja2 dependency info -->
    1499   <bridgehead revision='systemd' renderas="sect2" id="jinja2-dep">Jinja2</bridgehead>
    1500 
    1501       <segmentedlist id="jinja2-depends" revision='systemd'>
    1502         <segtitle>&dependencies;</segtitle>
     1497  <bridgehead renderas="sect2" id="jinja2-dep">Jinja2</bridgehead>
     1498
     1499      <segmentedlist id="jinja2-depends">
     1500        <segtitle>&dependencies;</segtitle>
     1501        <seglistitem>
     1502          <seg>MarkupSafe, Python, Setuptools, and Wheel</seg>
     1503        </seglistitem>
     1504      </segmentedlist>
     1505
     1506      <segmentedlist id="jinja2-rundeps">
     1507        <segtitle>&runtime;</segtitle>
    15031508        <seglistitem>
    15041509          <seg>MarkupSafe and Python</seg>
     
    15061511      </segmentedlist>
    15071512
    1508       <segmentedlist id="jinja2-rundeps" revision='systemd'>
    1509         <segtitle>&runtime;</segtitle>
    1510         <seglistitem>
    1511           <seg>MarkupSafe and Python</seg>
    1512         </seglistitem>
    1513       </segmentedlist>
    1514 
    1515       <segmentedlist id="jinja2-testdeps" revision='systemd'>
     1513      <segmentedlist id="jinja2-testdeps">
    15161514        <segtitle>&testsuites;</segtitle>
    15171515        <seglistitem>
     
    15201518      </segmentedlist>
    15211519
    1522       <segmentedlist id="jinja2-before" revision='systemd'>
     1520      <segmentedlist id="jinja2-before">
    15231521        <segtitle>&before;</segtitle>
    15241522        <seglistitem>
     
    15271525      </segmentedlist>
    15281526
    1529       <segmentedlist id="jinja2-optdeps" revision='systemd'>
     1527      <segmentedlist id="jinja2-optdeps">
    15301528        <segtitle>&external;</segtitle>
    15311529        <seglistitem>
     
    21372135
    21382136<!-- Begin MarkupSafe dependency info -->
    2139   <bridgehead renderas="sect2" id="markupsafe-dep" revision='systemd'>MarkupSafe</bridgehead>
    2140 
    2141       <segmentedlist id="markupsafe-depends" revision='systemd'>
    2142         <segtitle>&dependencies;</segtitle>
     2137  <bridgehead renderas="sect2" id="markupsafe-dep">MarkupSafe</bridgehead>
     2138
     2139      <segmentedlist id="markupsafe-depends">
     2140        <segtitle>&dependencies;</segtitle>
     2141        <seglistitem>
     2142          <seg>Python, Setuptools, and Wheel</seg>
     2143        </seglistitem>
     2144      </segmentedlist>
     2145
     2146      <segmentedlist id="markupsafe-rundeps">
     2147        <segtitle>&runtime;</segtitle>
    21432148        <seglistitem>
    21442149          <seg>Python</seg>
     
    21462151      </segmentedlist>
    21472152
    2148       <segmentedlist id="markupsafe-rundeps" revision='systemd'>
    2149         <segtitle>&runtime;</segtitle>
    2150         <seglistitem>
    2151           <seg>Python</seg>
    2152         </seglistitem>
    2153       </segmentedlist>
    2154 
    2155       <segmentedlist id="markupsafe-testdeps" revision='systemd'>
     2153      <segmentedlist id="markupsafe-testdeps">
    21562154        <segtitle>&testsuites;</segtitle>
    21572155        <seglistitem>
     
    21602158      </segmentedlist>
    21612159
    2162       <segmentedlist id="markupsafe-before" revision='systemd'>
     2160      <segmentedlist id="markupsafe-before">
    21632161        <segtitle>&before;</segtitle>
    21642162        <seglistitem>
     
    21672165      </segmentedlist>
    21682166
    2169       <segmentedlist id="markupsafe-optdeps" revision='systemd'>
     2167      <segmentedlist id="markupsafe-optdeps">
    21702168        <segtitle>&external;</segtitle>
    21712169        <seglistitem>
     
    21802178        <segtitle>&dependencies;</segtitle>
    21812179        <seglistitem>
    2182           <seg>Ninja and Python</seg>
     2180          <seg>Ninja, Python, Setuptools, and Wheel</seg>
    21832181        </seglistitem>
    21842182      </segmentedlist>
     
    24872485        <seglistitem>
    24882486          <seg>
    2489             <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>
     2487            &bdb;
    24902488          </seg>
    24912489        </seglistitem>
     
    26562654        <seglistitem>
    26572655          <seg>
    2658             <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>,
     2656            &bdb;,
    26592657            <ulink url="&blfs-book;basicnet/libnsl.html">libnsl</ulink>,
    26602658            <ulink url="&blfs-book;server/sqlite.html">SQLite</ulink>, and
     
    27362734
    27372735      <segmentedlist id="sed-optdeps">
     2736        <segtitle>&external;</segtitle>
     2737        <seglistitem>
     2738          <seg>None</seg>
     2739        </seglistitem>
     2740      </segmentedlist>
     2741
     2742<!-- Begin Setuptools dependency info -->
     2743  <bridgehead renderas="sect2" id="setuptools-dep">Setuptools</bridgehead>
     2744
     2745      <segmentedlist id="setuptools-depends">
     2746        <segtitle>&dependencies;</segtitle>
     2747        <seglistitem>
     2748          <seg>Python and Wheel</seg>
     2749        </seglistitem>
     2750      </segmentedlist>
     2751
     2752      <segmentedlist id="setuptools-rundeps">
     2753        <segtitle>&runtime;</segtitle>
     2754        <seglistitem>
     2755          <seg>Python</seg>
     2756        </seglistitem>
     2757      </segmentedlist>
     2758
     2759      <segmentedlist id="setuptools-testdeps">
     2760        <segtitle>&testsuites;</segtitle>
     2761        <seglistitem>
     2762          <seg>No test suite available</seg>
     2763        </seglistitem>
     2764      </segmentedlist>
     2765
     2766      <segmentedlist id="setuptools-before">
     2767        <segtitle>&before;</segtitle>
     2768        <seglistitem>
     2769          <seg>Jinja2, MarkupSafe, and Meson</seg>
     2770        </seglistitem>
     2771      </segmentedlist>
     2772
     2773      <segmentedlist id="setuptools-optdeps">
    27382774        <segtitle>&external;</segtitle>
    27392775        <seglistitem>
     
    32173253
    32183254<!-- Begin Wheel dependency info -->
    3219   <bridgehead renderas="sect2" id="wheel-dep">wheel</bridgehead>
     3255  <bridgehead renderas="sect2" id="wheel-dep">Wheel</bridgehead>
    32203256
    32213257      <segmentedlist id="wheel-depends">
     
    32443280        <seglistitem>
    32453281          <seg>
    3246             <phrase revision='sysv'>None</phrase>
    3247             <phrase revision='systemd'>Jinja2</phrase>
     3282            Jinja2, MarkupSafe, Meson, and Setuptools
    32483283          </seg>
    32493284        </seglistitem>
  • bootscripts/ChangeLog

    r6b6a1b9 r73d91ac  
     12023-10-04 Pierre Labastie <pierre.labastie@neuf.fr>
     2   * After the changes done on 2022-03-24, several "halt stop" should
     3     have been changed to "halt start". Done now. Fortunately, those
     4     occur only when something wrong happens with disks or devices.
     5
    162023-07-28 Xi Ruoyao <xry111@xry111.site>
    27   * In mountvirtfs, mount /sys/fs/cgroup for udev from systemd-254.
     
    2530     - S scripts only started if not already marked S in the previous runlevel
    2631     - K scripts only started if not already marked K in the previous runlevel
    27      - remove the convention of running S scripts ith "stop" in rl 0/6
     32     - remove the convention of running S scripts with "stop" in rl 0/6
    28332021-06-08 Bruce Dubbs <bdubbs@linuxfromscratch.org>
    2934   * When shutting down the network, ignore invalid interfaces
  • bootscripts/lfs/init.d/checkfs

    r6b6a1b9 r73d91ac  
    6464         log_info_msg "Press Enter to continue..."
    6565         wait_for_user
    66          /etc/rc.d/init.d/halt stop
     66         /etc/rc.d/init.d/halt start
    6767      else
    6868         log_success_msg2
     
    128128         log_info_msg "Press Enter to continue..."
    129129         wait_for_user
    130          /etc/rc.d/init.d/halt stop
     130         /etc/rc.d/init.d/halt start
    131131      fi
    132132
  • bootscripts/lfs/init.d/udev

    r6b6a1b9 r73d91ac  
    4242         log_info_msg "Press Enter to continue..."
    4343         wait_for_user
    44          /etc/rc.d/init.d/halt stop
     44         /etc/rc.d/init.d/halt start
    4545      fi
    4646
  • chapter01/changelog.xml

    r6b6a1b9 r73d91ac  
    4242
    4343    <listitem>
     44      <para>2023-12-04</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[thomas] - Modify commands for install Python docs to avoid
     48          too restrictive permissions on the files and dirs.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem revision='sysv'>
     54      <para>2023-12-01</para>
     55      <itemizedlist>
     56        <listitem>
     57          <para>[xry111] - Restore NIC naming based on physical system
     58          characteristics.  Fixes
     59          <ulink url='&lfs-ticket-root;5386'>#5386</ulink>.</para>
     60        </listitem>
     61      </itemizedlist>
     62    </listitem>
     63
     64    <listitem>
     65      <para>2023-11-30</para>
     66      <itemizedlist>
     67        <listitem>
     68           <para>[bdubbs] - Update to vim-9.0.2136. Addresses
     69           <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     70        </listitem>
     71        <listitem>
     72          <para>[bdubbs] - Update to iana-etc-20231117. Addresses
     73          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     74        </listitem>
     75        <listitem>
     76          <para>[bdubbs] - Update to bc-6.7.3.  Fixes
     77          <ulink url='&lfs-ticket-root;5385'>#5385</ulink>.</para>
     78        </listitem>
     79        <listitem>
     80          <para>[bdubbs] - Update to wheel-0.42.0 (Python Module).  Fixes
     81          <ulink url='&lfs-ticket-root;5384'>#5384</ulink>.</para>
     82        </listitem>
     83        <listitem>
     84          <para>[bdubbs] - Update to perl-5.38.2.  Fixes
     85          <ulink url='&lfs-ticket-root;5383'>#5383</ulink>.</para>
     86        </listitem>
     87        <listitem>
     88          <para>[bdubbs] - Update to pkgconf-2.1.0.  Fixes
     89          <ulink url='&lfs-ticket-root;5382'>#5382</ulink>.</para>
     90        </listitem>
     91        <listitem>
     92          <para>[bdubbs] - Update to readline patches 002 through 007.  Fixes
     93          <ulink url='&lfs-ticket-root;5381'>#5381</ulink>.</para>
     94        </listitem>
     95        <listitem>
     96          <para>[bdubbs] - Update to openssl-3.2.0.  Fixes
     97          <ulink url='&lfs-ticket-root;5380'>#5380</ulink>.</para>
     98        </listitem>
     99        <listitem>
     100          <para>[bdubbs] - Update to setuptools-69.0.2.  Fixes
     101          <ulink url='&lfs-ticket-root;5379'>#5379</ulink>.</para>
     102        </listitem>
     103        <listitem>
     104          <para>[bdubbs] - Update to linux-6.6.3.  Fixes
     105          <ulink url='&lfs-ticket-root;5378'>#5378</ulink>.</para>
     106        </listitem>
     107        <listitem>
     108          <para>[bdubbs] - Update to meson-1.3.0.  Fixes
     109          <ulink url='&lfs-ticket-root;5377'>#5377</ulink>.</para>
     110        </listitem>
     111        <listitem>
     112          <para>[bdubbs] - Update to gettext-0.22.4.  Fixes
     113          <ulink url='&lfs-ticket-root;5376'>#5376</ulink>.</para>
     114        </listitem>
     115      </itemizedlist>
     116    </listitem>
     117
     118    <listitem>
     119      <para>2023-11-13</para>
     120      <itemizedlist>
     121        <listitem>
     122          <para>[xry111] - Update to elfutils-0.190.  Fixes
     123          <ulink url='&lfs-ticket-root;5373'>#5373</ulink>.</para>
     124        </listitem>
     125        <listitem>
     126          <para>[xry111] - Update to vim-9.0.2103.  Addresses
     127           <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     128        </listitem>
     129        <listitem>
     130          <para>[xry111] - Update to linux-6.6.1.  Fixes
     131          <ulink url='&lfs-ticket-root;5369'>#5369</ulink>.</para>
     132        </listitem>
     133        <listitem>
     134          <para>[xry111] - Update to xz-5.4.5.  Fixes
     135          <ulink url='&lfs-ticket-root;5371'>#5371</ulink>.</para>
     136        </listitem>
     137        <listitem>
     138          <para>[xry111] - Update to iana-etc-20231107.  Addresses
     139          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     140        </listitem>
     141        <listitem>
     142          <para>[xry111] - Update to gawk-5.3.0.  Fixes
     143          <ulink url='&lfs-ticket-root;5372'>#5372</ulink>.</para>
     144        </listitem>
     145        <listitem>
     146          <para>[xry111] - Update to bash-5.2.21.  Fixes
     147          <ulink url='&lfs-ticket-root;5375'>#5375</ulink>.</para>
     148        </listitem>
     149        <listitem>
     150          <para>[xry111] - Update to iproute2-6.6.0.  Fixes
     151          <ulink url='&lfs-ticket-root;5374'>#5374</ulink>.</para>
     152        </listitem>
     153      </itemizedlist>
     154    </listitem>
     155
     156    <listitem>
     157      <para>2023-11-01</para>
     158      <itemizedlist>
     159        <listitem>
     160           <para>[bdubbs] - Update to iana-etc-20231019. Addresses
     161           <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     162        </listitem>
     163        <listitem>
     164           <para>[bdubbs] - Update to wheel-0.41.3. Fixes
     165           <ulink url='&lfs-ticket-root;5370'>#5370</ulink>.</para>
     166        </listitem>
     167        <listitem>
     168           <para>[bdubbs] - Update to shadow-4.14.2. Fixes
     169           <ulink url='&lfs-ticket-root;5368'>#5368</ulink>.</para>
     170        </listitem>
     171        <listitem>
     172           <para>[bdubbs] - Update to openssl-3.1.4. Fixes
     173           <ulink url='&lfs-ticket-root;5367'>#5367</ulink>.</para>
     174        </listitem>
     175        <listitem>
     176           <para>[bdubbs] - Update to texinfo-7.1. Fixes
     177           <ulink url='&lfs-ticket-root;5364'>#5364</ulink>.</para>
     178        </listitem>
     179        <listitem>
     180           <para>[bdubbs] - Update to meson-1.2.3. Fixes
     181           <ulink url='&lfs-ticket-root;5366'>#5366</ulink>.</para>
     182        </listitem>
     183        <listitem>
     184           <para>[bdubbs] - Update to bc-6.7.2. Fixes
     185           <ulink url='&lfs-ticket-root;5363'>#5363</ulink>.</para>
     186        </listitem>
     187        <listitem>
     188           <para>[bdubbs] - Update to linux-6.5.9. Fixes
     189           <ulink url='&lfs-ticket-root;5365'>#5365</ulink>.</para>
     190        </listitem>
     191        <listitem>
     192           <para>[bdubbs] - Update to Python-3.12.0. Fixes
     193           <ulink url='&lfs-ticket-root;5357'>#5357</ulink>.</para>
     194        </listitem>
     195        <listitem>
     196           <para>[bdubbs] - Add setuptools-68.2.2. Fixes
     197           <ulink url='&lfs-ticket-root;5358'>#5358</ulink>.</para>
     198        </listitem>
     199      </itemizedlist>
     200    </listitem>
     201
     202    <listitem>
     203      <para>2023-10-15</para>
     204      <itemizedlist>
     205        <listitem>
     206           <para>[bdubbs] - Update to linux-6.5.7. Fixes
     207           <ulink url='&lfs-ticket-root;5362'>#5362</ulink>.</para>
     208        </listitem>
     209        <listitem>
     210           <para>[bdubbs] - Update to shadow-4.14.1. Fixes
     211           <ulink url='&lfs-ticket-root;5361'>#5361</ulink>.</para>
     212        </listitem>
     213        <listitem>
     214           <para>[bdubbs] - Update to gettext-0.22.3. Fixes
     215           <ulink url='&lfs-ticket-root;5359'>#5359</ulink>.</para>
     216        </listitem>
     217      </itemizedlist>
     218    </listitem>
     219
     220    <listitem>
     221      <para>2023-10-03</para>
     222      <itemizedlist>
     223        <listitem>
     224          <para>[xry111] - Update Glibc upstream fixes patch to fix
     225          CVE-2023-4911.</para>
     226        </listitem>
     227      </itemizedlist>
     228    </listitem>
     229
     230    <listitem>
     231      <para>2023-10-01</para>
     232      <itemizedlist>
     233        <listitem>
     234           <para>[bdubbs] - Disable building nscd in glibc. Fixes
     235           <ulink url='&lfs-ticket-root;5349'>#5349</ulink>.</para>
     236        </listitem>
     237        <listitem>
     238           <para>[bdubbs] - Update to iana-etc-20230929. Addresses
     239           <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     240        </listitem>
     241        <listitem>
     242           <para>[bdubbs] - Update to vim-9.0.1968. Addresses
     243           <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     244        </listitem>
     245        <listitem>
     246           <para>[bdubbs] - Update to openssl-3.1.3. Fixes
     247           <ulink url='&lfs-ticket-root;5350'>#5350</ulink>.</para>
     248        </listitem>
     249        <listitem>
     250           <para>[bdubbs] - Update to meson-1.2.2. Fixes
     251           <ulink url='&lfs-ticket-root;5356'>#5356</ulink>.</para>
     252        </listitem>
     253        <listitem>
     254           <para>[bdubbs] - Update to man-db-2.12.0. Fixes
     255           <ulink url='&lfs-ticket-root;5354'>#5354</ulink>.</para>
     256        </listitem>
     257        <listitem>
     258           <para>[bdubbs] - Update to linux-6.5.5. Fixes
     259           <ulink url='&lfs-ticket-root;5352'>#5352</ulink>.</para>
     260        </listitem>
     261        <listitem>
     262           <para>[bdubbs] - Update to kmod-31. Fixes
     263           <ulink url='&lfs-ticket-root;5355'>#5355</ulink>.</para>
     264        </listitem>
     265        <listitem>
     266           <para>[bdubbs] - Update to kbd-2.6.3. Fixes
     267           <ulink url='&lfs-ticket-root;5351'>#5361</ulink>.</para>
     268        </listitem>
     269        <listitem>
     270           <para>[bdubbs] - Update to gettext-0.22.2. Fixes
     271           <ulink url='&lfs-ticket-root;5348'>#5348</ulink>.</para>
     272        </listitem>
     273        <listitem>
     274           <para>[bdubbs] - Update to bc-6.7.0. Fixes
     275           <ulink url='&lfs-ticket-root;5353'>#5353</ulink>.</para>
     276        </listitem>
     277      </itemizedlist>
     278    </listitem>
     279
     280    <listitem>
     281      <para>2023-09-24</para>
     282      <itemizedlist>
     283        <listitem>
     284          <para>[xry111] - Update Glibc upstream fixes patch to plug a
     285          memory leak introduced by the security fix.</para>
     286        </listitem>
     287      </itemizedlist>
     288    </listitem>
     289
     290    <listitem>
     291      <para>2023-09-17</para>
     292      <itemizedlist>
     293        <listitem>
     294          <para>[xry111] - Update to linux-6.5.3.  Fixes
     295          <ulink url='&lfs-ticket-root;5343'>#5343</ulink>.</para>
     296        </listitem>
     297        <listitem>
     298          <para>[xry111] - Update to iana-etc-20230912.  Addresses
     299          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     300        </listitem>
     301        <listitem>
     302          <para>[xry111] - Update to iproute2-6.5.0.  Fixes
     303          <ulink url='&lfs-ticket-root;5342'>#5342</ulink>.</para>
     304        </listitem>
     305      </itemizedlist>
     306    </listitem>
     307
     308    <listitem>
     309      <para>2023-09-13</para>
     310      <itemizedlist>
     311        <listitem>
     312          <para>[xry111] - Fix CVE-2023-4806 for Glibc-2.38.  Fixes
     313          <ulink url='&lfs-ticket-root;5347'>#5347</ulink>.</para>
     314        </listitem>
     315      </itemizedlist>
     316    </listitem>
     317
     318    <listitem>
     319      <para>2023-09-12</para>
     320      <itemizedlist>
     321        <listitem>
     322          <para>[xry111] - Fix CVE-2023-4527 for Glibc-2.38.  Fixes
     323          <ulink url='&lfs-ticket-root;5346'>#5346</ulink>.</para>
     324        </listitem>
     325      </itemizedlist>
     326    </listitem>
     327
     328    <listitem>
     329      <para>2023-09-07</para>
     330      <itemizedlist>
     331        <listitem>
     332          <para>[xry111] - Fix an issue in pkgconf-2.0.3 causing
     333          BLFS packages fail to build.  Fixes
     334          <ulink url='&lfs-ticket-root;5341'>#5341</ulink>.</para>
     335        </listitem>
     336      </itemizedlist>
     337    </listitem>
     338
     339    <listitem>
    44340      <para>2023-09-05</para>
    45341      <itemizedlist>
    46342        <listitem>
    47343           <para>[xry111] - Move pkgconf before binutils for binutils
    48            building system to detect zstd properly.
     344           building system to detect zstd properly.  Fixes
    49345           <ulink url='&lfs-ticket-root;5340'>#5340</ulink>.</para>
    50346        </listitem>
  • chapter01/whatsnew.xml

    r6b6a1b9 r73d91ac  
    3939      <para>Automake-&automake-version;</para>
    4040    </listitem>-->
    41     <!--<listitem>
    42       <para>Bash &bash-version;</para>
    43     </listitem>-->
    44     <!--<listitem>
    45       <para>Bc &bc-version;</para>
    46     </listitem>-->
     41    <listitem>
     42      <para>Bash-&bash-version;</para>
     43    </listitem>
     44    <listitem>
     45      <para>Bc-&bc-version;</para>
     46    </listitem>
    4747    <!--<listitem>
    4848      <para>Binutils-&binutils-version;</para>
     
    6363      <para>DejaGNU-&dejagnu-version;</para>
    6464    </listitem>-->
    65     <!--<listitem revision="systemd">
     65    <listitem revision="systemd">
    6666      <para>D-Bus-&dbus-version;</para>
    67     </listitem>-->
     67    </listitem>
    6868    <!--<listitem>
    6969      <para>Diffutils-&diffutils-version;</para>
     
    7272       <para>E2fsprogs-&e2fsprogs-version;</para>
    7373    </listitem>-->
    74     <!--<listitem revision="sysv">
    75        <para>Udev-&systemd-version; (from systemd)</para>
    76     </listitem>-->
    7774    <!--<listitem>
    7875       <para>Expat-&expat-version;</para>
     
    9390      <para>Flit-core-&flit-core-version;</para>
    9491    </listitem>-->
    95     <!--<listitem>
     92    <listitem>
    9693      <para>Gawk-&gawk-version;</para>
    97     </listitem>-->
     94    </listitem>
    9895    <!--<listitem>
    9996       <para>GCC-&gcc-version;</para>
     
    10299       <para>GDBM-&gdbm-version;</para>
    103100    </listitem>-->
    104     <!--<listitem>
     101    <listitem>
    105102      <para>Gettext-&gettext-version;</para>
    106     </listitem>-->
     103    </listitem>
    107104    <!--<listitem>
    108105      <para>Glibc-&glibc-version;</para>
     
    126123      <para>Gzip-&gzip-version;</para>
    127124    </listitem>
    128     <!--<listitem>
    129       <para>IANA-Etc-&iana-etc-version;</para>
    130     </listitem>-->
     125    <listitem>
     126      <para>Iana-Etc-&iana-etc-version;</para>
     127    </listitem>
    131128    <!--<listitem>
    132129      <para>Inetutils-&inetutils-version;</para>
     
    135132      <para>Intltool-&intltool-version;</para>
    136133    </listitem>-->
    137     <!--<listitem>
     134    <listitem>
    138135      <para>IPRoute2-&iproute2-version;</para>
    139     </listitem>-->
     136    </listitem>
    140137    <!--<listitem revision="systemd">
    141138      <para>Jinja2-&jinja2-version;</para>
     
    144141      <para>Kbd-&kbd-version;</para>
    145142    </listitem>
    146     <!--<listitem>
     143    <listitem>
    147144      <para>Kmod-&kmod-version;</para>
    148     </listitem>-->
     145    </listitem>
    149146    <!--<listitem>
    150147      <para>Less-&less-version;</para>
     
    156153      <para>Libcap-&libcap-version;</para>
    157154    </listitem>-->
    158     <!--<listitem>
    159       <para>Libelf-&elfutils-version; (from elfutils)</para>
    160     </listitem>-->
     155    <listitem>
     156      <para>Libelf from Elfutils-&elfutils-version;</para>
     157    </listitem>
    161158    <!--<listitem>
    162159      <para>Libffi-&libffi-version;</para>
     
    168165      <para>Libtool-&libtool-version;</para>
    169166    </listitem>-->
    170     <!--<listitem>
     167    <listitem>
    171168      <para>Linux-&linux-version;</para>
    172     </listitem>-->
     169    </listitem>
    173170    <!--<listitem>
    174171      <para>M4-&m4-version;</para>
     
    177174      <para>Make-&make-version;</para>
    178175    </listitem>-->
    179     <!--<listitem>
     176    <listitem>
    180177      <para>Man-DB-&man-db-version;</para>
    181     </listitem>-->
     178    </listitem>
    182179    <!--<listitem>
    183180      <para>Man-pages-&man-pages-version;</para>
     
    186183      <para>MarkupSafe-&markupsafe-version;</para>
    187184    </listitem>-->
    188     <!--<listitem>
     185    <listitem>
    189186      <para>Meson-&meson-version;</para>
    190     </listitem>-->
     187    </listitem>
    191188    <!--<listitem>
    192189      <para>MPC-&mpc-version;</para>
     
    201198      <para>Ninja-&ninja-version;</para>
    202199    </listitem>-->
    203     <!--<listitem>
    204       <para>Openssl-&openssl-version;</para>
    205     </listitem>-->
     200    <listitem>
     201      <para>OpenSSL-&openssl-version;</para>
     202    </listitem>
    206203    <!--<listitem>
    207204      <para>Patch-&patch-version;</para>
    208205    </listitem>-->
    209206    <listitem>
     207      <para>Perl-&perl-version;</para>
     208    </listitem>
     209    <listitem>
    210210      <para>Pkgconf-&pkgconf-version;</para>
    211211    </listitem>
    212     <!--<listitem>
    213       <para>Perl-&perl-version;</para>
    214     </listitem>-->
    215212    <listitem>
    216213      <para>Procps-ng-&procps-ng-version;</para>
     
    227224    <!--<listitem>
    228225      <para>Sed-&sed-version;</para>
     226    </listitem>-->
     227    <!--<listitem>  After version 12.1 release - see Added
     228      <para>Setuptools-&setuptools-version;</para>
    229229    </listitem>-->
    230230    <listitem>
     
    246246      <para>Tcl-&tcl-version;</para>
    247247    </listitem>-->
    248     <!--<listitem>
     248    <listitem>
    249249      <para>Texinfo-&texinfo-version;</para>
    250     </listitem>-->
     250    </listitem>
    251251    <!--<listitem>
    252252      <para>Tzdata-&tzdata-version;</para>
    253253    </listitem>-->
    254     <listitem>
    255       <para>Util-Linux-&util-linux-version;</para>
     254    <!--<listitem revision="sysv">
     255      <para>Udev from Systemd-&systemd-version;</para>
     256    </listitem>-->
     257    <listitem>
     258      <para>Util-linux-&util-linux-version;</para>
    256259    </listitem>
    257260    <listitem>
     
    259262    </listitem>
    260263    <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-Utils-&xz-version;</para>
    268     </listitem>-->
     264      <para>Wheel-&wheel-version;</para>
     265    </listitem>
     266    <!--<listitem>
     267      <para>XML::Parser-&xml-parser-version;</para>
     268    </listitem>-->
     269    <listitem>
     270      <para>Xz-&xz-version;</para>
     271    </listitem>
    269272    <listitem>
    270273      <para>Zlib-&zlib-version;</para>
     
    288291    <listitem><para></para></listitem>  <!-- satisfy build -->
    289292
    290     <!--<listitem>
    291       <para>&grub-upstream-fixes-patch;</para>
    292     </listitem>-->
    293 
    294     <!--<listitem>
     293    <listitem>
     294      <para>setuptools-&setuptools-version;</para>
     295    </listitem>
     296
     297    <listitem>
     298      <para>&glibc-upstream-fixes-patch;</para>
     299    </listitem>
     300
     301    <listitem>
    295302      <para>&readline-fixes-patch;</para>
    296     </listitem>-->
    297 
    298     <!--<listitem revision="systemd">
    299       <para>&systemd-upstream-patch;</para>
    300     </listitem>-->
     303    </listitem>
     304
    301305  </itemizedlist>
    302306
     
    304308    <title>Removed:</title>
    305309    <listitem><para></para></listitem>  <!-- satisfy build -->
    306 <!--
    307     <listitem revision='sysv'>
    308       <para>eudev-3.2.12</para>
    309     </listitem>
    310 
    311     <listitem>
    312       <para>Pkg-config-0.29.2</para>
    313     </listitem>
    314 
    315     <listitem revision='systemd'>
    316       <para>systemd-252-security_fix-1.patch</para>
    317     </listitem>
    318 -->
     310
     311    <listitem>
     312      <para>glibc-2.38-memalign_fix-1.patch</para>
     313    </listitem>
     314
     315    <listitem>
     316      <para>readline-8.2-upstream_fix-1.patch</para>
     317    </listitem>
     318
    319319  </itemizedlist>
    320320
  • chapter02/hostreqs.xml

    r6b6a1b9 r73d91ac  
    5555    </listitem>
    5656
    57     <listitem>
    58       <para><emphasis role="strong">Coreutils-7.0</emphasis></para>
     57    <!-- In Coreutils-8.1 the nproc program is added.  -->
     58    <listitem>
     59      <para><emphasis role="strong">Coreutils-8.1</emphasis></para>
    5960    </listitem>
    6061
     
    7374
    7475    <listitem>
    75       <para><emphasis role="strong">GCC-5.1</emphasis> including the C++
     76      <!-- Pass 1 GCC FTBFS with GCC-5.1 because of
     77           https://gcc.gnu.org/PR65801. -->
     78      <para><emphasis role="strong">GCC-5.2</emphasis> including the C++
    7679      compiler, <command>g++</command> (Versions greater than &gcc-version; are
    7780      not recommended as they have not been tested). C and C++ standard
     
    217220}
    218221
    219 # Coreutils first because-sort needs Coreutils >= 7.0
    220 ver_check Coreutils      sort     7.0 || bail "--version-sort unsupported"
     222# Coreutils first because --version-sort needs Coreutils >= 7.0
     223ver_check Coreutils      sort     8.1 || bail "Coreutils too old, stop"
    221224ver_check Bash           bash     3.2
    222225ver_check Binutils       ld       2.13.1
     
    225228ver_check Findutils      find     4.2.31
    226229ver_check Gawk           gawk     4.0.1
    227 ver_check GCC            gcc      5.1
    228 ver_check "GCC (C++)"    g++      5.1
     230ver_check GCC            gcc      5.2
     231ver_check "GCC (C++)"    g++      5.2
    229232ver_check Grep           grep     2.5.1a
    230233ver_check Gzip           gzip     1.3.12
     
    258261then echo "OK:    g++ works";
    259262else echo "ERROR: g++ does NOT work"; fi
    260 rm -f a.out</literal>
     263rm -f a.out
     264
     265if [ "$(nproc)" = "" ]; then
     266   echo "ERROR: nproc is not available or it produces empty output"
     267else
     268   echo "OK: nproc reports $(nproc) logical cores are available"
     269fi</literal>
    261270EOF
    262271
  • chapter03/packages.xml

    r6b6a1b9 r73d91ac  
    243243        <para>Download: <ulink url="&gcc-url;"/></para>
    244244        <para>MD5 sum: <literal>&gcc-md5;</literal></para>
    245         <para>SHA256 sum: <literal>&gcc-sha256;</literal></para>
    246245      </listitem>
    247246    </varlistentry>
     
    357356        <para>Download: <ulink url="&inetutils-url;"/></para>
    358357        <para>MD5 sum: <literal>&inetutils-md5;</literal></para>
    359         <para>SHA256 sum: <literal>&inetutils-sha256;</literal></para>
    360358      </listitem>
    361359    </varlistentry>
     
    668666        <para>Download: <ulink url="&sed-url;"/></para>
    669667        <para>MD5 sum: <literal>&sed-md5;</literal></para>
     668      </listitem>
     669    </varlistentry>
     670
     671    <varlistentry>
     672      <term>Setuptools (&setuptools-version;) - <token>&setuptools-size;</token>:</term>
     673      <listitem>
     674        <para>Home page: <ulink url="&setuptools-home;"/></para>
     675        <para>Download: <ulink url="&setuptools-url;"/></para>
     676        <para>MD5 sum: <literal>&setuptools-md5;</literal></para>
    670677      </listitem>
    671678    </varlistentry>
  • chapter03/patches.xml

    r6b6a1b9 r73d91ac  
    7979-->
    8080    <varlistentry>
    81       <term>Glibc Memalign Patch - <token>&glibc-memalign-patch-size;</token>:</term>
     81      <term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term>
    8282      <listitem>
    83         <para>Download: <ulink url="&patches-root;&glibc-memalign-patch;"/></para>
    84         <para>MD5 sum: <literal>&glibc-memalign-patch-md5;</literal></para>
     83        <para>Download: <ulink url="&patches-root;&glibc-upstream-fixes-patch;"/></para>
     84        <para>MD5 sum: <literal>&glibc-upstream-fixes-patch-md5;</literal></para>
    8585      </listitem>
    8686    </varlistentry>
  • chapter04/aboutsbus.xml

    r6b6a1b9 r73d91ac  
    3838
    3939  <note>
    40     <para>For many modern systems with multiple processors (or cores) the
    41     compilation time for a package can be reduced by performing a "parallel
    42     make" by either setting an environment variable or telling the
    43     <command>make</command> program how many processors are available.  For
    44     instance, an Intel i5-6500 CPU can support four simultaneous processes with:</para>
    45 
    46     <screen role="nodump"><userinput>export MAKEFLAGS='-j4'</userinput></screen>
    47 
    48     <para>or by building with:</para>
    49 
    50     <screen role="nodump"><userinput>make -j4</userinput></screen>
    51 
    5240    <para>When multiple processors are used in this way, the SBU units in the
    5341    book will vary even more than they normally would.  In some cases, the make
  • chapter04/settingenviron.xml

    r6b6a1b9 r73d91ac  
    196196  </important>
    197197
     198  <para>
     199    For many modern systems with multiple processors (or cores) the
     200    compilation time for a package can be reduced by performing a "parallel
     201    make" by telling the make program how many processors are available via
     202    a command line option or an environment variable.  For instance, an Intel
     203    Core i9-13900K processor has 8 P (performance) cores and
     204    16 E (efficiency) cores, and a P core can simultaneously run two threads
     205    so each P core are modeled as two logical cores by the Linux kernel.
     206    As the result there are 32 logical cores in total.  One obvious way to
     207    use all these logical cores is allowing <command>make</command> to spawn
     208    up to 32 build jobs.  This can be done by passing the
     209    <parameter>-j32</parameter> option to <command>make</command>:
     210  </para>
     211
     212  <screen role='nodump'><userinput>make -j32</userinput></screen>
     213
     214  <para>
     215    Or set the <envar>MAKEFLAGS</envar> environment variable and its
     216    content will be automatically used by <command>make</command> as
     217    command line options:
     218  </para>
     219
     220  <screen role='nodump'><userinput>export MAKEFLAGS=-j32</userinput></screen>
     221
     222  <important>
     223    <para>
     224      Never pass a <parameter>-j</parameter> option without a number to
     225      <command>make</command> or set such an option in
     226      <envar>MAKEFLAGS</envar>.  Doing so will allow <command>make</command>
     227      to spawn infinite build jobs and cause system stability problems.
     228    </para>
     229  </important>
     230
     231  <para>
     232    To use all logical cores available for building packages in
     233    <xref linkend='chapter-cross-tools'/> and
     234    <xref linkend='chapter-temporary-tools'/>, set <envar>MAKEFLAGS</envar>
     235    now in <filename>.bashrc</filename>:
     236  </para>
     237
     238<screen><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; "EOF"
     239<literal>export MAKEFLAGS=-j<replaceable>$(nproc)</replaceable></literal>
     240EOF</userinput></screen>
     241
     242  <para>
     243    Replace <replaceable>$(nproc)</replaceable> with the number of logical
     244    cores you want to use if you don't want to use all the logical cores.
     245  </para>
     246
    198247  <para>Finally, to ensure the environment is fully prepared for building the
    199248  temporary tools, force the <command>bash</command> shell to read
  • chapter05/glibc.xml

    r6b6a1b9 r73d91ac  
    7171      --enable-kernel=&min-kernel;               \
    7272      --with-headers=$LFS/usr/include    \
     73      --disable-nscd                     \
    7374      libc_cv_slibdir=/usr/lib</userinput></screen>
    7475
     
    109110          <para>This ensures that the library is installed in /usr/lib instead
    110111          of the default /lib64 on 64-bit machines.</para>
     112        </listitem>
     113      </varlistentry>
     114
     115      <varlistentry>
     116        <term><parameter>--disable-nscd</parameter></term>
     117        <listitem>
     118          <para>Do not build the name service cache daemon which is no
     119          longer used.</para>
    111120        </listitem>
    112121      </varlistentry>
  • chapter05/libstdc++.xml

    r6b6a1b9 r73d91ac  
    125125    cross-compilation:</para>
    126126
    127 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la</userinput></screen>
     127<screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++{,exp,fs},supc++}.la</userinput></screen>
    128128
    129129  </sect2>
  • chapter06/binutils-pass2.xml

    r6b6a1b9 r73d91ac  
    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>
  • chapter06/coreutils.xml

    r6b6a1b9 r73d91ac  
    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>
     
    6864      </varlistentry>
    6965
    70       <varlistentry>
    71         <term><envar>gl_cv_macro_MB_CUR_MAX_good=y</envar></term>
    72         <listitem>
    73           <para>This is needed to work around an issue in the gnulib copy
    74           shipped by the package which would break cross compilation.</para>
    75         </listitem>
    76       </varlistentry>
    7766    </variablelist>
    7867
  • chapter06/ncurses.xml

    r6b6a1b9 r73d91ac  
    7979        <term><parameter>--with-manpage-format=normal</parameter></term>
    8080        <listitem>
    81           <para>This prevents Ncurses installing compressed manual
     81          <para>This prevents Ncurses from installing compressed manual
    8282          pages, which may happen if the host distribution itself
    8383          has compressed manual pages.</para>
     
    9595        <term><parameter>--without-normal</parameter></term>
    9696        <listitem>
    97           <para>This prevents Ncurses building and installing static C
     97          <para>This prevents Ncurses from building and installing static C
    9898          libraries.</para>
    9999        </listitem>
     
    103103        <term><parameter>--without-debug</parameter></term>
    104104        <listitem>
    105           <para>This prevents Ncurses building and installing debug
     105          <para>This prevents Ncurses from building and installing debug
    106106          libraries.</para>
    107107        </listitem>
  • chapter07/chroot.xml

    r6b6a1b9 r73d91ac  
    2424    PS1='(lfs chroot) \u:\w\$ ' \
    2525    PATH=/usr/bin:/usr/sbin     \
     26    MAKEFLAGS="-j<replaceable>$(nproc)</replaceable>"      \
     27    TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \
    2628    /bin/bash --login</userinput></screen>
     29
     30  <para>
     31    If you don't want to use all available logical cores, replace
     32    <replaceable>$(nproc)</replaceable> with the number of logical cores you
     33    want to use for building packages in this chapter and the following
     34    chapters.  The test suites of some packages (notably Autoconf, Libtool,
     35    and Tar) in &ch-final; are not affected by <envar>MAKEFLAGS</envar>, they
     36    use a <envar>TESTSUITEFLAGS</envar> environment variable instead. We
     37    set that here as well for running these test suites with multiple cores.
     38  </para>
    2739
    2840  <para>The <parameter>-i</parameter> option given to the <command>env</command>
     
    4860  used.</para>
    4961
    50   <para>Note that the <command>bash</command> prompt will say
     62  <para>Also note that the <command>bash</command> prompt will say
    5163  <computeroutput>I have no name!</computeroutput> This is normal because the
    5264  <filename>/etc/passwd</filename> file has not been created yet.</para>
  • chapter07/createfiles.xml

    r6b6a1b9 r73d91ac  
    216216  the bad login attempts.</para>
    217217
    218   <note><para>The <filename>/run/utmp</filename> file records the users that
    219   are currently logged in.  This file is created dynamically in the boot
    220   scripts.</para></note>
     218  <!-- systemd no longer creates this -->
     219  <note revision='sysv'><para>The <filename>/run/utmp</filename> file
     220  records the users that are currently logged in.  This file is created
     221  dynamically in the boot scripts.</para></note>
     222
     223  <!-- AFAIK they are not vital for system function, users requiring such
     224       info should rely on systemd-logind or elogind or some custom PAM
     225       module.  Maybe we can stop to create them at all.  -->
     226  <note>
     227    <para>
     228      The <phrase revision='sysv'><filename>utmp</filename>,
     229      </phrase><filename>wtmp</filename>, <filename>btmp</filename>, and
     230      <filename>lastlog</filename> files use 32-bit integers for timestamps
     231      and they'll be fundamentally broken after year 2038.  Many packages
     232      have stopped using them and other packages are going to stop using
     233      them.  It is probably best to consider them deprecated.
     234    </para>
     235  </note>
    221236
    222237</sect1>
  • chapter07/kernfs.xml

    r6b6a1b9 r73d91ac  
    108108
    109109<screen><userinput>if [ -h $LFS/dev/shm ]; then
    110   mkdir -pv $LFS/$(readlink $LFS/dev/shm)
     110  (cd $LFS/dev; mkdir $(readlink shm))
    111111else
    112   mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
     112  mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
    113113fi</userinput></screen>
    114114
  • chapter07/perl.xml

    r6b6a1b9 r73d91ac  
    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/automake.xml

    r6b6a1b9 r73d91ac  
    5454<screen><userinput remap="make">make</userinput></screen>
    5555
    56     <para> Using the -j4 make option speeds up the tests, even on systems with
    57     only one processor, due to internal delays in individual tests.  To test
     56    <para>Using four parallel jobs speeds up the tests, even on systems with
     57    less logical cores, due to internal delays in individual tests.  To test
    5858    the results, issue:</para>
    5959
    60 <screen><userinput remap="test">make -j4 check</userinput></screen>
     60<screen><userinput remap="test">make <replaceable>-j$(($(nproc)&gt;4?$(nproc):4))</replaceable> check</userinput></screen>
     61
     62    <para>Replace <replaceable>$((...))</replaceable> with the number of
     63    logical cores you want to use if you don't want to use all.</para>
    6164
    6265    <para>The test t/subobj.sh is known to fail.</para>
  • chapter08/chapter08.xml

    r6b6a1b9 r73d91ac  
    6666  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flit-core.xml"/>
    6767  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/>
     68  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="setuptools.xml"/>
    6869  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/>
    6970  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/>
  • chapter08/dbus.xml

    r6b6a1b9 r73d91ac  
    5757            --disable-doxygen-docs               \
    5858            --disable-xml-docs                   \
    59             --docdir=/usr/share/doc/dbus-&dbus-version;  \
     59            --docdir=/usr/share/doc/dbus-&dbus-version; \
    6060            --with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
    6161
  • chapter08/gawk.xml

    r6b6a1b9 r73d91ac  
    6060    <para>Install the package:</para>
    6161
    62 <screen><userinput remap="install">make LN='ln -f' install</userinput></screen>
     62<screen><userinput remap="install">rm -f /usr/bin/gawk-&gawk-version;
     63make install</userinput></screen>
    6364
    6465    <variablelist>
    65       <title>The meaning of the overridden make variable:</title>
     66      <title>The meaning of the command:</title>
    6667
    6768      <varlistentry>
    68         <term><envar>LN='ln -f'</envar></term>
     69        <term><command>rm -f /usr/bin/gawk-&gawk-version;</command></term>
    6970        <listitem>
    70            <para>This variable ensures that the previous hard link installed
     71           <para>The building system will not recreate the hard link
     72           <filename>gawk-&gawk-version;</filename> if it already exists.
     73           Remove it to ensure that the previous hard link installed
    7174           in <xref linkend='ch-tools-gawk'/> is updated here.</para>
    7275       </listitem>
  • chapter08/glibc.xml

    r6b6a1b9 r73d91ac  
    5151<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    5252
    53     <para>Now fix a regression causing the posix_memalign() function
    54     to be very slow in some conditions:</para>
    55 
    56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-memalign-patch;</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>
    5757
    5858    <para>The Glibc documentation recommends building Glibc
     
    7575             --enable-stack-protector=strong          \
    7676             --with-headers=/usr/include              \
     77             --disable-nscd                           \
    7778             libc_cv_slibdir=/usr/lib</userinput></screen>
    7879
     
    112113          <para>This option tells the build system where to find the
    113114          kernel API headers.</para>
     115        </listitem>
     116      </varlistentry>
     117
     118      <varlistentry>
     119        <term><parameter>--disable-nscd</parameter></term>
     120        <listitem>
     121          <para>Do not build the name service cache daemon which is no
     122          longer used.</para>
    114123        </listitem>
    115124      </varlistentry>
     
    207216
    208217<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen>
    209 
     218<!--
    210219    <para>Install the configuration file and runtime directory for
    211220    <command>nscd</command>:</para>
     
    219228    <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
    220229install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen>
    221 
     230-->
    222231    <para>Next, install the locales that can make the system respond in a
    223232    different language.  None of these locales are required, but if some of them
     
    321330    following:</para>
    322331
    323 <screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
     332<screen revision='sysv'><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
    324333<literal># Begin /etc/nsswitch.conf
    325334
     
    329338
    330339hosts: files dns
     340networks: files
     341
     342protocols: files
     343services: files
     344ethers: files
     345rpc: files
     346
     347# End /etc/nsswitch.conf</literal>
     348EOF</userinput></screen>
     349
     350<screen revision='systemd'><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
     351<literal># Begin /etc/nsswitch.conf
     352
     353passwd: files systemd
     354group: files systemd
     355shadow: files systemd
     356
     357hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
    331358networks: files
    332359
     
    481508        ldd, lddlibc4,
    482509        ld.so (symlink to ld-linux-aarch64[_be].so.1),
    483         locale, localedef, makedb, mtrace, nscd,
     510        locale, localedef, makedb, mtrace,
    484511        pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
    485512        zdump, and zic</seg>
     
    501528        /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
    502529        /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
    503         /var/cache/nscd, and /var/lib/nss_db</seg>
     530        and /var/lib/nss_db</seg>
    504531      </seglistitem>
    505532    </segmentedlist>
     
    631658          <indexterm zone="ch-system-glibc mtrace">
    632659            <primary sortas="b-mtrace">mtrace</primary>
    633           </indexterm>
    634         </listitem>
    635       </varlistentry>
    636 
    637       <varlistentry id="nscd">
    638         <term><command>nscd</command></term>
    639         <listitem>
    640           <para>A daemon that provides a cache for the most common name
    641           service requests</para>
    642           <indexterm zone="ch-system-glibc nscd">
    643             <primary sortas="b-nscd">nscd</primary>
    644660          </indexterm>
    645661        </listitem>
  • chapter08/gmp.xml

    r6b6a1b9 r73d91ac  
    120120
    121121    <segmentedlist>
    122       <segtitle>Installed Libraries</segtitle>
     122      <segtitle>Installed libraries</segtitle>
    123123      <segtitle>Installed directory</segtitle>
    124124
  • chapter08/iproute2.xml

    r6b6a1b9 r73d91ac  
    4646    LFS. However, a directory and a man page for <command>arpd</command> will still
    4747    be installed. Prevent this by running the commands shown below.
    48     (If the <command>arpd</command> program is needed,
    49     instructions for compiling Berkeley DB can be found in the BLFS book at
    50     <ulink url="&blfs-book;server/db.html"/>.)
    5148    </para>
    5249
  • chapter08/libelf.xml

    r6b6a1b9 r73d91ac  
    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/man-db.xml

    r6b6a1b9 r73d91ac  
    114114    <para>To test the results, issue:</para>
    115115
    116 <screen><userinput remap="test">make -k check</userinput></screen>
    117 
    118     <!-- https://gitlab.com/man-db/man-db/-/issues/25 -->
    119     <para>One test named <filename>man1/lexgrog.1</filename> is known
    120     to fail.</para>
     116<screen><userinput remap="test">make check</userinput></screen>
    121117
    122118    <para>Install the package:</para>
  • chapter08/mpc.xml

    r6b6a1b9 r73d91ac  
    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

    r6b6a1b9 r73d91ac  
    5959    </important>
    6060
    61     <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>
    6262
    6363<screen><userinput remap="test">make check</userinput></screen>
     
    7575
    7676    <segmentedlist>
    77       <segtitle>Installed Libraries</segtitle>
     77      <segtitle>Installed libraries</segtitle>
    7878      <segtitle>Installed directory</segtitle>
    7979
  • chapter08/openssl.xml

    r6b6a1b9 r73d91ac  
    6464    <para>To test the results, issue:</para>
    6565
    66 <screen><userinput remap="test">make test</userinput></screen>
     66<screen><userinput remap="test">HARNESS_JOBS=<replaceable>$(nproc)</replaceable> make test</userinput></screen>
    6767
    6868    <para>One test, 30-test_afalg.t, is known to fail if the host kernel
  • chapter08/perl.xml

    r6b6a1b9 r73d91ac  
    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>
     
    119104      </varlistentry>
    120105
    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>
    130         </listitem>
    131       </varlistentry>
    132 
    133106    </variablelist>
    134107
     
    139112    <para>To test the results (approximately 11 SBU), issue:</para>
    140113
    141 <screen><userinput remap="test">make test</userinput></screen>
     114<screen><userinput remap="test">TEST_JOBS=$(nproc) make test_harness</userinput></screen>
    142115
    143116    <para>Install the package and clean up:</para>
  • chapter08/pkgconf.xml

    r6b6a1b9 r73d91ac  
    4444
    4545    <title>Installation of Pkgconf</title>
    46 <!--
    47     <para>Pkgconf-2.0.0 explicitly errors when attempting to run
    48     <option>- -modversion</option> with multiple arguments, even if these
    49     arguments are constraints for the same package.  This breaks many
    50     packages in BLFS. Run this sed to reinstate the old
    51     output for pkgconf:</para>
    5246
    53      <screen><userinput remap="pre">sed -i '1330,1336s|^|//|' cli/main.c</userinput></screen>
    54 -->
     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>
     51
    5552    <para>Prepare Pkgconf for compilation:</para>
    5653
  • chapter08/pkgmgt.xml

    r6b6a1b9 r73d91ac  
    6868        all the packages in their dependency order, we do not recommend
    6969        it.  </para>
     70      </listitem>
     71
     72      <listitem>
     73        <para>Reinstalling the same version of Glibc (&glibc-version; for
     74        this release of LFS) with patches should be safe when these patches
     75        do not change ABI and API.  When a security vulnerability is found
     76        in Glibc, we often need to apply such a patch to fix the
     77        vulnerability and reinstall Glibc.  Consult
     78        <ulink url='&lfs-root;lfs/advisories/'>LFS security
     79        advisories</ulink> if you are alerted for a published Glibc security
     80        vulnerability but unsure about the action to take.</para>
    7081      </listitem>
    7182
     
    153164        implemented this, and most packages use that command to install binary files and
    154165        libraries.  This means that you won't be troubled by this issue most of the time.
    155         However, the install process of some packages (notably Mozilla JS
     166        However, the install process of some packages (notably SpiderMonkey
    156167        in BLFS) just overwrites the file if it exists; this causes a crash. So
    157168        it's safer to save your work and close unneeded running processes
     
    186197      special program to manage the packages. Each package is installed in a
    187198      separate directory. For example, package foo-1.1 is installed in
    188       <filename class='directory'>/usr/pkg/foo-1.1</filename>
    189       and a symlink is made from <filename>/usr/pkg/foo</filename> to
    190       <filename class='directory'>/usr/pkg/foo-1.1</filename>. When
     199      <filename class='directory'>/opt/foo-1.1</filename>
     200      and a symlink is made from <filename>/opt/foo</filename> to
     201      <filename class='directory'>/opt/foo-1.1</filename>. When
    191202      a new version foo-1.2 comes along, it is installed in
    192       <filename class='directory'>/usr/pkg/foo-1.2</filename> and the previous
     203      <filename class='directory'>/opt/foo-1.2</filename> and the previous
    193204      symlink is replaced by a symlink to the new version.</para>
    194205
    195206      <para>Environment variables such as <envar>PATH</envar>,
    196       <envar>LD_LIBRARY_PATH</envar>, <envar>MANPATH</envar>,
    197       <envar>INFOPATH</envar> and <envar>CPPFLAGS</envar> need to be expanded to
    198       include <filename>/usr/pkg/foo</filename>. If you install more than a few packages,
    199       this scheme becomes unmanageable.</para>
    200 
     207      <envar>MANPATH</envar>, <envar>INFOPATH</envar>,
     208      <envar>PKG_CONFIG_PATH</envar>, <envar>CPPFLAGS</envar>,
     209      <envar>LDFLAGS</envar>, and the configuration file
     210      <filename>/etc/ld.so.conf</filename> may need to be expanded to
     211      include the corresponding subdirectories in
     212      <filename class='directory'>/opt/foo-x.y</filename>.</para>
     213
     214      <para>
     215        This scheme is used by the BLFS book to install some very large
     216        packages to make it easier to upgrade them.  If you install more
     217        than a few packages, this scheme becomes unmanageable.  And some
     218        packages (for example Linux API headers and Glibc) may not work well
     219        with this scheme.
     220        <emphasis role='bold'>Never use this scheme system-wide.</emphasis>
     221      </para>
    201222    </sect3>
    202223
  • chapter08/python.xml

    r6b6a1b9 r73d91ac  
    4949            --enable-shared      \
    5050            --with-system-expat  \
    51             --with-system-ffi    \
    5251            --enable-optimizations</userinput></screen>
    5352
     
    6261       </listitem>
    6362     </varlistentry>
    64 
    65     <varlistentry>
    66       <term><parameter>--with-system-ffi</parameter></term>
    67       <listitem>
    68         <para>This switch enables linking against the system version of
    69         <filename class='libraryfile'>libffi.so</filename>.</para>
    70       </listitem>
    71     </varlistentry>
    7263
    7364    <varlistentry>
     
    165156<screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html
    166157
    167 tar --strip-components=1  \
    168     --no-same-owner       \
    169     --no-same-permissions \
    170     -C /usr/share/doc/python-&python-version;/html \
    171     -xvf ../python-&python-version;-docs-html.tar.bz2</userinput></screen>
     158tar --no-same-owner \
     159    -xvf ../python-&python-version;-docs-html.tar.bz2
     160cp -R --no-preserve=mode python-&python-version;-docs-html/* \
     161    /usr/share/doc/python-&python-version;/html</userinput></screen>
    172162
    173163    <variablelist>
     
    175165
    176166    <varlistentry>
    177       <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>
     167      <term><option>--no-same-owner</option> (tar) and <option>--no-preserve=mode</option> (cp)</term>
    178168      <listitem>
    179169        <para>Ensure the installed files have the correct ownership and
    180170        permissions.  Without these options, <application>tar</application>
    181         will install the package files with the upstream creator's values.
     171        will install the package files with the upstream creator's values
     172        and files would have restrictive permissions.
    182173        </para>
    183174      </listitem>
     
    192183
    193184    <segmentedlist>
    194       <segtitle>Installed Programs</segtitle>
    195       <segtitle>Installed Library</segtitle>
    196       <segtitle>Installed Directories</segtitle>
     185      <segtitle>Installed programs</segtitle>
     186      <segtitle>Installed library</segtitle>
     187      <segtitle>Installed directories</segtitle>
    197188
    198189      <seglistitem>
  • chapter08/shadow.xml

    r6b6a1b9 r73d91ac  
    277277        <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog,
    278278        getsubids, gpasswd, groupadd, groupdel, groupmems, groupmod, grpck,
    279         grpconv, grpunconv, lastlog, login, logoutd, newgidmap, newgrp,
     279        grpconv, grpunconv, login, logoutd, newgidmap, newgrp,
    280280        newuidmap, newusers, nologin, passwd, pwck, pwconv, pwunconv,
    281281        sg (link to newgrp), su, useradd, userdel, usermod,
     
    460460      </varlistentry>
    461461
    462       <varlistentry id="lastlog">
    463         <term><command>lastlog</command></term>
    464         <listitem>
    465           <para>Reports the most recent login of all users or of a
    466           given user</para>
    467           <indexterm zone="ch-system-shadow lastlog">
    468             <primary sortas="b-lastlog">lastlog</primary>
    469           </indexterm>
    470         </listitem>
    471       </varlistentry>
    472 
    473462      <varlistentry id="login">
    474463        <term><command>login</command></term>
  • chapter08/stripping.xml

    r6b6a1b9 r73d91ac  
    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.
     
    8083
    8184for LIB in $save_usrlib; do
    82     objcopy --only-keep-debug $LIB $LIB.dbg
     85    objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg
    8386    cp $LIB /tmp/$LIB
    8487    strip --strip-unneeded /tmp/$LIB
  • chapter08/udev.xml

    r6b6a1b9 r73d91ac  
    5656 <screen><userinput remap="pre">sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in</userinput></screen>
    5757
     58    <para>Adjust the hardcoded paths to network configuration files for the
     59    standalone udev installation:</para>
     60
     61 <screen><userinput remap="pre">sed '/NETWORK_DIRS/s/systemd/udev/' -i src/basic/path-lookup.h</userinput></screen>
     62
    5863    <para>Prepare Udev for compilation:</para>
    5964
     
    6772      -Ddev-kvm-mode=0660           \
    6873      -Dlink-udev-shared=false      \
     74      -Dlogind=false                \
     75      -Dvconsole=false              \
    6976      ..</userinput></screen>
    7077
     
    108115        </listitem>
    109116      </varlistentry>
     117
     118      <varlistentry>
     119        <term><parameter>-Dlogind=false -Dvconsole=false</parameter></term>
     120        <listitem>
     121          <para>These options prevent the generation of several udev rule
     122          files belonging to the other Systemd components that we won't
     123          install.</para>
     124        </listitem>
     125      </varlistentry>
    110126    </variablelist>
    111127
    112128    <para>Only build the components needed for udev:</para>
    113129
    114     <screen><userinput remap="make">ninja udevadm systemd-hwdb \
    115       $(grep -o -E "^build (src/libudev|src/udev|rules.d|hwdb.d)[^:]*" \
    116         build.ninja | awk '{ print $2 }')                              \
     130    <screen><userinput remap="make">ninja udevadm systemd-hwdb                                           \
     131      $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \
    117132      $(realpath libudev.so --relative-to .)</userinput></screen>
    118133
    119     <para>Remove one udev rule file requiring a full Systemd
    120     installation:</para>
    121 
    122 <screen><userinput remap="make">rm rules.d/90-vconsole.rules</userinput></screen>
    123 
    124134    <para>Install the package:</para>
    125135
    126     <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb,rules}.d
     136    <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb.d,rules.d,network}
    127137install -vm755 -d /usr/{lib,share}/pkgconfig
    128 install -vm755 udevadm                     /usr/bin/
    129 install -vm755 systemd-hwdb                /usr/bin/udev-hwdb
    130 ln      -svfn  ../bin/udevadm              /usr/sbin/udevd
    131 cp      -av    libudev.so{,*[0-9]}         /usr/lib/
    132 install -vm644 ../src/libudev/libudev.h    /usr/include/
    133 install -vm644 src/libudev/*.pc            /usr/lib/pkgconfig/
    134 install -vm644 src/udev/*.pc               /usr/share/pkgconfig/
    135 install -vm644 ../src/udev/udev.conf       /etc/udev/
    136 install -vm644 rules.d/* ../rules.d/{*.rules,README} /usr/lib/udev/rules.d/
    137 install -vm644 hwdb.d/*  ../hwdb.d/{*.hwdb,README}   /usr/lib/udev/hwdb.d/
    138 install -vm755 $(find src/udev -type f | grep -F -v ".") /usr/lib/udev</userinput></screen>
     138install -vm755 udevadm                             /usr/bin/
     139install -vm755 systemd-hwdb                        /usr/bin/udev-hwdb
     140ln      -svfn  ../bin/udevadm                      /usr/sbin/udevd
     141cp      -av    libudev.so{,*[0-9]}                 /usr/lib/
     142install -vm644 ../src/libudev/libudev.h            /usr/include/
     143install -vm644 src/libudev/*.pc                    /usr/lib/pkgconfig/
     144install -vm644 src/udev/*.pc                       /usr/share/pkgconfig/
     145install -vm644 ../src/udev/udev.conf               /etc/udev/
     146install -vm644 rules.d/* ../rules.d/README         /usr/lib/udev/rules.d/
     147install -vm644 $(find ../rules.d/*.rules \
     148                      -not -name '*power-switch*') /usr/lib/udev/rules.d/
     149install -vm644 hwdb.d/*  ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/
     150install -vm755 $(find src/udev \
     151                      -type f -not -name '*.*')    /usr/lib/udev
     152install -vm644 ../network/99-default.link          /usr/lib/udev/network</userinput></screen>
    139153
    140154    <para>Install some custom rules and support files useful in an LFS
     
    151165    --no-same-owner --strip-components=1                              \
    152166    -C /usr/share/man --wildcards '*/udev*' '*/libudev*'              \
     167                                  '*/systemd.link.5'                  \
    153168                                  '*/systemd-'{hwdb,udevd.service}.8
     169
     170sed 's|systemd/network|udev/network|'                                 \
     171    /usr/share/man/man5/systemd.link.5                                \
     172  > /usr/share/man/man5/udev.link.5
     173
    154174sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8   \
    155175                               > /usr/share/man/man8/udev-hwdb.8
     176
    156177sed 's|lib.*udevd|sbin/udevd|'                                        \
    157178    /usr/share/man/man8/systemd-udevd.service.8                       \
    158179  > /usr/share/man/man8/udevd.8
    159 rm  /usr/share/man/man8/systemd-*.8</userinput></screen>
     180
     181rm /usr/share/man/man*/systemd*</userinput></screen>
    160182
    161183  </sect2>
  • chapter08/util-linux.xml

    r6b6a1b9 r73d91ac  
    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>
  • chapter09/network.xml

    r6b6a1b9 r73d91ac  
    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

    r6b6a1b9 r73d91ac  
    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>
  • chapter11/afterlfs.xml

    r6b6a1b9 r73d91ac  
    185185       This method also provides a full graphical environment, but first
    186186       requires installing
    187         <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink> and
    188         <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>
     187        <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink>
    189188       on the LFS system, usually in chroot. It also requires a second
    190189       computer. This method has the advantage of being simple by not requiring
     
    194193    </para>
    195194
     195    <para>
     196      You may use the <command>scp</command> command to upload the package
     197      sources to be built onto the LFS system.  If you want to download
     198      the sources onto the LFS system directly instead, install
     199      <ulink url="&blfs-book;general/libtasn1.html">libtasn1</ulink>,
     200      <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>,
     201      <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>, and
     202      <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>
     203      in chroot (or upload their sources using <command>scp</command>
     204      after booting the LFS system).
     205    </para>
    196206  </sect3>
    197207
  • chapter11/reboot.xml

    r6b6a1b9 r73d91ac  
    114114
    115115<screen><userinput>umount -v $LFS/dev/pts
    116 mountpoint -q $LFS/dev/shm &amp;&amp; umount $LFS/dev/shm
     116mountpoint -q $LFS/dev/shm &amp;&amp; umount -v $LFS/dev/shm
    117117umount -v $LFS/dev
    118118umount -v $LFS/run
  • chapter11/theend.xml

    r6b6a1b9 r73d91ac  
    5959PRETTY_NAME="Linux From Scratch &version;"
    6060VERSION_CODENAME="&lt;your name here&gt;"
     61HOME_URL="&lfs-root;lfs/"
    6162EOF</userinput></screen>
    6263
  • git-version.sh

    r6b6a1b9 r73d91ac  
    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

    r6b6a1b9 r73d91ac  
    8686  exec( "curl --location --silent --max-time 30 $url", $dir );
    8787
    88   $s   = implode( "\n", $dir );
    89   $dir = strip_tags( $s );
     88  $dir = implode( "\n", $dir );
     89  if ( !preg_match( "/api.github.com/", $url) )
     90    $dir = strip_tags( $dir );
    9091  return explode( "\n", $dir );
    9192}
     
    128129if ( $package == "flex"       ) $dirpath = github("westes/flex");
    129130if ( $package == "flit_core"  ) $dirpath = "https://pypi.org/project/flit-core/";
     131if ( $package == "setuptools" ) $dirpath = "https://pypi.org/project/setuptools/";
    130132if ( $package == "gcc"        ) $dirpath = max_parent( $dirpath, "gcc-" );
    131133if ( $package == "iana-etc"   ) $dirpath = github("Mic92/iana-etc");
     
    294296     return find_max( $lines, "/flit-core /", "/^.*flit-core ([\d\.]+)$/" );
    295297
     298  if ( $package == "setuptools" )
     299     return find_max( $lines, "/setuptools /", "/^.*setuptools ([\d\.]+)$/" );
     300
    296301  if ( $package == "procps-ng" )
    297302     return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" );
  • packages.ent

    r6b6a1b9 r73d91ac  
    4848<!ENTITY automake-fin-sbu "less than 0.1 SBU (about 7.0 SBU with tests)">
    4949
    50 <!ENTITY bash-version "5.2.15">
    51 <!ENTITY bash-size "10,695 KB">
     50<!ENTITY bash-version "5.2.21">
     51<!ENTITY bash-size "10,696 KB">
    5252<!ENTITY bash-url "&gnu;bash/bash-&bash-version;.tar.gz">
    53 <!ENTITY bash-md5 "4281bb43497f3905a308430a8d6a30a5">
     53<!ENTITY bash-md5 "ad5b38410e3bf0e9bcc20e2765f5e3f9">
    5454<!ENTITY bash-home "&gnu-software;bash/">
    5555<!ENTITY bash-tmp-du "67 MB">
     
    5858<!ENTITY bash-fin-sbu "1.1 SBU">
    5959
    60 <!ENTITY bc-version "6.6.0">
    61 <!ENTITY bc-size "455 KB">
     60<!ENTITY bc-version "6.7.3">
     61<!ENTITY bc-size "456 KB">
    6262<!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz">
    63 <!ENTITY bc-md5 "a148cbaaf8ff813b7289a00539e74a5f">
     63<!ENTITY bc-md5 "a2e39a5be32330bc2166b0e501668178">
    6464<!ENTITY bc-home "https://git.gavinhoward.com/gavin/bc">
    6565<!ENTITY bc-fin-du "7.7 MB">
     
    149149<!ENTITY e2fsprogs-fin-sbu "2.4 SBU on a spinning disk, 0.6 SBU on an SSD">
    150150
    151 <!ENTITY elfutils-version "0.189"> <!-- libelf -->
    152 <!ENTITY elfutils-size "8,936 KB">
     151<!ENTITY elfutils-version "0.190"> <!-- libelf -->
     152<!ENTITY elfutils-size "8,949 KB">
    153153<!ENTITY elfutils-url "https://sourceware.org/ftp/elfutils/&elfutils-version;/elfutils-&elfutils-version;.tar.bz2">
    154 <!ENTITY elfutils-md5 "5cfaa711a90cb670406cd495aeaa6030">
     154<!ENTITY elfutils-md5 "79ad698e61a052bea79e77df6a08bc4b">
    155155<!ENTITY elfutils-home "https://sourceware.org/elfutils/">
    156156<!ENTITY elfutils-fin-du "122 MB">
     
    209209<!ENTITY flit-core-fin-sbu "less than 0.1 SBU">
    210210
    211 <!ENTITY gawk-version "5.2.2">
    212 <!ENTITY gawk-size "3,324 KB">
     211<!ENTITY gawk-version "5.3.0">
     212<!ENTITY gawk-size "3,356 KB">
    213213<!ENTITY gawk-url "&gnu;gawk/gawk-&gawk-version;.tar.xz">
    214 <!ENTITY gawk-md5 "d63b4de2c722cbd9b8cc8e6f14d78a1e">
     214<!ENTITY gawk-md5 "97c5a7d83f91a7e1b2035ebbe6ac7abd">
    215215<!ENTITY gawk-home "&gnu-software;gawk/">
    216216<!ENTITY gawk-tmp-du "48 MB">
     
    223223<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
    224224<!ENTITY gcc-md5 "e0e48554cc6e4f261d55ddee9ab69075">
    225 <!ENTITY gcc-sha256 "">
    226225<!ENTITY gcc-home "https://gcc.gnu.org/">
    227226<!ENTITY gcc-tmpp1-du "4.2 GB">
     
    247246<!ENTITY gdbm-fin-sbu "less than 0.1 SBU">
    248247
    249 <!ENTITY gettext-version "0.22">
    250 <!ENTITY gettext-size "9,775 KB">
     248<!ENTITY gettext-version "0.22.4">
     249<!ENTITY gettext-size "10,016 KB">
    251250<!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.xz">
    252 <!ENTITY gettext-md5 "db2f3daf34fd5b85ab1a56f9033e42d1">
     251<!ENTITY gettext-md5 "2d8507d003ef3ddd1c172707ffa97ed8">
    253252<!ENTITY gettext-home "&gnu-software;gettext/">
    254253<!ENTITY gettext-tmp-du "306 MB">
     
    319318<!ENTITY gzip-fin-sbu "0.3 SBU">
    320319
    321 <!ENTITY iana-etc-version "20230810">
     320<!ENTITY iana-etc-version "20231117">
    322321<!ENTITY iana-etc-size "588 KB">
    323322<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
    324 <!ENTITY iana-etc-md5 "0502bd41cc0bf1c1c3cd8651058b9650">
     323<!ENTITY iana-etc-md5 "f26b37a03a211ddd4e9c7189191e2772">
    325324<!ENTITY iana-etc-home "https://www.iana.org/protocols">
    326325<!ENTITY iana-etc-fin-du "4.8 MB">
     
    331330<!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz">
    332331<!ENTITY inetutils-md5 "319d65bb5a6f1847c4810651f3b4ba74">
    333 <!ENTITY inetutils-sha256 "">
    334332<!ENTITY inetutils-home "&gnu-software;inetutils/">
    335333<!ENTITY inetutils-fin-du "31 MB">
     
    344342<!ENTITY intltool-fin-sbu "less than 0.1 SBU">
    345343
    346 <!ENTITY iproute2-version "6.4.0">
    347 <!ENTITY iproute2-size "904 KB">
     344<!ENTITY iproute2-version "6.6.0">
     345<!ENTITY iproute2-size "897 KB">
    348346<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
    349 <!ENTITY iproute2-md5 "90ce0eb84a8f1e2b14ffa77e8eb3f5ed">
     347<!ENTITY iproute2-md5 "6716fc3188dbea226997fa2478a190d7">
    350348<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
    351349<!ENTITY iproute2-fin-du "17 MB">
     
    360358<!ENTITY jinja2-fin-sbu "less than 0.1 SBU">
    361359
    362 <!ENTITY kbd-version "2.6.2">
    363 <!ENTITY kbd-size "1,469 KB">
     360<!ENTITY kbd-version "2.6.3">
     361<!ENTITY kbd-size "1,468 KB">
    364362<!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz">
    365 <!ENTITY kbd-md5 "35e261a31e673c8aec7dbc6553ea075c">
     363<!ENTITY kbd-md5 "4764775cac0415f1d35a0cd311249941">
    366364<!ENTITY kbd-home "https://kbd-project.org/">
    367365<!ENTITY kbd-fin-du "35 MB">
    368366<!ENTITY kbd-fin-sbu "0.1 SBU">
    369367
    370 <!ENTITY kmod-version "30">
    371 <!ENTITY kmod-size "555 KB">
     368<!ENTITY kmod-version "31">
     369<!ENTITY kmod-size "558 KB">
    372370<!ENTITY kmod-url "&kernel;linux/utils/kernel/kmod/kmod-&kmod-version;.tar.xz">
    373 <!ENTITY kmod-md5 "85202f0740a75eb52f2163c776f9b564">
    374 <!ENTITY kmod-home " ">
     371<!ENTITY kmod-md5 "6165867e1836d51795a11ea4762ff66a">
     372<!ENTITY kmod-home "https://github.com/kmod-project/kmod">
    375373<!ENTITY kmod-fin-du "12 MB">
    376374<!ENTITY kmod-fin-sbu "less than 0.1 SBU">
     
    433431
    434432<!ENTITY linux-major-version "6">
    435 <!ENTITY linux-minor-version "5">
    436 <!ENTITY linux-patch-version "1">
     433<!ENTITY linux-minor-version "6">
     434<!ENTITY linux-patch-version "3">
    437435<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    438436<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    439 <!ENTITY linux-size "135,684 KB">
     437<!ENTITY linux-size "136,763 KB">
    440438<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    441 <!ENTITY linux-md5 "228479f37b3face05b53bd7f8906abe0">
     439<!ENTITY linux-md5 "3a760f5ac7d37b62dda9a4ca89f5fd96">
    442440<!ENTITY linux-home "https://www.kernel.org/">
    443 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
    444  allnoconfig rounded down to allow for ongoing cleanups,
    445  max is allmodconfig  -->
    446 <!ENTITY linux-knl-du "1200 - 8800 MB (typically about 1700 MB)">
    447 <!ENTITY linux-knl-sbu "1.5 - 130.0 SBU (typically about 12 SBU)">
     441<!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is
     442 allnoconfig + some configs we recommend for the users, rounded down to
     443 allow ongoing cleanups; max is allmodconfig but IKHEADERS unset; typical
     444 is the "daily use" config for the workstation measuring the min/max values.
     445 The disk usage is the sum of the size of linux-6.5.3 directory and the
     446 installed kernel image & modules.  -->
     447<!ENTITY linux-knl-du "1.8 - 10.6 GB (typically about 2 GB)">
     448<!ENTITY linux-knl-sbu "0.6 - 20.4 SBU (typically about 1.4 SBU)">
    448449
    449450<!ENTITY linux-headers-tmp-du "1.5 GB">
     
    470471<!ENTITY make-fin-sbu "0.5 SBU">
    471472
    472 <!ENTITY man-db-version "2.11.2">
    473 <!ENTITY man-db-size "1,908 KB">
     473<!ENTITY man-db-version "2.12.0">
     474<!ENTITY man-db-size "1,941 KB">
    474475<!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz">
    475 <!ENTITY man-db-md5 "a7d59fb2df6158c44f8f7009dcc6d875">
     476<!ENTITY man-db-md5 "67e0052fa200901b314fad7b68c9db27">
    476477<!ENTITY man-db-home "https://www.nongnu.org/man-db/">
    477478<!ENTITY man-db-fin-du "40 MB">
     
    494495<!ENTITY markupsafe-fin-sbu "less than 0.1 SBU">
    495496
    496 <!ENTITY meson-version "1.2.1">
    497 <!ENTITY meson-size "2,131 KB">
     497<!ENTITY meson-version "1.3.0">
     498<!ENTITY meson-size "2,171 KB">
    498499<!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz">
    499 <!ENTITY meson-md5 "e3cc846536189aacd7d01858a45ca9af">
     500<!ENTITY meson-md5 "35dc15e4f94ca5fd30dbe2d88a672254">
    500501<!ENTITY meson-home "https://mesonbuild.com">
    501502<!ENTITY meson-fin-du "42 MB">
     
    536537<!ENTITY ninja-fin-sbu "0.3 SBU">
    537538
    538 <!ENTITY openssl-version "3.1.2">
    539 <!ENTITY openssl-size "15,196 KB">
     539<!ENTITY openssl-version "3.2.0">
     540<!ENTITY openssl-size "17,284 KB">
    540541<!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
    541 <!ENTITY openssl-md5 "1d7861f969505e67b8677e205afd9ff4">
     542<!ENTITY openssl-md5 "7903549a14abebc5c323ce4e85f2cbb2">
    542543<!ENTITY openssl-home "https://www.openssl.org/">
    543544<!ENTITY openssl-fin-du "587 MB">
     
    556557<!ENTITY perl-version-major "5">
    557558<!ENTITY perl-version-minor "38">
    558 <!ENTITY perl-version-patch "0">
     559<!ENTITY perl-version-patch "2">
    559560<!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;">
    560561<!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;">
    561 <!ENTITY perl-size "13,248 KB">
     562<!ENTITY perl-size "13,359 KB">
    562563<!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz">
    563 <!ENTITY perl-md5 "e1c8aaec897dd386c741f97eef9f2e87">
     564<!ENTITY perl-md5 "d3957d75042918a23ec0abac4a2b7e0a">
    564565<!ENTITY perl-home "https://www.perl.org/">
    565566<!ENTITY perl-tmp-du "280 MB">
     
    568569<!ENTITY perl-fin-sbu "7.1 SBU">
    569570
    570 <!ENTITY pkgconf-version "2.0.3">
    571 <!ENTITY pkgconf-size "304 KB">
     571<!ENTITY pkgconf-version "2.1.0">
     572<!ENTITY pkgconf-size "305 KB">
    572573<!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz">
    573 <!ENTITY pkgconf-md5 "b82ca48ed3097adfa007ee71489b6719">
     574<!ENTITY pkgconf-md5 "0f2eadbb9dea5aed95147272ae1592cc">
    574575<!ENTITY pkgconf-home "http://pkgconf.org/">
    575576<!ENTITY pkgconf-fin-du "4.6 MB">
     
    595596     meson pages will be needed: python3.6 and python3.6m -->
    596597
    597 <!ENTITY python-version "3.11.5">
    598 <!ENTITY python-minor "3.11">
    599 <!ENTITY python-size "19,584 KB">
     598<!ENTITY python-version "3.12.0">
     599<!ENTITY python-minor "3.12">
     600<!ENTITY python-size "20,093 KB">
    600601<!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz">
    601 <!ENTITY python-md5 "393856f1b7713aa8bba4b642ab9985d3">
     602<!ENTITY python-md5 "f6f4616584b23254d165f4db90c247d6">
    602603<!ENTITY python-home "https://www.python.org/">
    603604<!ENTITY python-tmp-du "533 MB">
     
    606607<!ENTITY python-fin-sbu "1.9 SBU">
    607608<!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2">
    608 <!ENTITY python-docs-md5 "1abed52338038f4b53a277a5558af838">
    609 <!ENTITY python-docs-size "7,678 KB">
     609<!ENTITY python-docs-md5 "ae9d19bb613ae8ef2457496bd2893915">
     610<!ENTITY python-docs-size "8,009 KB">
    610611
    611612<!ENTITY readline-version "8.2">
     
    628629<!ENTITY sed-fin-sbu "0.3 SBU">
    629630
    630 <!ENTITY shadow-version "4.14.0">
    631 <!ENTITY shadow-size "1,746 KB">
     631<!ENTITY setuptools-version "69.0.2">
     632<!ENTITY setuptools-size "2,168 KB">
     633<!ENTITY setuptools-url "&pypi-src;/s/setuptools/setuptools-&setuptools-version;.tar.gz">
     634<!ENTITY setuptools-md5 "32bcc14eb830a13fbf33e053286f1081">
     635<!ENTITY setuptools-home "&pypi-home;/setuptools/">
     636<!ENTITY setuptools-fin-du "30 MB">
     637<!ENTITY setuptools-fin-sbu "0.1 SBU">
     638
     639<!ENTITY shadow-version "4.14.2">
     640<!ENTITY shadow-size "1,758 KB">
    632641<!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
    633 <!ENTITY shadow-md5 "bb0166bebc24db9003bb77bfd1359042">
    634 <!ENTITY shadow-home "https://shadow-maint.github.io/shadow/">
     642<!ENTITY shadow-md5 "effc1aa17590305647413125b966f1dd">
     643<!ENTITY shadow-home "&github;/shadow-maint/shadow/">
    635644<!ENTITY shadow-fin-du "46 MB">
    636645<!ENTITY shadow-fin-sbu "0.1 SBU">
     
    691700<!ENTITY tcl-tmp-sbu "2.7 SBU">
    692701
    693 <!ENTITY texinfo-version "7.0.3">
    694 <!ENTITY texinfo-size "4,776 KB">
     702<!ENTITY texinfo-version "7.1">
     703<!ENTITY texinfo-size "5,416 KB">
    695704<!ENTITY texinfo-url "&gnu;texinfo/texinfo-&texinfo-version;.tar.xz">
    696 <!ENTITY texinfo-md5 "37bf94fd255729a14d4ea3dda119f81a">
     705<!ENTITY texinfo-md5 "edd9928b4a3f82674bcc3551616eef3b">
    697706<!ENTITY texinfo-home "&gnu-software;texinfo/">
    698707<!ENTITY texinfo-tmp-du "116 MB">
     
    727736<!ENTITY util-linux-fin-sbu "0.5 SBU">
    728737
    729 <!ENTITY vim-version "9.0.1837">
     738<!ENTITY vim-version "9.0.2136">
    730739<!-- <!ENTITY vim-majmin "90"> -->
    731740<!ENTITY vim-docdir "vim/vim90">
    732 <!ENTITY vim-size "16,838 KB">
    733 <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->
    734 <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">
    735 <!ENTITY vim-md5 "de7cba78a556f96482ae8f09b082aa59">
     741<!ENTITY vim-size "16,989 KB">
     742<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">
     743<!--<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">-->
     744<!ENTITY vim-md5 "8dcf113cb690bcdd13d75a4e7c2e3a62">
    736745<!ENTITY vim-home "https://www.vim.org">
    737746<!ENTITY vim-fin-du "229 MB">
    738747<!ENTITY vim-fin-sbu "2.3 SBU">
    739748
    740 <!ENTITY wheel-version "0.41.2">
    741 <!ENTITY wheel-size "96 KB">
     749<!ENTITY wheel-version "0.42.0">
     750<!ENTITY wheel-size "97 KB">
    742751<!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz">
    743 <!ENTITY wheel-md5 "06271a9e90c948b7e93dd7ce0fd90272">
     752<!ENTITY wheel-md5 "802ad6e5f9336fcb1c76b7593f0cd22d">
    744753<!ENTITY wheel-home "&pypi-home;/wheel/">
    745754<!ENTITY wheel-fin-du "1.5 MB">
     
    754763<!ENTITY xml-parser-fin-sbu "less than 0.1 SBU">
    755764
    756 <!ENTITY xz-version "5.4.4">
    757 <!ENTITY xz-size "1,623 KB">
     765<!ENTITY xz-version "5.4.5">
     766<!ENTITY xz-size "1,642 KB">
    758767<!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz">
    759 <!ENTITY xz-md5 "d83d6f64a64f88759e312b8a38c3add6">
     768<!ENTITY xz-md5 "1d33e0be05c53e7a5641acf5c8b35fdd">
    760769<!ENTITY xz-home "https://tukaani.org/xz">
    761770<!ENTITY xz-tmp-du "22 MB">
  • patches.ent

    r6b6a1b9 r73d91ac  
    1515<!ENTITY glibc-fhs-patch-size "2.8 KB">
    1616
    17 <!ENTITY glibc-memalign-patch "glibc-&glibc-version;-memalign_fix-1.patch">
    18 <!ENTITY glibc-memalign-patch-md5 "2c3552bded42a83ad6a7087c5fbf3857">
    19 <!ENTITY glibc-memalign-patch-size "20 KB">
     17<!ENTITY glibc-upstream-fixes-patch "glibc-&glibc-version;-upstream_fixes-3.patch">
     18<!ENTITY glibc-upstream-fixes-patch-md5 "545977e0b5c341ba945cf4b5de92f1e2">
     19<!ENTITY glibc-upstream-fixes-patch-size "28 KB">
    2020
    2121<!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch">
     
    2727<!ENTITY kbd-backspace-patch-size "12 KB">
    2828
    29 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fix-1.patch">
    30 <!ENTITY readline-fixes-patch-md5 "dd1764b84cfca6b677f44978218a75da">
    31 <!ENTITY readline-fixes-patch-size "1.3 KB">
     29<!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fixes-2.patch">
     30<!ENTITY readline-fixes-patch-md5 "d2477ebe908cc99763d90dde7fd9549a">
     31<!ENTITY readline-fixes-patch-size "5.7 KB">
    3232
    3333<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch">
  • stylesheets/lfs-xsl/chunk-slave.xsl

    r6b6a1b9 r73d91ac  
    1010  <!-- Upstream XHTML presentation templates -->
    1111  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
    12 
    13   <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
    14   <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
    1512
    1613  <!-- Including our customized elements templates -->
  • stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl

    r6b6a1b9 r73d91ac  
    242242  </xsl:template>
    243243
     244  <!-- page.number.format
     245       We want roman numerals only in book's preface, not parts prefaces
     246       (if any). The original template is in {docbook-xsl}/fo/pagesetup.xsl -->
     247  <xsl:template name="page.number.format">
     248    <xsl:param name="element" select="local-name(.)"/>
     249    <xsl:param name="master-reference" select="''"/>
     250
     251    <xsl:choose>
     252      <xsl:when test="$element = 'toc' and self::book">i</xsl:when>
     253      <xsl:when test="$element = 'set'">i</xsl:when>
     254      <xsl:when test="$element = 'book'">i</xsl:when>
     255      <xsl:when test="$element = 'preface' and not(ancestor::part)">i</xsl:when>
     256      <xsl:when test="$element = 'dedication'">i</xsl:when>
     257      <xsl:when test="$element = 'acknowledgements'">i</xsl:when>
     258      <xsl:otherwise>1</xsl:otherwise>
     259    </xsl:choose>
     260  </xsl:template>
     261
    244262</xsl:stylesheet>
  • tidy.conf

    r6b6a1b9 r73d91ac  
    22wrap: 78
    33tab-size: 8
    4 input-encoding: latin1
    5 output-encoding: latin1
    64write-back: yes
    75markup: yes
Note: See TracChangeset for help on using the changeset viewer.