Changeset 7546d8b


Ignore:
Timestamp:
11/21/2023 12:45:26 AM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
e49e2ea
Parents:
2df066c9 (diff), 01247ac (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

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

Files:
1 added
32 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r2df066c9 r7546d8b  
    14971497
    14981498<!-- 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>
     1499  <bridgehead renderas="sect2" id="jinja2-dep">Jinja2</bridgehead>
     1500
     1501      <segmentedlist id="jinja2-depends">
     1502        <segtitle>&dependencies;</segtitle>
     1503        <seglistitem>
     1504          <seg>MarkupSafe, Python, Setuptools, and Wheel</seg>
     1505        </seglistitem>
     1506      </segmentedlist>
     1507
     1508      <segmentedlist id="jinja2-rundeps">
     1509        <segtitle>&runtime;</segtitle>
    15031510        <seglistitem>
    15041511          <seg>MarkupSafe and Python</seg>
     
    15061513      </segmentedlist>
    15071514
    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'>
     1515      <segmentedlist id="jinja2-testdeps">
    15161516        <segtitle>&testsuites;</segtitle>
    15171517        <seglistitem>
     
    15201520      </segmentedlist>
    15211521
    1522       <segmentedlist id="jinja2-before" revision='systemd'>
     1522      <segmentedlist id="jinja2-before">
    15231523        <segtitle>&before;</segtitle>
    15241524        <seglistitem>
     
    15271527      </segmentedlist>
    15281528
    1529       <segmentedlist id="jinja2-optdeps" revision='systemd'>
     1529      <segmentedlist id="jinja2-optdeps">
    15301530        <segtitle>&external;</segtitle>
    15311531        <seglistitem>
     
    21372137
    21382138<!-- 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>
     2139  <bridgehead renderas="sect2" id="markupsafe-dep">MarkupSafe</bridgehead>
     2140
     2141      <segmentedlist id="markupsafe-depends">
     2142        <segtitle>&dependencies;</segtitle>
     2143        <seglistitem>
     2144          <seg>Python, Setuptools, and Wheel</seg>
     2145        </seglistitem>
     2146      </segmentedlist>
     2147
     2148      <segmentedlist id="markupsafe-rundeps">
     2149        <segtitle>&runtime;</segtitle>
    21432150        <seglistitem>
    21442151          <seg>Python</seg>
     
    21462153      </segmentedlist>
    21472154
    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'>
     2155      <segmentedlist id="markupsafe-testdeps">
    21562156        <segtitle>&testsuites;</segtitle>
    21572157        <seglistitem>
     
    21602160      </segmentedlist>
    21612161
    2162       <segmentedlist id="markupsafe-before" revision='systemd'>
     2162      <segmentedlist id="markupsafe-before">
    21632163        <segtitle>&before;</segtitle>
    21642164        <seglistitem>
     
    21672167      </segmentedlist>
    21682168
    2169       <segmentedlist id="markupsafe-optdeps" revision='systemd'>
     2169      <segmentedlist id="markupsafe-optdeps">
    21702170        <segtitle>&external;</segtitle>
    21712171        <seglistitem>
     
    21802180        <segtitle>&dependencies;</segtitle>
    21812181        <seglistitem>
    2182           <seg>Ninja and Python</seg>
     2182          <seg>Ninja, Python, Setuptools, and Wheel</seg>
    21832183        </seglistitem>
    21842184      </segmentedlist>
     
    27362736
    27372737      <segmentedlist id="sed-optdeps">
     2738        <segtitle>&external;</segtitle>
     2739        <seglistitem>
     2740          <seg>None</seg>
     2741        </seglistitem>
     2742      </segmentedlist>
     2743
     2744<!-- Begin Setuptools dependency info -->
     2745  <bridgehead renderas="sect2" id="setuptools-dep">Setuptools</bridgehead>
     2746
     2747      <segmentedlist id="setuptools-depends">
     2748        <segtitle>&dependencies;</segtitle>
     2749        <seglistitem>
     2750          <seg>Python and Wheel</seg>
     2751        </seglistitem>
     2752      </segmentedlist>
     2753
     2754      <segmentedlist id="setuptools-rundeps">
     2755        <segtitle>&runtime;</segtitle>
     2756        <seglistitem>
     2757          <seg>Python</seg>
     2758        </seglistitem>
     2759      </segmentedlist>
     2760
     2761      <segmentedlist id="setuptools-testdeps">
     2762        <segtitle>&testsuites;</segtitle>
     2763        <seglistitem>
     2764          <seg>No test suite available</seg>
     2765        </seglistitem>
     2766      </segmentedlist>
     2767
     2768      <segmentedlist id="setuptools-before">
     2769        <segtitle>&before;</segtitle>
     2770        <seglistitem>
     2771          <seg>Jinja2, MarkupSafe, and Meson</seg>
     2772        </seglistitem>
     2773      </segmentedlist>
     2774
     2775      <segmentedlist id="setuptools-optdeps">
    27382776        <segtitle>&external;</segtitle>
    27392777        <seglistitem>
     
    32173255
    32183256<!-- Begin Wheel dependency info -->
    3219   <bridgehead renderas="sect2" id="wheel-dep">wheel</bridgehead>
     3257  <bridgehead renderas="sect2" id="wheel-dep">Wheel</bridgehead>
    32203258
    32213259      <segmentedlist id="wheel-depends">
     
    32443282        <seglistitem>
    32453283          <seg>
    3246             <phrase revision='sysv'>None</phrase>
    3247             <phrase revision='systemd'>Jinja2</phrase>
     3284            Jinja2, MarkupSafe, Meson, and Setuptools
    32483285          </seg>
    32493286        </seglistitem>
  • bootscripts/ChangeLog

    r2df066c9 r7546d8b  
     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

    r2df066c9 r7546d8b  
    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

    r2df066c9 r7546d8b  
    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

    r2df066c9 r7546d8b  
    4040    appropriate for the entry or if needed the entire day's listitem.
    4141    -->
     42    <listitem>
     43      <para>2023-11-13</para>
     44      <itemizedlist>
     45        <listitem>
     46          <para>[xry111] - Update to elfutils-0.190.  Fixes
     47          <ulink url='&lfs-ticket-root;5373'>#5373</ulink>.</para>
     48        </listitem>
     49        <listitem>
     50          <para>[xry111] - Update to vim-9.0.2103.  Addresses
     51           <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[xry111] - Update to linux-6.6.1.  Fixes
     55          <ulink url='&lfs-ticket-root;5369'>#5369</ulink>.</para>
     56        </listitem>
     57        <listitem>
     58          <para>[xry111] - Update to xz-5.4.5.  Fixes
     59          <ulink url='&lfs-ticket-root;5371'>#5371</ulink>.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[xry111] - Update to iana-etc-20231107.  Addresses
     63          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     64        </listitem>
     65        <listitem>
     66          <para>[xry111] - Update to gawk-5.3.0.  Fixes
     67          <ulink url='&lfs-ticket-root;5372'>#5372</ulink>.</para>
     68        </listitem>
     69        <listitem>
     70          <para>[xry111] - Update to bash-5.2.21.  Fixes
     71          <ulink url='&lfs-ticket-root;5375'>#5375</ulink>.</para>
     72        </listitem>
     73        <listitem>
     74          <para>[xry111] - Update to iproute2-6.6.0.  Fixes
     75          <ulink url='&lfs-ticket-root;5374'>#5374</ulink>.</para>
     76        </listitem>
     77      </itemizedlist>
     78    </listitem>
     79
     80    <listitem>
     81      <para>2023-11-01</para>
     82      <itemizedlist>
     83        <listitem>
     84           <para>[bdubbs] - Update to iana-etc-20231019. Addresses
     85           <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     86        </listitem>
     87        <listitem>
     88           <para>[bdubbs] - Update to wheel-0.41.3. Fixes
     89           <ulink url='&lfs-ticket-root;5370'>#5370</ulink>.</para>
     90        </listitem>
     91        <listitem>
     92           <para>[bdubbs] - Update to shadow-4.14.2. Fixes
     93           <ulink url='&lfs-ticket-root;5368'>#5368</ulink>.</para>
     94        </listitem>
     95        <listitem>
     96           <para>[bdubbs] - Update to openssl-3.1.4. Fixes
     97           <ulink url='&lfs-ticket-root;5367'>#5367</ulink>.</para>
     98        </listitem>
     99        <listitem>
     100           <para>[bdubbs] - Update to texinfo-7.1. Fixes
     101           <ulink url='&lfs-ticket-root;5364'>#5364</ulink>.</para>
     102        </listitem>
     103        <listitem>
     104           <para>[bdubbs] - Update to meson-1.2.3. Fixes
     105           <ulink url='&lfs-ticket-root;5366'>#5366</ulink>.</para>
     106        </listitem>
     107        <listitem>
     108           <para>[bdubbs] - Update to bc-6.7.2. Fixes
     109           <ulink url='&lfs-ticket-root;5363'>#5363</ulink>.</para>
     110        </listitem>
     111        <listitem>
     112           <para>[bdubbs] - Update to linux-6.5.9. Fixes
     113           <ulink url='&lfs-ticket-root;5365'>#5365</ulink>.</para>
     114        </listitem>
     115        <listitem>
     116           <para>[bdubbs] - Update to Python-3.12.0. Fixes
     117           <ulink url='&lfs-ticket-root;5357'>#5357</ulink>.</para>
     118        </listitem>
     119        <listitem>
     120           <para>[bdubbs] - Add setuptools-68.2.2. Fixes
     121           <ulink url='&lfs-ticket-root;5358'>#5358</ulink>.</para>
     122        </listitem>
     123      </itemizedlist>
     124    </listitem>
     125
     126    <listitem>
     127      <para>2023-10-15</para>
     128      <itemizedlist>
     129        <listitem>
     130           <para>[bdubbs] - Update to linux-6.5.7. Fixes
     131           <ulink url='&lfs-ticket-root;5362'>#5362</ulink>.</para>
     132        </listitem>
     133        <listitem>
     134           <para>[bdubbs] - Update to shadow-4.14.1. Fixes
     135           <ulink url='&lfs-ticket-root;5361'>#5361</ulink>.</para>
     136        </listitem>
     137        <listitem>
     138           <para>[bdubbs] - Update to gettext-0.22.3. Fixes
     139           <ulink url='&lfs-ticket-root;5359'>#5359</ulink>.</para>
     140        </listitem>
     141      </itemizedlist>
     142    </listitem>
     143
     144    <listitem>
     145      <para>2023-10-03</para>
     146      <itemizedlist>
     147        <listitem>
     148          <para>[xry111] - Update Glibc upstream fixes patch to fix
     149          CVE-2023-4911.</para>
     150        </listitem>
     151      </itemizedlist>
     152    </listitem>
     153
     154    <listitem>
     155      <para>2023-10-01</para>
     156      <itemizedlist>
     157        <listitem>
     158           <para>[bdubbs] - Disable building nscd in glibc. Fixes
     159           <ulink url='&lfs-ticket-root;5349'>#5349</ulink>.</para>
     160        </listitem>
     161        <listitem>
     162           <para>[bdubbs] - Update to iana-etc-20230929. Addresses
     163           <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     164        </listitem>
     165        <listitem>
     166           <para>[bdubbs] - Update to vim-9.0.1968. Addresses
     167           <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     168        </listitem>
     169        <listitem>
     170           <para>[bdubbs] - Update to openssl-3.1.3. Fixes
     171           <ulink url='&lfs-ticket-root;5350'>#5350</ulink>.</para>
     172        </listitem>
     173        <listitem>
     174           <para>[bdubbs] - Update to meson-1.2.2. Fixes
     175           <ulink url='&lfs-ticket-root;5356'>#5356</ulink>.</para>
     176        </listitem>
     177        <listitem>
     178           <para>[bdubbs] - Update to man-db-2.12.0. Fixes
     179           <ulink url='&lfs-ticket-root;5354'>#5354</ulink>.</para>
     180        </listitem>
     181        <listitem>
     182           <para>[bdubbs] - Update to linux-6.5.5. Fixes
     183           <ulink url='&lfs-ticket-root;5352'>#5352</ulink>.</para>
     184        </listitem>
     185        <listitem>
     186           <para>[bdubbs] - Update to kmod-31. Fixes
     187           <ulink url='&lfs-ticket-root;5355'>#5355</ulink>.</para>
     188        </listitem>
     189        <listitem>
     190           <para>[bdubbs] - Update to kbd-2.6.3. Fixes
     191           <ulink url='&lfs-ticket-root;5351'>#5361</ulink>.</para>
     192        </listitem>
     193        <listitem>
     194           <para>[bdubbs] - Update to gettext-0.22.2. Fixes
     195           <ulink url='&lfs-ticket-root;5348'>#5348</ulink>.</para>
     196        </listitem>
     197        <listitem>
     198           <para>[bdubbs] - Update to bc-6.7.0. Fixes
     199           <ulink url='&lfs-ticket-root;5353'>#5353</ulink>.</para>
     200        </listitem>
     201      </itemizedlist>
     202    </listitem>
     203
     204    <listitem>
     205      <para>2023-09-24</para>
     206      <itemizedlist>
     207        <listitem>
     208          <para>[xry111] - Update Glibc upstream fixes patch to plug a
     209          memory leak introduced by the security fix.</para>
     210        </listitem>
     211      </itemizedlist>
     212    </listitem>
     213
     214    <listitem>
     215      <para>2023-09-17</para>
     216      <itemizedlist>
     217        <listitem>
     218          <para>[xry111] - Update to linux-6.5.3.  Fixes
     219          <ulink url='&lfs-ticket-root;5343'>#5343</ulink>.</para>
     220        </listitem>
     221        <listitem>
     222          <para>[xry111] - Update to iana-etc-20230912.  Addresses
     223          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     224        </listitem>
     225        <listitem>
     226          <para>[xry111] - Update to iproute2-6.5.0.  Fixes
     227          <ulink url='&lfs-ticket-root;5342'>#5342</ulink>.</para>
     228        </listitem>
     229      </itemizedlist>
     230    </listitem>
    42231
    43232    <listitem>
  • chapter01/whatsnew.xml

    r2df066c9 r7546d8b  
    3939      <para>Automake-&automake-version;</para>
    4040    </listitem>-->
    41     <!--<listitem>
     41    <listitem>
    4242      <para>Bash-&bash-version;</para>
    43     </listitem>-->
    44     <!--<listitem>
     43    </listitem>
     44    <listitem>
    4545      <para>Bc-&bc-version;</para>
    46     </listitem>-->
     46    </listitem>
    4747    <!--<listitem>
    4848      <para>Binutils-&binutils-version;</para>
     
    9090      <para>Flit-core-&flit-core-version;</para>
    9191    </listitem>-->
    92     <!--<listitem>
     92    <listitem>
    9393      <para>Gawk-&gawk-version;</para>
    94     </listitem>-->
     94    </listitem>
    9595    <!--<listitem>
    9696       <para>GCC-&gcc-version;</para>
     
    9999       <para>GDBM-&gdbm-version;</para>
    100100    </listitem>-->
    101     <!--<listitem>
     101    <listitem>
    102102      <para>Gettext-&gettext-version;</para>
    103     </listitem>-->
     103    </listitem>
    104104    <!--<listitem>
    105105      <para>Glibc-&glibc-version;</para>
     
    123123      <para>Gzip-&gzip-version;</para>
    124124    </listitem>
    125     <!--<listitem>
     125    <listitem>
    126126      <para>Iana-Etc-&iana-etc-version;</para>
    127     </listitem>-->
     127    </listitem>
    128128    <!--<listitem>
    129129      <para>Inetutils-&inetutils-version;</para>
     
    132132      <para>Intltool-&intltool-version;</para>
    133133    </listitem>-->
    134     <!--<listitem>
     134    <listitem>
    135135      <para>IPRoute2-&iproute2-version;</para>
    136     </listitem>-->
     136    </listitem>
    137137    <!--<listitem revision="systemd">
    138138      <para>Jinja2-&jinja2-version;</para>
     
    141141      <para>Kbd-&kbd-version;</para>
    142142    </listitem>
    143     <!--<listitem>
     143    <listitem>
    144144      <para>Kmod-&kmod-version;</para>
    145     </listitem>-->
     145    </listitem>
    146146    <!--<listitem>
    147147      <para>Less-&less-version;</para>
     
    153153      <para>Libcap-&libcap-version;</para>
    154154    </listitem>-->
    155     <!--<listitem>
     155    <listitem>
    156156      <para>Libelf-&elfutils-version; (from elfutils)</para>
    157     </listitem>-->
     157    </listitem>
    158158    <!--<listitem>
    159159      <para>Libffi-&libffi-version;</para>
     
    174174      <para>Make-&make-version;</para>
    175175    </listitem>-->
    176     <!--<listitem>
     176    <listitem>
    177177      <para>Man-DB-&man-db-version;</para>
    178     </listitem>-->
     178    </listitem>
    179179    <!--<listitem>
    180180      <para>Man-pages-&man-pages-version;</para>
     
    183183      <para>MarkupSafe-&markupsafe-version;</para>
    184184    </listitem>-->
    185     <!--<listitem>
     185    <listitem>
    186186      <para>Meson-&meson-version;</para>
    187     </listitem>-->
     187    </listitem>
    188188    <!--<listitem>
    189189      <para>MPC-&mpc-version;</para>
     
    198198      <para>Ninja-&ninja-version;</para>
    199199    </listitem>-->
    200     <!--<listitem>
    201       <para>Openssl-&openssl-version;</para>
    202     </listitem>-->
     200    <listitem>
     201      <para>OpenSSL-&openssl-version;</para>
     202    </listitem>
    203203    <!--<listitem>
    204204      <para>Patch-&patch-version;</para>
     
    224224    <!--<listitem>
    225225      <para>Sed-&sed-version;</para>
     226    </listitem>-->
     227    <!--<listitem>  After version 12.1 release - see Added
     228      <para>Setuptools-&setuptools-version;</para>
    226229    </listitem>-->
    227230    <listitem>
     
    243246      <para>Tcl-&tcl-version;</para>
    244247    </listitem>-->
    245     <!--<listitem>
     248    <listitem>
    246249      <para>Texinfo-&texinfo-version;</para>
    247     </listitem>-->
     250    </listitem>
    248251    <!--<listitem>
    249252      <para>Tzdata-&tzdata-version;</para>
     
    264267      <para>XML::Parser-&xml-parser-version;</para>
    265268    </listitem>-->
    266     <!--<listitem>
     269    <listitem>
    267270      <para>Xz-&xz-version;</para>
    268     </listitem>-->
     271    </listitem>
    269272    <listitem>
    270273      <para>Zlib-&zlib-version;</para>
     
    289292
    290293    <listitem>
     294      <para>setuptools-&setuptools-version;</para>
     295    </listitem>
     296
     297    <listitem>
    291298      <para>&glibc-upstream-fixes-patch;</para>
    292299    </listitem>
  • chapter02/hostreqs.xml

    r2df066c9 r7546d8b  
    6565    </listitem>
    6666
    67     <listitem>
    68       <para><emphasis role="strong">Coreutils-7.0</emphasis></para>
     67    <!-- In Coreutils-8.1 the nproc program is added.  -->
     68    <listitem>
     69      <para><emphasis role="strong">Coreutils-8.1</emphasis></para>
    6970    </listitem>
    7071
     
    8384
    8485    <listitem>
    85       <para><emphasis role="strong">GCC-5.1</emphasis> including the C++
     86      <!-- Pass 1 GCC FTBFS with GCC-5.1 because of
     87           https://gcc.gnu.org/PR65801. -->
     88      <para><emphasis role="strong">GCC-5.2</emphasis> including the C++
    8689      compiler, <command>g++</command> (Versions greater than &gcc-version; are
    8790      not recommended as they have not been tested). C and C++ standard
     
    186189}
    187190
    188 # Coreutils first because-sort needs Coreutils >= 7.0
    189 ver_check Coreutils      sort     7.0 || bail "--version-sort unsupported"
     191# Coreutils first because --version-sort needs Coreutils >= 7.0
     192ver_check Coreutils      sort     8.1 || bail "Coreutils too old, stop"
    190193ver_check Bash           bash     3.2
    191194ver_check Bc             bc       1.07.0
     
    195198ver_check Findutils      find     4.2.31
    196199ver_check Gawk           gawk     4.0.1
    197 ver_check GCC            gcc      5.1
    198 ver_check "GCC (C++)"    g++      5.1
     200ver_check GCC            gcc      5.2
     201ver_check "GCC (C++)"    g++      5.2
    199202ver_check Grep           grep     2.5.1a
    200203ver_check Gzip           gzip     1.3.12
     
    223226then echo "OK:    g++ works";
    224227else echo "ERROR: g++ does NOT work"; fi
    225 rm -f a.out</literal>
     228rm -f a.out
     229
     230if [ "$(nproc)" = "" ]; then
     231   echo "ERROR: nproc is not available or it produces empty output"
     232else
     233   echo "OK: nproc reports $(nproc) logical cores are available"
     234fi</literal>
    226235EOF
    227236
  • chapter03/packages.xml

    r2df066c9 r7546d8b  
    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>
  • chapter04/aboutsbus.xml

    r2df066c9 r7546d8b  
    4646
    4747  <note>
    48     <para>For many modern systems with multiple processors (or cores) the
    49     compilation time for a package can be reduced by performing a "parallel
    50     make" by either setting an environment variable or telling the
    51     <command>make</command> program how many processors are available.  For
    52     instance, an Intel i5-6500 CPU can support four simultaneous processes with:</para>
    53 
    54     <screen role="nodump"><userinput>export MAKEFLAGS='-j4'</userinput></screen>
    55 
    56     <para>or by building with:</para>
    57 
    58     <screen role="nodump"><userinput>make -j4</userinput></screen>
    59 
    6048    <para>When multiple processors are used in this way, the SBU units in the
    6149    book will vary even more than they normally would.  In some cases, the make
  • chapter04/settingenviron.xml

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

    r2df066c9 r7546d8b  
    9494      --enable-kernel=&linux-major-version;.&linux-minor-version;                \
    9595      --with-headers=$LFS/usr/include    \
     96      --disable-nscd                     \
    9697      libc_cv_slibdir=/usr/lib</userinput></screen>
    9798
     
    134135          <para>This ensures that the library is installed in /usr/lib instead
    135136          of the default /lib64 on 64-bit machines.</para>
     137        </listitem>
     138      </varlistentry>
     139
     140      <varlistentry>
     141        <term><parameter>--disable-nscd</parameter></term>
     142        <listitem>
     143          <para>Do not build the name service cache daemon which is no
     144          longer used.</para>
    136145        </listitem>
    137146      </varlistentry>
  • chapter05/libstdc++.xml

    r2df066c9 r7546d8b  
    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/coreutils.xml

    r2df066c9 r7546d8b  
    6464      </varlistentry>
    6565
    66       <varlistentry>
    67         <term><envar>gl_cv_macro_MB_CUR_MAX_good=y</envar></term>
    68         <listitem>
    69           <para>This is needed to work around an issue in the gnulib copy
    70           shipped by the package which would break cross compilation.</para>
    71         </listitem>
    72       </varlistentry>
    7366    </variablelist>
    7467
  • chapter07/chroot.xml

    r2df066c9 r7546d8b  
    4747    PS1='(lfs) \u:\w\$ '        \
    4848    PATH=/usr/bin:/usr/sbin     \
     49    MAKEFLAGS="-j<replaceable>$(nproc)</replaceable>"      \
     50    TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \
    4951    /bin/bash --login</userinput></screen>
    5052
    5153    <para>The command replace the current shell process with a new shell
    5254    process, with controlling terminal set up.</para>
     55
     56  <para>
     57    If you don't want to use all available logical cores, replace
     58    <replaceable>$(nproc)</replaceable> with the number of logical cores you
     59    want to use for building packages in this chapter and the following
     60    chapters.  The test suites of some packages (notably Autoconf, Libtool,
     61    and Tar) in &ch-final; are not affected by <envar>MAKEFLAGS</envar>, they
     62    use a <envar>TESTSUITEFLAGS</envar> environment variable instead. We
     63    set that here as well for running these test suites with multiple cores.
     64  </para>
    5365
    5466  <para>The <parameter>-i</parameter> option given to the <command>env</command>
     
    6779  used.</para>
    6880
    69   <para>Note that the <command>bash</command> prompt will say
     81  <para>Also note that the <command>bash</command> prompt will say
    7082  <computeroutput>I have no name!</computeroutput> This is normal because the
    7183  <filename>/etc/passwd</filename> file has not been created yet.</para>
  • chapter07/createfiles.xml

    r2df066c9 r7546d8b  
    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>
  • chapter08/automake.xml

    r2df066c9 r7546d8b  
    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

    r2df066c9 r7546d8b  
    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/gawk.xml

    r2df066c9 r7546d8b  
    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

    r2df066c9 r7546d8b  
    7575             --enable-stack-protector=strong          \
    7676             --with-headers=/usr/include              \
     77             --disable-nscd                           \
    7778             libc_cv_slibdir=/usr/lib</userinput></screen>
    7879
     
    113114          <para>This option tells the build system where to find the
    114115          kernel API headers.</para>
     116        </listitem>
     117      </varlistentry>
     118
     119      <varlistentry>
     120        <term><parameter>--disable-nscd</parameter></term>
     121        <listitem>
     122          <para>Do not build the name service cache daemon which is no
     123          longer used.</para>
    115124        </listitem>
    116125      </varlistentry>
     
    208217
    209218<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen>
    210 
     219<!--
    211220    <para>Install the configuration file and runtime directory for
    212221    <command>nscd</command>:</para>
     
    220229    <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
    221230install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen>
    222 
     231-->
    223232    <para>Next, install the locales that can make the system respond in a
    224233    different language.  None of these locales are required, but if some of them
     
    500509        ldd, lddlibc4,
    501510        ld.so (symlink to ld-linux-x86-64.so.2 or ld-linux.so.2),
    502         locale, localedef, makedb, mtrace, nscd,
     511        locale, localedef, makedb, mtrace,
    503512        pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
    504513        zdump, and zic</seg>
     
    520529        /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
    521530        /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
    522         /var/cache/nscd, and /var/lib/nss_db</seg>
     531        and /var/lib/nss_db</seg>
    523532      </seglistitem>
    524533    </segmentedlist>
     
    650659          <indexterm zone="ch-system-glibc mtrace">
    651660            <primary sortas="b-mtrace">mtrace</primary>
    652           </indexterm>
    653         </listitem>
    654       </varlistentry>
    655 
    656       <varlistentry id="nscd">
    657         <term><command>nscd</command></term>
    658         <listitem>
    659           <para>A daemon that provides a cache for the most common name
    660           service requests</para>
    661           <indexterm zone="ch-system-glibc nscd">
    662             <primary sortas="b-nscd">nscd</primary>
    663661          </indexterm>
    664662        </listitem>
  • chapter08/man-db.xml

    r2df066c9 r7546d8b  
    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/openssl.xml

    r2df066c9 r7546d8b  
    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

    r2df066c9 r7546d8b  
    112112    <para>To test the results (approximately 11 SBU), issue:</para>
    113113
    114 <screen><userinput remap="test">make test</userinput></screen>
     114<screen><userinput remap="test">TEST_JOBS=$(nproc) make test_harness</userinput></screen>
    115115
    116116    <para>Install the package and clean up:</para>
  • chapter08/pkgmgt.xml

    r2df066c9 r7546d8b  
    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

    r2df066c9 r7546d8b  
    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>
  • chapter08/shadow.xml

    r2df066c9 r7546d8b  
    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/udev.xml

    r2df066c9 r7546d8b  
    6767      -Ddev-kvm-mode=0660           \
    6868      -Dlink-udev-shared=false      \
     69      -Dlogind=false                \
     70      -Dvconsole=false              \
    6971      ..</userinput></screen>
    7072
     
    108110        </listitem>
    109111      </varlistentry>
     112
     113      <varlistentry>
     114        <term><parameter>-Dlogind=false -Dvconsole=false</parameter></term>
     115        <listitem>
     116          <para>These options prevent the generation of several udev rule
     117          files belonging to the other Systemd components that we won't
     118          install.</para>
     119        </listitem>
     120      </varlistentry>
    110121    </variablelist>
    111122
    112123    <para>Only build the components needed for udev:</para>
    113124
    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 }')                              \
     125    <screen><userinput remap="make">ninja udevadm systemd-hwdb                                           \
     126      $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \
    117127      $(realpath libudev.so --relative-to .)</userinput></screen>
    118 
    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>
    123128
    124129    <para>Install the package:</para>
     
    126131    <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb,rules}.d
    127132install -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>
     133install -vm755 udevadm                             /usr/bin/
     134install -vm755 systemd-hwdb                        /usr/bin/udev-hwdb
     135ln      -svfn  ../bin/udevadm                      /usr/sbin/udevd
     136cp      -av    libudev.so{,*[0-9]}                 /usr/lib/
     137install -vm644 ../src/libudev/libudev.h            /usr/include/
     138install -vm644 src/libudev/*.pc                    /usr/lib/pkgconfig/
     139install -vm644 src/udev/*.pc                       /usr/share/pkgconfig/
     140install -vm644 ../src/udev/udev.conf               /etc/udev/
     141install -vm644 rules.d/* ../rules.d/README         /usr/lib/udev/rules.d/
     142install -vm644 $(find ../rules.d/*.rules \
     143                      -not -name '*power-switch*') /usr/lib/udev/rules.d/
     144install -vm644 hwdb.d/*  ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/
     145install -vm755 $(find src/udev \
     146                      -type f -not -name '*.*')    /usr/lib/udev</userinput></screen>
    139147
    140148    <para>Install some custom rules and support files useful in an LFS
  • chapter11/afterlfs.xml

    r2df066c9 r7546d8b  
    7979       This method also provides a full graphical environment, but first
    8080       requires installing
    81         <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink> and
    82         <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>
     81        <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink>
    8382       on the LFS system, usually in the LFS command line. It also requires
    8483       a second computer.
    8584    </para>
    8685
     86    <para>
     87      You may use the <command>scp</command> command to upload the package
     88      sources to be built onto the LFS system.  If you want to download
     89      the sources onto the LFS system directly instead, install
     90      <ulink url="&blfs-book;general/libtasn1.html">libtasn1</ulink>,
     91      <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>,
     92      <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>, and
     93      <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>
     94      in chroot (or upload their sources using <command>scp</command>
     95      after booting the LFS system).
     96    </para>
    8797  </sect3>
    8898
  • chapter11/theend.xml

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

    r2df066c9 r7546d8b  
    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

    r2df066c9 r7546d8b  
    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.2">
     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 "27c217ea495f73758f548eb2c6e10244">
    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.3">
     249<!ENTITY gettext-size "9,997 KB">
    251250<!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.xz">
    252 <!ENTITY gettext-md5 "db2f3daf34fd5b85ab1a56f9033e42d1">
     251<!ENTITY gettext-md5 "460b38ae5e520253dcd06165dd3e281f">
    253252<!ENTITY gettext-home "&gnu-software;gettext/">
    254253<!ENTITY gettext-tmp-du "306 MB">
     
    321320<!ENTITY gzip-fin-sbu "0.3 SBU">
    322321
    323 <!ENTITY iana-etc-version "20230810">
    324 <!ENTITY iana-etc-size "588 KB">
     322<!ENTITY iana-etc-version "20231107">
     323<!ENTITY iana-etc-size "589 KB">
    325324<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
    326 <!ENTITY iana-etc-md5 "0502bd41cc0bf1c1c3cd8651058b9650">
     325<!ENTITY iana-etc-md5 "01331998d26d5beb592c12b06b2eeb24">
    327326<!ENTITY iana-etc-home "https://www.iana.org/protocols">
    328327<!ENTITY iana-etc-fin-du "4.8 MB">
     
    333332<!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz">
    334333<!ENTITY inetutils-md5 "319d65bb5a6f1847c4810651f3b4ba74">
    335 <!ENTITY inetutils-sha256 "">
    336334<!ENTITY inetutils-home "&gnu-software;inetutils/">
    337335<!ENTITY inetutils-fin-du "31 MB">
     
    346344<!ENTITY intltool-fin-sbu "less than 0.1 SBU">
    347345
    348 <!ENTITY iproute2-version "6.4.0">
    349 <!ENTITY iproute2-size "904 KB">
     346<!ENTITY iproute2-version "6.6.0">
     347<!ENTITY iproute2-size "897 KB">
    350348<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
    351 <!ENTITY iproute2-md5 "90ce0eb84a8f1e2b14ffa77e8eb3f5ed">
     349<!ENTITY iproute2-md5 "6716fc3188dbea226997fa2478a190d7">
    352350<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
    353351<!ENTITY iproute2-fin-du "17 MB">
     
    364362<!ENTITY jinja2-fin-sbu "less than 0.1 SBU">
    365363
    366 <!ENTITY kbd-version "2.6.2">
    367 <!ENTITY kbd-size "1,469 KB">
     364<!ENTITY kbd-version "2.6.3">
     365<!ENTITY kbd-size "1,468 KB">
    368366<!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz">
    369 <!ENTITY kbd-md5 "35e261a31e673c8aec7dbc6553ea075c">
     367<!ENTITY kbd-md5 "4764775cac0415f1d35a0cd311249941">
    370368<!ENTITY kbd-home "https://kbd-project.org/">
    371369<!ENTITY kbd-fin-du "35 MB">
    372370<!ENTITY kbd-fin-sbu "0.1 SBU">
    373371
    374 <!ENTITY kmod-version "30">
    375 <!ENTITY kmod-size "555 KB">
     372<!ENTITY kmod-version "31">
     373<!ENTITY kmod-size "558 KB">
    376374<!ENTITY kmod-url "&kernel;linux/utils/kernel/kmod/kmod-&kmod-version;.tar.xz">
    377 <!ENTITY kmod-md5 "85202f0740a75eb52f2163c776f9b564">
     375<!ENTITY kmod-md5 "6165867e1836d51795a11ea4762ff66a">
    378376<!ENTITY kmod-home "https://github.com/kmod-project/kmod">
    379377<!ENTITY kmod-fin-du "12 MB">
     
    437435
    438436<!ENTITY linux-major-version "6">
    439 <!ENTITY linux-minor-version "5">
     437<!ENTITY linux-minor-version "6">
    440438<!ENTITY linux-patch-version "1">
    441439<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    442440<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    443 <!ENTITY linux-size "135,684 KB">
     441<!ENTITY linux-size "136,730 KB">
    444442<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    445 <!ENTITY linux-md5 "228479f37b3face05b53bd7f8906abe0">
     443<!ENTITY linux-md5 "90291279ca684fb8cfa59b2ae75b6fe0">
    446444<!ENTITY linux-home "https://www.kernel.org/">
    447 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
    448  allnoconfig rounded down to allow for ongoing cleanups,
    449  max is allmodconfig  -->
    450 <!ENTITY linux-knl-du "1200 - 8800 MB (typically about 1700 MB)">
    451 <!ENTITY linux-knl-sbu "1.5 - 130.0 SBU (typically about 12 SBU)">
    452 <!ENTITY linux-tmp-du "1200 MB">
    453 <!ENTITY linux-tmp-sbu "1.5 SBU">
     445<!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is
     446 allnoconfig + some configs we recommend for the users, rounded down to
     447 allow ongoing cleanups; max is allmodconfig but IKHEADERS unset; typical
     448 is the "daily use" config for the workstation measuring the min/max values.
     449 The disk usage is the sum of the size of linux-6.5.3 directory and the
     450 installed kernel image & modules.  -->
     451<!ENTITY linux-knl-du "1.8 - 10.6 GB (typically about 2 GB)">
     452<!ENTITY linux-knl-sbu "0.6 - 20.4 SBU (typically about 1.4 SBU)">
     453
     454<!-- For temporary kernel use the minimal value -->
     455<!ENTITY linux-tmp-du "1.8 GB">
     456<!ENTITY linux-tmp-sbu "0.6 SBU">
    454457
    455458<!ENTITY linux-headers-tmp-du "1.5 GB">
     
    476479<!ENTITY make-fin-sbu "0.5 SBU">
    477480
    478 <!ENTITY man-db-version "2.11.2">
    479 <!ENTITY man-db-size "1,908 KB">
     481<!ENTITY man-db-version "2.12.0">
     482<!ENTITY man-db-size "1,941 KB">
    480483<!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz">
    481 <!ENTITY man-db-md5 "a7d59fb2df6158c44f8f7009dcc6d875">
     484<!ENTITY man-db-md5 "67e0052fa200901b314fad7b68c9db27">
    482485<!ENTITY man-db-home "https://www.nongnu.org/man-db/">
    483486<!ENTITY man-db-fin-du "40 MB">
     
    500503<!ENTITY markupsafe-fin-sbu "less than 0.1 SBU">
    501504
    502 <!ENTITY meson-version "1.2.1">
    503 <!ENTITY meson-size "2,131 KB">
     505<!ENTITY meson-version "1.2.3">
     506<!ENTITY meson-size "2,134 KB">
    504507<!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz">
    505 <!ENTITY meson-md5 "e3cc846536189aacd7d01858a45ca9af">
     508<!ENTITY meson-md5 "69da4c63ef06c9d3bcc00ce89abb306f">
    506509<!ENTITY meson-home "https://mesonbuild.com">
    507510<!ENTITY meson-fin-du "42 MB">
     
    542545<!ENTITY ninja-fin-sbu "0.3 SBU">
    543546
    544 <!ENTITY openssl-version "3.1.2">
    545 <!ENTITY openssl-size "15,196 KB">
     547<!ENTITY openssl-version "3.1.4">
     548<!ENTITY openssl-size "15,205 KB">
    546549<!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
    547 <!ENTITY openssl-md5 "1d7861f969505e67b8677e205afd9ff4">
     550<!ENTITY openssl-md5 "653ad58812c751b887e8ec37e02bba70">
    548551<!ENTITY openssl-home "https://www.openssl.org/">
    549552<!ENTITY openssl-fin-du "587 MB">
     
    601604     meson pages will be needed: python3.6 and python3.6m -->
    602605
    603 <!ENTITY python-version "3.11.5">
    604 <!ENTITY python-minor "3.11">
    605 <!ENTITY python-size "19,584 KB">
     606<!ENTITY python-version "3.12.0">
     607<!ENTITY python-minor "3.12">
     608<!ENTITY python-size "20,093 KB">
    606609<!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz">
    607 <!ENTITY python-md5 "393856f1b7713aa8bba4b642ab9985d3">
     610<!ENTITY python-md5 "f6f4616584b23254d165f4db90c247d6">
    608611<!ENTITY python-home "https://www.python.org/">
    609612<!ENTITY python-tmp-du "533 MB">
     
    612615<!ENTITY python-fin-sbu "1.9 SBU">
    613616<!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2">
    614 <!ENTITY python-docs-md5 "1abed52338038f4b53a277a5558af838">
    615 <!ENTITY python-docs-size "7,678 KB">
     617<!ENTITY python-docs-md5 "ae9d19bb613ae8ef2457496bd2893915">
     618<!ENTITY python-docs-size "8,009 KB">
    616619
    617620<!ENTITY readline-version "8.2">
     
    634637<!ENTITY sed-fin-sbu "0.3 SBU">
    635638
    636 <!ENTITY shadow-version "4.14.0">
    637 <!ENTITY shadow-size "1,746 KB">
     639<!ENTITY setuptools-version "68.2.2">
     640<!ENTITY setuptools-size "2,152 KB">
     641<!ENTITY setuptools-url "&pypi-src;/s/setuptools/setuptools-&setuptools-version;.tar.gz">
     642<!ENTITY setuptools-md5 "d967ca2ba7f46db887daee2d5c9bd6a2">
     643<!ENTITY setuptools-home "&pypi-home;/setuptools/">
     644<!ENTITY setuptools-fin-du "30 MB">
     645<!ENTITY setuptools-fin-sbu "0.1 SBU">
     646
     647<!ENTITY shadow-version "4.14.2">
     648<!ENTITY shadow-size "1,758 KB">
    638649<!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
    639 <!ENTITY shadow-md5 "bb0166bebc24db9003bb77bfd1359042">
    640 <!ENTITY shadow-home "https://shadow-maint.github.io/shadow/">
     650<!ENTITY shadow-md5 "effc1aa17590305647413125b966f1dd">
     651<!ENTITY shadow-home "&github;/shadow-maint/shadow/">
    641652<!ENTITY shadow-fin-du "46 MB">
    642653<!ENTITY shadow-fin-sbu "0.1 SBU">
     
    697708<!ENTITY tcl-tmp-sbu "2.7 SBU">
    698709
    699 <!ENTITY texinfo-version "7.0.3">
    700 <!ENTITY texinfo-size "4,776 KB">
     710<!ENTITY texinfo-version "7.1">
     711<!ENTITY texinfo-size "5,416 KB">
    701712<!ENTITY texinfo-url "&gnu;texinfo/texinfo-&texinfo-version;.tar.xz">
    702 <!ENTITY texinfo-md5 "37bf94fd255729a14d4ea3dda119f81a">
     713<!ENTITY texinfo-md5 "edd9928b4a3f82674bcc3551616eef3b">
    703714<!ENTITY texinfo-home "&gnu-software;texinfo/">
    704715<!ENTITY texinfo-tmp-du "116 MB">
     
    736747<!ENTITY mount-setsid-sbu "less than 0.1 SBU">
    737748
    738 <!ENTITY vim-version "9.0.1837">
     749<!ENTITY vim-version "9.0.2103">
    739750<!-- <!ENTITY vim-majmin "90"> -->
    740751<!ENTITY vim-docdir "vim/vim90">
    741 <!ENTITY vim-size "16,838 KB">
     752<!ENTITY vim-size "11,193 KB">
    742753<!--<!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 "de7cba78a556f96482ae8f09b082aa59">
     754<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.xz">
     755<!ENTITY vim-md5 "1af1d018026234d085a82348703461ce">
    745756<!ENTITY vim-home "https://www.vim.org">
    746757<!ENTITY vim-fin-du "229 MB">
    747758<!ENTITY vim-fin-sbu "2.3 SBU">
    748759
    749 <!ENTITY wheel-version "0.41.2">
    750 <!ENTITY wheel-size "96 KB">
     760<!ENTITY wheel-version "0.41.3">
     761<!ENTITY wheel-size "97 KB">
    751762<!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz">
    752 <!ENTITY wheel-md5 "06271a9e90c948b7e93dd7ce0fd90272">
     763<!ENTITY wheel-md5 "c66db2f3a50d5659994fa974138d4002">
    753764<!ENTITY wheel-home "&pypi-home;/wheel/">
    754765<!ENTITY wheel-fin-du "1.5 MB">
     
    763774<!ENTITY xml-parser-fin-sbu "less than 0.1 SBU">
    764775
    765 <!ENTITY xz-version "5.4.4">
    766 <!ENTITY xz-size "1,623 KB">
     776<!ENTITY xz-version "5.4.5">
     777<!ENTITY xz-size "1,642 KB">
    767778<!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz">
    768 <!ENTITY xz-md5 "d83d6f64a64f88759e312b8a38c3add6">
     779<!ENTITY xz-md5 "1d33e0be05c53e7a5641acf5c8b35fdd">
    769780<!ENTITY xz-home "https://tukaani.org/xz">
    770781<!ENTITY xz-tmp-du "22 MB">
  • patches.ent

    r2df066c9 r7546d8b  
    1515<!ENTITY glibc-fhs-patch-size "2.8 KB">
    1616
    17 <!ENTITY glibc-upstream-fixes-patch "glibc-&glibc-version;-upstream_fixes-1.patch">
    18 <!ENTITY glibc-upstream-fixes-patch-md5 "2e347e291804b62a18a43a8cdc79e01e">
    19 <!ENTITY glibc-upstream-fixes-patch-size "24 KB">
     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">
  • stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl

    r2df066c9 r7546d8b  
    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>
Note: See TracChangeset for help on using the changeset viewer.