Changes in / [7b7733d:d58da4b]


Ignore:
Files:
2 added
1 deleted
30 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r7b7733d rd58da4b  
    44  <!ENTITY % general-entities SYSTEM "../general.ent">
    55  %general-entities;
     6  <!-- Convenient entity for "Systemd" or "Udev" -->
     7  <!ENTITY systemd-udev "<phrase revision='systemd'>Systemd</phrase>
     8                         <phrase revision='sysv'>Udev</phrase>">
    69]>
    710
     
    467470        <segtitle>&before;</segtitle>
    468471        <seglistitem>
    469           <seg>Bash, Diffutils, <phrase revision="sysv">Eudev, </phrase>
    470           Findutils, <phrase revision="sysv">and </phrase>Man-DB<phrase
    471           revision="systemd">, and Systemd</phrase></seg>
     472          <seg>Bash, Diffutils, Findutils, Man-DB, and &systemd-udev;</seg>
    472473        </seglistitem>
    473474      </segmentedlist>
     
    643644      </segmentedlist>
    644645
    645 <!-- Begin Eudev dependency info -->
    646   <bridgehead renderas="sect2" id="eudev-dep" revision="sysv">Eudev</bridgehead>
    647 
    648       <segmentedlist id="eudev-depends" revision="sysv">
    649         <segtitle>&dependencies;</segtitle>
    650         <seglistitem>
    651           <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Gperf, Make,
    652           Sed, and Util-linux</seg>
    653         </seglistitem>
    654       </segmentedlist>
    655 
    656       <segmentedlist id="eudev-rundeps" revision="sysv">
    657         <segtitle>&runtime;</segtitle>
    658         <seglistitem>
    659           <seg>Glibc, Kmod, Xz, Util-linux, and Zlib.</seg>
    660         </seglistitem>
    661       </segmentedlist>
    662 
    663       <segmentedlist id="eudev-testdeps" revision="sysv">
    664         <segtitle>&testsuites;</segtitle>
    665         <seglistitem>
    666           <seg>None</seg>
    667         </seglistitem>
    668       </segmentedlist>
    669 
    670       <segmentedlist id="eudev-before" revision="sysv">
    671         <segtitle>&before;</segtitle>
    672         <seglistitem>
    673           <seg>None</seg>
    674         </seglistitem>
    675       </segmentedlist>
    676 
    677       <segmentedlist id="eudev-optdeps" revision="sysv">
    678         <segtitle>&external;</segtitle>
    679         <seglistitem>
    680           <seg>None</seg>
    681         </seglistitem>
    682       </segmentedlist>
    683 
    684646<!-- Begin Expat dependency info -->
    685647  <bridgehead renderas="sect2" id="expat-dep">Expat</bridgehead>
     
    971933        <seglistitem>
    972934          <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
    973           Gettext, Glibc, GMP, Grep, M4, Make, MPC, MPFR, Patch, Perl, Sed,
    974           Tar, Texinfo, and Zstd</seg>
     935          Gettext, Glibc, GMP, Grep, Libxcrypt, M4, Make, MPC, MPFR, Patch,
     936          Perl, Sed, Tar, Texinfo, and Zstd</seg>
    975937        </seglistitem>
    976938      </segmentedlist>
     
    15561518        <segtitle>&before;</segtitle>
    15571519        <seglistitem>
    1558           <seg>Systemd</seg>
     1520          <seg>&systemd-udev;</seg>
    15591521        </seglistitem>
    15601522      </segmentedlist>
     
    16341596        <segtitle>&before;</segtitle>
    16351597        <seglistitem>
    1636           <seg><phrase revision="sysv">Eudev</phrase>
    1637           <phrase revision="systemd">Systemd</phrase></seg>
     1598          <seg>&systemd-udev;</seg>
    16381599        </seglistitem>
    16391600      </segmentedlist>
     
    18801841
    18811842      <segmentedlist id="libtool-optdeps">
     1843        <segtitle>&external;</segtitle>
     1844        <seglistitem>
     1845          <seg>None</seg>
     1846        </seglistitem>
     1847      </segmentedlist>
     1848
     1849<!-- Begin Libxcrypt dependency info -->
     1850  <bridgehead renderas="sect2" id="libxcrypt-dep">Libxcrypt</bridgehead>
     1851
     1852      <segmentedlist id="libxcrypt-depends">
     1853        <segtitle>&dependencies;</segtitle>
     1854        <seglistitem>
     1855          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
     1856          Make, Perl, and Sed</seg>
     1857        </seglistitem>
     1858      </segmentedlist>
     1859
     1860      <segmentedlist id="libxcrypt-rundeps">
     1861        <segtitle>&runtime;</segtitle>
     1862        <seglistitem>
     1863          <seg>Glibc</seg>
     1864        </seglistitem>
     1865      </segmentedlist>
     1866
     1867      <segmentedlist id="libxcrypt-testdeps">
     1868        <segtitle>&testsuites;</segtitle>
     1869        <seglistitem>
     1870          <seg>None</seg>
     1871        </seglistitem>
     1872      </segmentedlist>
     1873
     1874      <segmentedlist id="libxcrypt-before">
     1875        <segtitle>&before;</segtitle>
     1876        <seglistitem>
     1877          <seg>GCC, Perl, Python, Shadow, and &systemd-udev;</seg>
     1878        </seglistitem>
     1879      </segmentedlist>
     1880
     1881      <segmentedlist id="libxcrypt-optdeps">
    18821882        <segtitle>&external;</segtitle>
    18831883        <seglistitem>
     
    21962196        <segtitle>&before;</segtitle>
    21972197        <seglistitem>
    2198           <seg>
    2199             <phrase revision='sysv'>None</phrase>
    2200             <phrase revision='systemd'>Systemd</phrase>
    2201           </seg>
     2198          <seg>&systemd-udev;</seg>
    22022199        </seglistitem>
    22032200      </segmentedlist>
     
    23982395        <segtitle>&before;</segtitle>
    23992396        <seglistitem>
    2400           <seg>Coreutils, Kmod, and Linux</seg>
     2397          <seg>Coreutils, Kmod, Linux, and &systemd-udev;</seg>
    24012398        </seglistitem>
    24022399      </segmentedlist>
     
    24562453        <seglistitem>
    24572454          <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, Groff,
    2458           Make, Sed, and Zlib</seg>
     2455          Libxcrypt, Make, Sed, and Zlib</seg>
    24592456        </seglistitem>
    24602457      </segmentedlist>
     
    24632460        <segtitle>&runtime;</segtitle>
    24642461        <seglistitem>
    2465           <seg>GDBM and Glibc</seg>
     2462          <seg>GDBM, Glibc, and Libxcrypt</seg>
    24662463        </seglistitem>
    24672464      </segmentedlist>
     
    25202517          <seg><phrase revision='systemd'>D-Bus, </phrase>E2fsprogs,
    25212518          IProute2, Kmod, Man-DB, Procps-ng, Python,
    2522                   <phrase revision='systemd'>Systemd, </phrase>and Util-linux</seg>
     2519                  &systemd-udev;, and Util-linux</seg>
    25232520        </seglistitem>
    25242521      </segmentedlist>
     
    26222619        <seglistitem>
    26232620          <seg>Bash, Binutils, Coreutils, Expat, GCC, Gdbm, Gettext, Glibc,
    2624           Grep, Libffi, Make, Ncurses, OpenSSL, Pkgconf, Sed, and
     2621          Grep, Libffi, Libxcrypt, Make, Ncurses, OpenSSL, Pkgconf, Sed, and
    26252622          Util-linux</seg>
    26262623        </seglistitem>
     
    26302627        <segtitle>&runtime;</segtitle>
    26312628        <seglistitem>
    2632           <seg>Bzip2, Expat, Gdbm, Glibc, Libffi, Ncurses, OpenSSL, and
    2633           Zlib</seg>
     2629          <seg>Bzip2, Expat, Gdbm, Glibc, Libffi, Libxcrypt, Ncurses,
     2630          OpenSSL, and Zlib</seg>
    26342631        </seglistitem>
    26352632      </segmentedlist>
     
    27462743        <seglistitem>
    27472744          <seg>Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk,
    2748           GCC, Gettext, Glibc, Grep, Libcap, Make, and Sed</seg>
     2745          GCC, Gettext, Glibc, Grep, Libcap, Libxcrypt, Make, and Sed</seg>
    27492746        </seglistitem>
    27502747      </segmentedlist>
     
    27532750        <segtitle>&runtime;</segtitle>
    27542751        <seglistitem>
    2755           <seg>Glibc</seg>
     2752          <seg>Glibc and Libxcrypt</seg>
    27562753        </seglistitem>
    27572754      </segmentedlist>
     
    28262823        <segtitle>&dependencies;</segtitle>
    28272824        <seglistitem>
    2828          <seg>Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Expat, Gawk,
    2829          GCC, Glibc, Gperf, Grep, Jinja2, Libcap, Meson, Pkgconf, Sed,
    2830          Util-linux, and Zstd</seg>
     2825         <seg>Acl, Bash, Binutils, Coreutils, Diffutils, Gawk,
     2826         GCC, Glibc, Gperf, Grep, Jinja2, Libcap, Libxcrypt, Meson,
     2827         OpenSSL, Pkgconf, Sed, Util-linux, and Zstd</seg>
    28312828        </seglistitem>
    28322829      </segmentedlist>
     
    28352832        <segtitle>&runtime;</segtitle>
    28362833        <seglistitem>
    2837           <seg>Acl, Attr, Glibc, Libcap, and Util-linux</seg>
     2834          <seg>Acl, Glibc, Libcap, Libxcrypt, OpenSSL, Util-linux, Xz,
     2835          Zlib, and Zstd</seg>
    28382836        </seglistitem>
    28392837      </segmentedlist>
     
    30643062      </segmentedlist>
    30653063
     3064<!-- Begin Udev dependency info -->
     3065  <bridgehead renderas="sect2" id="udev-dep" revision="sysv">Udev</bridgehead>
     3066
     3067      <segmentedlist id="udev-depends" revision="sysv">
     3068        <segtitle>&dependencies;</segtitle>
     3069        <seglistitem>
     3070         <seg>Acl, Bash, Binutils, Coreutils, Diffutils, Gawk,
     3071         GCC, Glibc, Gperf, Grep, Jinja2, Libcap, Libxcrypt, Meson,
     3072         OpenSSL, Pkgconf, Sed, Util-linux, and Zstd</seg>
     3073        </seglistitem>
     3074      </segmentedlist>
     3075
     3076      <segmentedlist id="udev-rundeps" revision="sysv">
     3077        <segtitle>&runtime;</segtitle>
     3078        <seglistitem>
     3079          <seg>Acl, Glibc, Libcap, OpenSSL, and Util-linux</seg>
     3080        </seglistitem>
     3081      </segmentedlist>
     3082
     3083      <segmentedlist id="udev-testdeps" revision="sysv">
     3084        <segtitle>&testsuites;</segtitle>
     3085        <seglistitem>
     3086          <seg>None</seg>
     3087        </seglistitem>
     3088      </segmentedlist>
     3089
     3090      <segmentedlist id="udev-before" revision="sysv">
     3091        <segtitle>&before;</segtitle>
     3092        <seglistitem>
     3093          <seg>Util-linux</seg>
     3094        </seglistitem>
     3095      </segmentedlist>
     3096
     3097      <segmentedlist id="udev-optdeps" revision="sysv">
     3098        <segtitle>&external;</segtitle>
     3099        <seglistitem>
     3100          <seg>None</seg>
     3101        </seglistitem>
     3102      </segmentedlist>
     3103
    30663104<!-- Begin Util-linux dependency info -->
    30673105  <bridgehead renderas="sect2" id="util-linux-dep">Util-linux</bridgehead>
     
    30703108        <segtitle>&dependencies;</segtitle>
    30713109        <seglistitem>
    3072           <seg>Bash, Binutils, Coreutils, Diffutils,
    3073           <phrase revision="sysv">Eudev, </phrase>File, Findutils, Gawk,
     3110          <seg>Bash, Binutils, Coreutils, Diffutils, File, Findutils, Gawk,
    30743111          GCC, Gettext, Glibc, Grep, Make, Ncurses, Pkgconf, Sed,
    3075           <phrase revision="systemd">Systemd, </phrase>and Zlib</seg>
     3112          &systemd-udev;, and Zlib</seg>
    30763113        </seglistitem>
    30773114      </segmentedlist>
     
    30803117        <segtitle>&runtime;</segtitle>
    30813118        <seglistitem>
    3082           <seg>Glibc, Ncurses, Readline, and Zlib</seg>
     3119          <seg>Glibc, Ncurses, Readline, &systemd-udev;, and Zlib</seg>
    30833120        </seglistitem>
    30843121      </segmentedlist>
     
    32683305        <segtitle>&before;</segtitle>
    32693306        <seglistitem>
    3270           <seg><phrase revision="sysv">Eudev, </phrase>File, GRUB, Kmod,
    3271           Libelf, <phrase revision="sysv">and </phrase>Man-DB<phrase
    3272           revision="systemd">, and Systemd</phrase></seg>
     3307          <seg>File, GRUB, Kmod, Libelf, Man-DB, and &systemd-udev;</seg>
    32733308        </seglistitem>
    32743309      </segmentedlist>
     
    33463381        <segtitle>&before;</segtitle>
    33473382        <seglistitem>
    3348           <seg><phrase revision='sysv'>GCC and Libelf</phrase>
    3349           <phrase revision='systemd'>GCC, Libelf, and Systemd</phrase></seg>
     3383          <seg>GCC, Libelf, and &systemd-udev;</seg>
    33503384        </seglistitem>
    33513385      </segmentedlist>
  • appendices/udev-rules.xml

    r7b7733d rd58da4b  
    99<appendix id="rules" xreflabel="Appendix E" revision="sysv">
    1010  <?dbhtml dir="scripts"?>
    11   <?dbhtml filename="eudev-rules.html"?>
     11  <?dbhtml filename="udev-rules.html"?>
    1212
    1313  <title>Udev configuration rules</title>
    1414
    1515  <para>The rules in this appendix are listed for convenience.  Installation is
    16   normally done via instructions in <xref linkend='ch-system-eudev'/>.  </para>
     16  normally done via instructions in <xref linkend='ch-system-udev'/>.  </para>
    1717
    1818  <sect1 id="lfsrules" role="wrap">
  • bootscripts/ChangeLog

    r7b7733d rd58da4b  
     12023-07-22 Xi Ruoyao <xry111@xry111.site>
     2   * In mountvirtfs, create symlinks /dev/{fd,std{in,out,err}} and
     3     /dev/core (optional).
     4
     52023-07-16 Xi Ruoyao <xry111@xry111.site>
     6   * In udev, set SYSTEMD_LOG_TARGET=kmsg so systemd-udevd will correctly
     7     log messages.
     8
     92023-07-15 Xi Ruoyao <xry111@xry111.site>
     10   * Use /bin/udevadm instead of /sbin/udevadm.
     11
    1122022-09-30 Bruce Dubbs <bdubbs@linuxfromscratch.org>
    213   * Mount /dev/shm as a tmpfs.
  • bootscripts/lfs/init.d/mountvirtfs

    r7b7733d rd58da4b  
    88#               DJ Lucas - dj@linuxfromscratch.org
    99# Update      : Bruce Dubbs - bdubbs@linuxfromscratch.org
     10#               Xi Ruoyao - xry111@xry111.site
    1011#
    11 # Version     : LFS 7.0
     12# Version     : LFS 12.0
    1213#
    1314########################################################################
     
    6566      (exit ${failed})
    6667      evaluate_retval
     68      if [ "${failed}" = 1 ]; then
     69         exit 1
     70      fi
     71
     72      log_info_msg "Create symlinks in /dev targeting /proc: ${INFO}/dev/stdin"
     73      ln -sf /proc/self/fd/0 /dev/stdin  || failed=1
     74
     75      log_info_msg2 " ${INFO}/dev/stdout"
     76      ln -sf /proc/self/fd/1 /dev/stdout || failed=1
     77
     78      log_info_msg2 " ${INFO}/dev/stderr"
     79      ln -sf /proc/self/fd/2 /dev/stderr || failed=1
     80
     81      log_info_msg2 " ${INFO}/dev/fd"
     82      ln -sf /proc/self/fd   /dev/fd     || failed=1
     83
     84      if [ -e /proc/kcore ]; then
     85         log_info_msg2 " ${INFO}/dev/core"
     86         ln -sf /proc/kcore  /dev/core   || failed=1
     87      fi
     88
     89      (exit ${failed})
     90      evaluate_retval
    6791      exit $failed
    6892      ;;
  • bootscripts/lfs/init.d/udev

    r7b7733d rd58da4b  
    88#               DJ Lucas - dj@linuxfromscratch.org
    99# Update      : Bruce Dubbs - bdubbs@linuxfromscratch.org
     10#               Xi Ruoyao - xry111@xry111.site
    1011#
    11 # Version     : LFS 7.0
     12# Version     : LFS 12.0
    1213#
    1314########################################################################
     
    4647      # Start the udev daemon to continually watch for, and act on,
    4748      # uevents
    48       /sbin/udevd --daemon
     49      SYSTEMD_LOG_TARGET=kmsg /sbin/udevd --daemon
    4950
    5051      # Now traverse /sys in order to "coldplug" devices that have
    5152      # already been discovered
    52       /sbin/udevadm trigger --action=add    --type=subsystems
    53       /sbin/udevadm trigger --action=add    --type=devices
    54       /sbin/udevadm trigger --action=change --type=devices
     53      /bin/udevadm trigger --action=add    --type=subsystems
     54      /bin/udevadm trigger --action=add    --type=devices
     55      /bin/udevadm trigger --action=change --type=devices
    5556
    5657      # Now wait for udevd to process the uevents we triggered
    5758      if ! is_true "$OMIT_UDEV_SETTLE"; then
    58          /sbin/udevadm settle
     59         /bin/udevadm settle
    5960      fi
    6061
  • bootscripts/lfs/init.d/udev_retry

    r7b7733d rd58da4b  
    3535      log_info_msg "Retrying failed uevents, if any..."
    3636
    37       # As of udev-186, the --run option is no longer valid
    38       #rundir=$(/sbin/udevadm info --run)
    3937      rundir=/run/udev
    4038      # From Debian: "copy the rules generated before / was mounted
     
    5351      while read line ; do
    5452         for subsystem in $line ; do
    55             /sbin/udevadm trigger --subsystem-match=$subsystem --action=add
     53            /bin/udevadm trigger --subsystem-match=$subsystem --action=add
    5654         done
    5755      done
     
    5957      # Now wait for udevd to process the uevents we triggered
    6058      if ! is_true "$OMIT_UDEV_RETRY_SETTLE"; then
    61          /sbin/udevadm settle
     59         /bin/udevadm settle
    6260      fi
    6361
  • chapter01/changelog.xml

    r7b7733d rd58da4b  
    4141    -->
    4242
     43    <listitem revision='sysv'>
     44      <para>2023-07-22</para>
     45      <itemizedlist>
     46        <listitem revision='sysv'>
     47          <para>[xry111] - Make the mountvirtfs bootscript create essential
     48          symlinks in /dev.  Fixes
     49          <ulink url='&lfs-ticket-root;5289'>#5289</ulink>.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
     55      <para>2023-07-15</para>
     56      <itemizedlist>
     57        <listitem revision='sysv'>
     58          <para>[xry111] - Replace eudev-3.2.12 with udev from systemd-253.
     59          Fixes <ulink url='&lfs-ticket-root;5285'>#5085</ulink>.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[bdubbs] - Update to iana-etc-20230629.  Addresses
     63          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     64        </listitem>
     65        <listitem>
     66          <para>[bdubbs] - Update to linux-6.4.3.  Fixes
     67          <ulink url='&lfs-ticket-root;5284'>#5284</ulink>.</para>
     68        </listitem>
     69        <listitem>
     70          <para>[bdubbs] - Update to  libxcrypt-4.4.36.  Fixes
     71          <ulink url='&lfs-ticket-root;5283'>#5283</ulink>.</para>
     72        </listitem>
     73        <listitem>
     74          <para>[bdubbs] - Update to groff-1.23.0.  Fixes
     75          <ulink url='&lfs-ticket-root;5282'>#5282</ulink>.</para>
     76        </listitem>
     77        <listitem>
     78          <para>[bdubbs] - Update to perl-5.38.0.  Fixes
     79          <ulink url='&lfs-ticket-root;5281'>#5281</ulink>.</para>
     80        </listitem>
     81      </itemizedlist>
     82    </listitem>
     83
     84    <listitem>
     85      <para>2023-07-02</para>
     86      <itemizedlist>
     87        <listitem>
     88          <para>[xry111] - Add libxcrypt-4.4.35.  Fixes
     89          <ulink url='&lfs-ticket-root;5280'>#5280</ulink>.</para>
     90        </listitem>
     91        <listitem>
     92          <para>[xry111] - Update to iproute2-6.4.0.  Fixes
     93          <ulink url='&lfs-ticket-root;5277'>#5277</ulink>.</para>
     94        </listitem>
     95        <listitem>
     96          <para>[xry111] - Update to linux-6.4.1.  Fixes
     97          <ulink url='&lfs-ticket-root;5276'>#5276</ulink>.</para>
     98        </listitem>
     99      </itemizedlist>
     100    </listitem>
     101
     102    <listitem>
     103      <para>2023-07-01</para>
     104      <itemizedlist>
     105        <listitem>
     106          <para>[bdubbs] - Update to iana-etc-20230615.  Addresses
     107          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     108        </listitem>
     109        <listitem>
     110          <para>[bdubbs] - Update to vim-9.0.1671.  Addresses
     111          <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     112        </listitem>
     113        <listitem>
     114          <para>[bdubbs] - Update to util-linux-2.39.1.  Addresses
     115          <ulink url='&lfs-ticket-root;5278'>#5278</ulink>.</para>
     116        </listitem>
     117        <listitem>
     118          <para>[bdubbs] - Update to linux-6.3.10.  Addresses
     119          <ulink url='&lfs-ticket-root;5276'>#5276</ulink>.</para>
     120        </listitem>
     121        <listitem>
     122          <para>[rahul] - Update to kbd-2.6.1.  Fixes
     123          <ulink url='&lfs-ticket-root;5279'>#5279</ulink>.</para>
     124        </listitem>
     125        <listitem>
     126          <para>[bdubbs] - Update to gettext-0.22.  Fixes
     127          <ulink url='&lfs-ticket-root;5275'>#5275</ulink>.</para>
     128        </listitem>
     129      </itemizedlist>
     130    </listitem>
     131
    43132    <listitem>
    44133      <para>2023-06-17</para>
  • chapter01/whatsnew.xml

    r7b7733d rd58da4b  
    9292       <para>E2fsprogs-&e2fsprogs-version;</para>
    9393    </listitem>-->
    94     <listitem revision="sysv">
    95        <para>Eudev-&eudev-version;</para>
    96     </listitem>
     94    <!--<listitem revision="sysv">
     95       <para>Udev-&systemd-version; (from systemd)</para>
     96    </listitem>-->
    9797    <!--<listitem>
    9898       <para>Expat-&expat-version;</para>
     
    122122       <para>GDBM-&gdbm-version;</para>
    123123    </listitem>-->
    124     <!--<listitem>
     124    <listitem>
    125125      <para>Gettext-&gettext-version;</para>
    126     </listitem>-->
     126    </listitem>
    127127    <!--<listitem>
    128128      <para>Glibc-&glibc-version;</para>
     
    137137      <para>Grep-&grep-version;</para>
    138138    </listitem>
    139     <!--<listitem>
     139    <listitem>
    140140      <para>Groff-&groff-version;</para>
    141     </listitem>-->
     141    </listitem>
    142142    <!--<listitem>
    143143      <para>GRUB-&grub-version;</para>
     
    161161      <para>Jinja2-&jinja2-version;</para>
    162162    </listitem>-->
    163     <!--<listitem>
     163    <listitem>
    164164      <para>Kbd-&kbd-version;</para>
    165     </listitem>-->
     165    </listitem>
    166166    <!--<listitem>
    167167      <para>Kmod-&kmod-version;</para>
     
    305305    <listitem><para></para></listitem>  <!-- satisfy build -->
    306306
     307    <listitem revision="sysv">
     308       <para>Udev-&systemd-version; (from systemd)</para>
     309    </listitem>
     310
     311    <listitem revision="sysv">
     312      <para>Jinja2-&jinja2-version;</para>
     313    </listitem>
     314
     315    <listitem revision="sysv">
     316      <para>MarkupSafe-&markupsafe-version;</para>
     317    </listitem>
     318
     319    <listitem>
     320      <para>Libxcrypt-&libxcrypt-version;</para>
     321    </listitem>
     322
    307323    <listitem>
    308324      <para>Pkgconf-&flit-core-version;</para>
     
    330346    <listitem><para></para></listitem>  <!-- satisfy build -->
    331347
     348    <listitem revision='sysv'>
     349      <para>eudev-3.2.12</para>
     350    </listitem>
     351
    332352    <listitem>
    333353      <para>Pkg-config-0.29.2</para>
    334354    </listitem>
    335355
    336     <listitem>
     356    <listitem revision='systemd'>
    337357      <para>systemd-252-security_fix-1.patch</para>
    338358    </listitem>
  • chapter03/packages.xml

    r7b7733d rd58da4b  
    172172        <para>Download: <ulink url="&elfutils-url;"/></para>
    173173        <para>MD5 sum: <literal>&elfutils-md5;</literal></para>
    174       </listitem>
    175     </varlistentry>
    176 
    177     <varlistentry revision="sysv">
    178       <term>Eudev (&eudev-version;) - <token>&eudev-size;</token>:</term>
    179       <listitem>
    180         <para>Download: <ulink url="&eudev-url;"/></para>
    181         <para>MD5 sum: <literal>&eudev-md5;</literal></para>
    182174      </listitem>
    183175    </varlistentry>
     
    388380    </varlistentry>
    389381
    390     <varlistentry revision="systemd">
     382    <varlistentry>
    391383      <term>Jinja2 (&jinja2-version;) - <token>&jinja2-size;</token>:</term>
    392384      <listitem>
     
    466458        <para>Download: <ulink url="&libtool-url;"/></para>
    467459        <para>MD5 sum: <literal>&libtool-md5;</literal></para>
     460      </listitem>
     461    </varlistentry>
     462
     463    <varlistentry>
     464      <term>Libxcrypt (&libxcrypt-version;) - <token>&libxcrypt-size;</token>:</term>
     465      <listitem>
     466        <para>Home page: <ulink url="&libxcrypt-home;"/></para>
     467        <para>Download: <ulink url="&libxcrypt-url;"/></para>
     468        <para>MD5 sum: <literal>&libxcrypt-md5;</literal></para>
    468469      </listitem>
    469470    </varlistentry>
     
    528529    </varlistentry>
    529530
    530     <varlistentry revision="systemd">
     531    <varlistentry>
    531532      <term>MarkupSafe (&markupsafe-version;) - <token>&markupsafe-size;</token>:</term>
    532533      <listitem>
     
    689690    </varlistentry>
    690691
    691     <varlistentry revision="systemd">
     692    <varlistentry>
    692693      <term>Systemd (&systemd-version;) - <token>&systemd-size;</token>:</term>
    693694      <listitem>
     
    698699    </varlistentry>
    699700
    700     <varlistentry revision="systemd">
     701    <varlistentry>
    701702      <term>Systemd Man Pages(&systemd-version;) - <token>&systemd-man-size;</token>:</term>
    702703      <listitem>
  • chapter05/glibc.xml

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

    r7b7733d rd58da4b  
    9696    --disable-libgomp                              \
    9797    --disable-libquadmath                          \
     98    --disable-libsanitizer                         \
    9899    --disable-libssp                               \
    99100    --disable-libvtv                               \
     
    143144      </varlistentry>
    144145
     146      <varlistentry>
     147        <term><parameter>--disable-libsanitizer</parameter></term>
     148        <listitem>
     149          <para>Disable GCC sanitizer runtime libraries.  They are not
     150          needed for the temporary installation.  This switch is necessary
     151          to build GCC without
     152          <systemitem class='library'>libcrypt</systemitem> installed for
     153          the target.  In <xref linkend='ch-tools-gcc-pass1'/> it was
     154          implied by <parameter>--disable-libstdcxx</parameter>, but now we
     155          have to explicitly pass it.</para>
     156        </listitem>
     157      </varlistentry>
     158
    145159    </variablelist>
    146160
  • chapter08/chapter08.xml

    r7b7733d rd58da4b  
    3737  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="acl.xml"/>
    3838  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcap.xml"/>
     39  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxcrypt.xml"/>
    3940  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
    4041  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/>
     
    9192
    9293  <!-- sysv only -->
    93   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="eudev.xml"/>
     94  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udev.xml"/>
    9495
    9596  <!-- Both sysv on systemd builds -->
  • chapter08/gettext.xml

    r7b7733d rd58da4b  
    9898        libgettextsrc.so, libtextstyle.so, and preloadable_libintl.so</seg>
    9999        <seg>/usr/lib/gettext, /usr/share/doc/gettext-&gettext-version;,
    100         /usr/share/gettext, and /usr/share/gettext-0.19.8</seg>
     100        /usr/share/gettext, and /usr/share/gettext-&gettext-version;</seg>
    101101      </seglistitem>
    102102    </segmentedlist>
  • chapter08/glibc.xml

    r7b7733d rd58da4b  
    8080             --enable-stack-protector=strong          \
    8181             --with-headers=/usr/include              \
     82             --disable-crypt                          \
    8283             libc_cv_slibdir=/usr/lib</userinput></screen>
    8384
     
    491492        libBrokenLocale.{a,so}, libanl.{a,so},
    492493        libc.{a,so}, libc_nonshared.a, libc_malloc_debug.so,
    493         libcrypt.{a,so}, libdl.{a,so.2}, libg.a, libm.{a,so},
     494        libdl.{a,so.2}, libg.a, libm.{a,so},
    494495        libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1,
    495496        libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
     
    797798      </varlistentry>
    798799
    799       <varlistentry id="libcrypt">
    800         <term><filename class="libraryfile">libcrypt</filename></term>
    801         <listitem>
    802           <para>The cryptography library</para>
    803           <indexterm zone="ch-system-glibc libcrypt">
    804             <primary sortas="c-libcrypt">libcrypt</primary>
    805           </indexterm>
    806         </listitem>
    807       </varlistentry>
    808 
    809800      <varlistentry id="libdl">
    810801        <term><filename class="libraryfile">libdl</filename></term>
  • chapter08/groff.xml

    r7b7733d rd58da4b  
    5858<screen><userinput remap="make">make</userinput></screen>
    5959
    60     <para>This package does not come with a test suite.</para>
     60    <para>To test the results, issue:</para>
     61
     62<screen><userinput remap="test">make check</userinput></screen>
    6163
    6264    <para>Install the package:</para>
  • chapter08/jinja2.xml

    r7b7733d rd58da4b  
    66]>
    77
    8 <sect1 id="ch-system-jinja2" role="wrap" revision="systemd">
     8<sect1 id="ch-system-jinja2" role="wrap">
    99  <?dbhtml filename="jinja2.html"?>
    1010
  • chapter08/kbd.xml

    r7b7733d rd58da4b  
    9898    <para>If desired, install the documentation:</para>
    9999
    100 <screen><userinput remap="install">mkdir -pv           /usr/share/doc/kbd-&kbd-version;
    101 cp -R -v docs/doc/* /usr/share/doc/kbd-&kbd-version;</userinput></screen>
     100<screen><userinput remap="install">cp -R -v docs/doc -T /usr/share/doc/kbd-&kbd-version;</userinput></screen>
    102101
    103102  </sect2>
  • chapter08/man-db.xml

    r7b7733d rd58da4b  
    112112<screen><userinput remap="make">make</userinput></screen>
    113113
    114    <para>To test the results, issue:</para>
    115 
    116 <screen><userinput remap="test">make check</userinput></screen>
     114    <para>To test the results, issue:</para>
     115
     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>
    117121
    118122    <para>Install the package:</para>
  • chapter08/man-pages.xml

    r7b7733d rd58da4b  
    4141    <title>Installation of Man-pages</title>
    4242
     43    <para>Remove two man pages for password hashing functions.
     44    <application>Libxcrypt</application> will provide a better version
     45    of these man pages:</para>
     46
     47<screen><userinput remap="pre">rm -v man3/crypt*</userinput></screen>
     48
    4349    <para>Install Man-pages by running:</para>
    4450
  • chapter08/markupsafe.xml

    r7b7733d rd58da4b  
    66]>
    77
    8 <sect1 id="ch-system-markupsafe" role="wrap" revision="systemd">
     8<sect1 id="ch-system-markupsafe" role="wrap">
    99  <?dbhtml filename="markupsafe.html"?>
    1010
  • chapter08/meson.xml

    r7b7733d rd58da4b  
    3535      </seglistitem>
    3636    </segmentedlist>
    37 
    38     <tip revision="sysv">
    39       <para>This section is not strictly required when LFS does not use
    40       systemd. On the other hand, Meson, along with Ninja, makes
    41       a powerful build system combination,
    42       which will probably be used more and more often. It is required for
    43       several packages in <ulink url="&blfs-book;">the BLFS
    44       book</ulink>.</para>
    45     </tip>
    4637
    4738  </sect2>
  • chapter08/ninja.xml

    r7b7733d rd58da4b  
    3535      </seglistitem>
    3636    </segmentedlist>
    37 
    38     <tip revision="sysv">
    39       <para>This section is not strictly required when LFS does not use
    40       systemd. On the other hand, Ninja, along with Meson, makes
    41       a powerful build system combination,
    42       which will probably be used more and more often. It is required for
    43       several packages in <ulink url="&blfs-book;">the BLFS
    44       book</ulink>.</para>
    45     </tip>
    4637
    4738  </sect2>
  • chapter08/shadow.xml

    r7b7733d rd58da4b  
    6161
    6262    <para id="shadow-login_defs">Instead of using the default
    63     <emphasis>crypt</emphasis> method, use the more secure
    64     <emphasis>SHA-512</emphasis> method of password encryption, which also
    65     allows passwords longer than 8 characters. In addition, set the number of
    66     rounds to 500,000 instead of the default 5000, which is much too low to
    67     prevent brute force password attacks. It is also necessary to change
     63    <emphasis>crypt</emphasis> method, use the much more secure
     64    <emphasis>YESCRYPT</emphasis> method of password encryption, which also
     65    allows passwords longer than 8 characters.
     66    It is also necessary to change
    6867    the obsolete <filename class="directory">/var/spool/mail</filename> location
    6968    for user mailboxes that Shadow uses by default to the <filename
     
    8281    </note>
    8382
    84 <screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \
    85     -e 's@#\(SHA_CRYPT_..._ROUNDS 5000\)@\100@'       \
    86     -e 's:/var/spool/mail:/var/mail:'                 \
    87     -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'                \
     83<screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \
     84    -e 's:/var/spool/mail:/var/mail:'                   \
     85    -e '/PATH=/{s@/sbin:@@;s@/bin:@@}'                  \
    8886    -i etc/login.defs</userinput></screen>
    8987
     
    107105
    108106<screen><userinput remap="configure">touch /usr/bin/passwd
    109 ./configure --sysconfdir=/etc \
    110             --disable-static  \
     107./configure --sysconfdir=/etc   \
     108            --disable-static    \
     109            --with-{b,yes}crypt \
    111110            --with-group-name-max-length=32</userinput></screen>
    112111
     
    123122        </listitem>
    124123      </varlistentry>
     124
     125      <varlistentry>
     126        <term><parameter>--with-{b,yes}crypt</parameter></term>
     127        <listitem>
     128          <para>The shell expands this to two switches,
     129          <parameter>--with-bcrypt</parameter> and
     130          <parameter>--with-yescrypt</parameter>.  They allow shadow to use
     131          the Bcrypt and Yescrypt algorithms implemented by
     132          <application>Libxcrypt</application> for hashing passwords.
     133          These algorithms are more secure (in particular, much more
     134          resistant to GPU-based attacks) than the traditional SHA
     135          algorithms.</para>
     136        </listitem>
     137      </varlistentry>
     138
    125139      <varlistentry>
    126140        <term><parameter>--with-group-name-max-length=32</parameter></term>
  • chapter09/network.xml

    r7b7733d rd58da4b  
    3838      <para>The interface names depend on the implementation and
    3939      configuration of the udev daemon running on the system.  The udev
    40       daemon for LFS (installed in <xref linkend="ch-system-eudev"/>) will
     40      daemon for LFS (installed in <xref linkend="ch-system-udev"/>) will
    4141      not run until the LFS system is booted.  So the interface names
    4242      in the LFS system cannot always be determined by running
  • chapter09/udev.xml

    r7b7733d rd58da4b  
    1717
    1818  <para>In <xref linkend="chapter-building-system"/>, we installed the udev
    19   daemon when <phrase revision="sysv">eudev</phrase>
     19  daemon when <phrase revision="sysv">udev</phrase>
    2020  <phrase revision="systemd">systemd</phrase> was built. Before we go into the
    2121  details regarding how udev works, a brief history of previous methods of
  • chapter10/kernel.xml

    r7b7733d rd58da4b  
    5656        the procedures below fairly closely.  The objective is to get an
    5757        initial system to a point where you can log in at the command line when
    58         you reboot later in <xref linkend="ch-finish-reboot"/>.  At his point
     58        you reboot later in <xref linkend="ch-finish-reboot"/>.  At this point
    5959        optimization and customization is not a goal.
    6060      </para>
     
    164164   [*] Control Group support [CONFIG_CGROUPS]   ---&gt;
    165165      [*] Memory controller [CONFIG_MEMCG]
    166    [ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED]
    167166   [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
    168167General architecture-dependent options  ---&gt;
     
    308307        <listitem>
    309308          <para>Having this option set may interfere with device
    310           management when using Udev/Eudev. </para>
     309          management when using Udev.</para>
    311310        </listitem>
    312311      </varlistentry>
     
    318317          kernel, even without Udev running.  Udev then runs on top of this,
    319318          managing permissions and adding symlinks.  This configuration
    320           item is required for all users of Udev/Eudev.</para>
     319          item is required for all users of Udev.</para>
    321320        </listitem>
    322321      </varlistentry>
     
    431430    <para>Install the documentation for the Linux kernel:</para>
    432431
    433 <screen><userinput remap="install">install -d /usr/share/doc/linux-&linux-version;
    434 cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen>
     432<screen><userinput remap="install">cp -r Documentation -T /usr/share/doc/linux-&linux-version;</userinput></screen>
    435433
    436434    <para>It is important to note that the files in the kernel source
  • gen-changelog.py

    r7b7733d rd58da4b  
    8484        if pkgver in ticket:
    8585            out += ' (#' + ticket[pkgver] + ')'
    86         print(out)
     86        print("-", out)
    8787for i in rem:
    88     print("Remove", i)
     88    print("-", "Remove", i)
    8989
    9090print("---------------------")
  • lfs-latest-git.php

    r7b7733d rd58da4b  
    1313$regex = array();
    1414//$regex[ 'bzip2'    ] = "/^.*current version is ([\d\.]+).*$/";
    15 $regex[ 'check'    ] = "/^.*Check (\d[\d\.]+\d).*$/";
    1615$regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/";
    1716$regex[ 'less'     ] = "/^.*current released version is less-(\d+).*$/";
    1817$regex[ 'mpfr'     ] = "/^mpfr-([\d\.]+)\.tar.*$/";
    1918$regex[ 'Python'   ] = "/^.*Latest Python 3.*Python (3[\d\.]+\d).*$/";
    20 $regex[ 'systemd'  ] = "/^.*systemd v([\d]+)$/";
    2119//$regex[ 'sysvinit' ] = "/^.*sysvinit-([\d\.]+)dsf\.tar.*$/";
    2220$regex[ 'tzdata'   ] = "/^.*tzdata([\d]+[a-z]).*$/";
     
    7068function http_get_file( $url )
    7169{
    72   if ( ! preg_match( "/sourceforge/", $url ) &&
    73        ! preg_match( "/mpfr/",        $url ) &&
    74        ! preg_match( "/psmisc/",      $url ) )
    75   {
    76     exec( "curl --location --silent --max-time 30 $url", $dir );
    77 
    78     $s   = implode( "\n", $dir );
    79     $dir = strip_tags( $s );
    80     return explode( "\n", $dir );
    81   }
    82   else if ( preg_match( "/mpfr/", $url ) )
     70  if ( preg_match( "/mpfr/", $url ) )
    8371  {
    8472    # There seems to be a problem with the mpfs certificate
     
    8876    return explode( "\n", $dir );
    8977  }
    90   else
     78
     79  if ( preg_match( "/sourceforge/", $url ) ||
     80       preg_match( "/psmisc/",      $url ) )
    9181  {
    9282    exec( "lynx -dump $url 2>/dev/null", $lines );
    9383    return $lines;
    9484  }
     85
     86  exec( "curl --location --silent --max-time 30 $url", $dir );
     87
     88  $s   = implode( "\n", $dir );
     89  $dir = strip_tags( $s );
     90  return explode( "\n", $dir );
    9591}
    9692
     
    111107}
    112108
     109function github( $path )
     110{
     111  return "https://api.github.com/repos/$path/releases/latest";
     112}
     113
    113114function get_packages( $package, $dirpath )
    114115{
     
    118119//if ( $package != "psmisc" ) return 0; // debug
    119120
    120 if ( $package == "bc"         ) $dirpath = "https://github.com/gavinhoward/bc/releases";
    121 if ( $package == "check"      ) $dirpath = "https://github.com/libcheck/check/releases";
     121if ( $package == "bc"         ) $dirpath = github("gavinhoward/bc");
     122if ( $package == "check"      ) $dirpath = github("libcheck/check");
    122123if ( $package == "e2fsprogs"  ) $dirpath = "https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs";
    123124if ( $package == "expat"      ) $dirpath = "https://sourceforge.net/projects/expat/files";
    124125if ( $package == "elfutils"   ) $dirpath = "https://sourceware.org/ftp/elfutils";
    125126if ( $package == "expect"     ) $dirpath = "https://sourceforge.net/projects/expect/files";
    126 if ( $package == "eudev"      ) $dirpath = "https://github.com/eudev-project/eudev/releases";
    127127if ( $package == "file"       ) $dirpath = "https://github.com/file/file/tags";
    128 if ( $package == "flex"       ) $dirpath = "https://github.com/westes/flex/releases";
     128if ( $package == "flex"       ) $dirpath = github("westes/flex");
    129129if ( $package == "flit_core"  ) $dirpath = "https://pypi.org/project/flit-core/";
    130130if ( $package == "gcc"        ) $dirpath = max_parent( $dirpath, "gcc-" );
    131 if ( $package == "iana-etc"   ) $dirpath = "https://github.com/Mic92/iana-etc/releases";
     131if ( $package == "iana-etc"   ) $dirpath = github("Mic92/iana-etc");
    132132if ( $package == "intltool"   ) $dirpath = "https://launchpad.net/intltool/trunk";
    133 if ( $package == "libffi"     ) $dirpath = "https://github.com/libffi/libffi/releases";
    134 if ( $package == "meson"      ) $dirpath = "https://github.com/mesonbuild/meson/releases";
     133if ( $package == "libffi"     ) $dirpath = github("libffi/libffi");
     134if ( $package == "libxcrypt"  ) $dirpath = github("besser82/libxcrypt");
     135if ( $package == "meson"      ) $dirpath = github("mesonbuild/meson");
    135136if ( $package == "mpc"        ) $dirpath = "https://ftp.gnu.org/gnu/mpc";
    136137if ( $package == "mpfr"       ) $dirpath = "https://mpfr.loria.fr/mpfr-current";
    137138if ( $package == "ncurses"    ) $dirpath = "https://invisible-mirror.net/archives/ncurses";
    138 if ( $package == "ninja"      ) $dirpath = "https://github.com/ninja-build/ninja/releases";
     139if ( $package == "ninja"      ) $dirpath = github("ninja-build/ninja");
    139140if ( $package == "procps-ng"  ) $dirpath = "https://gitlab.com/procps-ng/procps/-/tags";
    140141if ( $package == "psmisc"     ) $dirpath = "https://gitlab.com/psmisc/psmisc/-/tags";
    141142if ( $package == "Python"     ) $dirpath = "https://www.python.org/downloads/source/";
    142 if ( $package == "shadow"     ) $dirpath = "https://github.com/shadow-maint/shadow/releases";
    143 if ( $package == "sysvinit"   ) $dirpath = "https://github.com/slicer69/sysvinit/releases";
     143if ( $package == "shadow"     ) $dirpath = github("shadow-maint/shadow");
     144if ( $package == "sysvinit"   ) $dirpath = github("slicer69/sysvinit");
    144145if ( $package == "MarkupSafe" ) $dirpath = "https://pypi.python.org/pypi/MarkupSafe/";
    145146if ( $package == "Jinja"      ) $dirpath = "https://pypi.python.org/pypi/Jinja2/";
    146 if ( $package == "systemd"    ) $dirpath = "https://github.com/systemd/systemd/releases";
     147if ( $package == "systemd"    ) $dirpath = github("systemd/systemd");
    147148//if ( $package == "tcl"        ) $dirpath = "https://sourceforge.net/projects/tcl/files";
    148149if ( $package == "tcl"        ) $dirpath = "https://www.tcl.tk/software/tcltk/download.html";
     
    150151if ( $package == "vim"        ) $dirpath = "https://github.com/vim/vim/tags";
    151152if ( $package == "wheel"      ) $dirpath = "https://pypi.org/project/wheel/#files";
    152 if ( $package == "zstd"       ) $dirpath = "https://github.com/facebook/zstd/releases";
     153if ( $package == "zstd"       ) $dirpath = github("facebook/zstd");
    153154
    154155  // Check for ftp
     
    260261     return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]+\d).*$/" );
    261262
    262   if ( $package == "eudev" )
    263      return find_max( $lines, "/Release/", "/^.*Release (\d[\d\.]+\d).*$/" );
    264 
    265263  if ( $package == "expect" )
    266264     return find_max( $lines, "/expect/", "/^.*expect(\d[\d\.]+\d).tar.*$/" );
     
    268266  if ( $package == "elfutils" )
    269267     return find_max( $lines, "/^\d/", "/^(\d[\d\.]+\d)\/.*$/" );
    270 
    271   if ( $package == "iana-etc" )
    272      return find_max( $lines, "/^\s*20\d\d/", "/^\s+(\d+).*$/" );
    273 
    274   if ( $package == "meson" )
    275      return find_max( $lines, "/^\s+\d\./", "/^\s+([\d\.]+)$/" );
    276 
    277   if ( $package == "shadow" )
    278      return find_max( $lines, "/^\s+\d\./", "/^\s+([\d\.]+)$/" );
    279 
    280   if ( $package == "sysvinit" )
    281      return find_max( $lines, "/^\s+\d\./", "/^\s+([\d\.]+)$/" );
    282268
    283269  if ( $package == "XML-Parser" )
     
    292278     return find_max( $lines, "/tcl\d/", "/^.*tcl(\d\.[\d\.]*\d)-src.*$/" );
    293279
    294   if ( $package == "ninja" )
    295      return find_max( $lines, "/^ *v\d/", "/^.*v(\d[\d\.]*\d).*$/" );
    296 
    297280  if ( $package == "gmp" )
    298281     return find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d[a-z]?).tar.*$/" );
     
    307290  }
    308291
    309   if ( $package == "libffi" )
    310      return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" );
    311 
    312292  if ( $package == "flit_core" )
    313293     return find_max( $lines, "/flit-core /", "/^.*flit-core ([\d\.]+)$/" );
     
    331311     return find_max( $lines, "/v\d\./", "/^.*v([\d\.]+).*$/" );
    332312
    333   if ( $package == "zstd" )
    334      return find_max( $lines, "/Zstandard v/", "/^.*v([\d\.]+).*$/" );
     313  if ( preg_match( "/api.github.com/", $dirpath) )
     314     return ltrim(json_decode(join("", $lines))->tag_name, "v");
    335315
    336316  // Most packages are in the form $package-n.n.n
     
    347327   $current = array();
    348328   #$lfssvn = "svn://svn.linuxfromscratch.org/LFS/trunk";
    349    $lfsgit = "git://git.linuxfromscratch.org/lfs.git";
     329   $lfsgit = "https://git.linuxfromscratch.org/lfs.git";
    350330
    351331   $tmpdir = exec( "mktemp -d /tmp/lfscheck.XXXXXX" );
    352332   $cdir   = getcwd();
    353333   chdir( $tmpdir );
    354    #exec ( "svn --quiet export $lfssvn LFS" );
    355    exec ( "git clone $lfsgit LFS" );
     334
     335   # git-version.sh needs the history since the rx.y tag.
     336   exec ( "git clone $lfsgit LFS --depth 1 --branch r11.2" );
     337   exec ( "git -C LFS pull origin trunk" );
    356338
    357339   # Make version.ent
  • packages.ent

    r7b7733d rd58da4b  
    156156<!ENTITY elfutils-fin-du "120 MB">
    157157<!ENTITY elfutils-fin-sbu "0.3 SBU">
    158 
    159 <!ENTITY eudev-version "3.2.12">
    160 <!ENTITY eudev-size "2,145 KB">
    161 <!ENTITY eudev-url "https://github.com/eudev-project/eudev/releases/download/v&eudev-version;/eudev-&eudev-version;.tar.gz">
    162 <!ENTITY eudev-md5 "6f1559ca7c27013ff68816e2732498a3">
    163 <!ENTITY eudev-fin-du "83 MB">
    164 <!ENTITY eudev-fin-sbu "0.1 SBU">
    165158
    166159<!ENTITY expat-version "2.5.0">
     
    254247<!ENTITY gdbm-fin-sbu "less than 0.1 SBU">
    255248
    256 <!ENTITY gettext-version "0.21.1">
    257 <!ENTITY gettext-size "9,819 KB">
     249<!ENTITY gettext-version "0.22">
     250<!ENTITY gettext-size "9,775 KB">
    258251<!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.xz">
    259 <!ENTITY gettext-md5 "27fcc8a42dbc8f334f23a08f1f2fe00a">
     252<!ENTITY gettext-md5 "db2f3daf34fd5b85ab1a56f9033e42d1">
    260253<!ENTITY gettext-home "&gnu-software;gettext/">
    261254<!ENTITY gettext-tmp-du "287 MB">
     
    300293<!ENTITY grep-fin-sbu "0.4 SBU">
    301294
    302 <!ENTITY groff-version "1.22.4">
    303 <!ENTITY groff-size "4,044 KB">
     295<!ENTITY groff-version "1.23.0">
     296<!ENTITY groff-size "7,259 KB">
    304297<!ENTITY groff-url "&gnu;groff/groff-&groff-version;.tar.gz">
    305 <!ENTITY groff-md5 "08fb04335e2f5e73f23ea4c3adbf0c5f">
     298<!ENTITY groff-md5 "5e4f40315a22bb8a158748e7d5094c7d">
    306299<!ENTITY groff-home "&gnu-software;groff/">
    307300<!ENTITY groff-fin-du "89 MB">
     
    328321<!ENTITY gzip-fin-sbu "0.3 SBU">
    329322
    330 <!ENTITY iana-etc-version "20230524">
    331 <!ENTITY iana-etc-size "587 KB">
     323<!ENTITY iana-etc-version "20230629">
     324<!ENTITY iana-etc-size "588 KB">
    332325<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
    333 <!ENTITY iana-etc-md5 "16d24a6c990cc98fea65eec05738a5a5">
     326<!ENTITY iana-etc-md5 "8c2e8385391306edbf4ca26ed4930a71">
    334327<!ENTITY iana-etc-home "https://www.iana.org/protocols">
    335328<!ENTITY iana-etc-fin-du "4.8 MB">
     
    353346<!ENTITY intltool-fin-sbu "less than 0.1 SBU">
    354347
    355 <!ENTITY iproute2-version "6.3.0">
    356 <!ENTITY iproute2-size "894 KB">
     348<!ENTITY iproute2-version "6.4.0">
     349<!ENTITY iproute2-size "904 KB">
    357350<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
    358 <!ENTITY iproute2-md5 "53ecd48564c75d5fa4b5325d47344d68">
     351<!ENTITY iproute2-md5 "90ce0eb84a8f1e2b14ffa77e8eb3f5ed">
    359352<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
    360353<!ENTITY iproute2-fin-du "17 MB">
     
    371364<!ENTITY jinja2-fin-sbu "less than 0.1 SBU">
    372365
    373 <!ENTITY kbd-version "2.6.0">
    374 <!ENTITY kbd-size "1,560 KB">
     366<!ENTITY kbd-version "2.6.1">
     367<!ENTITY kbd-size "1,554 KB">
    375368<!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz">
    376 <!ENTITY kbd-md5 "a8331144fc8e9421108c10311f28e078">
     369<!ENTITY kbd-md5 "986241b5d94c6bd4ed2f6d2a5ab4320b">
    377370<!ENTITY kbd-home "https://kbd-project.org/">
    378371<!ENTITY kbd-fin-du "35 MB">
     
    395388<!ENTITY less-fin-sbu "less than 0.1 SBU">
    396389
    397 <!ENTITY lfs-bootscripts-version "20230101">      <!-- Scripts depend on this format -->
     390<!ENTITY lfs-bootscripts-version "20230722">      <!-- Scripts depend on this format -->
    398391<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">
    399392<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
     
    435428<!ENTITY libtool-fin-sbu "1.4 SBU">
    436429
     430<!ENTITY libxcrypt-version "4.4.36">
     431<!ENTITY libxcrypt-size "610 KB">
     432<!ENTITY libxcrypt-url "&github;/besser82/libxcrypt/releases/download/v&libxcrypt-version;/libxcrypt-&libxcrypt-version;.tar.xz">
     433<!ENTITY libxcrypt-md5 "b84cd4104e08c975063ec6c4d0372446">
     434<!ENTITY libxcrypt-home "&github;/besser82/libxcrypt/">
     435<!ENTITY libxcrypt-fin-du "16 MB">
     436<!ENTITY libxcrypt-fin-sbu "0.1 SBU">
     437
    437438<!ENTITY linux-major-version "6">
    438 <!ENTITY linux-minor-version "3">
    439 <!ENTITY linux-patch-version "8">
     439<!ENTITY linux-minor-version "4">
     440<!ENTITY linux-patch-version "3">
    440441<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    441442<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    442 <!ENTITY linux-size "133,708 KB">
     443<!ENTITY linux-size "134,557 KB">
    443444<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    444 <!ENTITY linux-md5 "237a5269575160fed17c7f55d93cc46c">
     445<!ENTITY linux-md5 "c83363136e61977c63d655733424d37a">
    445446<!ENTITY linux-home "https://www.kernel.org/">
    446447<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
     
    560561
    561562<!ENTITY perl-version-major "5">
    562 <!ENTITY perl-version-minor "36">
    563 <!ENTITY perl-version-patch "1">
     563<!ENTITY perl-version-minor "38">
     564<!ENTITY perl-version-patch "0">
    564565<!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;">
    565566<!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;">
    566 <!ENTITY perl-size "12,748 KB">
     567<!ENTITY perl-size "13,248 KB">
    567568<!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz">
    568 <!ENTITY perl-md5 "825f6b1d7e03b22522e0bdb992fbb728">
     569<!ENTITY perl-md5 "e1c8aaec897dd386c741f97eef9f2e87">
    569570<!ENTITY perl-home "https://www.perl.org/">
    570571<!ENTITY perl-tmp-du "281 MB">
     
    575576<!ENTITY pkgconf-version "1.9.5">
    576577<!ENTITY pkgconf-size "304 KB">
    577 <!ENTITY pkgconf-url "https://distfiles.dereferenced.org/pkgconf/pkgconf-&pkgconf-version;.tar.xz">
     578<!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz">
    578579<!ENTITY pkgconf-md5 "0a8b69723bef4ebad83e9c8b43a75cc7">
    579580<!ENTITY pkgconf-home "http://pkgconf.org/">
     
    712713<!ENTITY tzdata-home "https://www.iana.org/time-zones">
    713714
     715<!ENTITY udev-fin-du "130 MB">
     716<!ENTITY udev-fin-sbu "0.2 SBU">
     717
    714718<!ENTITY udev-lfs-version "udev-lfs-20171102">
    715719<!ENTITY udev-lfs-size    "11 KB">
     
    719723
    720724<!ENTITY util-linux-minor "2.39">
    721 <!ENTITY util-linux-version "2.39"> <!-- 2.33.x -->
    722 <!ENTITY util-linux-size "7,914 KB">
     725<!ENTITY util-linux-version "2.39.1"> <!-- 2.33.x -->
     726<!ENTITY util-linux-size "8,156 KB">
    723727<!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz">
    724 <!ENTITY util-linux-md5 "16579e594a8ef2e6236b38b9ab36cccf">
     728<!ENTITY util-linux-md5 "c542cd7c0726254e4b3006a9b428201a">
    725729<!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
    726730<!ENTITY util-linux-tmp-du "150 MB">
     
    732736<!ENTITY mount-setsid-sbu "less than 0.1 SBU">
    733737
    734 <!ENTITY vim-version "9.0.1503">
     738<!ENTITY vim-version "9.0.1671">
    735739<!-- <!ENTITY vim-majmin "90"> -->
    736740<!ENTITY vim-docdir "vim/vim90">
    737 <!ENTITY vim-size "16,612 KB">
     741<!ENTITY vim-size "16,669 KB">
    738742<!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->
    739743<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">
    740 <!ENTITY vim-md5 "2214efcad25b1f31c89c33f932fa8dc1">
     744<!ENTITY vim-md5 "243fce49db0dd93af7c2b12163f47fcf">
    741745<!ENTITY vim-home "https://www.vim.org">
    742746<!ENTITY vim-fin-du "235 MB">
  • prologue/why.xml

    r7b7733d rd58da4b  
    138138      </listitem>
    139139
    140       <listitem revision="sysv">
    141         <para>Eudev</para>
    142 
    143         <para>This package is a device manager.  It dynamically controls the ownership,
    144         permissions, names, and symbolic links of device nodes in the /dev directory when
    145         devices are added to or removed from the system.
    146         </para>
    147       </listitem>
    148 
    149140      <listitem>
    150141        <para>Expat</para>
     
    234225        <para>This package produces a program that generates a perfect hash
    235226        function from a set of keys. It is required by
    236         <phrase revision='sysv'>Eudev</phrase>
     227        <phrase revision='sysv'>Udev</phrase>
    237228        <phrase revision='systemd'>Systemd</phrase>.</para>
    238229      </listitem>
     
    375366
    376367      <listitem>
     368        <para>Libxcrypt</para>
     369
     370        <para>This package provides the
     371        <systemitem class='library'>libcrypt</systemitem> library
     372        needed by various packages (notably, Shadow) for hashing passwords.
     373        It replaces the obsolete
     374        <systemitem class='library'>libcrypt</systemitem> implmentation in
     375        Glibc.</para>
     376      </listitem>
     377
     378      <listitem>
    377379        <para>Linux Kernel</para>
    378380
     
    569571      </listitem>
    570572
     573      <listitem revision="sysv">
     574        <para>Udev</para>
     575
     576        <para>This package is a device manager.  It dynamically controls the
     577        ownership, permissions, names, and symbolic links of device nodes in
     578        the /dev directory when devices are added to or removed from the
     579        system.</para>
     580      </listitem>
     581
    571582      <listitem>
    572583        <para>Tar</para>
Note: See TracChangeset for help on using the changeset viewer.