Changes in / [e49e2ea:9e76c64]


Ignore:
Files:
1 deleted
252 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    re49e2ea r9e76c64  
    1 #BASEDIR = ~/lfs-book
    2 #SYSDDIR = ~/lfs-systemd
    3 #DUMPDIR = ~/lfs-commands
     1# vim:ts=3
    42RENDERTMP = $(HOME)/tmp
    53CHUNK_QUIET = 1
     
    2422
    2523ifeq ($(REV), sysv)
    26   BASEDIR         ?= ~/lfs-book
     24  BASEDIR         ?= $(HOME)/public_html/lfs-book
    2725  PDF_OUTPUT      ?= LFS-BOOK.pdf
    2826  NOCHUNKS_OUTPUT ?= LFS-BOOK.html
    29   DUMPDIR         ?= ~/lfs-commands
     27  DUMPDIR         ?= $(HOME)/lfs-commands
    3028else
    31   BASEDIR         ?= ~/lfs-systemd
     29  BASEDIR         ?= $(HOME)/public_html/lfs-systemd
    3230  PDF_OUTPUT      ?= LFS-SYSD-BOOK.pdf
    3331  NOCHUNKS_OUTPUT ?= LFS-SYSD-BOOK.html
    34   DUMPDIR         ?= ~/lfs-sysd-commands
     32  DUMPDIR         ?= $(HOME)/lfs-sysd-commands
    3533endif
    3634
     
    4745        $(Q)mkdir -p $(BASEDIR)/stylesheets
    4846        $(Q)cp stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets
    49         $(Q)sed -i 's|../stylesheet|stylesheet|' $(BASEDIR)/index.html
     47        $(Q)sed -e 's|../stylesheet|stylesheet|' \
     48           -i $(BASEDIR)/index.html
    5049
    5150        $(Q)mkdir -p $(BASEDIR)/images
     
    5554        $(Q)for filename in `find $(BASEDIR) -name "*.html"`; do \
    5655         tidy -config tidy.conf $$filename;           \
    57          true;                                        \
    5856         /bin/bash obfuscate.sh $$filename;           \
    59          sed -e "s@text/html@application/xhtml+xml@g" \
    60              -e "s/\xa9/\©/ "                    \
     57         sed -e "s|text/html|application/xhtml+xml|g" \
    6158             -i $$filename;                           \
    62    done;
     59       done
    6360
    6461        $(Q)$(MAKE) --no-print-directory wget-list md5sums
     
    9996                stylesheets/lfs-nochunks.xsl           \
    10097                $(RENDERTMP)/lfs-html.xml
    101 #                $(RENDERTMP)/lfs-html2.xml
    10298
    10399        @echo "Running Tidy..."
    104         $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
     100        $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || test $$? -le 1
    105101
    106102        @echo "Running obfuscate.sh..."
    107         $(Q)bash obfuscate.sh                                $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    108         $(Q)sed -i -e "s@text/html@application/xhtml+xml@g"  $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    109         $(Q)sed -i -e "s@../wget-list@wget-list@"            $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    110         $(Q)sed -i -e "s@../md5sums@md5sums@"                $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    111         $(Q)sed -i -e "s@\xa9@\©@"                      $(BASEDIR)/$(NOCHUNKS_OUTPUT)
     103        $(Q)bash obfuscate.sh      $(BASEDIR)/$(NOCHUNKS_OUTPUT)
     104        $(Q)sed -e "s|text/html|application/xhtml+xml|g" \
     105           -e "s|../wget-list|wget-list|"           \
     106           -e "s|../md5sums|md5sums|"               \
     107           -i $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    112108
    113109        @echo "Output at $(BASEDIR)/$(NOCHUNKS_OUTPUT)"
     
    128124        $(Q)xsltproc --nonet                               \
    129125                --xinclude                            \
     126                --stringparam profile.revision $(REV) \
    130127                --output $(RENDERTMP)/lfs-html2.xml   \
    131                 --stringparam profile.revision $(REV) \
    132128                stylesheets/lfs-xsl/profile.xsl       \
    133129                index.xml
    134130
    135131        @echo "Validating the book..."
    136         $(Q)xmllint --nonet                      \
    137                --noent                      \
    138                --postvalid                  \
    139                -o $(RENDERTMP)/lfs-full.xml \
     132        $(Q)xmllint --nonet                            \
     133               --encode UTF-8                     \
     134               --postvalid                        \
     135               --output $(RENDERTMP)/lfs-full.xml \
    140136               $(RENDERTMP)/lfs-html2.xml
    141137
     
    152148                $(RENDERTMP)/lfs-full.xml
    153149
     150DOWNLOADS_DEP = chapter03/packages.xml chapter03/patches.xml \
     151                packages.ent patches.ent general.ent
     152
    154153wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
    155 $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
    156                       packages.ent patches.ent general.ent
     154$(BASEDIR)/wget-list: stylesheets/wget-list.xsl $(DOWNLOADS_DEP)
    157155        @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
    158156        $(Q)mkdir -p $(BASEDIR)
    159         $(Q)xsltproc --xinclude --nonet            \
     157        $(Q)xsltproc --nonet                       \
     158                --xinclude                    \
    160159                --output $(BASEDIR)/wget-list \
    161160                stylesheets/wget-list.xsl     \
    162161                chapter03/chapter03.xml
    163162
    164 $(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \
    165                              chapter03/chapter03.xml \
    166                              packages.ent patches.ent general.ent
    167         $(Q)xsltproc --nonet --xinclude                   \
     163$(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl $(DOWNLOADS_DEP)
     164        $(Q)xsltproc --nonet                               \
     165                --xinclude                            \
    168166                --stringparam profile.revision $(REV) \
    169167                --output $(RENDERTMP)/wget-list.xml   \
    170168                stylesheets/lfs-xsl/profile.xsl       \
    171169                chapter03/chapter03.xml
    172         $(Q)xsltproc --xinclude --nonet                  \
     170
     171        $(Q)xsltproc --nonet                              \
    173172                --output $(BASEDIR)/wget-list-$(REV) \
    174173                stylesheets/wget-list.xsl            \
     
    176175
    177176md5sums: $(BASEDIR)/md5sums
    178 $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml \
    179                     packages.ent patches.ent
     177$(BASEDIR)/md5sums: stylesheets/wget-list.xsl $(DOWNLOADS_DEP)
    180178        @echo "Generating consolidated md5sum file at $(BASEDIR)/md5sums ..."
    181179        $(Q)mkdir -p $(BASEDIR)
    182180
    183         $(Q)xsltproc --nonet --xinclude                   \
     181        $(Q)xsltproc --nonet                               \
     182                --xinclude                            \
    184183                --stringparam profile.revision $(REV) \
    185184                --output $(RENDERTMP)/md5sum.xml      \
     
    187186                chapter03/chapter03.xml
    188187
    189         $(Q)xsltproc --xinclude --nonet         \
     188        $(Q)xsltproc --nonet                     \
    190189                --output $(BASEDIR)/md5sums \
    191190                stylesheets/md5sum.xsl      \
  • appendices/acknowledgments.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • appendices/acronymlist.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • appendices/creat-comm.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • appendices/dependencies.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    77  <!ENTITY systemd-udev "<phrase revision='systemd'>Systemd</phrase>
    88                         <phrase revision='sysv'>Udev</phrase>">
     9  <!ENTITY bdb "<ulink url='https://www.oracle.com/database/technologies/related/berkeleydb.html'>Berkeley DB</ulink>">
    910]>
    1011
     
    3031  the test suites. The fourth list of dependencies are packages that require
    3132  this package to be built and installed in its final location before they are
    32   built and installed. In most cases, this is because these packages will hard
    33   code paths to binaries within their scripts. If not built in a certain order,
    34   this could result in paths of /tools/bin/[binary] being placed inside scripts
    35   installed to the final system. This is obviously not desirable.</para>
     33  built and installed.</para>
    3634
    3735  <para>The last list of dependencies are optional packages that are not
     
    110108        <segtitle>&before;</segtitle>
    111109        <seglistitem>
    112           <seg>Acl and Libcap</seg>
     110          <seg>Acl, Libcap, and Patch</seg>
    113111        </seglistitem>
    114112      </segmentedlist>
     
    10501048        <segtitle>&external;</segtitle>
    10511049        <seglistitem>
    1052           <seg>None</seg>
     1050          <seg><ulink url='&blfs-book;general/libxml2.html'>libxml2</ulink></seg>
    10531051        </seglistitem>
    10541052      </segmentedlist>
     
    12421240        <segtitle>&before;</segtitle>
    12431241        <seglistitem>
    1244           <seg>Man-DB and Perl</seg>
     1242          <seg>Man-DB</seg>
    12451243        </seglistitem>
    12461244      </segmentedlist>
     
    14871485        <seglistitem>
    14881486          <seg>
    1489             <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>,
     1487            &bdb;,
    14901488            <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>,
    14911489            <ulink url="&github;/libbpf/libbpf">libbpf</ulink>,
     
    24172415        <segtitle>&dependencies;</segtitle>
    24182416        <seglistitem>
    2419           <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Sed</seg>
     2417          <seg>Attr, Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and
     2418          Sed</seg>
    24202419        </seglistitem>
    24212420      </segmentedlist>
     
    24242423        <segtitle>&runtime;</segtitle>
    24252424        <seglistitem>
    2426           <seg>Glibc</seg>
     2425          <seg>Attr and Glibc</seg>
    24272426        </seglistitem>
    24282427      </segmentedlist>
     
    24572456        <segtitle>&dependencies;</segtitle>
    24582457        <seglistitem>
    2459           <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, Groff,
     2458          <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep,
    24602459          Libxcrypt, Make, Sed, and Zlib</seg>
    24612460        </seglistitem>
     
    24872486        <seglistitem>
    24882487          <seg>
    2489             <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>
     2488            &bdb;
    24902489          </seg>
    24912490        </seglistitem>
     
    26562655        <seglistitem>
    26572656          <seg>
    2658             <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>,
     2657            &bdb;,
    26592658            <ulink url="&blfs-book;basicnet/libnsl.html">libnsl</ulink>,
    26602659            <ulink url="&blfs-book;server/sqlite.html">SQLite</ulink>, and
     
    29382937            <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>,
    29392938            <ulink url="&blfs-book;general/pcre2.html">PCRE2</ulink>,
     2939            <ulink url="&pypi-home;pefile">pefile</ulink>,
    29402940            <ulink url="&blfs-book;postlfs/polkit.html">Polkit</ulink>,
    29412941            <ulink url='&pypi-home;/pyelftools'>pyelftools</ulink>,
     
    31953195        <seglistitem>
    31963196          <seg>
     3197            <ulink url="&blfs-book;general/asciidoctor.html">Asciidoctor</ulink>,
    31973198            <ulink
    31983199              url="https://people.redhat.com/sgrubb/libcap-ng/">Libcap-NG</ulink>,
     
    32033204              url="&blfs-book;postlfs/linux-pam.html">Linux-PAM</ulink>,
    32043205            <ulink
    3205               url="&blfs-book;postlfs/smartmontools.html">smartmontools</ulink>, and
     3206              url="&blfs-book;postlfs/smartmontools.html">smartmontools</ulink>,
     3207            <ulink url="https://po4a.org/index.php.en">po4a</ulink>, and
    32063208            <ulink url="&blfs-book;general/slang.html">slang</ulink>
    32073209          </seg>
  • appendices/license.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • appendices/mit-lic.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • appendices/scripts.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • appendices/udev-rules.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter01/askforhelp.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter01/changelog.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4040    appropriate for the entry or if needed the entire day's listitem.
    4141    -->
     42
     43    <listitem>
     44      <para>2024-02-02</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[xry111] - Update to tzdata-2024a.  Fixes
     48          <ulink url='&lfs-ticket-root;5428'>#5428</ulink>.</para>
     49        </listitem>
     50        <listitem>
     51          <para>[xry111] - Update to glibc-2.39 (security fix).  Fixes
     52          <ulink url='&lfs-ticket-root;5426'>#5426</ulink>.</para>
     53        </listitem>
     54        <listitem>
     55          <para>[xry111] - Update to linux-6.7.3.  Fixes
     56          <ulink url='&lfs-ticket-root;5427'>#5427</ulink>.</para>
     57        </listitem>
     58      </itemizedlist>
     59    </listitem>
     60
     61    <listitem>
     62      <para>2024-02-01</para>
     63      <itemizedlist>
     64        <listitem>
     65          <para>[bdubbs] - Update to openssl-3.2.1 (security fix). Fixes
     66          <ulink url='&lfs-ticket-root;5425'>#5425</ulink>.</para>
     67        </listitem>
     68        <listitem>
     69          <para>[bdubbs] - Update to zlib-1.3.1. Fixes
     70          <ulink url='&lfs-ticket-root;5419'>#5419</ulink>.</para>
     71        </listitem>
     72        <listitem>
     73          <para>[bdubbs] - Update to xz-5.4.6. Fixes
     74          <ulink url='&lfs-ticket-root;5423'>#5423</ulink>.</para>
     75        </listitem>
     76        <listitem>
     77          <para>[bdubbs] - Update to linux-6.7.2. Fixes
     78          <ulink url='&lfs-ticket-root;5422'>#5422</ulink>.</para>
     79        </listitem>
     80        <listitem>
     81          <para>[bdubbs] - Update to iana-etc-20240125. Addresses
     82          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     83        </listitem>
     84        <listitem>
     85          <para>[bdubbs] - Update to binutils-2.42. Fixes
     86          <ulink url='&lfs-ticket-root;5424'>#5424</ulink>.</para>
     87        </listitem>
     88        <listitem>
     89          <para>[bdubbs] - Update to acl-2.3.2. Fixes
     90          <ulink url='&lfs-ticket-root;5421'>#5421</ulink>.</para>
     91        </listitem>
     92        <listitem>
     93          <para>[bdubbs] - Update upstream fixes for readline-8.2. Fixes
     94          <ulink url='&lfs-ticket-root;5420'>#5420</ulink>.</para>
     95        </listitem>
     96        <listitem>
     97          <para>[bdubbs] - Apply upstream fix for bash-5.2.21. Fixes
     98          <ulink url='&lfs-ticket-root;5420'>#5420</ulink>.</para>
     99        </listitem>
     100      </itemizedlist>
     101    </listitem>
     102
     103    <listitem>
     104      <para>2024-01-21</para>
     105      <itemizedlist>
     106        <listitem>
     107          <para>[xry111] - Apply upstream fix for pkgconf-2.1.0 regression.
     108          Fixes <ulink url='&lfs-ticket-root;5414'>#5414</ulink>.</para>
     109        </listitem>
     110        <listitem>
     111          <para>[xry111] - Update to jinja2-3.1.3 (security fix).  Fixes
     112          <ulink url='&lfs-ticket-root;5411'>#5411</ulink>.</para>
     113        </listitem>
     114        <listitem>
     115          <para>[xry111] - Update to bc-6.7.5.  Fixes
     116          <ulink url='&lfs-ticket-root;5408'>#5408</ulink>.</para>
     117        </listitem>
     118        <listitem>
     119          <para>[xry111] - Update to attr-2.5.2.  Fixes
     120          <ulink url='&lfs-ticket-root;5412'>#5412</ulink>.</para>
     121        </listitem>
     122        <listitem>
     123          <para>[xry111] - Update to ncurses-6.4-20230520 (security fix).
     124          Fixes <ulink url='&lfs-ticket-root;5416'>#5416</ulink>.</para>
     125        </listitem>
     126        <listitem>
     127          <para>[xry111] - Update to markupsafe-2.1.4.  Fixes
     128          <ulink url='&lfs-ticket-root;5418'>#5418</ulink>.</para>
     129        </listitem>
     130        <listitem>
     131          <para>[xry111] - Update to linux-6.7.1.  Fixes
     132          <ulink url='&lfs-ticket-root;5406'>#5406</ulink>.</para>
     133        </listitem>
     134        <listitem>
     135          <para>[xry111] - Update to iproute2-6.7.0.  Fixes
     136          <ulink url='&lfs-ticket-root;5410'>#5410</ulink>.</para>
     137        </listitem>
     138        <listitem>
     139          <para>[xry111] - Update to vim-9.1.0041.  Addresses
     140          <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     141        </listitem>
     142        <listitem>
     143          <para>[xry111] - Update to iana-etc-20240117.  Addresses
     144          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     145        </listitem>
     146        <listitem>
     147          <para>[xry111] - Update to shadow-4.14.3.  Fixes
     148          <ulink url='&lfs-ticket-root;5413'>#5413</ulink>.</para>
     149        </listitem>
     150        <listitem>
     151          <para>[xry111] - Fix CVE-2024-0684 for coreutils-9.4.  Fixes
     152          <ulink url="&lfs-ticket-root;5417">#5417</ulink>.</para>
     153        </listitem>
     154      </itemizedlist>
     155    </listitem>
     156
     157    <listitem>
     158      <para>2024-01-18</para>
     159      <itemizedlist>
     160        <listitem>
     161          <para>[xry111] - Edit a ncurses header to always use the
     162          wide-character ABI compatible with libncursesw.so because we
     163          are faking the 8-bit libncurses.so with it.  Fixes
     164          <ulink url="&lfs-ticket-root;5415">#5415</ulink>.</para>
     165        </listitem>
     166      </itemizedlist>
     167    </listitem>
     168
     169    <listitem>
     170      <para>2024-01-09</para>
     171      <itemizedlist>
     172        <listitem>
     173          <para>[renodr] - Fix the definition of the C.UTF-8 locale. Fixes
     174          <ulink url="&lfs-ticket-root;5409">#5409</ulink>.</para>
     175        </listitem>
     176      </itemizedlist>
     177    </listitem>
     178
     179    <listitem>
     180      <para>2023-12-31</para>
     181      <itemizedlist>
     182        <listitem>
     183          <para>[xry111] - Add --enable-default-hash-style=gnu configuring
     184          binutils.  Fixes
     185          <ulink url='&lfs-ticket-root;5401'>#5401</ulink>.</para>
     186        </listitem>
     187        <listitem>
     188          <para>[xry111] - Fix CVE-2023-7008 for systemd-255.  Fixes
     189          <ulink url='&lfs-ticket-root;5405'>#5405</ulink>.</para>
     190        </listitem>
     191        <listitem>
     192          <para>[xry111] - Update to iana-etc-20231205.  Addresses
     193          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     194        </listitem>
     195        <listitem>
     196          <para>[xry111] - Update to tzdata-2023d.  Fixes
     197          <ulink url='&lfs-ticket-root;5399'>#5399</ulink>.</para>
     198        </listitem>
     199        <listitem>
     200          <para>[xry111] - Update to linux-6.6.8.  Fixes
     201          <ulink url='&lfs-ticket-root;5397'>#5397</ulink>.</para>
     202        </listitem>
     203        <listitem>
     204          <para>[xry111] - Update to meson-1.3.1.  Fixes
     205          <ulink url='&lfs-ticket-root;5402'>#5402</ulink>.</para>
     206        </listitem>
     207        <listitem>
     208          <para>[xry111] - Update to grub-2.12.  Fixes
     209          <ulink url='&lfs-ticket-root;5396'>#5396</ulink>.</para>
     210        </listitem>
     211        <listitem>
     212          <para>[xry111] - Update to inetutils-2.5.  Fixes
     213          <ulink url='&lfs-ticket-root;5404'>#5404</ulink>.</para>
     214        </listitem>
     215        <listitem>
     216          <para>[xry111] - Update to setuptools-69.0.3.  Fixes
     217          <ulink url='&lfs-ticket-root;5400'>#5400</ulink>.</para>
     218        </listitem>
     219        <listitem>
     220          <para>[xry111] - Update to xml-parser-2.47.  Fixes
     221          <ulink url='&lfs-ticket-root;5403'>#5403</ulink>.</para>
     222        </listitem>
     223        <listitem>
     224          <para>[xry111] - Update to vim-9.0.2189.  Addresses
     225          <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     226        </listitem>
     227        <listitem>
     228          <para>[xry111] - Update to autoconf-2.72.  Fixes
     229          <ulink url='&lfs-ticket-root;5398'>#5398</ulink>.</para>
     230        </listitem>
     231      </itemizedlist>
     232    </listitem>
     233
     234    <listitem>
     235      <para>2023-12-16</para>
     236      <itemizedlist>
     237        <listitem>
     238          <para>[xry111] - Update to <phrase revision='sysv'>udev
     239          from </phrase>systemd-255.  Fixes
     240          <ulink url='&lfs-ticket-root;5390'>#5390</ulink>.</para>
     241        </listitem>
     242      </itemizedlist>
     243    </listitem>
     244
     245    <listitem>
     246      <para>2023-12-14</para>
     247      <itemizedlist>
     248        <listitem>
     249           <para>[bdubbs] - Update to util-linux v2.39.3. Fixes
     250           <ulink url='&lfs-ticket-root;5388'>#5388</ulink>.</para>
     251        </listitem>
     252        <listitem>
     253           <para>[bdubbs] - Update to python3-3.12.1. Fixes
     254           <ulink url='&lfs-ticket-root;5392'>#5392</ulink>.</para>
     255        </listitem>
     256        <listitem>
     257           <para>[bdubbs] - Update to linux-6.6.7. Fixes
     258           <ulink url='&lfs-ticket-root;5387'>#5387</ulink>.</para>
     259        </listitem>
     260        <listitem>
     261           <para>[bdubbs] - Update to kbd-2.6.4. Fixes
     262           <ulink url='&lfs-ticket-root;5393'>#5393</ulink>.</para>
     263        </listitem>
     264        <listitem>
     265           <para>[bdubbs] - Update to bc-6.7.4. Fixes
     266           <ulink url='&lfs-ticket-root;5389'>#5389</ulink>.</para>
     267        </listitem>
     268        <listitem>
     269          <para>[bdubbs] - Reformat util-linux configure parameters.  Fixes
     270          <ulink url='&lfs-ticket-root;5395'>#5395</ulink>.</para>
     271        </listitem>
     272      </itemizedlist>
     273    </listitem>
     274
     275    <listitem>
     276      <para>2023-12-04</para>
     277      <itemizedlist>
     278        <listitem>
     279          <para>[thomas] - Modify commands for install Python docs to avoid
     280          too restrictive permissions on the files and dirs.</para>
     281        </listitem>
     282      </itemizedlist>
     283    </listitem>
     284
     285    <listitem revision='sysv'>
     286      <para>2023-12-01</para>
     287      <itemizedlist>
     288        <listitem>
     289          <para>[xry111] - Restore NIC naming based on physical system
     290          characteristics.  Fixes
     291          <ulink url='&lfs-ticket-root;5386'>#5386</ulink>.</para>
     292        </listitem>
     293      </itemizedlist>
     294    </listitem>
     295
     296    <listitem>
     297      <para>2023-11-30</para>
     298      <itemizedlist>
     299        <listitem>
     300           <para>[bdubbs] - Update to vim-9.0.2136. Addresses
     301           <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     302        </listitem>
     303        <listitem>
     304          <para>[bdubbs] - Update to iana-etc-20231117. Addresses
     305          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     306        </listitem>
     307        <listitem>
     308          <para>[bdubbs] - Update to bc-6.7.3.  Fixes
     309          <ulink url='&lfs-ticket-root;5385'>#5385</ulink>.</para>
     310        </listitem>
     311        <listitem>
     312          <para>[bdubbs] - Update to wheel-0.42.0 (Python Module).  Fixes
     313          <ulink url='&lfs-ticket-root;5384'>#5384</ulink>.</para>
     314        </listitem>
     315        <listitem>
     316          <para>[bdubbs] - Update to perl-5.38.2.  Fixes
     317          <ulink url='&lfs-ticket-root;5383'>#5383</ulink>.</para>
     318        </listitem>
     319        <listitem>
     320          <para>[bdubbs] - Update to pkgconf-2.1.0.  Fixes
     321          <ulink url='&lfs-ticket-root;5382'>#5382</ulink>.</para>
     322        </listitem>
     323        <listitem>
     324          <para>[bdubbs] - Update to readline patches 002 through 007.  Fixes
     325          <ulink url='&lfs-ticket-root;5381'>#5381</ulink>.</para>
     326        </listitem>
     327        <listitem>
     328          <para>[bdubbs] - Update to openssl-3.2.0.  Fixes
     329          <ulink url='&lfs-ticket-root;5380'>#5380</ulink>.</para>
     330        </listitem>
     331        <listitem>
     332          <para>[bdubbs] - Update to setuptools-69.0.2.  Fixes
     333          <ulink url='&lfs-ticket-root;5379'>#5379</ulink>.</para>
     334        </listitem>
     335        <listitem>
     336          <para>[bdubbs] - Update to linux-6.6.3.  Fixes
     337          <ulink url='&lfs-ticket-root;5378'>#5378</ulink>.</para>
     338        </listitem>
     339        <listitem>
     340          <para>[bdubbs] - Update to meson-1.3.0.  Fixes
     341          <ulink url='&lfs-ticket-root;5377'>#5377</ulink>.</para>
     342        </listitem>
     343        <listitem>
     344          <para>[bdubbs] - Update to gettext-0.22.4.  Fixes
     345          <ulink url='&lfs-ticket-root;5376'>#5376</ulink>.</para>
     346        </listitem>
     347      </itemizedlist>
     348    </listitem>
     349
    42350    <listitem>
    43351      <para>2023-11-13</para>
  • chapter01/chapter01.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter01/how.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter01/resources.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter01/whatsnew.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22
    33<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
     
    2727    <para>None</para>
    2828    </listitem>-->
    29     <!--<listitem>
     29    <listitem>
    3030      <para>Acl-&acl-version;</para>
    31     </listitem>-->
    32     <!--<listitem>
     31    </listitem>
     32    <listitem>
    3333      <para>Attr-&attr-version;</para>
    34     </listitem>-->
    35     <!--<listitem>
     34    </listitem>
     35    <listitem>
    3636      <para>Autoconf-&autoconf-version;</para>
    37     </listitem>-->
     37    </listitem>
    3838    <!--<listitem>
    3939      <para>Automake-&automake-version;</para>
     
    4545      <para>Bc-&bc-version;</para>
    4646    </listitem>
    47     <!--<listitem>
     47    <listitem>
    4848      <para>Binutils-&binutils-version;</para>
    49     </listitem>-->
     49    </listitem>
    5050    <!--<listitem>
    5151      <para>Bison-&bison-version;</para>
     
    102102      <para>Gettext-&gettext-version;</para>
    103103    </listitem>
    104     <!--<listitem>
     104    <listitem>
    105105      <para>Glibc-&glibc-version;</para>
    106     </listitem>-->
     106    </listitem>
    107107    <!--<listitem>
    108108      <para>GMP-&gmp-version;</para>
     
    117117      <para>Groff-&groff-version;</para>
    118118    </listitem>-->
    119     <!--<listitem>
     119    <listitem>
    120120      <para>GRUB-&grub-version;</para>
    121     </listitem>-->
     121    </listitem>
    122122    <listitem>
    123123      <para>Gzip-&gzip-version;</para>
     
    126126      <para>Iana-Etc-&iana-etc-version;</para>
    127127    </listitem>
    128     <!--<listitem>
     128    <listitem>
    129129      <para>Inetutils-&inetutils-version;</para>
    130     </listitem>-->
     130    </listitem>
    131131    <!--<listitem>
    132132      <para>Intltool-&intltool-version;</para>
     
    135135      <para>IPRoute2-&iproute2-version;</para>
    136136    </listitem>
    137     <!--<listitem revision="systemd">
     137    <listitem>
    138138      <para>Jinja2-&jinja2-version;</para>
    139     </listitem>-->
     139    </listitem>
    140140    <listitem>
    141141      <para>Kbd-&kbd-version;</para>
     
    154154    </listitem>-->
    155155    <listitem>
    156       <para>Libelf-&elfutils-version; (from elfutils)</para>
     156      <para>Libelf from Elfutils-&elfutils-version;</para>
    157157    </listitem>
    158158    <!--<listitem>
     
    180180      <para>Man-pages-&man-pages-version;</para>
    181181    </listitem>-->
    182     <!--<listitem revision="systemd">
     182    <listitem>
    183183      <para>MarkupSafe-&markupsafe-version;</para>
    184     </listitem>-->
     184    </listitem>
    185185    <listitem>
    186186      <para>Meson-&meson-version;</para>
     
    192192      <para>MPFR-&mpfr-version;</para>
    193193    </listitem>
    194     <!--<listitem>
     194    <listitem>
    195195      <para>Ncurses-&ncurses-version;</para>
    196     </listitem>-->
     196    </listitem>
    197197    <!--<listitem>
    198198      <para>Ninja-&ninja-version;</para>
     
    205205    </listitem>-->
    206206    <listitem>
     207      <para>Perl-&perl-version;</para>
     208    </listitem>
     209    <listitem>
    207210      <para>Pkgconf-&pkgconf-version;</para>
    208211    </listitem>
    209     <!--<listitem>
    210       <para>Perl-&perl-version;</para>
    211     </listitem>-->
    212212    <listitem>
    213213      <para>Procps-ng-&procps-ng-version;</para>
     
    249249      <para>Texinfo-&texinfo-version;</para>
    250250    </listitem>
    251     <!--<listitem>
     251    <listitem>
    252252      <para>Tzdata-&tzdata-version;</para>
    253     </listitem>-->
     253    </listitem>
    254254    <!--<listitem revision="sysv">
    255        <para>Udev-&systemd-version; (from systemd)</para>
     255      <para>Udev from Systemd-&systemd-version;</para>
    256256    </listitem>-->
    257257    <listitem>
     
    264264      <para>Wheel-&wheel-version;</para>
    265265    </listitem>
    266     <!--<listitem>
     266    <listitem>
    267267      <para>XML::Parser-&xml-parser-version;</para>
    268     </listitem>-->
     268    </listitem>
    269269    <listitem>
    270270      <para>Xz-&xz-version;</para>
     
    292292
    293293    <listitem>
     294      <para>&bash-upstream-fixes-patch;</para>
     295    </listitem>
     296
     297    <listitem>
    294298      <para>setuptools-&setuptools-version;</para>
    295299    </listitem>
    296300
    297301    <listitem>
    298       <para>&glibc-upstream-fixes-patch;</para>
     302      <para>&pkgconf-upstream-fix-patch;</para>
     303    </listitem>
     304
     305    <listitem>
     306      <para>&readline-fixes-patch;</para>
    299307    </listitem>
    300308
     
    309317    </listitem>
    310318
     319    <listitem>
     320      <para>grub-2.06-upstream_fixes-1.patch</para>
     321    </listitem>
     322
     323    <listitem>
     324      <para>readline-8.2-upstream_fix-1.patch</para>
     325    </listitem>
     326
    311327  </itemizedlist>
    312328
  • chapter02/aboutlfs.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter02/chapter02.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter02/creatingfilesystem.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter02/creatingpartition.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4141  disk drive. Create a Linux native partition and a
    4242  <systemitem class="filesystem">swap</systemitem> partition, if needed. Please
    43   refer to <filename>cfdisk(8)</filename> or <filename>fdisk(8)</filename> if
     43  refer to <ulink role='man' url='&man;cfdisk.8'>cfdisk(8)</ulink> or
     44  <ulink role='man' url='&man;fdisk.8'>fdisk(8)</ulink> if
    4445  you do not yet know how to use the programs.</para>
    4546
  • chapter02/hostreqs.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    3535    modern Linux distributions. Also note that many distributions will
    3636    place software headers into separate packages, often in the form of
    37     <quote>&lt;package-name&gt;-devel</quote> or
    38     <quote>&lt;package-name&gt;-dev</quote>. Be sure to install those if
    39     your distribution provides them.</para>
     37    <literal><replaceable>&lt;package-name&gt;</replaceable>-devel</literal>
     38    or
     39    <literal><replaceable>&lt;package-name&gt;</replaceable>-dev</literal>.
     40    Be sure to install those if your distribution provides them.</para>
    4041
    4142   <para>Earlier versions of the listed software packages may work, but have
  • chapter02/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter02/mounting.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    1717  </para>
    1818 
    19   <para>Strictly speaking, one cannot "mount a partition". One mounts the <emphasis>file
     19  <para>Strictly speaking, one cannot <quote>mount a partition.</quote> One mounts the <emphasis>file
    2020  system</emphasis> embedded in that partition. But since a single partition can't contain
    2121  more than one file system, people often speak of the partition and the
  • chapter02/stages.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    7171        <para>A few operations, from
    7272        <quote>Preparing Virtual Kernel File Systems</quote> to
    73         <quote>Setting up Environment</quote>, must be done.</para>
     73        <quote>Setting up Environment,</quote> must be done.</para>
    7474      </listitem>
    7575
  • chapter03/chapter03.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter03/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter03/packages.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter03/patches.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    2828-->
    2929
    30 <!--    <varlistentry>
    31       <term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
     30    <varlistentry>
     31      <term>Bash Upstream Fixes Patch - <token>&bash-upstream-fixes-patch-size;</token>:</term>
    3232      <listitem>
    33         <para>Download: <ulink url="&patches-root;&bash-fixes-patch;"/></para>
    34         <para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para>
     33        <para>Download: <ulink url="&patches-root;&bash-upstream-fixes-patch;"/></para>
     34        <para>MD5 sum: <literal>&bash-upstream-fixes-patch-md5;</literal></para>
    3535      </listitem>
    3636    </varlistentry>
    37 -->
     37
    3838<!--
    3939    <varlistentry>
     
    7777      </listitem>
    7878    </varlistentry>
    79 -->
     79
    8080    <varlistentry>
    8181      <term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term>
     
    8585      </listitem>
    8686    </varlistentry>
    87 
     87-->
    8888    <varlistentry>
    8989      <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
     
    9191        <para>Download: <ulink url="&patches-root;&glibc-fhs-patch;"/></para>
    9292        <para>MD5 sum: <literal>&glibc-fhs-patch-md5;</literal></para>
    93       </listitem>
    94     </varlistentry>
    95 
    96     <varlistentry>
    97       <term>GRUB Upstream Fixes Patch - <token>&grub-upstream-fixes-patch-size;</token>:</term>
    98       <listitem>
    99         <para>Download: <ulink url="&patches-root;&grub-upstream-fixes-patch;"/></para>
    100         <para>MD5 sum: <literal>&grub-upstream-fixes-patch-md5;</literal></para>
    10193      </listitem>
    10294    </varlistentry>
     
    126118    </varlistentry>
    127119-->
    128 <!--
     120
    129121    <varlistentry>
    130       <term>Perl Upstream Fix Patch - <token>&perl-fix-patch-size;</token>:</term>
     122      <term>Pkgconf Upstream Fix Patch - <token>&pkgconf-upstream-fix-patch-size;</token>:</term>
    131123      <listitem>
    132         <para>Download: <ulink url="&patches-root;&perl-fix-patch;"/></para>
    133         <para>MD5 sum: <literal>&perl-fix-patch-md5;</literal></para>
     124        <para>Download: <ulink url="&patches-root;&pkgconf-upstream-fix-patch;"/></para>
     125        <para>MD5 sum: <literal>&pkgconf-upstream-fix-patch-md5;</literal></para>
    134126      </listitem>
    135127    </varlistentry>
    136 -->
    137128
    138129    <varlistentry>
  • chapter04/aboutsbus.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter04/abouttestsuites.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter04/addinguser.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    9797  <command>su</command> to start a login shell as opposed to a non-login shell.
    9898  The difference between these two types of shells is described in detail in
    99   <filename>bash(1)</filename> and <command>info bash</command>.</para>
     99  <ulink role='man' url='&man;bash.1'>bash(1)</ulink> and <command>info
     100  bash</command>.</para>
    100101
    101102</sect1>
  • chapter04/chapter04.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter04/creatingminlayout.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter04/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter04/settingenviron.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    8080  created files and directories are only writable by their owner, but are
    8181  readable and executable by anyone (assuming default modes are used by the
    82   <function>open(2)</function> system call, new files will end up with permission
    83   mode 644 and directories with mode 755).</para>
     82  <ulink role='man' url='&man;open.2'>open(2)</ulink> system call, new files
     83  will end up with permission mode 644 and directories with mode 755).</para>
    8484      </listitem>
    8585    </varlistentry>
     
    228228      <command>make</command> or set such an option in
    229229      <envar>MAKEFLAGS</envar>.  Doing so will allow <command>make</command>
    230       to spawn infinite build jobs and cause system stability issue.
     230      to spawn infinite build jobs and cause system stability problems.
    231231    </para>
    232232  </important>
  • chapter05/binutils-pass1.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    7676             --disable-nls       \
    7777             --enable-gprofng=no \
    78              --disable-werror</userinput></screen>
     78             --disable-werror    \
     79             --enable-default-hash-style=gnu</userinput></screen>
    7980
    8081    <variablelist>
     
    133134      </varlistentry>
    134135
     136      <varlistentry>
     137        <term><parameter>--enable-default-hash-style=gnu</parameter></term>
     138        <listitem>
     139          <para>By default, the linker would generate both the GNU-style
     140          hash table and the classic ELF hash table for shared libraries and
     141          dynamically linked executables.  The hash tables are only intended
     142          for a dynamic linker to perform symbol lookup.  On LFS the dynamic
     143          linker (provided by the Glibc package) will always use the
     144          GNU-style hash table which is faster to query.  So the classic
     145          ELF hash table is completely useless.  This makes the linker
     146          only generate the GNU-style hash table by default, so we can avoid
     147          wasting time to generate the classic ELF hash table when we build
     148          the packages, or wasting disk space to store it.</para>
     149        </listitem>
     150      </varlistentry>
     151
    135152    </variablelist>
    136153
  • chapter05/chapter05.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter05/gcc-pass1.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter05/glibc.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    6262        The above command is correct.  The <command>ln</command> command has
    6363        several syntactic versions, so be sure to check
    64         <command>info coreutils ln</command> and <filename>ln(1)</filename>
    65         before reporting what may appear to be an error.
     64        <command>info coreutils ln</command> and <ulink role='man'
     65        url='&man;ln.1'>ln(1)</ulink> before reporting what may appear to be
     66        an error.
    6667      </para>
    6768    </note>
     
    163164
    164165    <note><para>There have been reports that this package may fail when
    165     building as a "parallel make".  If that occurs, rerun the make command
    166     with the "-j1" option.</para></note>
     166    building as a <quote>parallel make.</quote>  If that occurs, rerun the make command
     167    with the <option>-j1</option> option.</para></note>
    167168
    168169    <para>Compile the package:</para>
  • chapter05/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter05/libstdc++.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter05/linux-headers.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/bash.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/binutils-pass2.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    7373    --enable-gprofng=no        \
    7474    --disable-werror           \
    75     --enable-64-bit-bfd</userinput></screen>
     75    --enable-64-bit-bfd        \
     76    --enable-default-hash-style=gnu</userinput></screen>
    7677
    7778    <variablelist>
  • chapter06/chapter06.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/coreutils.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/diffutils.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/file.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    7979<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen>
    8080
    81 <!-- devs: if using - -build here, the build system wants to compile
    82      the signature file with "file" on the build system, but stops if it is not
    83      the same version. One possibility would be to build "file" on the build
    84      system first, but it is simpler to have the system think it is not
    85      cross-compiling, and use the just built "file". -->
    8681    <para>Compile the package:</para>
    8782
  • chapter06/findutils.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/gawk.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/gcc-pass2.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/grep.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/gzip.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/m4.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/make.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/ncurses.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    7979        <term><parameter>--with-manpage-format=normal</parameter></term>
    8080        <listitem>
    81           <para>This prevents Ncurses installing compressed manual
     81          <para>This prevents Ncurses from installing compressed manual
    8282          pages, which may happen if the host distribution itself
    8383          has compressed manual pages.</para>
     
    9595        <term><parameter>--without-normal</parameter></term>
    9696        <listitem>
    97           <para>This prevents Ncurses building and installing static C
     97          <para>This prevents Ncurses from building and installing static C
    9898          libraries.</para>
    9999        </listitem>
     
    103103        <term><parameter>--without-debug</parameter></term>
    104104        <listitem>
    105           <para>This prevents Ncurses building and installing debug
     105          <para>This prevents Ncurses from building and installing debug
    106106          libraries.</para>
    107107        </listitem>
     
    157157
    158158<screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install
    159 echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen>
     159ln -sv libncursesw.so $LFS/usr/lib/libncurses.so
     160sed -e 's/^#if.*XOPEN.*$/#if 1/' \
     161    -i $LFS/usr/include/curses.h</userinput></screen>
    160162<!--
    161163    <para>Remove an unneeded static library not handled by
     
    177179
    178180      <varlistentry>
    179         <term><command>echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</command></term>
     181        <term><command>ln -sv libncursesw.so $LFS/usr/lib/libncurses.so</command></term>
    180182        <listitem>
    181183          <para>The <filename>libncurses.so</filename> library is needed by
    182           a few packages we will build soon. We create this small linker
    183           script, as this is what is done in <xref
    184           linkend="chapter-building-system"/>.</para>
     184          a few packages we will build soon. We create this symlink to use
     185          <filename>libncursesw.so</filename> as a replacement.</para>
     186        </listitem>
     187      </varlistentry>
     188
     189      <varlistentry>
     190        <term><command>sed -e 's/^#if.*XOPEN.*$/#if 1/' ...</command></term>
     191        <listitem>
     192          <para>The header file <filename>curses.h</filename> contains
     193          the definition of various Ncurses data structures.  With different
     194          preprocessor macro definitions two different sets of the data
     195          structure definition may be used: the 8-bit definition is
     196          compatible with <filename>libncurses.so</filename> and the
     197          wide-character definition is compatible with
     198          <filename>libncursesw.so</filename>.  Since we are using
     199          <filename>libncursesw.so</filename> as a replacement of
     200          <filename>libncurses.so</filename>, edit the header file so it
     201          will always use the wide-character data structure definition
     202          compatible with <filename>libncursesw.so</filename>.</para>
    185203        </listitem>
    186204      </varlistentry>
  • chapter06/patch.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/sed.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/tar.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter06/xz.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/bison.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/changingowner.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/chapter07.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/chroot.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/cleanup.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/createfiles.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/creatingdirs.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/gettext.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/kernfs.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    3333    Mount the remaining virtual kernel file systems:</para>
    3434
     35      <!-- Do not put any option after $LFS/${mountpoint} or jhalfs cannot
     36           handle it! -->
     37
    3538<screen><userinput>mkdir -pv /dev/{pts,shm}
    36 mount -vt devpts /dev/pts /dev/pts -o gid=5,mode=620
     39mount -vt devpts devpts -o gid=5,mode=0620 /dev/pts
    3740mount -vt proc  proc  /proc
    3841mount -vt sysfs sysfs /sys
  • chapter07/perl.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/python.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4545
    4646    <note>
    47       <para>There are two package files whose name starts with
    48       <quote>python</quote>. The one to extract from is
     47      <para>There are two package files whose name starts with the
     48      <quote>python</quote> prefix. The one to extract from is
    4949      <filename>Python-&python-version;.tar.xz</filename> (notice the
    5050      uppercase first letter).</para>
     
    8484      <para>
    8585        Some Python 3 modules can't be built now because the dependencies
    86         are not installed yet. The building system still attempts to build
    87         them however, so the compilation of some files will fail and the
    88         compiler message may seem to indicate <quote>fatal error</quote>.
     86        are not installed yet. For the <filename>ssl</filename> module,
     87        a message <computeroutput>Python requires a OpenSSL 1.1.1 or
     88        newer</computeroutput> is outputted.
    8989        The message should be ignored.  Just make sure the toplevel
    9090        <command>make</command> command has not failed.  The optional
  • chapter07/texinfo.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter07/util-linux.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5252    <para>Prepare Util-linux for compilation:</para>
    5353
    54 <screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime    \
    55             --libdir=/usr/lib    \
     54<screen><userinput remap="configure">./configure --libdir=/usr/lib    \
    5655            --runstatedir=/run   \
    57             --docdir=/usr/share/doc/util-linux-&util-linux-version; \
    5856            --disable-chfn-chsh  \
    5957            --disable-login      \
     
    6462            --disable-pylibmount \
    6563            --disable-static     \
    66             --without-python</userinput></screen>
     64            --without-python     \
     65            ADJTIME_PATH=/var/lib/hwclock/adjtime \
     66            --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    6767
    6868    <variablelist>
  • chapter08/aboutdebug.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/acl.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/attr.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/autoconf.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4242    <title>Installation of Autoconf</title>
    4343
    44     <para>First, fix several problems with the tests caused by bash-5.2 and later:</para>
    45 
    46     <screen><userinput remap="pre">sed -e 's/SECONDS|/&amp;SHLVL|/'               \
    47     -e '/BASH_ARGV=/a\        /^SHLVL=/ d' \
    48     -i.orig tests/local.at</userinput></screen>
    49 
    5044    <para>Prepare Autoconf for compilation:</para>
    5145
     
    6256 -->
    6357<screen><userinput remap="test">make check</userinput></screen>
    64 <!--
    65     <para>This takes a long time, about &autoconf-fin-sbu-tests; SBUs. In addition,
    66     several tests are skipped that use Automake. For full test coverage,
    67     Autoconf can be re-tested after Automake has been installed.  In addition,
    68     two tests fail due to changes in libtool-2.4.3 and later.</para>
    69 -->
    70     <note><para>The test time for autoconf can be reduced significantly on a
    71     system with multiple cores.  To do this, append
    72     <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above.  For
    73     instance, using -j4 can reduce the test time by over 60
    74     percent.</para></note>
    7558
    7659    <para>Install the package:</para>
  • chapter08/automake.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/bash.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4141    <title>Installation of Bash</title>
    4242
     43    <para>First, fix some issues identified upstream:</para>
     44
     45<screen><userinput remap="pre">patch -Np1 -i ../&bash-upstream-fixes-patch;</userinput></screen>
     46
    4347    <para>Prepare Bash for compilation:</para>
    4448
     
    7276    <para>To prepare the tests, ensure that the <systemitem class="username">tester</systemitem> user can write to the sources tree:</para>
    7377
    74 <screen><userinput remap="test">chown -Rv tester .</userinput></screen>
     78<screen><userinput remap="test">chown -R tester .</userinput></screen>
    7579
    7680    <para>The test suite of this package is designed to be run as a non-&root;
     
    8084    class="username">tester</systemitem> user:</para>
    8185
    82 <screen><userinput remap="test">su -s /usr/bin/expect tester &lt;&lt; EOF
     86<screen><userinput remap="test">su -s /usr/bin/expect tester &lt;&lt; "EOF"
    8387set timeout -1
    8488spawn make tests
  • chapter08/bc.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/binutils.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5858             --disable-werror    \
    5959             --enable-64-bit-bfd \
    60              --with-system-zlib</userinput></screen>
     60             --with-system-zlib  \
     61             --enable-default-hash-style=gnu</userinput></screen>
     62
    6163    <variablelist>
    62       <title>The meaning of the configure parameters:</title>
     64      <title>The meaning of the new configure parameters:</title>
    6365
    6466      <varlistentry>
     
    8284        <listitem>
    8385          <para>Enables plugin support for the linker.</para>
    84         </listitem>
    85       </varlistentry>
    86 
    87       <varlistentry>
    88         <term><parameter>--enable-64-bit-bfd</parameter></term>
    89         <listitem>
    90            <para>Enables 64-bit support (on hosts with narrower word sizes).
    91            May not be needed on 64-bit systems, but does no harm.</para>
    9286        </listitem>
    9387      </varlistentry>
     
    146140    <option>--enable-default-ssp</option> options are passed to GCC.</para>
    147141
    148     <para>Three tests in the gprofng suite are also known to fail.</para>
     142 <!--    <para>Three tests in the gprofng suite are also known to fail.</para>-->
    149143
    150144    <para>Install the package:</para>
  • chapter08/bison.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/bzip2.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/chapter08.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/check.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/cleanup.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/coreutils.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5454    </note>
    5555
    56     <!-- https://bugs.gnu.org/62403 -->
    57 <!--
    58     <para>Fix a bug in checksum utilities causing failed checks not
    59     reported correctly:</para>
    60 
    61 <screen><userinput remap="pre">sed '/if ( ! match/s/ed_checksums//' -i src/digest.c</userinput></screen>
    62 -->
     56    <!-- https://seclists.org/oss-sec/2024/q1/30 -->
     57    <para>Fix a security vulnerability in the <command>split</command>
     58    utility:</para>
     59
     60<screen><userinput remap="pre">sed -e '/n_out += n_hold/,+4 s|.*bufsize.*|//&amp;|' \
     61    -i src/split.c</userinput></screen>
     62
    6363    <para>Now prepare Coreutils for compilation:</para>
    6464
     
    127127    compile and run the tests:</para>
    128128
    129 <screen><userinput remap="test">chown -Rv tester . </userinput></screen>
     129<screen><userinput remap="test">chown -R tester . </userinput></screen>
    130130
    131131    <para>Now run the tests:</para>
     
    12671267        <term><command>yes</command></term>
    12681268        <listitem>
    1269           <para>Repeatedly outputs <quote>y</quote>, or a given string, until
    1270           killed</para>
     1269          <para>Repeatedly outputs <literal>y</literal> or a given string,
     1270          until killed</para>
    12711271          <indexterm zone="ch-system-coreutils yes">
    12721272            <primary sortas="b-yes">yes</primary>
  • chapter08/dbus.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5757            --disable-doxygen-docs               \
    5858            --disable-xml-docs                   \
    59             --docdir=/usr/share/doc/dbus-&dbus-version;  \
     59            --docdir=/usr/share/doc/dbus-&dbus-version; \
    6060            --with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
    6161
  • chapter08/dejagnu.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5555makeinfo --plaintext       -o doc/dejagnu.txt  ../doc/dejagnu.texi</userinput></screen>
    5656
    57     <para>Build and install the package:</para>
     57    <para>To test the results, issue:</para>
     58
     59<screen><userinput remap="test">make check</userinput></screen>
     60
     61    <para>Install the package:</para>
    5862
    5963<screen><userinput remap="install">make install
    6064install -v -dm755  /usr/share/doc/dejagnu-&dejagnu-version;
    6165install -v -m644   doc/dejagnu.{html,txt} /usr/share/doc/dejagnu-&dejagnu-version;</userinput></screen>
    62 
    63     <para>To test the results, issue:</para>
    64 
    65 <screen><userinput remap="test">make check</userinput></screen>
    6666
    6767  </sect2>
  • chapter08/diffutils.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/e2fsprogs.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    160160
    161161    <para>
    162       Read the man page <filename>mke2fs.conf(5)</filename> for details.
     162      Read the man page <ulink role='man'
     163      url='&man;mke2fs.conf.5'>mke2fs.conf(5)</ulink> for details.
    163164    </para>
    164165  </sect2>
  • chapter08/expat.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/expect.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4949    <title>Installation of Expect</title>
    5050
     51    <para>Expect needs PTYs to work.  Verify that the PTYs are working
     52    properly inside the chroot environment by performing a simple
     53    test:</para>
     54
     55<screen><userinput remap="test">python3 -c 'from pty import spawn; spawn(["echo", "ok"])'</userinput></screen>
     56
     57    <para>This command should output <computeroutput>ok</computeroutput>.
     58    If, instead, the output includes <computeroutput>OSError: out of pty
     59    devices</computeroutput>, then the environment is not set up for proper
     60    PTY operation.  You need to exit from the chroot environment, read
     61    <xref linkend='ch-tools-kernfs'/> again, and ensure the
     62    <systemitem class="filesystem">devpts</systemitem> file system (and
     63    other virtual kernel file systems) mounted correctly.  Then reenter
     64    the chroot environment following <xref linkend='ch-tools-chroot'/>.
     65    This issue needs to be resolved before continuing, or the test suites
     66    requring Expect (for example the test suites of Bash, Binutils, GCC,
     67    GDBM, and of course Expect itself) will fail catastrophically, and other
     68    subtle breakages may also happen.</para>
     69
    5170    <para>Prepare Expect for compilation:</para>
    5271
     
    83102<screen><userinput remap="make">make</userinput></screen>
    84103
    85     <important>
    86       <para>The test suite for Expect is considered critical.
    87       Do not skip it under any circumstances.</para>
    88     </important>
    89 
    90104    <para>To test the results, issue:</para>
    91105
    92106<screen><userinput remap="test">make test</userinput></screen>
    93 
    94     <para>If any test fails with the message
    95     <quote><computeroutput>The system has no more ptys.  Ask your system
    96     administrator to create more</computeroutput></quote>, it indicates
    97     you've not mounted the
    98     <systemitem class="filesystem">devpts</systemitem> file system
    99     correctly.  You need to read
    100     <xref linkend='ch-tools-kernfs'/> again and ensure the
    101     <systemitem class="filesystem">devpts</systemitem> file system (and
    102     other virtual kernel file systems) mounted correctly.
    103     This issue needs to be resolved before continuing.</para>
    104107
    105108    <para>Install the package:</para>
  • chapter08/file.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/findutils.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    8383    <para>To test the results, issue:</para>
    8484
    85 <screen><userinput remap="test">chown -Rv tester .
     85<screen><userinput remap="test">chown -R tester .
    8686su tester -c "PATH=$PATH make check"</userinput></screen>
    8787
  • chapter08/flex.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/flit-core.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/gawk.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5555    <para>To test the results, issue:</para>
    5656
    57 <screen><userinput remap="test">chown -Rv tester .
     57<screen><userinput remap="test">chown -R tester .
    5858su tester -c "PATH=$PATH make check"</userinput></screen>
    5959
  • chapter08/gcc.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    158158    <para>Test the results as a non-privileged user, but do not stop at errors:</para>
    159159
    160 <screen><userinput remap="test">chown -Rv tester .
     160<screen><userinput remap="test">chown -R tester .
    161161su tester -c "PATH=$PATH make -k check"</userinput></screen>
    162162
     
    534534        <term><filename class="libraryfile">libcc1</filename></term>
    535535        <listitem>
    536           <para>The C preprocessing library</para>
     536          <para>A library that allows GDB to make use of GCC</para>
    537537          <indexterm zone="ch-system-gcc libcc1">
    538538            <primary sortas="b-libcc1">libcc1</primary>
  • chapter08/gdbm.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/gettext.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/glibc.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5050
    5151<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    52 
     52<!--
    5353    <para>Now fix two security vulnerabilities and a regression causing the
    5454    posix_memalign() function very slow in some conditions:</para>
    5555
    5656<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-fixes-patch;</userinput></screen>
    57 
     57-->
    5858    <para>The Glibc documentation recommends building Glibc
    5959    in a dedicated build directory:</para>
     
    7474             --enable-kernel=&linux-major-version;.&linux-minor-version;                      \
    7575             --enable-stack-protector=strong          \
    76              --with-headers=/usr/include              \
    7776             --disable-nscd                           \
    7877             libc_cv_slibdir=/usr/lib</userinput></screen>
     
    105104          <para>This option increases system security by adding
    106105          extra code to check for buffer overflows, such as stack
    107           smashing attacks.</para>
    108         </listitem>
    109       </varlistentry>
    110 <!-- do we need this one? -->
    111       <varlistentry>
    112         <term><parameter>--with-headers=/usr/include</parameter></term>
    113         <listitem>
    114           <para>This option tells the build system where to find the
    115           kernel API headers.</para>
     106          smashing attacks.  Note that Glibc always explicitly overrides
     107          the default of GCC, so this option is still needed even though
     108          we've already specified <option>--enable-default-ssp</option> for
     109          GCC.</para>
    116110        </listitem>
    117111      </varlistentry>
     
    208202
    209203<screen><userinput remap="install">sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile</userinput></screen>
     204
     205    <important>
     206      <para>
     207        If upgrading Glibc to a new minor version (for example, from
     208        Glibc-2.36 to Glibc-&glibc-version;) on a running LFS system, you
     209        need to take some extra precautions to avoid breaking the system:
     210      </para>
     211
     212      <itemizedlist>
     213        <listitem>
     214          <!-- There are two reasons we don't support this:
     215               1. Upgrading on a system with separate /lib and /usr/lib is
     216                  tricky.
     217               2. With Glibc prior to 2.34 libc.so.6 etc. are symlinks to
     218                  libc-2.33.so etc., again causing the upgradation tricky.
     219                  The Glibc NEWS file explicit states they no longer use
     220                  symlinks for the ABI names to avoid upgradation
     221                  issues.  -->
     222          <para>
     223            Upgrading Glibc on a LFS system prior to 11.0 (exclusive) is
     224            not supported.  Rebuild LFS if you are running such an old LFS
     225            system but you need a newer Glibc.
     226          </para>
     227        </listitem>
     228
     229        <!-- https://sourceware.org/pipermail/libc-alpha/2024-January/154095.html -->
     230        <listitem>
     231          <para>
     232            If upgrading on a LFS system prior to 12.0 (exclusive), install
     233            <application>Libxcrypt</application> following
     234            <xref role='.' linkend='ch-system-libxcrypt'/>  In addition to
     235            a normal <application>Libxcrypt</application> installation,
     236            <emphasis role='bold'>you MUST follow the note in Libxcrypt
     237            section to install
     238            <filename class='libraryfile'>libcrypt.so.1*</filename>
     239            (overwritting
     240            <filename class='libraryfile'>libcrypt.so.1</filename> from the
     241            prior Glibc installation)</emphasis>.
     242          </para>
     243        </listitem>
     244
     245        <!-- Otherwise on lfs-systemd nscd will fail to start on boot,
     246             and on both lfs-sysv and lfs-systemd useradd etc. will try
     247             to start nscd, then nscd will fail to start as well and
     248             produce some spurious error message.  -->
     249        <listitem>
     250          <para>
     251            If upgrading on a LFS system prior to 12.1 (exclusive),
     252            remove the <command>nscd</command> program:
     253          </para>
     254
     255          <screen role='nodump'><userinput>rm -f /usr/sbin/nscd</userinput></screen>
     256
     257          <para>
     258            If this system (prior to LFS 12.1, exclusive) is based on
     259            Systemd, it's also needed to disable and stop the
     260            <command>nscd</command> service now:
     261          </para>
     262
     263          <screen revision='systemd' role='nodump'><userinput>systemctl disable --now nscd</userinput></screen>
     264        </listitem>
     265
     266        <listitem>
     267          <para>
     268            Upgrade the kernel and reboot if it's older than &min-kernel;
     269            (check the current version with <command>uname -r</command>)
     270            or if you want to upgrade it anyway, following
     271            <xref linkend='ch-bootable-kernel' role='.'/>
     272          </para>
     273        </listitem>
     274
     275        <listitem>
     276          <para>
     277            Upgrade the kernel API headers if it's older than &min-kernel;
     278            (check the current version with
     279            <command>cat /usr/include/linux/version.h</command>)
     280            or if you want to upgrade it anyway, following
     281            <xref linkend='ch-tools-linux-headers'/> (but removing
     282            <envar>$LFS</envar> from the <command>cp</command> command).
     283          </para>
     284        </listitem>
     285
     286        <!-- This is to ensure we don't start a process at the time point
     287             where some Glibc shared libraries are updated but the others
     288             are not.  Such mismatches can cause programs crash on startup,
     289             esp. a mismatch between ld-linux-x86-64.so.2 and
     290             libc.so.6.  Note that a crash in the installation process
     291             will leave the system in a state with the mismatch forever,
     292             unrecoverable without the help of another distro.  -->
     293        <listitem>
     294          <para>
     295            Perform a <envar>DESTDIR</envar> installation and upgrade
     296            the Glibc shared libraries on the system using one single
     297            <command>install</command> command:
     298          </para>
     299
     300          <screen role='nodump'><userinput>make DESTDIR=$PWD/dest install
     301install -vm755 dest/usr/lib/*.so.* /usr/lib</userinput></screen>
     302        </listitem>
     303      </itemizedlist>
     304
     305      <para>
     306        It's imperative to strictly follow these steps above unless you
     307        completely understand what you are doing.
     308        <emphasis role='bold'>Any unexpected deviation may render the
     309        system completely unusable.  YOU ARE WARNED.</emphasis>
     310      </para>
     311
     312      <para>
     313        Then continue to run the <command>make install</command> command,
     314        the <command>sed</command> command against
     315        <filename>/usr/bin/ldd</filename>, and the commands to install
     316        the locales.  Once they are finished, reboot the system
     317        immediately.
     318      </para>
     319    </important>
    210320
    211321    <para>Install the package:</para>
     
    247357
    248358<screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale
    249 localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
     359localedef -i C -f UTF-8 C.UTF-8
    250360localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
    251361localedef -i de_DE -f ISO-8859-1 de_DE
     
    299409    needed for some tests later in this chapter:</para>
    300410
    301 <screen role="nodump"><userinput remap="locale-full">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
     411<screen role="nodump"><userinput remap="locale-full">localedef -i C -f UTF-8 C.UTF-8
    302412localedef -i ja_JP -f SHIFT_JIS ja_JP.SJIS 2> /dev/null || true</userinput></screen>
    303413
  • chapter08/gmp.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5959
    6060      <!-- To editors: the configure script says "the none host is obsolete,
    61            use - -disable-assembly", but don't believe it: with the latter
     61           use - -disable-assembly," but don't believe it: with the latter
    6262           CFLAGS is still automatically set to -march=something.  -->
    6363    </note>
     
    107107    it is built. Occasionally, the code that detects the processor misidentifies
    108108    the system capabilities and there will be errors in the tests or other
    109     applications using the gmp libraries with the message "Illegal
    110     instruction".  In this case, gmp should be reconfigured with the option
     109    applications using the gmp libraries with the message
     110    <computeroutput>Illegal instruction</computeroutput>.
     111    In this case, gmp should be reconfigured with the option
    111112    <option>--host=none-linux-gnu</option> and rebuilt.</para></caution>
    112113
  • chapter08/gperf.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/grep.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/groff.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/grub.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    6363
    6464    <para>
    65       Fix an issue causing <command>grub-install</command> to fail when the
    66       <filename class='directory'>/boot</filename> partition (or the root
    67       partition if <filename class='directory'>/boot</filename> is not a
    68       separate partition) is created by e2fsprogs-1.47.0 or later:
     65      Add a file missing from the release tarball:
    6966    </para>
    7067
    71 <screen><userinput remap='pre'>patch -Np1 -i ../grub-&grub-version;-upstream_fixes-1.patch</userinput></screen>
     68<screen><userinput remap='pre'>echo <literal>depends bli part_gpt</literal> &gt; grub-core/extra_deps.lst</userinput></screen>
    7269
    7370    <para>Prepare GRUB for compilation:</para>
  • chapter08/gzip.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/iana-etc.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/inetutils.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/intltool.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/iproute2.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4646    LFS. However, a directory and a man page for <command>arpd</command> will still
    4747    be installed. Prevent this by running the commands shown below.
    48     (If the <command>arpd</command> program is needed,
    49     instructions for compiling Berkeley DB can be found in the BLFS book at
    50     <ulink url="&blfs-book;server/db.html"/>.)
    5148    </para>
    5249
  • chapter08/jinja2.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/kbd.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/kmod.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/less.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/libcap.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/libelf.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/libffi.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/libpipeline.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/libtool.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5555<screen><userinput remap="test">make -k check</userinput></screen>
    5656
    57     <note><para>The test time for Libtool can be reduced significantly on a
    58     system with multiple cores.  To do this, append
    59     <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above.  For
    60     instance, using -j4 can reduce the test time by over 60
    61     percent.</para></note>
    62 
    6357    <para>Five tests are known to fail in the LFS build environment due
    6458    to a circular dependency, but these tests pass if rechecked after
    65     automake has been installed.  Additionally, with grep-3.8, two tests will
    66     trigger a warning for non-POSIX regular expressions and fail.</para>
     59    automake has been installed.  Additionally, with grep-3.8 or newer,
     60    two tests will trigger a warning for non-POSIX regular expressions and
     61    fail.</para>
    6762
    6863    <para>Install the package:</para>
  • chapter08/libxcrypt.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/m4.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/make.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5454    <para>To test the results, issue:</para>
    5555
    56 <screen><userinput remap="test">chown -Rv tester .
     56<screen><userinput remap="test">chown -R tester .
    5757su tester -c "PATH=$PATH make check"</userinput></screen>
    5858
  • chapter08/man-db.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/man-pages.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/markupsafe.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/meson.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/mpc.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/mpfr.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/ncurses.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    100100        <listitem>
    101101          <para>This switch causes wide-character libraries (e.g., <filename
    102           class="libraryfile">libncursesw.so.&ncurses-version;</filename>)
     102          class="libraryfile">libncursesw.so.&ncurses-release;</filename>)
    103103          to be built instead of normal ones (e.g., <filename
    104           class="libraryfile">libncurses.so.&ncurses-version;</filename>).
     104          class="libraryfile">libncurses.so.&ncurses-release;</filename>).
    105105          These wide-character libraries are usable in both multibyte and
    106106          traditional 8-bit locales, while normal libraries work properly
     
    128128
    129129    <para>The installation of this package will overwrite
    130     <filename class="libraryfile">libncursesw.so.&ncurses-version;</filename>
     130    <filename class="libraryfile">libncursesw.so.&ncurses-release;</filename>
    131131    in-place.  It may crash the shell process which is using code and data
    132132    from the library file.  Install the package with
    133133    <literal>DESTDIR</literal>, and replace the library file correctly using
    134     <command>install</command> command:</para>
     134    <command>install</command> command (the header
     135    <filename>curses.h</filename> is also edited to ensure the
     136    wide-character ABI to be used as what we've done in
     137    <xref linkend='ch-tools-ncurses'/>):</para>
    135138
    136139<screen><userinput remap="install">make DESTDIR=$PWD/dest install
    137 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib
    138 rm -v  dest/usr/lib/libncursesw.so.&ncurses-version;
     140install -vm755 dest/usr/lib/libncursesw.so.&ncurses-release; /usr/lib
     141rm -v  dest/usr/lib/libncursesw.so.&ncurses-release;
     142sed -e 's/^#if.*XOPEN.*$/#if 1/' \
     143    -i dest/usr/include/curses.h
    139144cp -av dest/* /</userinput></screen>
    140145
    141146    <para>Many applications still expect the linker to be able to find
    142     non-wide-character Ncurses libraries. Trick such applications into linking with
    143     wide-character libraries by means of symlinks and linker scripts:</para>
     147    non-wide-character Ncurses libraries. Trick such applications into
     148    linking with wide-character libraries by means of symlinks
     149    (note that the <filename class='extension'>.so</filename> links are
     150    only safe with <filename>curses.h</filename> edited to always use the
     151    wide-character ABI):</para>
    144152
    145153<screen><userinput remap="install">for lib in ncurses form panel menu ; do
    146     rm -vf                    /usr/lib/lib${lib}.so
    147     echo "INPUT(-l${lib}w)" &gt; /usr/lib/lib${lib}.so
    148     ln -sfv ${lib}w.pc        /usr/lib/pkgconfig/${lib}.pc
     154    ln -sfv lib${lib}w.so /usr/lib/lib${lib}.so
     155    ln -sfv ${lib}w.pc    /usr/lib/pkgconfig/${lib}.pc
    149156done</userinput></screen>
    150157
     
    153160    buildable:</para>
    154161
    155 <screen><userinput remap="install">rm -vf                     /usr/lib/libcursesw.so
    156 echo "INPUT(-lncursesw)" &gt; /usr/lib/libcursesw.so
    157 ln -sfv libncurses.so      /usr/lib/libcurses.so</userinput></screen>
     162<screen><userinput remap="install">ln -sfv libncursesw.so /usr/lib/libcurses.so</userinput></screen>
    158163
    159164    <para>If desired, install the Ncurses documentation:</para>
     
    207212        </seg>
    208213        <seg>
    209            libcursesw.so (symlink and linker script to libncursesw.so),
     214           libcurses.so (symlink),
     215           libform.so (symlink),
    210216           libformw.so,
     217           libmenu.so (symlink),
    211218           libmenuw.so,
     219           libncurses.so (symlink),
    212220           libncursesw.so,
    213221           libncurses++w.so,
    214            libpanelw.so, and their non-wide-character counterparts without "w"
    215               in the library names.</seg>
     222           libpanel.so (symlink),
     223           and libpanelw.so,
     224        </seg>
    216225        <seg>
    217226           /usr/share/tabset,
     
    343352      </varlistentry>
    344353
    345       <varlistentry id="libcursesw">
    346         <term><filename class="libraryfile">libcursesw</filename></term>
    347         <listitem>
    348           <para>A link to <filename>libncursesw</filename></para>
    349           <indexterm zone="ch-system-ncurses libcursesw">
    350             <primary sortas="c-libcursesw">libcursesw</primary>
    351           </indexterm>
    352         </listitem>
    353       </varlistentry>
    354 
    355354      <varlistentry id="libncursesw">
    356355        <term><filename class="libraryfile">libncursesw</filename></term>
  • chapter08/ninja.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/openssl.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    164164            of <application>OpenSSL</application>'s crypto library from the
    165165            shell. It can be used for various functions which are documented in
    166             <command>man 1 openssl</command>
     166            <ulink role='man' url='&man;openssl.1'>openssl(1)</ulink>
    167167          </para>
    168168          <indexterm zone="ch-system-openssl openssl-prog">
     
    196196            implements the Transport Layer Security (TLS v1) protocol.
    197197            It provides a rich API, documentation
    198             on which can be found by running <command>man 7 ssl</command>
     198            on which can be found in <ulink role='man'
     199            url='&man;ssl.7'>ssl(7)</ulink>
    199200          </para>
    200201          <indexterm zone="ch-system-openssl libssl">
  • chapter08/patch.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/perl.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/pkgconf.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4646
    4747    <!-- https://github.com/pkgconf/pkgconf/issues/317 -->
    48     <para>Fix a regression in pkgconf-2.0.3 breaking BLFS packages:</para>
     48    <para>Fix a regression in pkgconf-2.1.0 breaking BLFS packages:</para>
    4949
    50     <screen><userinput remap="pre">sed -i 's/str\(cmp.*package\)/strn\1, strlen(pkg-&gt;why)/' cli/main.c</userinput></screen>
     50    <screen><userinput remap="pre">patch -Np1 -i ../&pkgconf-upstream-fix-patch;</userinput></screen>
    5151
    5252    <para>Prepare Pkgconf for compilation:</para>
  • chapter08/pkgmgt.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5757        The system will keep working fine thanks to the well-defined interface
    5858        between the kernel and userspace.  Specifically, Linux API headers
    59         need not be (and should not be, see the next item) upgraded
     59        need not be upgraded
    6060        along with the kernel.  You will merely need to reboot your system to use the
    6161        upgraded kernel.</para>
     
    6363
    6464      <listitem>
    65         <para>If the Linux API headers or Glibc need to be upgraded to a newer
    66         version, (e.g.,  from Glibc-2.31 to Glibc-2.32), it is safer to
    67         rebuild LFS.  Though you <emphasis>may</emphasis> be able to rebuild
    68         all the packages in their dependency order, we do not recommend
    69         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>
     65        <para>If Glibc needs to be upgraded to a newer
     66        version, (e.g.,  from Glibc-2.36 to Glibc-&glibc-version;),
     67        some extra steps are needed to avoid breaking the system.
     68        Read <xref linkend='ch-system-glibc'/> for details.</para>
    8169      </listitem>
    8270
  • chapter08/procps.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/psmisc.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/python.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    156156<screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html
    157157
    158 tar --strip-components=1  \
    159     --no-same-owner       \
    160     --no-same-permissions \
    161     -C /usr/share/doc/python-&python-version;/html \
    162     -xvf ../python-&python-version;-docs-html.tar.bz2</userinput></screen>
     158tar --no-same-owner \
     159    -xvf ../python-&python-version;-docs-html.tar.bz2
     160cp -R --no-preserve=mode python-&python-version;-docs-html/* \
     161    /usr/share/doc/python-&python-version;/html</userinput></screen>
    163162
    164163    <variablelist>
     
    166165
    167166    <varlistentry>
    168       <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>
     167      <term><option>--no-same-owner</option> (tar) and <option>--no-preserve=mode</option> (cp)</term>
    169168      <listitem>
    170169        <para>Ensure the installed files have the correct ownership and
    171170        permissions.  Without these options, <application>tar</application>
    172         will install the package files with the upstream creator's values.
     171        will install the package files with the upstream creator's values
     172        and files would have restrictive permissions.
    173173        </para>
    174174      </listitem>
  • chapter08/readline.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/sed.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5252    <para>To test the results, issue:</para>
    5353
    54 <screen><userinput remap="test">chown -Rv tester .
     54<screen><userinput remap="test">chown -R tester .
    5555su tester -c "PATH=$PATH make check"</userinput></screen>
    5656
  • chapter08/setuptools.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/shadow.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    204204    parameter to <command>useradd</command>, or else change the setting of
    205205    <parameter>USERGROUPS_ENAB</parameter> in
    206     <filename>/etc/login.defs</filename>. See <filename>useradd(8)</filename>
    207     for more information.</para>
     206    <filename>/etc/login.defs</filename>. See <ulink role='man'
     207    url='&man;useradd.8'>useradd(8)</ulink> for more information.</para>
    208208
    209209    <para>Second, to change the default parameters, the file
  • chapter08/stripping.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5353  and ld-linux.so.2 on 32-bit systems.  The construct below selects the
    5454  correct name for the current architecture, excluding anything ending
    55   with <quote>g</quote>, in case the commands below have already been
     55  with <literal>g</literal>, in case the commands below have already been
    5656  run.</para></note>
    5757
  • chapter08/sysklogd.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/systemd.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4848 <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
    4949       -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
     50
     51    <!-- https://github.com/systemd/systemd/pull/30549 -->
     52    <para>Now fix a security vulnerability in the DNSSEC verification of
     53    <command>systemd-resolved</command>:</para>
     54
     55<screen><userinput remap='pre'>sed -e '/return FLAGS_SET.*AUTHENTICATED/s/(t/(dt/' \
     56    -i src/resolve/resolved-dns-transaction.c</userinput></screen>
    5057
    5158    <para>Prepare systemd for compilation:</para>
     
    6370      -Dsysusers=false              \
    6471      -Drpmmacrosdir=no             \
    65       -Dhomed=false                 \
     72      -Dhomed=disabled              \
    6673      -Duserdb=false                \
    67       -Dman=false                   \
     74      -Dman=disabled                \
    6875      -Dmode=release                \
    6976      -Dpamconfdir=no               \
    7077      -Ddev-kvm-mode=0660           \
    7178      -Dnobody-group=nogroup        \
     79      -Dsysupdate=disabled          \
     80      -Dukify=disabled              \
    7281      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    7382      ..</userinput></screen>
     
    140149
    141150      <varlistentry>
    142         <term><parameter>-D{userdb,homed}=false</parameter></term>
     151        <term><parameter>-Dhomed=disabled</parameter> and
     152        <parameter>-Duserdb=false</parameter></term>
    143153        <listitem>
    144154          <para>Remove two daemons with dependencies that do not fit
     
    148158
    149159      <varlistentry>
    150         <term><parameter>-Dman=false</parameter></term>
     160        <term><parameter>-Dman=disabled</parameter></term>
    151161        <listitem>
    152162          <para>Prevent the generation of man pages to avoid extra
     
    188198        </listitem>
    189199      </varlistentry>
     200
     201      <varlistentry>
     202        <term><parameter>-Dsysupdate=disabled</parameter></term>
     203        <listitem>
     204          <para>Do not install the <command>systemd-sysupdate</command>
     205          tool.  It's designed for automatically upgrading binary distros,
     206          so it's useless for a basic Linux system built from source.
     207          And it will report errors on boot if it's enabled but not properly
     208          configured.</para>
     209        </listitem>
     210      </varlistentry>
     211
     212      <varlistentry>
     213        <term><parameter>-Dukify=disabled</parameter></term>
     214        <listitem>
     215          <para>Do not install the <command>systemd-ukify</command> script.
     216          At runtime this script requires the
     217          <application>pefile</application> Python module that neither LFS
     218          nor BLFS provides.</para>
     219        </listitem>
     220      </varlistentry>
     221
    190222    </variablelist>
    191223
     
    214246
    215247<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
    216 
    217     <para>Disable two services for upgrading binary distros.  They are useless for
    218     a basic Linux system built from source, and each one will report an error if
    219     it's enabled but not configured:</para>
    220 
    221 <screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>
    222248
    223249<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
  • chapter08/sysvinit.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/tar.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    7373<screen><userinput remap="test">make check</userinput></screen>
    7474
    75     <!-- On one system the -j4 improvement is 167s - 46s = 121s (72.46%) -->
    76     <note><para>The test time for Tar can be reduced significantly on a
    77     system with multiple cores.  To do this, append
    78     <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above.  For
    79     instance, using -j4 can reduce the test time by over 70
    80     percent.</para></note>
    81 
    8275    <para>One test, capabilities: binary store/restore, is known to fail if it is
    8376    run because LFS lacks selinux, but will be skipped if the host kernel does
  • chapter08/tcl.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/texinfo.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/udev.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5555
    5656 <screen><userinput remap="pre">sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in</userinput></screen>
     57
     58    <para>Adjust the hardcoded paths to network configuration files for the
     59    standalone udev installation:</para>
     60
     61 <screen><userinput remap="pre">sed '/NETWORK_DIRS/s/systemd/udev/' -i src/basic/path-lookup.h</userinput></screen>
    5762
    5863    <para>Prepare Udev for compilation:</para>
     
    121126    </variablelist>
    122127
     128    <para>Get the list of the shipped udev helpers and save it into an
     129    environment variable (exporting it is not strictly necessary, but it makes
     130    building as a regular user or using a package manager easier):</para>
     131
     132    <screen><userinput remap="make">export udev_helpers=$(grep "'name' :" ../src/udev/meson.build | \
     133                      awk '{print $3}' | tr -d ",'" | grep -v 'udevadm')</userinput></screen>
     134
    123135    <para>Only build the components needed for udev:</para>
    124136
    125137    <screen><userinput remap="make">ninja udevadm systemd-hwdb                                           \
    126138      $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \
    127       $(realpath libudev.so --relative-to .)</userinput></screen>
     139      $(realpath libudev.so --relative-to .)                         \
     140      $udev_helpers</userinput></screen>
    128141
    129142    <para>Install the package:</para>
    130143
    131     <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb,rules}.d
     144    <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb.d,rules.d,network}
    132145install -vm755 -d /usr/{lib,share}/pkgconfig
    133146install -vm755 udevadm                             /usr/bin/
     
    143156                      -not -name '*power-switch*') /usr/lib/udev/rules.d/
    144157install -vm644 hwdb.d/*  ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/
    145 install -vm755 $(find src/udev \
    146                       -type f -not -name '*.*')    /usr/lib/udev</userinput></screen>
     158install -vm755 $udev_helpers                       /usr/lib/udev
     159install -vm644 ../network/99-default.link          /usr/lib/udev/network</userinput></screen>
    147160
    148161    <para>Install some custom rules and support files useful in an LFS
     
    159172    --no-same-owner --strip-components=1                              \
    160173    -C /usr/share/man --wildcards '*/udev*' '*/libudev*'              \
     174                                  '*/systemd.link.5'                  \
    161175                                  '*/systemd-'{hwdb,udevd.service}.8
     176
     177sed 's|systemd/network|udev/network|'                                 \
     178    /usr/share/man/man5/systemd.link.5                                \
     179  > /usr/share/man/man5/udev.link.5
     180
    162181sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8   \
    163182                               > /usr/share/man/man8/udev-hwdb.8
     183
    164184sed 's|lib.*udevd|sbin/udevd|'                                        \
    165185    /usr/share/man/man8/systemd-udevd.service.8                       \
    166186  > /usr/share/man/man8/udevd.8
    167 rm  /usr/share/man/man8/systemd-*.8</userinput></screen>
     187
     188rm /usr/share/man/man*/systemd*</userinput></screen>
     189
     190    <para>Finally, unset the <envar>udev_helpers</envar> variable:</para>
     191
     192    <!-- remap="make" seems confusing but we don't have sth. like
     193         remap="clean".  -->
     194    <screen><userinput remap="install">unset udev_helpers</userinput></screen>
    168195
    169196  </sect2>
  • chapter08/util-linux.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    4949    <para>Prepare Util-linux for compilation:</para>
    5050
    51 <screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
    52             --bindir=/usr/bin    \
     51<screen revision="sysv"><userinput remap="configure">./configure --bindir=/usr/bin    \
    5352            --libdir=/usr/lib    \
    5453            --runstatedir=/run   \
     
    6463            --without-python     \
    6564            --without-systemd    \
    66             --without-systemdsystemunitdir \
     65            --without-systemdsystemunitdir        \
     66            ADJTIME_PATH=/var/lib/hwclock/adjtime \
    6767            --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    6868
    69 <screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
    70             --bindir=/usr/bin    \
     69<screen revision="systemd"><userinput remap="configure">./configure --bindir=/usr/bin    \
    7170            --libdir=/usr/lib    \
    7271            --runstatedir=/run   \
     
    8180            --disable-static     \
    8281            --without-python     \
     82            ADJTIME_PATH=/var/lib/hwclock/adjtime \
    8383            --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    8484
     
    104104    </warning>
    105105
    106 <screen><userinput remap="test">chown -Rv tester .
     106<screen><userinput remap="test">chown -R tester .
    107107su tester -c "make -k check"</userinput></screen>
    108108
     
    585585        <listitem>
    586586          <para>Displays kernel interrupt counter information in
    587           <filename>top(1)</filename> style view</para>
     587          <ulink role='man' url='&man;top.1'>top(1)</ulink> style
     588          view</para>
    588589          <indexterm zone="ch-system-util-linux irqtop">
    589590            <primary sortas="b-irqtop">irqtop</primary>
  • chapter08/vim.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    6767    to the source tree:</para>
    6868
    69 <screen><userinput remap="test">chown -Rv tester .</userinput></screen>
     69<screen><userinput remap="test">chown -R tester .</userinput></screen>
    7070
    7171    <para>Now run the tests as user <systemitem
  • chapter08/wheel.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/xml-parser.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/xz.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/zlib.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter08/zstd.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter09/bootscripts.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter09/chapter09.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="network.xml"/>
    2828  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="usage.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="profile.xml"/>
    3029
    3130  <!-- systemd -->
    3231  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clock.xml"/>
    3332  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="consoled.xml"/>
    34   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="locale.xml"/>
    3533
    3634  <!-- common -->
     35  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="locale.xml"/>
    3736  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inputrc.xml"/>
    3837  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="etcshells.xml"/>
  • chapter09/clock.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter09/consoled.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    3131
    3232  <para>The <filename>/etc/vconsole.conf</filename> file should contain lines
    33   of the form: VARIABLE="value". The following variables are recognized:</para>
     33  of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para>
    3434
    3535  <variablelist>
     
    7474
    7575  </variablelist>
     76
     77  <para>We'll use <literal>C.UTF-8</literal> as the locale for interactive
     78  sessions in the Linux console in <xref role='.'
     79  linkend='ch-config-locale'/>  The console fonts shipped by
     80  the <application>Kbd</application> package containing the glyphs for
     81  all characters from the program messages in the <literal>C.UTF-8</literal>
     82  locale are <filename>LatArCyrHeb*.psfu.gz</filename>,
     83  <filename>LatGrkCyr*.psfu.gz</filename>,
     84  <filename>Lat2-Terminus16.psfu.gz</filename>, and
     85  <filename>pancyrillic.f16.psfu.gz</filename> in
     86  <filename class='directory'>/usr/share/consolefonts</filename> (the other
     87  shipped console fonts lack glyphs of some characters like the Unicode
     88  left/right quotation marks and the Unicode English dash). So set one of
     89  them, for example <filename>Lat2-Terminus16.psfu.gz</filename> as the
     90  default console font:</para>
     91
     92  <!-- We are using "nodump" for general settings, but not examples.  This
     93       is ironic, but needed for the compatibility with jhalfs!  -->
     94<screen role='nodump'><userinput>echo <literal>FONT=Lat2-Terminus16</literal> &gt; /etc/vconsole.conf</userinput></screen>
    7695
    7796  <para>An example for a German keyboard and console is given below:</para>
  • chapter09/etcshells.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter09/inputrc.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter09/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter09/introductiond.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter09/locale.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    66]>
    77
    8 <sect1 id="ch-config-locale" revision="systemd">
     8<sect1 id="ch-config-locale">
    99  <?dbhtml filename="locale.html"?>
    1010
     
    1212
    1313  <indexterm zone="ch-config-locale">
    14     <primary sortas="e-etc-locale-conf">/etc/locale.conf</primary>
     14    <primary sortas="e-/etc/profile">/etc/profile</primary>
    1515  </indexterm>
    1616
    17   <para>The <filename>/etc/locale.conf</filename> file below sets some
    18   environment variables necessary for native language support. Setting
    19   them properly results in:</para>
     17  <indexterm zone="ch-config-locale" revision='systemd'>
     18    <primary sortas="e-/etc/profile">/etc/locale.conf</primary>
     19  </indexterm>
     20
     21  <para>Some environment variables are necessary for native language
     22  support. Setting them properly results in:</para>
    2023
    2124  <itemizedlist>
     
    4043
    4144  <para>Replace <replaceable>&lt;ll&gt;</replaceable> below with the two-letter code
    42   for your desired language (e.g., <quote>en</quote>) and
     45  for your desired language (e.g., <literal>en</literal>) and
    4346  <replaceable>&lt;CC&gt;</replaceable> with the two-letter code for the appropriate
    44   country (e.g., <quote>GB</quote>). <replaceable>&lt;charmap&gt;</replaceable> should
     47  country (e.g., <literal>GB</literal>). <replaceable>&lt;charmap&gt;</replaceable> should
    4548  be replaced with the canonical charmap for your chosen locale. Optional
    46   modifiers such as <quote>@euro</quote> may also be present.</para>
     49  modifiers such as <literal>@euro</literal> may also be present.</para>
    4750
    4851  <para>The list of all locales supported by Glibc can be obtained by running
     
    5154<screen role="nodump"><userinput>locale -a</userinput></screen>
    5255
    53   <para>Charmaps can have a number of aliases, e.g., <quote>ISO-8859-1</quote>
    54   is also referred to as <quote>iso8859-1</quote> and <quote>iso88591</quote>.
     56  <para>Charmaps can have a number of aliases, e.g.,
     57  <literal>ISO-8859-1</literal> is also referred to as
     58  <literal>iso8859-1</literal> and <literal>iso88591</literal>.
    5559  Some applications cannot handle the various synonyms correctly (e.g., require
    56   that <quote>UTF-8</quote> is written as <quote>UTF-8</quote>, not
    57   <quote>utf8</quote>), so it is the safest in most
     60  that <literal>UTF-8</literal> is written as <literal>UTF-8</literal>, not
     61  <literal>utf8</literal>), so it is the safest in most
    5862  cases to choose the canonical name for a particular locale. To determine
    5963  the canonical name, run the following command, where <replaceable>&lt;locale
    6064  name&gt;</replaceable> is the output given by <command>locale -a</command> for
    61   your preferred locale (<quote>en_GB.iso88591</quote> in our example).</para>
     65  your preferred locale (<literal>en_GB.iso88591</literal> in our
     66  example).</para>
    6267
    6368<screen role="nodump"><userinput>LC_ALL=<replaceable>&lt;locale name&gt;</replaceable> locale charmap</userinput></screen>
    6469
    65   <para>For the <quote>en_GB.iso88591</quote> locale, the above command
     70  <para>For the <literal>en_GB.iso88591</literal> locale, the above command
    6671  will print:</para>
    6772
    6873<screen><computeroutput>ISO-8859-1</computeroutput></screen>
    6974
    70   <para>This results in a final locale setting of <quote>en_GB.ISO-8859-1</quote>.
     75  <para>This results in a final locale setting of <literal>en_GB.ISO-8859-1</literal>.
    7176  It is important that the locale found using the heuristic above is tested prior
    7277  to it being added to the Bash startup files:</para>
     
    9196  Glibc.</para>
    9297
    93   <!-- FIXME: the xlib example will become obsolete in the future.-->
    94   <para>Some packages beyond LFS may also lack support for your chosen locale. One
    95   example is the X library (part of the X Window System), which outputs the
    96   following error message if the locale does not exactly match one of the character
    97   map names in its internal files:</para>
    98 
    99 <screen><computeroutput>Warning: locale not supported by Xlib, locale set to C</computeroutput></screen>
    100 
    101   <para>In several cases Xlib expects that the character map will be listed in
    102   uppercase notation with canonical dashes. For instance, "ISO-8859-1" rather
    103   than "iso88591". It is also  possible to find an appropriate specification by
    104   removing the charmap part of the locale specification.  This can be checked
    105   by running the <command>locale charmap</command> command in both locales.
    106   For example, one would have to change "de_DE.ISO-8859-15@euro" to
    107   "de_DE@euro" in order to get this locale recognized by Xlib.</para>
    108 
    10998  <para>Other packages can also function incorrectly (but may not necessarily
    11099  display any error messages) if the locale name does not meet their expectations.
     
    112101  might provide some useful information.</para>
    113102
    114   <para>Once the proper locale settings have been determined, create the
    115   <filename>/etc/locale.conf</filename> file:</para>
    116 
    117 <screen><userinput>cat &gt; /etc/locale.conf &lt;&lt; "EOF"
     103  <para revision='systemd'>Once the proper locale settings have been
     104  determined, create the <filename>/etc/locale.conf</filename> file:</para>
     105
     106<screen revision='systemd'><userinput>cat &gt; /etc/locale.conf &lt;&lt; "EOF"
    118107<literal>LANG=<replaceable>&lt;ll&gt;_&lt;CC&gt;.&lt;charmap&gt;&lt;@modifiers&gt;</replaceable></literal>
    119108EOF</userinput></screen>
    120109
    121   <para>Note that you can modify <filename>/etc/locale.conf</filename> with the
     110  <para>The shell program <command>/bin/bash</command> (here after referred
     111  as <quote>the shell</quote>) uses a collection of startup files to help
     112  create the environment to run in. Each file has a specific use and may
     113  affect login and interactive environments differently. The files in the
     114  <filename class="directory">/etc</filename> directory provide global
     115  settings.  If equivalent files exist in the home directory, they
     116  may override the global settings.</para>
     117
     118  <para>An interactive login shell is started after a successful login,
     119  using <command>/bin/login</command>, by reading the
     120  <filename>/etc/passwd</filename> file.  An interactive non-login shell is
     121  started at the command-line (e.g.
     122  <prompt>[prompt]$</prompt><command>/bin/bash</command>).  A
     123  non-interactive shell is usually present when a shell script is running.
     124  It is non-interactive because it is processing a script and not waiting
     125  for user input between commands.</para>
     126
     127  <para><phrase revision='systemd'>The login shells are often unaffected by
     128  the settings in <filename>/etc/locale.conf</filename>. </phrase>Create the
     129  <filename>/etc/profile</filename>
     130  <phrase revision='sysv'>once the proper locale settings have been
     131  determined to set the desired locale</phrase><phrase
     132  revision='systemd'>to read the locale settings from
     133  <filename>/etc/locale.conf</filename> and export them</phrase>,
     134  but set the <literal>C.UTF-8</literal> locale instead if running in the Linux
     135  console (to prevent programs from outputting characters that the Linux
     136  console is unable to render):</para>
     137
     138<screen revision="systemd"><userinput>cat &gt; /etc/profile &lt;&lt; "EOF"
     139<literal># Begin /etc/profile
     140
     141for i in $(locale); do
     142  unset ${i%=*}
     143done
     144
     145if [[ "$TERM" = linux ]]; then
     146  export LANG=C.UTF-8
     147else
     148  source /etc/locale.conf
     149
     150  for i in $(locale); do
     151    key=${i%=*}
     152    if [[ -v $key ]]; then
     153      export $key
     154    fi
     155  done
     156fi
     157
     158# End /etc/profile</literal>
     159EOF</userinput></screen>
     160
     161<screen revision="sysv"><userinput>cat &gt; /etc/profile &lt;&lt; "EOF"
     162<literal># Begin /etc/profile
     163
     164for i in $(locale); do
     165  unset ${i%=*}
     166done
     167
     168if [[ "$TERM" = linux ]]; then
     169  export LANG=C.UTF-8
     170else
     171  export LANG=<replaceable>&lt;ll&gt;_&lt;CC&gt;.&lt;charmap&gt;&lt;@modifiers&gt;</replaceable>
     172fi
     173
     174# End /etc/profile</literal>
     175EOF</userinput></screen>
     176
     177  <para revision='systemd'>Note that you can modify <filename>/etc/locale.conf</filename> with the
    122178  systemd <command>localectl</command> utility. To use
    123179  <command>localectl</command> for the example above, run:</para>
    124180
    125 <screen role="nodump"><userinput>localectl set-locale LANG="<replaceable>&lt;ll&gt;_&lt;CC&gt;.&lt;charmap&gt;&lt;@modifiers&gt;</replaceable>"</userinput></screen>
    126 
    127   <para>You can also specify other language specific environment variables such
    128   as <envar>LANG</envar>, <envar>LC_CTYPE</envar>, <envar>LC_NUMERIC</envar> or
    129   any other environment variable from <command>locale</command> output. Just
    130   separate them with a space. An example where <envar>LANG</envar> is set as
     181<screen revision='systemd' role="nodump"><userinput>localectl set-locale LANG="<replaceable>&lt;ll&gt;_&lt;CC&gt;.&lt;charmap&gt;&lt;@modifiers&gt;</replaceable>"</userinput></screen>
     182
     183  <para revision='systemd'>You can also specify other language specific
     184  environment variables such as <envar>LANG</envar>,
     185  <envar>LC_CTYPE</envar>, <envar>LC_NUMERIC</envar> or any other
     186  environment variable from <command>locale</command> output. Just separate
     187  them with a space. An example where <envar>LANG</envar> is set as
    131188  en_US.UTF-8 but <envar>LC_CTYPE</envar> is set as just en_US is:</para>
    132189
    133 <screen role="nodump"><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen>
    134 
    135   <note><para>Please note that the <command>localectl</command> command
    136   doesn't work in the chroot environment.  It can only
    137   be used after the LFS system is booted with systemd.</para></note>
    138 
    139   <para>The <quote>C</quote> (default) and <quote>en_US</quote> (the recommended
    140   one for United States English users) locales are different. <quote>C</quote>
     190<screen revision='systemd' role="nodump"><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen>
     191
     192  <note revision='systemd'><para>Please note that the
     193  <command>localectl</command> command doesn't work in the chroot
     194  environment.  It can only be used after the LFS system is booted with
     195  systemd.</para></note>
     196
     197  <para>The <literal>C</literal> (default) and <literal>en_US</literal>
     198  (the recommended one for United States English users) locales are
     199  different. <literal>C</literal>
    141200  uses the US-ASCII 7-bit character set, and treats bytes with the high bit set
    142201  as invalid characters. That's why, e.g., the <command>ls</command> command
    143202  substitutes them with question marks in that locale. Also, an attempt to send
    144203  mail with such characters from Mutt or Pine results in non-RFC-conforming
    145   messages being sent (the charset in the outgoing mail is indicated as <quote>unknown
    146   8-bit</quote>). It's suggested that you use the <quote>C</quote> locale only
     204  messages being sent (the charset in the outgoing mail is indicated as
     205  <computeroutput>unknown 8-bit</computeroutput>). It's suggested that you
     206  use the <literal>C</literal> locale only
    147207  if you are certain that you will never need 8-bit characters.</para>
    148208
    149 <!--
    150   <para>UTF-8 based locales are not supported well by many programs.
    151   Work is in progress to document and, if possible, fix such problems, see
    152   <ulink url="&blfs-book;introduction/locale-issues.html"/>.</para>
    153 -->
    154 
    155209</sect1>
  • chapter09/network.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    6363    the interfaces up correctly.</para>
    6464
    65     <para>If the <envar>ONBOOT</envar> variable is set to <quote>yes</quote> the
     65    <para>If the <envar>ONBOOT</envar> variable is set to <literal>yes</literal> the
    6666    System V network script will bring up the Network Interface Card (NIC) during
    67     the system boot process. If set to anything besides <quote>yes</quote>, the NIC
     67    the system boot process. If set to anything besides <literal>yes</literal>, the NIC
    6868    will be ignored by the network script and will not be started automatically.
    6969    Interfaces can be manually started or stopped with the
  • chapter09/networkd.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5151    <filename class="extension">.network</filename> files. For detailed
    5252    descriptions and example contents of these configuration files, consult
    53     the <filename>systemd-link(5)</filename>,
    54     <filename>systemd-netdev(5)</filename> and
    55     <filename>systemd-network(5)</filename> manual pages.</para>
     53    the <ulink role='man' url='&man;systemd-link.5'>systemd-link(5)</ulink>,
     54    <ulink role='man' url='&man;systemd-netdev.5'>systemd-netdev(5)</ulink>,
     55    and <ulink role='man'
     56    url='&man;systemd-network.5'>systemd-network(5)</ulink> manual
     57    pages.</para>
    5658
    5759    <sect3 id="systemd-network-devices">
     
    9092        <listitem>
    9193          <para>
    92             Mask udev's .link file for the default policy:
     94            Mask udev's <filename class='extension'>.link</filename> file
     95            for the default policy:
    9396<screen role="nodump"><userinput>ln -s /dev/null /etc/systemd/network/99-default.link</userinput></screen>
    9497          </para>
     
    97100        <listitem>
    98101          <para>
    99              Create a manual naming scheme, for example by naming the
    100              interfaces something like "internet0", "dmz0", or "lan0".
    101              To do that, create .link files in /etc/systemd/network/ that
    102              select an explicit name or a better naming scheme for your
    103              network interfaces. For example:
     102            Create a manual naming scheme, for example by naming the
     103            interfaces something like <literal>internet0</literal>,
     104            <literal>dmz0</literal>, or <literal>lan0</literal>.
     105            To do that, create <filename class='extension'>.link</filename>
     106            files in /etc/systemd/network/ that select an explicit name or a
     107            better naming scheme for your network interfaces. For example:
    104108          </para>
    105109
     
    114118
    115119          <para>
    116              See the man page systemd.link(5) for more information.
     120            See <ulink role='man' url='&man;systemd.link.5'>systemd.link(5)</ulink> for more information.
    117121          </para>
    118122        </listitem>
     
    120124        <listitem>
    121125          <para>
    122             In /boot/grub/grub.cfg, pass the option net.ifnames=0 on the
    123             kernel command line.
     126            In /boot/grub/grub.cfg, pass the option
     127            <option>net.ifnames=0</option> on the kernel command line.
    124128          </para>
    125129        </listitem>
     
    358362     domain) because they are handled by the
    359363     <systemitem class='library'>myhostname</systemitem> NSS module, read
    360      the man page <filename>nss-myhostname(8)</filename> for details.</para>
     364     the man page <ulink role='man'
     365     url='&man;nss-myhostname.8'>nss-myhostname(8)</ulink> for
     366     details.</para>
    361367
    362368     <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents
  • chapter09/symlinks.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    113113      creating your network configuration files.</para>
    114114
     115      <para>Even if the custom udev rule file is created, udev may still
     116      assign one or more alternative names for a NIC based on physical
     117      characteristics.  If a custom udev rule would rename some NIC using
     118      a name already assigned as an alternative name of another NIC, this
     119      udev rule will fail.  If this issue happens, you may create the
     120      <filename>/etc/udev/network/99-default.link</filename> configuration
     121      file with an empty alternative assignment policy, overriding the
     122      default configuration file
     123      <filename>/usr/lib/udev/network/99-default.link</filename>:</para>
     124
     125<screen role="nodump"><userinput>sed -e '/^AlternativeNamesPolicy/s/=.*$/=/'  \
     126    -i /usr/lib/udev/network/99-default.link \
     127     > /etc/udev/network/99-default.link</userinput></screen>
    115128    </sect3>
    116129
  • chapter09/systemd-custom.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    2222    entries commented out with the default settings indicated. This file is
    2323    where the log level may be changed as well as some basic logging settings.
    24     See the <filename>systemd-system.conf(5)</filename> manual page for details
    25     on each configuration option.</para>
     24    See the <ulink role='man'
     25    url='&man;systemd-system.conf.5'>systemd-system.conf(5)</ulink> manual
     26    page for details on each configuration option.</para>
    2627
    2728  </sect2>
     
    9091    files with the same name in
    9192    <filename class="directory">/usr/lib/tmpfiles.d</filename>. See
    92     <filename>tmpfiles.d(5)</filename> manual page for file format
    93     details.</para>
     93    <ulink role='man' url='&man;tmpfiles.d.5'>tmpfiles.d(5)</ulink> manual
     94    page for file format details.</para>
    9495
    9596    <para>
     
    136137EOF</userinput></screen>
    137138
    138      <para>See <filename>systemd.unit(5)</filename> manual page for more
     139     <para>See <ulink role='man'
     140     url='&man;systemd.unit.5'>systemd.unit(5)</ulink> manual page for more
    139141     information. After creating the configuration file, run
    140142     <userinput>systemctl daemon-reload</userinput> and <userinput>systemctl
     
    252254EOF</userinput></screen>
    253255
    254     <para>See the <filename>systemd-coredump(8)</filename>,
    255     <filename>coredumpctl(1)</filename>, and
    256     <filename>coredump.conf.d(5)</filename> manual pages for more
    257     information.</para>
     256    <para>See the <ulink role='man' url='&man;systemd-coredump.8'>systemd-coredump(8)</ulink>,
     257    <ulink role='man' url='&man;coredumpctl.1'>coredumpctl(1)</ulink>, and
     258    <ulink role='man'
     259    url='&man;coredump.conf.d.5'>coredump.conf.d(5)</ulink> manual pages for
     260    more information.</para>
    258261  </sect2>
    259262
  • chapter09/udev.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    130130      supported by a module. For example, the <emphasis>snd-fm801</emphasis>
    131131      driver supports PCI devices with vendor ID 0x1319 and device ID 0x0801,
    132       and has an alias of <quote>pci:v00001319d00000801sv*sd*bc04sc01i*</quote>.
     132      and has an alias of <literal>pci:v00001319d00000801sv*sd*bc04sc01i*</literal>.
    133133      For most devices, the bus driver exports the alias of the driver that
    134134      would handle the device via <systemitem
     
    136136      <filename>/sys/bus/pci/devices/0000:00:0d.0/modalias</filename> file
    137137      might contain the string
    138       <quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>.
     138      <literal>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</literal>.
    139139      The default rules provided with udev will cause <command>udevd</command>
    140140      to call out to <command>/sbin/modprobe</command> with the contents of the
     
    226226      <literal>pre:</literal> dependencies, or a mixture of both
    227227      <literal>pre:</literal> and <literal>post:</literal> dependencies.  See
    228       the <filename>modprobe.d(5)</filename> manual page for more information
    229       on <quote>softdep</quote> syntax and capabilities.</para>
     228      the <ulink role='man' url='&man;modprobe.d.5'>modprobe.d(5)</ulink>
     229      manual page for more information on <quote>softdep</quote> syntax and
     230      capabilities.</para>
    230231
    231232      <para revision="sysv">If the module in question is not a wrapper and is
     
    301302      <para>This is due to the fact that udev, by design, handles uevents and
    302303      loads modules in parallel, and thus in an unpredictable order. This will
    303       never be <quote>fixed</quote>. You should not rely upon the kernel device
     304      never be <quote>fixed.</quote> You should not rely upon the kernel device
    304305      names being stable. Instead, create your own rules that make symlinks with
    305306      stable names based on some stable attributes of the device, such as a
  • chapter09/usage.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    3333    uses a run levels scheme. There are seven run levels, numbered 0 to 6.
    3434    (Actually, there are more run levels, but the others are for special cases and are
    35     generally not used. See <filename>init(8)</filename> for more details.)
     35    generally not used. See <ulink role='man'
     36    url='&man;init.8'>init(8)</ulink> for more details.)
    3637    Each one of the seven corresponds to actions the computer is supposed to
    3738    perform when it starts up or shuts down. The default run level is 3. Here are the
     
    4849    <note>
    4950       <para>
    50           Classically, run level 2 above was defined as
    51           "multi-user mode without networking", but this was only the case
    52           many years ago when multiple users could connect to a system via
    53           serial ports.  In today's environment it makes no sense, and
    54           we now say it is "reserved".
     51         Classically, run level 2 above was defined as <quote>multi-user
     52         mode without networking,</quote> but this was only the case
     53         many years ago when multiple users could connect to a system via
     54         serial ports.  In today's environment it makes no sense, and
     55         we now say it is <quote>reserved.</quote>
    5556       </para>
    5657    </note>
     
    342343  doubt, look in the <filename class="directory">/usr/share/keymaps</filename>
    343344  and <filename class="directory">/usr/share/consolefonts</filename> directories
    344   for valid keymaps and screen fonts. Read the <filename>loadkeys(1)</filename> and
    345   <filename>setfont(8)</filename> manual pages to determine the correct
    346   arguments for these programs.</para>
     345  for valid keymaps and screen fonts. Read the <ulink role='man'
     346  url='&man;loadkeys.1'>loadkeys(1)</ulink> and <ulink role='man'
     347  url='&man;setfont.8'>setfont(8)</ulink> manual pages to determine the
     348  correct arguments for these programs.</para>
    347349
    348350  <para>The <filename>/etc/sysconfig/console</filename> file should contain lines
    349   of the form: VARIABLE="value". The following variables are recognized:</para>
     351  of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para>
    350352  <variablelist>
    351353
     
    355357        <para>This variable specifies the log level for kernel messages sent
    356358        to the console as set by <command>dmesg -n</command>. Valid levels are
    357         from "1" (no messages) to "8". The default level is "7".</para>
     359        from <literal>1</literal> (no messages) to <literal>8</literal>. The default level is <literal>7</literal>, which is quite verbose.</para>
    358360      </listitem>
    359361    </varlistentry>
     
    364366        <para>This variable specifies the arguments for the
    365367        <command>loadkeys</command> program, typically, the name of the keymap
    366         to load, e.g., <quote>it</quote>. If this variable is not set, the
     368        to load, e.g., <literal>it</literal>. If this variable is not set, the
    367369        bootscript will not run the <command>loadkeys</command> program,
    368370        and the default kernel keymap will be used.  Note that a few keymaps
     
    383385        is not completely satisfactory and a small adjustment has to be made. E.g.,
    384386        to include the Euro sign into a keymap that normally doesn't have it,
    385         set this variable to <quote>euro2</quote>.</para>
     387        set this variable to <literal>euro2</literal>.</para>
    386388      </listitem>
    387389    </varlistentry>
     
    392394        <para>This variable specifies the arguments for the
    393395        <command>setfont</command> program. Typically, this includes the font
    394         name, <quote>-m</quote>, and the name of the application character
     396        name, <literal>-m</literal>, and the name of the application character
    395397        map to load. E.g., in order to load the <quote>lat1-16</quote> font
    396398        together with the <quote>8859-1</quote> application character map
    397399        (appropriate in the USA),
    398400        <!-- because of the copyright sign -->
    399         set this variable to <quote>lat1-16 -m 8859-1</quote>.
     401        set this variable to <literal>lat1-16 -m 8859-1</literal>.
    400402        In UTF-8 mode, the kernel uses the application character map to
    401403        convert 8-bit key codes to UTF-8. Therefore
     
    409411      <term>UNICODE</term>
    410412      <listitem>
    411         <para>Set this variable to <quote>1</quote>, <quote>yes</quote>, or
    412         <quote>true</quote> in order to put the
     413        <para>Set this variable to <literal>1</literal>, <literal>yes</literal>, or
     414        <literal>true</literal> in order to put the
    413415        console into UTF-8 mode. This is useful in UTF-8 based locales and
    414416        harmful otherwise.</para>
     
    431433
    432434  <itemizedlist>
     435    <listitem>
     436      <para>
     437        We'll use <literal>C.UTF-8</literal> as the locale for interactive
     438        sessions in the Linux console in <xref role=','
     439        linkend='ch-config-locale'/> so we should set
     440        <literal>UNICODE</literal> to <literal>1</literal>.  And the console
     441        fonts shipped by the <application>Kbd</application> package
     442        containing the glyphs for all characters from the program messages
     443        in the <literal>C.UTF-8</literal> locale are
     444        <filename>LatArCyrHeb*.psfu.gz</filename>,
     445        <filename>LatGrkCyr*.psfu.gz</filename>,
     446        <filename>Lat2-Terminus16.psfu.gz</filename>, and
     447        <filename>pancyrillic.f16.psfu.gz</filename> in
     448        <filename class='directory'>/usr/share/consolefonts</filename> (the
     449        other shipped console fonts lack glyphs of some characters like the
     450        Unicode left/right quotation marks and the Unicode English dash).
     451        So set one of them, for example
     452        <filename>Lat2-Terminus16.psfu.gz</filename> as the default console
     453        font:
     454      </para>
     455
     456      <!-- We are using 'nodump' for the generic setting, but not for an
     457           example (see below).  This is deliberate to keep the
     458           compatibility with jhalfs.  -->
     459<screen role='nodump'><userinput>cat &gt; /etc/sysconfig/console &lt;&lt; "EOF"
     460<literal># Begin /etc/sysconfig/console
     461
     462UNICODE="1"
     463FONT="Lat2-Terminus16"
     464
     465# End /etc/sysconfig/console</literal>
     466EOF</userinput></screen>
     467
     468    </listitem>
    433469
    434470    <listitem>
     
    525561      characters, or two ASCII characters are composed together. However, in
    526562      UTF-8 mode it is a problem; e.g., for the Greek language, where one
    527       sometimes needs to put an accent on the letter <quote>alpha</quote>.
     563      sometimes needs to put an accent on the letter α.
    528564      The solution is either to avoid the use of UTF-8, or to install the
    529565      X window system, which doesn't have this limitation, in its input
  • chapter10/chapter10.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter10/fstab.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5353  <para>Replace <replaceable>sda</replaceable> to the name of the device
    5454  node for your disk where LFS is being built.  For details on the six
    55   fields in this file, see <command>man 5 fstab</command>.</para>
     55  fields in this file, see <ulink role='man' url='&man;fstab.5'>fstab(5)</ulink>.</para>
    5656
    5757  <para>Filesystems with MS-DOS or Windows origin (i.e. vfat, ntfs, smbfs,
  • chapter10/grub.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    106106    </note>
    107107
    108 <!-- This does not seem to be true any more
    109     <note><para><application>grub-install</application> is a script and calls another
    110     program, grub-probe, that may fail with a message "cannot stat `/dev/root'".
    111     If so, create a temporary symbolic link from your root partition to /dev/root:</para>
    112 
    113 <screen role="nodump"><userinput>ln -sv /dev/sda2 /dev/root</userinput></screen>
    114 
    115     <para>The symbolic link will only be present until the system is rebooted.
    116     The link is only needed for the installation procedure.
    117     </para></note>
    118 -->
    119108  </sect2>
    120109
  • chapter10/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter10/kernel.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    274274
    275275      <varlistentry>
    276         <term><parameter>Framebuffer Console support</parameter></term>
    277         <listitem>
    278           <para>This is needed to display the Linux console on a frame
    279           buffer device.  To allow the kernel to print debug messages at an
    280           early boot stage, it shouldn't be built as a kernel module
    281           unless an initramfs will be used. And, if
    282           <option>CONFIG_DRM</option> (Direct Rendering Manager) is enabled,
    283           it's likely <option>CONFIG_DRM_FBDEV_EMULATION</option> (Enable
    284           legacy fbdev support for your modesetting driver) should be
    285           enabled as well.</para>
     276        <term>
     277          <parameter>
     278            Enable legacy fbdev support for your modesetting driver
     279          </parameter> and
     280          <parameter>Framebuffer Console support</parameter>
     281        </term>
     282        <listitem>
     283          <para>These are needed to display the Linux console on a
     284          GPU driven by a DRI (Direct Rendering Infrastructure) driver.
     285          If <option>CONFIG_DRM</option> (Direct Rendering Manager) is
     286          enabled, you should enable these two options as well or you'll see
     287          a blank screen once the DRI driver is loaded.</para>
    286288        </listitem>
    287289      </varlistentry>
     
    323325    documentation in the <filename
    324326    class="directory">linux-&linux-version;/Documentation</filename> directory.
    325     Also, <filename>modprobe.d(5)</filename> may be of interest.</para>
     327    Also, <ulink role='man' url='&man;modprobe.d.5'>modprobe.d(5)</ulink>
     328    may be of interest.</para>
    326329
    327330    <para>Unless module support has been disabled in the kernel configuration,
  • chapter10/kernel/Makefile

    re49e2ea r9e76c64  
    2020        touch s-kernel-version
    2121
    22 %.xml: %.toml kernel-config.py kernel_version.py kernel.version
     22%.xml.tmp: %.toml kernel-config.py kernel_version.py kernel.version
    2323        ./kernel-config.py $(KERNEL_TREE) $< > $@
     24
     25%.xml: %.xml.tmp
     26        mv $< $@
  • chapter10/kernel/highmem.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  • chapter10/kernel/kernel-config.py

    re49e2ea r9e76c64  
    186186            elif line.startswith('endif'):
    187187                if_stack = if_stack[:-1]
     188
     189    if config_buf:
     190        r += [parse_config(config_buf)]
     191
    188192    return r
    189193
     
    248252for i0, val, i1, title, arrow, key, menu, comment in r:
    249253    rem = max_line
     254    is_choice = (val == '(X)')
    250255
    251256    if val:
     
    260265        title = title[:rem - 3] + '...'
    261266
    262     b = title.lstrip('YyMmNnHh')
     267    b = title
     268    if not is_choice:
     269        b = b.lstrip('YyMmNnHh.' + "".join(map(str, range(10))))
    263270    a = title[:len(title) - len(b)]
    264271    b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>"
     
    287294from jinja2 import Template
    288295
    289 t = Template('''<?xml version="1.0" encoding="ISO-8859-1"?>
     296t = Template('''<?xml version="1.0" encoding="UTF-8"?>
    290297<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    291298  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  • chapter10/kernel/kernel.version

    re49e2ea r9e76c64  
    1 6.4.8
     16.7.1
  • chapter10/kernel/nvme.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  • chapter10/kernel/systemd.toml

    re49e2ea r9e76c64  
    1414DEVTMPFS='*'
    1515DEVTMPFS_MOUNT='*'
    16 FB='*'
    17 FRAMEBUFFER_CONSOLE='*'
    18 
     16DRM=' *M'
    1917AUDIT=' '
    2018NET='*'
     
    2927
    3028revision='systemd'
     29
     30[DRM_FBDEV_EMULATION]
     31value = ' *'
     32comment = 'If [DRM] is selected as * or M, this must be selected'
     33
     34[FRAMEBUFFER_CONSOLE]
     35value = ' *'
     36comment = 'If [DRM] is selected as * or M, this must be selected'
  • chapter10/kernel/systemd.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
     
    4242    [*] <emphasis role='blue'>E</emphasis>xport DMI identification via sysfs to userspace                 [DMIID]
    4343  <emphasis role='blue'>G</emphasis>raphics support ---&gt;
    44     <emphasis role='blue'>F</emphasis>rame buffer Devices ---&gt;
    45       &lt;*&gt; <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---&gt;                             [FB]
     44    &lt; /*/M&gt; <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---&gt;
     45                                                                      ...  [DRM]
     46    # If [DRM] is selected as * or M, this must be selected:
     47    [ /*]   <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
     48                                                      ...  [DRM_FBDEV_EMULATION]
    4649    <emphasis role='blue'>C</emphasis>onsole display driver support ---&gt;
    47       [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                      [FRAMEBUFFER_CONSOLE]
     50      # If [DRM] is selected as * or M, this must be selected:
     51      [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                    [FRAMEBUFFER_CONSOLE]
    4852
    4953<emphasis role='blue'>F</emphasis>ile systems ---&gt;
  • chapter10/kernel/sysv.toml

    re49e2ea r9e76c64  
    1313DEVTMPFS='*'
    1414DEVTMPFS_MOUNT='*'
    15 FB='*'
    16 FRAMEBUFFER_CONSOLE='*'
     15DRM=' *M'
    1716
    1817revision='sysv'
     18
     19[DRM_FBDEV_EMULATION]
     20value = ' *'
     21comment = 'If [DRM] is selected as * or M, this must be selected'
     22
     23[FRAMEBUFFER_CONSOLE]
     24value = ' *'
     25comment = 'If [DRM] is selected as * or M, this must be selected'
  • chapter10/kernel/sysv.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
     
    3030                                                           ...  [DEVTMPFS_MOUNT]
    3131  <emphasis role='blue'>G</emphasis>raphics support ---&gt;
    32     <emphasis role='blue'>F</emphasis>rame buffer Devices ---&gt;
    33       &lt;*&gt; <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---&gt;                             [FB]
     32    &lt; /*/M&gt; <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---&gt;
     33                                                                      ...  [DRM]
     34    # If [DRM] is selected as * or M, this must be selected:
     35    [ /*]   <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
     36                                                      ...  [DRM_FBDEV_EMULATION]
    3437    <emphasis role='blue'>C</emphasis>onsole display driver support ---&gt;
    35       [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                      [FRAMEBUFFER_CONSOLE]</screen>
     38      # If [DRM] is selected as * or M, this must be selected:
     39      [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support                    [FRAMEBUFFER_CONSOLE]</screen>
  • chapter10/kernel/x2apic.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  • chapter11/afterlfs.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter11/chapter11.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter11/getcounted.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter11/reboot.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter11/theend.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • chapter11/whatnow.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • gen-changelog.py

    re49e2ea r9e76c64  
    7777        ticket[pkg] = tic
    7878
     79hold_ticket = {'vim': '4500', 'iana-etc': '5006'}
     80
    7981print("Plain Text:")
    8082for (s, act) in [(upd, "Update to "), (add, "Add ")]:
     
    8486        if pkgver in ticket:
    8587            out += ' (#' + ticket[pkgver] + ')'
     88        elif i in hold_ticket:
     89            out += ' (#' + hold_ticket[i] + ')'
    8690        print("-", out)
    8791for i in rem:
     
    100104            out += " (security fix)"
    101105        out += "."
     106
     107        pkg_ticket = None
    102108        if pkgver in ticket:
    103109            out += "  Fixes\n          "
    104             out += "<ulink url='&lfs-ticket-root;" + ticket[pkgver] + "'>#"
    105             out += ticket[pkgver] + "</ulink>."
     110            pkg_ticket = ticket[pkgver]
     111        elif i in hold_ticket:
     112            out += "  Addresses\n          "
     113            pkg_ticket = hold_ticket[i]
     114
     115        if pkg_ticket:
     116            out += "<ulink url='&lfs-ticket-root;" + pkg_ticket + "'>#"
     117            out += pkg_ticket + "</ulink>."
    106118        out += "</para>"
    107119        print(out)
  • general.ent

    re49e2ea r9e76c64  
    9393<!ENTITY secadv          "&lfs-root;lfs/advisories/">
    9494
    95 <!-- 4.14 EOL is Jan 2024
    96      so for LFS 11.5 we may consider moving to 4.19 -->
    97 <!ENTITY min-kernel      "4.14">
     95<!-- 4.19 EOL is Dec 2024
     96     so for LFS 12.3 we may consider moving to 5.4 -->
     97<!ENTITY min-kernel      "4.19">
    9898
    9999<!--
     
    126126<!ENTITY pypi-home       "https://pypi.org/project">
    127127<!ENTITY pypi-src        "https://pypi.org/packages/source">
     128<!ENTITY man             "https://man.archlinux.org/man/">
    128129
    129130<!ENTITY root            "<systemitem class='username'>root</systemitem>">
  • git-version.sh

    re49e2ea r9e76c64  
    5858
    5959if [ "$(git diff HEAD | wc -l)" != "0" ]; then
    60     version="$version+"
    61     versiond="$versiond+"
     60    version="$version-wip"
     61    versiond="$versiond-wip"
    6262fi
    6363
  • index.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    33  <!ENTITY % general-entities SYSTEM "general.ent">
  • lfs-latest-git.php

    re49e2ea r9e76c64  
    153153if ( $package == "vim"        ) $dirpath = "https://github.com/vim/vim/tags";
    154154if ( $package == "wheel"      ) $dirpath = "https://pypi.org/project/wheel/#files";
     155if ( $package == "xz"         ) $dirpath = github("tukaani-project/xz");
    155156if ( $package == "zlib"       ) $dirpath = "https://www.zlib.net";
    156157if ( $package == "zstd"       ) $dirpath = github("facebook/zstd");
  • packages.ent

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22
    33<!-- Notes:
     
    1414-->
    1515
    16 <!ENTITY acl-version "2.3.1">
    17 <!ENTITY acl-size "348 KB">
     16<!ENTITY acl-version "2.3.2">
     17<!ENTITY acl-size "363 KB">
    1818<!ENTITY acl-url "&savannah;/releases/acl/acl-&acl-version;.tar.xz">
    19 <!ENTITY acl-md5 "95ce715fe09acca7c12d3306d0f076b2">
     19<!ENTITY acl-md5 "590765dee95907dbc3c856f7255bd669">
    2020<!ENTITY acl-home "&savannah-nongnu;/projects/acl">
    2121<!ENTITY acl-fin-du "6.1 MB">
    2222<!ENTITY acl-fin-sbu "less than 0.1 SBU">
    2323
    24 <!ENTITY attr-version "2.5.1">
    25 <!ENTITY attr-size "456 KB">
     24<!ENTITY attr-version "2.5.2">
     25<!ENTITY attr-size "484 KB">
    2626<!ENTITY attr-url "&savannah;/releases/attr/attr-&attr-version;.tar.gz">
    27 <!ENTITY attr-md5 "ac1c5a7a084f0f83b8cace34211f64d8">
     27<!ENTITY attr-md5 "227043ec2f6ca03c0948df5517f9c927">
    2828<!ENTITY attr-home "&savannah-nongnu;/projects/attr">
    2929<!ENTITY attr-fin-du "4.1 MB">
    3030<!ENTITY attr-fin-sbu "less than 0.1 SBU">
    3131
    32 <!ENTITY autoconf-version "2.71">
    33 <!ENTITY autoconf-size "1,263 KB">
     32<!ENTITY autoconf-version "2.72">
     33<!ENTITY autoconf-size "1,360 KB">
    3434<!ENTITY autoconf-url "&gnu;autoconf/autoconf-&autoconf-version;.tar.xz">
    35 <!ENTITY autoconf-md5 "12cfa1687ffa2606337efe1a64416106">
     35<!ENTITY autoconf-md5 "1be79f7106ab6767f18391c5e22be701">
    3636<!ENTITY autoconf-home "&gnu-software;autoconf/">
    3737<!ENTITY autoconf-fin-du "24 MB">
     
    5858<!ENTITY bash-fin-sbu "1.1 SBU">
    5959
    60 <!ENTITY bc-version "6.7.2">
    61 <!ENTITY bc-size "456 KB">
     60<!ENTITY bc-version "6.7.5">
     61<!ENTITY bc-size "460 KB">
    6262<!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz">
    63 <!ENTITY bc-md5 "27c217ea495f73758f548eb2c6e10244">
     63<!ENTITY bc-md5 "e249b1f86f886d6fb71c15f72b65dd3d">
    6464<!ENTITY bc-home "https://git.gavinhoward.com/gavin/bc">
    6565<!ENTITY bc-fin-du "7.7 MB">
    6666<!ENTITY bc-fin-sbu "less than 0.1 SBU">
    6767
    68 <!ENTITY binutils-version "2.41">
    69 <!ENTITY binutils-size "26,139 KB">
     68<!ENTITY binutils-version "2.42">
     69<!ENTITY binutils-size "26,922 KB">
    7070<!ENTITY binutils-url "https://sourceware.org/pub/binutils/releases/binutils-&binutils-version;.tar.xz">
    71 <!ENTITY binutils-md5 "256d7e0ad998e423030c84483a7c1e30">
     71<!ENTITY binutils-md5 "a075178a9646551379bfb64040487715">
    7272<!ENTITY binutils-home "&gnu-software;binutils/">
    7373<!ENTITY binutils-tmpp1-du "647 MB">
     
    246246<!ENTITY gdbm-fin-sbu "less than 0.1 SBU">
    247247
    248 <!ENTITY gettext-version "0.22.3">
    249 <!ENTITY gettext-size "9,997 KB">
     248<!ENTITY gettext-version "0.22.4">
     249<!ENTITY gettext-size "10,016 KB">
    250250<!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.xz">
    251 <!ENTITY gettext-md5 "460b38ae5e520253dcd06165dd3e281f">
     251<!ENTITY gettext-md5 "2d8507d003ef3ddd1c172707ffa97ed8">
    252252<!ENTITY gettext-home "&gnu-software;gettext/">
    253253<!ENTITY gettext-tmp-du "306 MB">
     
    256256<!ENTITY gettext-fin-sbu "1.4 SBU">
    257257
    258 <!ENTITY glibc-version "2.38">
    259 <!ENTITY glibc-size "18,471 KB">
     258<!ENTITY glibc-version "2.39">
     259<!ENTITY glibc-size "18,092 KB">
    260260<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
    261 <!ENTITY glibc-md5 "778cce0ea6bf7f84ca8caacf4a01f45b">
     261<!ENTITY glibc-md5 "be81e87f72b5ea2c0ffe2bedfeb680c6">
    262262<!ENTITY glibc-home "&gnu-software;libc/">
    263263<!ENTITY glibc-tmp-du "858 MB">
     
    300300<!ENTITY groff-fin-sbu "0.2 SBU">
    301301
    302 <!ENTITY grub-version "2.06">
    303 <!ENTITY grub-size "6,428 KB">
     302<!ENTITY grub-version "2.12">
     303<!ENTITY grub-size "6,524 KB">
    304304<!ENTITY grub-url "https://ftp.gnu.org/gnu/grub/grub-&grub-version;.tar.xz">
    305 <!ENTITY grub-md5 "cf0fd928b1e5479c8108ee52cb114363">
     305<!ENTITY grub-md5 "60c564b1bdc39d8e43b3aab4bc0fb140">
    306306<!ENTITY grub-home "&gnu-software;grub/">
    307307<!ENTITY grub-fin-du "161 MB">
     
    320320<!ENTITY gzip-fin-sbu "0.3 SBU">
    321321
    322 <!ENTITY iana-etc-version "20231107">
     322<!ENTITY iana-etc-version "20240125">
    323323<!ENTITY iana-etc-size "589 KB">
    324324<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
    325 <!ENTITY iana-etc-md5 "01331998d26d5beb592c12b06b2eeb24">
     325<!ENTITY iana-etc-md5 "aed66d04de615d76c70890233081e584">
    326326<!ENTITY iana-etc-home "https://www.iana.org/protocols">
    327327<!ENTITY iana-etc-fin-du "4.8 MB">
    328328<!ENTITY iana-etc-fin-sbu "less than 0.1 SBU">
    329329
    330 <!ENTITY inetutils-version "2.4">
    331 <!ENTITY inetutils-size "1,522 KB">
     330<!ENTITY inetutils-version "2.5">
     331<!ENTITY inetutils-size "1,632 KB">
    332332<!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz">
    333 <!ENTITY inetutils-md5 "319d65bb5a6f1847c4810651f3b4ba74">
     333<!ENTITY inetutils-md5 "9e5a6dfd2d794dc056a770e8ad4a9263">
    334334<!ENTITY inetutils-home "&gnu-software;inetutils/">
    335335<!ENTITY inetutils-fin-du "31 MB">
     
    344344<!ENTITY intltool-fin-sbu "less than 0.1 SBU">
    345345
    346 <!ENTITY iproute2-version "6.6.0">
    347 <!ENTITY iproute2-size "897 KB">
     346<!ENTITY iproute2-version "6.7.0">
     347<!ENTITY iproute2-size "900 KB">
    348348<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
    349 <!ENTITY iproute2-md5 "6716fc3188dbea226997fa2478a190d7">
     349<!ENTITY iproute2-md5 "35d8277d1469596b7edc07a51470a033">
    350350<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
    351351<!ENTITY iproute2-fin-du "17 MB">
     
    354354<!ENTITY iproute2-tmp-sbu "less than 0.1 SBU">
    355355
    356 <!ENTITY jinja2-version "3.1.2">
    357 <!ENTITY jinja2-size "262 KB">
     356<!ENTITY jinja2-version "3.1.3">
     357<!ENTITY jinja2-size "264 KB">
    358358<!ENTITY jinja2-url "&pypi-src;/J/Jinja2/Jinja2-&jinja2-version;.tar.gz">
    359 <!ENTITY jinja2-md5 "d31148abd89c1df1cdb077a55db27d02">
    360 <!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3.0.x/">
     359<!ENTITY jinja2-md5 "caf5418c851eac59e70a78d9730d4cea">
     360<!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3.1.x/">
    361361<!ENTITY jinja2-fin-du "3.4 MB">
    362362<!ENTITY jinja2-fin-sbu "less than 0.1 SBU">
    363363
    364 <!ENTITY kbd-version "2.6.3">
    365 <!ENTITY kbd-size "1,468 KB">
     364<!ENTITY kbd-version "2.6.4">
     365<!ENTITY kbd-size "1,470 KB">
    366366<!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz">
    367 <!ENTITY kbd-md5 "4764775cac0415f1d35a0cd311249941">
     367<!ENTITY kbd-md5 "e2fd7adccf6b1e98eb1ae8d5a1ce5762">
    368368<!ENTITY kbd-home "https://kbd-project.org/">
    369369<!ENTITY kbd-fin-du "35 MB">
     
    435435
    436436<!ENTITY linux-major-version "6">
    437 <!ENTITY linux-minor-version "6">
    438 <!ENTITY linux-patch-version "1">
     437<!ENTITY linux-minor-version "7">
     438<!ENTITY linux-patch-version "3">
    439439<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    440440<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    441 <!ENTITY linux-size "136,730 KB">
     441<!ENTITY linux-size "138,128 KB">
    442442<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    443 <!ENTITY linux-md5 "90291279ca684fb8cfa59b2ae75b6fe0">
     443<!ENTITY linux-md5 "a542a2aea4db4cf09e932fff02c8d1d1">
    444444<!ENTITY linux-home "https://www.kernel.org/">
    445445<!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is
     
    495495<!ENTITY man-pages-fin-sbu "less than 0.1 SBU">
    496496
    497 <!ENTITY markupsafe-version "2.1.3">
    498 <!ENTITY markupsafe-size "19 KB">
     497<!ENTITY markupsafe-version "2.1.4">
     498<!ENTITY markupsafe-size "20 KB">
    499499<!ENTITY markupsafe-url "&pypi-src;/M/MarkupSafe/MarkupSafe-&markupsafe-version;.tar.gz">
    500 <!ENTITY markupsafe-md5 "ca33f119bd0551ce15837f58bb180214">
     500<!ENTITY markupsafe-md5 "8138329a11cf4bd0f9db780b2af26c66">
    501501<!ENTITY markupsafe-home "https://palletsprojects.com/p/markupsafe/">
    502502<!ENTITY markupsafe-fin-du "548 KB">
    503503<!ENTITY markupsafe-fin-sbu "less than 0.1 SBU">
    504504
    505 <!ENTITY meson-version "1.2.3">
    506 <!ENTITY meson-size "2,134 KB">
     505<!ENTITY meson-version "1.3.1">
     506<!ENTITY meson-size "2,172 KB">
    507507<!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz">
    508 <!ENTITY meson-md5 "69da4c63ef06c9d3bcc00ce89abb306f">
     508<!ENTITY meson-md5 "dd404b8c0f8b79f80181b4a58bb81768">
    509509<!ENTITY meson-home "https://mesonbuild.com">
    510510<!ENTITY meson-fin-du "42 MB">
     
    527527<!ENTITY mpfr-fin-sbu "0.2 SBU">
    528528
    529 <!ENTITY ncurses-version "6.4">
    530 <!ENTITY ncurses-size "3,528 KB">
    531 <!ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;.tar.gz">
    532 <!ENTITY ncurses-md5 "5a62487b5d4ac6b132fe2bf9f8fad29b">
     529<!ENTITY ncurses-release "6.4">
     530<!ENTITY ncurses-version "&ncurses-release;-20230520">
     531<!ENTITY ncurses-size "2,156 KB">
     532<!-- switch back to invisible-mirror.net for 6.5 -->
     533<!--ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;.tar.gz"-->
     534<!ENTITY ncurses-url "&anduin-sources;/ncurses-&ncurses-version;.tar.xz">
     535<!ENTITY ncurses-md5 "c5367e829b6d9f3f97b280bb3e6bfbc3">
    533536<!ENTITY ncurses-home "&gnu-software;ncurses/">
    534537<!ENTITY ncurses-tmp-du "51 MB">
     
    545548<!ENTITY ninja-fin-sbu "0.3 SBU">
    546549
    547 <!ENTITY openssl-version "3.1.4">
    548 <!ENTITY openssl-size "15,205 KB">
     550<!ENTITY openssl-version "3.2.1">
     551<!ENTITY openssl-size "17,318 KB">
    549552<!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
    550 <!ENTITY openssl-md5 "653ad58812c751b887e8ec37e02bba70">
     553<!ENTITY openssl-md5 "c239213887804ba00654884918b37441">
    551554<!ENTITY openssl-home "https://www.openssl.org/">
    552555<!ENTITY openssl-fin-du "587 MB">
     
    565568<!ENTITY perl-version-major "5">
    566569<!ENTITY perl-version-minor "38">
    567 <!ENTITY perl-version-patch "0">
     570<!ENTITY perl-version-patch "2">
    568571<!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;">
    569572<!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;">
    570 <!ENTITY perl-size "13,248 KB">
     573<!ENTITY perl-size "13,359 KB">
    571574<!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz">
    572 <!ENTITY perl-md5 "e1c8aaec897dd386c741f97eef9f2e87">
     575<!ENTITY perl-md5 "d3957d75042918a23ec0abac4a2b7e0a">
    573576<!ENTITY perl-home "https://www.perl.org/">
    574577<!ENTITY perl-tmp-du "280 MB">
     
    577580<!ENTITY perl-fin-sbu "7.1 SBU">
    578581
    579 <!ENTITY pkgconf-version "2.0.3">
    580 <!ENTITY pkgconf-size "304 KB">
     582<!ENTITY pkgconf-version "2.1.0">
     583<!ENTITY pkgconf-size "305 KB">
    581584<!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz">
    582 <!ENTITY pkgconf-md5 "b82ca48ed3097adfa007ee71489b6719">
     585<!ENTITY pkgconf-md5 "0f2eadbb9dea5aed95147272ae1592cc">
    583586<!ENTITY pkgconf-home "http://pkgconf.org/">
    584587<!ENTITY pkgconf-fin-du "4.6 MB">
     
    604607     meson pages will be needed: python3.6 and python3.6m -->
    605608
    606 <!ENTITY python-version "3.12.0">
     609<!ENTITY python-version "3.12.1">
    607610<!ENTITY python-minor "3.12">
    608 <!ENTITY python-size "20,093 KB">
     611<!ENTITY python-size "20,102 KB">
    609612<!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz">
    610 <!ENTITY python-md5 "f6f4616584b23254d165f4db90c247d6">
     613<!ENTITY python-md5 "50f827c800483776c8ef86e6a53831fa">
    611614<!ENTITY python-home "https://www.python.org/">
    612615<!ENTITY python-tmp-du "533 MB">
     
    615618<!ENTITY python-fin-sbu "1.9 SBU">
    616619<!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2">
    617 <!ENTITY python-docs-md5 "ae9d19bb613ae8ef2457496bd2893915">
    618 <!ENTITY python-docs-size "8,009 KB">
     620<!ENTITY python-docs-md5 "d5c21b804c219b06256495eae30fd153">
     621<!ENTITY python-docs-size "7,998 KB">
    619622
    620623<!ENTITY readline-version "8.2">
     
    637640<!ENTITY sed-fin-sbu "0.3 SBU">
    638641
    639 <!ENTITY setuptools-version "68.2.2">
    640 <!ENTITY setuptools-size "2,152 KB">
     642<!ENTITY setuptools-version "69.0.3">
     643<!ENTITY setuptools-size "2,168 KB">
    641644<!ENTITY setuptools-url "&pypi-src;/s/setuptools/setuptools-&setuptools-version;.tar.gz">
    642 <!ENTITY setuptools-md5 "d967ca2ba7f46db887daee2d5c9bd6a2">
     645<!ENTITY setuptools-md5 "b82de45aaa6b9bb911226660212ebb83">
    643646<!ENTITY setuptools-home "&pypi-home;/setuptools/">
    644647<!ENTITY setuptools-fin-du "30 MB">
    645648<!ENTITY setuptools-fin-sbu "0.1 SBU">
    646649
    647 <!ENTITY shadow-version "4.14.2">
    648 <!ENTITY shadow-size "1,758 KB">
     650<!ENTITY shadow-version "4.14.3">
     651<!ENTITY shadow-size "1,760 KB">
    649652<!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz">
    650 <!ENTITY shadow-md5 "effc1aa17590305647413125b966f1dd">
     653<!ENTITY shadow-md5 "b9a7f56d0c63297c0d11d742be2f8ffd">
    651654<!ENTITY shadow-home "&github;/shadow-maint/shadow/">
    652655<!ENTITY shadow-fin-du "46 MB">
     
    661664<!ENTITY sysklogd-fin-sbu "less than 0.1 SBU">
    662665
    663 <!ENTITY systemd-version  "254">
     666<!ENTITY systemd-version  "255">
    664667<!--<!ENTITY systemd-stable   "6b4878d">-->
    665668<!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel
    666669     change that is incompatible, we will switch to the backport branch until the next stable release. -->
    667 <!ENTITY systemd-size     "13,985 KB">
     670<!ENTITY systemd-size     "14,516 KB">
    668671<!ENTITY systemd-url      "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz">
    669672<!--<!ENTITY systemd-url      "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">-->
    670 <!ENTITY systemd-md5      "0d266e5361dc72097b6c18cfde1c0001">
     673<!ENTITY systemd-md5      "521cda27409a9edf0370c128fae3e690">
    671674<!ENTITY systemd-home     "https://www.freedesktop.org/wiki/Software/systemd/">
    672 <!ENTITY systemd-man-version "254">
    673 <!ENTITY systemd-man-size "626 KB">
     675<!ENTITY systemd-man-version "255">
     676<!ENTITY systemd-man-size "652 KB">
    674677<!--<!ENTITY systemd-man-url  "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">-->
    675678<!ENTITY systemd-man-url  "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz">
    676 <!ENTITY systemd-man-md5  "fc32faeac581e1890ca27fcea3858410">
     679<!ENTITY systemd-man-md5  "1ebe54d7a80f9abf8f2d14ddfeb2432d">
    677680<!ENTITY systemd-fin-du   "238 MB">
    678681<!ENTITY systemd-fin-sbu  "0.7 SBU">
     
    718721<!ENTITY texinfo-fin-sbu "0.3 SBU">
    719722
    720 <!ENTITY tzdata-version "2023c">
    721 <!ENTITY tzdata-size "436 KB">
     723<!ENTITY tzdata-version "2024a">
     724<!ENTITY tzdata-size "444 KB">
    722725<!ENTITY tzdata-url "https://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz">
    723 <!ENTITY tzdata-md5 "5aa672bf129b44dd915f8232de38e49a">
     726<!ENTITY tzdata-md5 "2349edd8335245525cc082f2755d5bf4">
    724727<!ENTITY tzdata-home "https://www.iana.org/time-zones">
    725728
     
    734737
    735738<!ENTITY util-linux-minor "2.39">
    736 <!ENTITY util-linux-version "2.39.2"> <!-- 2.33.x -->
    737 <!ENTITY util-linux-size "8,167 KB">
     739<!ENTITY util-linux-version "2.39.3"> <!-- 2.33.x -->
     740<!ENTITY util-linux-size "8,327 KB">
    738741<!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz">
    739 <!ENTITY util-linux-md5 "2feb3e7c306f336a3d22a182dfffc942">
     742<!ENTITY util-linux-md5 "f3591e6970c017bb4bcd24ae762a98f5">
    740743<!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
    741744<!ENTITY util-linux-tmp-du "169 MB">
     
    747750<!ENTITY mount-setsid-sbu "less than 0.1 SBU">
    748751
    749 <!ENTITY vim-version "9.0.2103">
     752<!ENTITY vim-version "9.1.0041">
    750753<!-- <!ENTITY vim-majmin "90"> -->
    751 <!ENTITY vim-docdir "vim/vim90">
    752 <!ENTITY vim-size "11,193 KB">
    753 <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->
    754 <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.xz">
    755 <!ENTITY vim-md5 "1af1d018026234d085a82348703461ce">
     754<!ENTITY vim-docdir "vim/vim91">
     755<!ENTITY vim-size "17,224 KB">
     756<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">
     757<!--<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">-->
     758<!ENTITY vim-md5 "79dfe62be5d347b1325cbd5ce2a1f9b3">
    756759<!ENTITY vim-home "https://www.vim.org">
    757760<!ENTITY vim-fin-du "229 MB">
    758761<!ENTITY vim-fin-sbu "2.3 SBU">
    759762
    760 <!ENTITY wheel-version "0.41.3">
     763<!ENTITY wheel-version "0.42.0">
    761764<!ENTITY wheel-size "97 KB">
    762765<!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz">
    763 <!ENTITY wheel-md5 "c66db2f3a50d5659994fa974138d4002">
     766<!ENTITY wheel-md5 "802ad6e5f9336fcb1c76b7593f0cd22d">
    764767<!ENTITY wheel-home "&pypi-home;/wheel/">
    765768<!ENTITY wheel-fin-du "1.5 MB">
    766769<!ENTITY wheel-fin-sbu "less than 0.1 SBU">
    767770
    768 <!ENTITY xml-parser-version "2.46">
    769 <!ENTITY xml-parser-size "249 KB">
     771<!ENTITY xml-parser-version "2.47">
     772<!ENTITY xml-parser-size "276 KB">
    770773<!ENTITY xml-parser-url "https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-&xml-parser-version;.tar.gz">
    771 <!ENTITY xml-parser-md5 "80bb18a8e6240fcf7ec2f7b57601c170">
     774<!ENTITY xml-parser-md5 "89a8e82cfd2ad948b349c0a69c494463">
    772775<!ENTITY xml-parser-home "&github;/chorny/XML-Parser">
    773776<!ENTITY xml-parser-fin-du "2.3 MB">
    774777<!ENTITY xml-parser-fin-sbu "less than 0.1 SBU">
    775778
    776 <!ENTITY xz-version "5.4.5">
    777 <!ENTITY xz-size "1,642 KB">
    778 <!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz">
    779 <!ENTITY xz-md5 "1d33e0be05c53e7a5641acf5c8b35fdd">
     779<!ENTITY xz-version "5.4.6">
     780<!ENTITY xz-size "1,645 KB">
     781<!ENTITY xz-url "https://github.com/tukaani-project/xz/releases/download/v&xz-version;/xz-&xz-version;.tar.xz">
     782<!ENTITY xz-md5 "7ade7bd1181a731328f875bec62a9377">
    780783<!ENTITY xz-home "https://tukaani.org/xz">
    781784<!ENTITY xz-tmp-du "22 MB">
     
    784787<!ENTITY xz-fin-sbu "0.1 SBU">
    785788
    786 <!ENTITY zlib-version "1.3">
    787 <!ENTITY zlib-size "1,461 KB">
     789<!ENTITY zlib-version "1.3.1">
     790<!ENTITY zlib-size "1,478 KB">
    788791<!-- DO NOT remove "fossils"!
    789792     The upstream removes https://zlib.net/zlib-&zlib-version;.tar.xz
     
    791794     Unfortunately there is no .xz files in fossils directory.  -->
    792795<!ENTITY zlib-url "https://zlib.net/fossils/zlib-&zlib-version;.tar.gz">
    793 <!ENTITY zlib-md5 "60373b133d630f74f4a1f94c1185a53f">
     796<!ENTITY zlib-md5 "9855b6d802d7fe5b7bd5b196a2271655">
    794797<!ENTITY zlib-home "https://zlib.net/">
    795798<!ENTITY zlib-fin-du "6.2 MB">
  • part3intro/generalinstructions.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • part3intro/introduction.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • part3intro/part3intro.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • part3intro/toolchaintechnotes.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5757      <varlistentry><term>The build</term><listitem>
    5858        <para>is the machine where we build programs. Note that this machine
    59         is also referred to as the <quote>host</quote>.</para></listitem>
     59        is also referred to as the <quote>host.</quote></para></listitem>
    6060      </varlistentry>
    6161
  • patches.ent

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22
    33<!-- Start of Common Patches -->
     4
     5<!ENTITY bash-upstream-fixes-patch "bash-&bash-version;-upstream_fixes-1.patch">
     6<!ENTITY bash-upstream-fixes-patch-md5 "2d1691a629c558e894dbb78ee6bf34ef">
     7<!ENTITY bash-upstream-fixes-patch-size "5.9 KB">
    48
    59<!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch">
     
    1418<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
    1519<!ENTITY glibc-fhs-patch-size "2.8 KB">
    16 
    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">
    20 
    21 <!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch">
    22 <!ENTITY grub-upstream-fixes-patch-md5 "da388905710bb4cbfbc7bd7346ff9174">
    23 <!ENTITY grub-upstream-fixes-patch-size "8 KB">
    24 
     20<!--
     21<!ENTITY glibc-upstream-fixes-patch "glibc-&glibc-version;-upstream_fixes-4.patch">
     22<!ENTITY glibc-upstream-fixes-patch-md5 "66e843b00688c641c9bdda684db45b43">
     23<!ENTITY glibc-upstream-fixes-patch-size "36 KB">
     24-->
    2525<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
    2626<!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">
    2727<!ENTITY kbd-backspace-patch-size "12 KB">
    2828
    29 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fix-1.patch">
    30 <!ENTITY readline-fixes-patch-md5 "dd1764b84cfca6b677f44978218a75da">
    31 <!ENTITY readline-fixes-patch-size "1.3 KB">
     29<!ENTITY pkgconf-upstream-fix-patch "pkgconf-&pkgconf-version;-upstream_fix-1.patch">
     30<!ENTITY pkgconf-upstream-fix-patch-md5 "77d5bb10840724a0e3dc08efee548363">
     31<!ENTITY pkgconf-upstream-fix-patch-size "4 KB">
     32
     33<!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fixes-3.patch">
     34<!ENTITY readline-fixes-patch-md5 "9ed497b6cb8adcb8dbda9dee9ebce791">
     35<!ENTITY readline-fixes-patch-size "13 KB">
    3236
    3337<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch">
  • prologue/architecture.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/audience.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/bookinfo.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/dedication.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE dedication PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/errata.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/foreword.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/organization.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/preface.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/prerequisites.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • prologue/standards.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    5050
    5151    <para>While it is possible to create a complete system that will pass the LSB
    52     certification tests "from scratch", this can't be done without many additional packages
     52    certification tests <quote>from scratch,</quote> this can't be done without many additional packages
    5353    that are beyond the scope of the LFS book.  Installation instructions for these
    5454    additional packages can be found in BLFS. </para>
  • prologue/typography.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    7575  <para>This format is used to encapsulate text that is optional.</para>
    7676
    77   <para><filename>passwd(5)</filename></para>
     77  <para><ulink role='man' url='&man;passwd.5'>passwd(5)</ulink></para>
    7878
    7979  <para>This format is used to refer to a specific manual (man) page. The number inside parentheses
     
    8282  those two man pages will be located at
    8383  <filename>/usr/share/man/man1/passwd.1</filename> and
    84   <filename>/usr/share/man/man5/passwd.5</filename>. When the book uses <filename>passwd(5)</filename> it is
     84  <filename>/usr/share/man/man5/passwd.5</filename>. When the book uses
     85  <ulink role='man' url='&man;/passwd.5'>passwd(5)</ulink> it is
    8586  specifically referring to <filename>/usr/share/man/man5/passwd.5</filename>.
    8687  <command>man passwd</command> will print the first man page it finds that
    87   matches <quote>passwd</quote>, which will be
     88  matches <quote>passwd,</quote> which will be
    8889  <filename>/usr/share/man/man1/passwd.1</filename>. For this example, you will
    8990  need to run <command>man 5 passwd</command> in order to read the page
    9091  being specified. Note that most man pages do not have duplicate
    9192  page names in different sections. Therefore, <command>man <replaceable>&lt;program
    92   name&gt;</replaceable></command> is generally sufficient.</para>
     93  name&gt;</replaceable></command> is generally sufficient.  In the LFS
     94  book these references to man pages are also hyperlinks, so clicking on
     95  such a reference will open the man page rendered in HTML from
     96  <ulink url='https://man.archlinux.org/'>Arch Linux manual
     97  pages</ulink>.</para>
    9398
    9499</sect1>
  • prologue/why.xml

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  • stylesheets/dump-commands.xsl

    re49e2ea r9e76c64  
    1 <?xml version="1.0"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    3     xmlns:exsl="http://exslt.org/common"
    4     extension-element-prefixes="exsl"
    5     version="1.0">
     3                xmlns:exsl="http://exslt.org/common"
     4                extension-element-prefixes="exsl"
     5                version="1.0">
    66
    77<!-- XSLT stylesheet to extract commands from [B,H]LFS books. -->
  • stylesheets/lfs-chunked.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-nochunks.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-pdf.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/chunk-master.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/chunk-slave.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    1111  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
    1212
    13   <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
    14   <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
     13  <xsl:param name="chunker.output.method" select="'xml'"/>
     14  <xsl:param name="chunker.output.encoding" select="'UTF-8'"/>
     15  <xsl:param name="chunker.output.media-type" select="'application/xhtml+xml'"/>
     16  <xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD XHTML 1.0 Strict//EN'"/>
     17  <xsl:param name="chunker.output.doctype-system" select="'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'"/>
     18  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
     19  <xsl:param name="chunker.output.indent" select="'no'"/>
    1520
    1621  <!-- Including our customized elements templates -->
     
    3439  <xsl:param name="ulink.target" select="''"/>
    3540  <xsl:param name="css.decoration" select="0"/>
    36 
    37   <!-- No XML declaration -->
    38   <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
    3941
    4042  <!-- Control generation of ToCs and LoTs -->
  • stylesheets/lfs-xsl/chunkfast.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/common.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/lfs-l10n.xml

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
     2<!DOCTYPE l:i18n SYSTEM "https://cdn.docbook.org/release/xsl-nons/current/common/l10n.dtd">
    23
    34<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
     
    7273          language="es" english-language-name="Spanish">
    7374
    74     <l:gentext key="description" text="descripci&#243;n"/>
     75    <l:gentext key="description" text="descripción"/>
    7576    <l:gentext key="Bootscripts" text="Guiones de arranque"/>
    76     <l:gentext key="Configuration Files" text="Ficheros de configuraci&#243;n"/>
    77     <l:gentext key="Kernel Configuration" text="Configuraci&#243;n del n&#250;cleo"/>
    78     <l:gentext key="Libraries" text="Librer&#237;as"/>
     77    <l:gentext key="Configuration Files" text="Ficheros de configuración"/>
     78    <l:gentext key="Kernel Configuration" text="Configuración del núcleo"/>
     79    <l:gentext key="Libraries" text="Librerías"/>
    7980    <l:gentext key="Others" text="Otros"/>
    8081    <l:gentext key="Packages" text="Paquetes"/>
  • stylesheets/lfs-xsl/lfs.css

    re49e2ea r9e76c64  
    11/* Global settings */
    22body {
    3   font-family: verdana, tahoma, helvetica, arial, sans-serif;
     3  font-family: verdana, tahoma, arial, sans-serif;
    44  text-align: left;
    55  background: #fff;
     
    88  padding: 0;
    99  font-size: 1em;
    10   line-height: 1.2em
     10  line-height: 1.2em;
    1111}
    1212
     
    3939}
    4040
    41 
    42 /* Sections */
    43 div.sect1, div.appendix {
    44   padding-left: .3em;
     41/* Section titles */
     42h1.sect1, h1.preface, h1.part, h1.chapter, h1.appendix, .glossary h1, .index h1
     43 {
     44  background: #f5f6f7;
     45  border-bottom: .1em solid #dbddec;
     46  margin-bottom:1em;
     47  margin-top: 0;
     48  padding: .4em;
     49}
     50
     51/* Scrolling parts
     52   The header is taller for sect1 and chapter pages than on the
     53   other pages.  Since we want fixed boxes, their top has to be calculated
     54   by trial and errors to fit below the static header box.*/
     55
     56div.sect1, div.chapter, div.appendix, div.wrap {
     57  top: 11.55em;
     58}
     59div.preface, div.part, .index div.index {
     60  top: 10.15em;
     61}
     62div.sect1, div.appendix, div.preface, div.part, div.chapter, div.wrap, .index div.index {
     63/*  padding-left: .3em;*/
     64  overflow:auto;
     65  height: auto;
     66  position: fixed;
     67  left:1em;
     68  right:1em;
     69  bottom: 1em;
     70  border-bottom: 1em solid #dbddec;
    4571}
    4672
     
    6490  border-bottom: 0.2em solid #dbddec;
    6591  padding-top: .1em;
     92/*  margin-top: 0;*/
     93}
     94/*
     95.lfs .package p:first-child {
    6696  margin-top: 0;
    67 }
     97}*/
    6898
    6999.lfs .configuration {
     
    75105  background: #f5f6f7;
    76106  border-top: 0.2em solid #dbddec;
     107  border-bottom: 0.2em solid #dbddec;
    77108  padding-bottom: .1em;
    78   margin-bottom: 0;
    79 }
    80 
     109  margin-bottom: .5em;
     110}
    81111
    82112/* Headers */
     
    97127}
    98128
    99 .preface h1, .part h1, .chapter h1, .appendix h1, .index h1, .sect1 h1, .glossary h1 {
    100   background: #f5f6f7;
    101   border-bottom: .1em solid #dbddec;
    102   margin-bottom: 1em;
    103   margin-top: 0;
    104   padding: .4em;
    105 }
    106 
    107 .sect1 h1, .appendix h1 {
    108   margin-left: -.2em;
    109 }
    110 
    111129.wrap h1 {
    112130  background: #f5f6f7;
     
    158176
    159177div.navheader {
    160   border-bottom: 1px solid #dbddec;
    161    position: sticky;
    162    top: 0;
    163 }
    164 
     178  border-bottom: .1em solid #dbddec;
     179}
     180
     181/* no need for a footer now that the header is always visible */
    165182div.navfooter {
    166   border-top: 1px solid #dbddec;
     183  display:none;
     184}
     185
     186/* Except for the first page (TOC), where the bottom is the only
     187   place where navigation is displayed. */
     188
     189div.book + div.navfooter {
     190  display:block
    167191}
    168192
     
    180204
    181205div.navheader ul, div.navfooter ul {
    182   padding: .2em .5em .5em 0;
     206  padding: .2em .5em .5em .5em; /*top right bottom left*/
    183207  margin: .5em 0;
    184208  position: relative;
     
    197221  text-align: left;
    198222  padding: 0.2em 1em;
    199   margin-left: 6px;
     223  margin-left: .4em;
    200224}
    201225
     
    204228  display: block;
    205229  text-align: right;
    206   right: 5px;
    207   padding: 0.2em 0.5em;
    208   margin-right: 7px;
     230  right: 0;
     231  padding: 0.2em 1em;
     232  margin-right: .4em;
    209233}
    210234
     
    212236div.navheader ul li.next p, div.navfooter ul li.next p {
    213237  padding: 0;
    214   margin: 1px 0px;
     238  margin: .1em 0;
    215239}
    216240
     
    219243  text-align: center;
    220244  padding: 0;
    221   margin: 0px auto;
     245  margin: 0 auto;
    222246  display: block;
    223247  color: #dbddec;
  • stylesheets/lfs-xsl/nochunks.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    1111  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
    1212
    13   <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
    14   <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
    15 
     13  <xsl:output method="xml"
     14              encoding="UTF-8"
     15              media-type="application/xhtml+xml"
     16              doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
     17              doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
     18              omit-xml-declaration="yes"
     19              indent="no" />
    1620  <!-- Include our customized templates -->
    1721  <xsl:include href="common.xsl"/>
  • stylesheets/lfs-xsl/pdf.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    5252  <!-- Allow URLs to be automatically hyphenated.
    5353       We have expanded the support to several inline tags.
    54        See pdf/lfs-mixed.xsl -->
     54       See pdf/lfs-mixed.xsl.
     55       Note: the argument in select= is a zero-width space
     56       (unicode 200b)-->
    5557  <xsl:param name="ulink.hyphenate" select="'&#x200B;'"/>
    5658
  • stylesheets/lfs-xsl/pdf/lfs-admon.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/pdf/lfs-index.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<!DOCTYPE xsl:stylesheet [
    4 <!ENTITY lowercase "'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;'">
     4<!ENTITY lowercase "'AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'">
    55<!ENTITY uppercase "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'">
    66<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'>
  • stylesheets/lfs-xsl/pdf/lfs-lists.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    5050                  keep-together.within-column="always" font-weight="bold"
    5151                  keep-with-next.within-column="always" text-align="left">
    52           <xsl:text>&#x2022;   </xsl:text>
     52          <xsl:text>   </xsl:text>
    5353          <xsl:apply-templates select="term"/>
    5454        </fo:block>
  • stylesheets/lfs-xsl/pdf/lfs-mixed.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/pdf/lfs-xref.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    4                 xmlns:xlink="http://www.w3.org/1999/xlink"
    54                xmlns:fo="http://www.w3.org/1999/XSL/Format"
    6                 exclude-result-prefixes="xlink"
    75                version="1.0">
    86
     
    1715
    1816     <!--  xref:
    19            Added role variable and use it when calling mode xref-to.-->
     17           Added role variable and use it when calling mode xref-to.
     18           Also remove code for xlink:href attribute in xref elements,
     19           since we don't use it.-->
    2020    <!-- The original template is in {docbook-xsl}/fo/xref.xsl -->
    2121  <xsl:template match="xref" name="xref">
    22     <xsl:param name="xhref" select="@xlink:href"/>
    23     <!-- is the @xlink:href a local idref link? -->
    24     <xsl:param name="xlink.idref">
    25       <xsl:if test="starts-with($xhref,'#')
    26                     and (not(contains($xhref,'&#40;'))
    27                     or starts-with($xhref, '#xpointer&#40;id&#40;'))">
    28         <xsl:call-template name="xpointer.idref">
    29           <xsl:with-param name="xpointer" select="$xhref"/>
    30         </xsl:call-template>
    31     </xsl:if>
    32     </xsl:param>
    33     <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/>
    3422    <xsl:param name="linkend.targets" select="key('id',@linkend)"/>
    35     <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/>
     23    <xsl:param name="target" select="$linkend.targets[1]"/>
    3624    <xsl:param name="refelem" select="local-name($target)"/>
    3725      <!-- Added role variable -->
     
    9078            <xsl:message>
    9179              <xsl:text>ERROR: xref linking to </xsl:text>
    92               <xsl:value-of select="@linkend|@xlink:href"/>
     80              <xsl:value-of select="@linkend"/>
    9381              <xsl:text> has no generated link text.</xsl:text>
    9482            </xsl:message>
  • stylesheets/lfs-xsl/profile.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    1919  <!-- Generate DocBook instance with correct DOCTYPE -->
    2020  <xsl:output method="xml"
     21              encoding="UTF-8"
    2122              doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
    2223              doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
  • stylesheets/lfs-xsl/xhtml/lfs-admon.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/xhtml/lfs-index.xsl

    re49e2ea r9e76c64  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22
    33<!DOCTYPE xsl:stylesheet [
    4 <!ENTITY lowercase "'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;'">
     4<!ENTITY lowercase "'AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'">
    55<!ENTITY uppercase "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'">
    66<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'>
     
    2323  <xsl:template match="index" mode="recursive-chunk-filename">
    2424    <xsl:text>longindex.html</xsl:text>
     25  </xsl:template>
     26
     27  <!-- The original template in {docbook-xsl}/xhtml/autoidx.xsl has
     28  a bug (https://github.com/docbook/xslt10-stylesheets/issues/239)
     29  that generates a <div> with a wrong xmlns:xlink attribute. So copy it
     30  here where the bug does not occur, (and simplify it a lot).-->
     31
     32  <xsl:template name="generate-basic-index">
     33    <xsl:param name="scope" select="NOTANODE"/>
     34
     35    <xsl:variable name="terms" select="//indexterm
     36      [count(.|key('letter',
     37                   translate(substring(&primary;, 1, 1),
     38                             &lowercase;,
     39                             &uppercase;
     40                            )
     41                  ) [&scope;][1]) = 1]"/>
     42    <div class="index">
     43      <xsl:apply-templates select="$terms" mode="index-div-basic">
     44        <xsl:with-param name="position" select="position()"/>
     45        <xsl:with-param name="scope" select="$scope"/>
     46        <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
     47      </xsl:apply-templates>
     48    </div>
    2549  </xsl:template>
    2650
  • stylesheets/lfs-xsl/xhtml/lfs-legalnotice.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    295295        </xsl:when>
    296296        <xsl:when test="$numcols &gt; 3">
    297           <td>&#160;</td>
     297        <!-- The space between <td> and </td> is a non breakable
     298             space (unicode A0) encoded in utf-8.-->
     299          <td> </td>
    298300        </xsl:when>
    299301        <xsl:otherwise/>
  • stylesheets/lfs-xsl/xhtml/lfs-navigational.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/xhtml/lfs-sections.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    1212
    1313    <!-- preface:
    14            Output non sect1 child elements before the TOC -->
     14         Output non sect1 child elements before the TOC
     15         Output title outside of the <div> because we want to be able to
     16         use it at a fixed position -->
    1517    <!-- The original template is in {docbook-xsl}/xhtml/components.xsl -->
    1618  <xsl:template match="preface">
    1719    <xsl:call-template name="id.warning"/>
     20    <xsl:call-template name="preface.titlepage"/>
     21    <xsl:call-template name="component.separator"/>
    1822    <div>
    1923      <xsl:apply-templates select="." mode="class.attribute"/>
     
    2731        </xsl:attribute>
    2832      </xsl:if>
    29       <xsl:call-template name="component.separator"/>
    30       <xsl:call-template name="preface.titlepage"/>
    3133      <xsl:apply-templates/>
    3234      <xsl:variable name="toc.params">
     
    4547  </xsl:template>
    4648
     49    <!-- part:
     50         Output non sect1 child elements before the TOC
     51         Output title outside of the <div> because we want to be able to
     52         use it at a fixed position -->
     53    <!-- The original template is in {docbook-xsl}/xhtml/divisions.xsl -->
     54  <xsl:template match="part">
     55    <xsl:call-template name="id.warning"/>
     56
     57    <xsl:call-template name="part.titlepage"/>
     58
     59    <div>
     60      <xsl:apply-templates select="." mode="common.html.attributes"/>
     61      <xsl:call-template name="id.attribute">
     62        <xsl:with-param name="conditional" select="0"/>
     63      </xsl:call-template>
     64
     65      <xsl:apply-templates/>
     66      <xsl:variable name="toc.params">
     67        <xsl:call-template name="find.path.params">
     68          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
     69        </xsl:call-template>
     70      </xsl:variable>
     71      <xsl:if test="not(partintro) and contains($toc.params, 'toc')">
     72        <xsl:call-template name="division.toc"/>
     73      </xsl:if>
     74    </div>
     75  </xsl:template>
     76
    4777    <!-- chapter:
    48            Output non sect1 child elements before the TOC -->
     78           Output non sect1 child elements before the TOC
     79           Output title before div to be able to fix the title position -->
    4980    <!-- The original template is in {docbook-xsl}/xhtml/components.xsl -->
    5081  <xsl:template match="chapter">
    5182    <xsl:call-template name="id.warning"/>
     83    <xsl:call-template name="chapter.titlepage"/>
     84    <xsl:call-template name="component.separator"/>
    5285    <div>
    5386      <xsl:apply-templates select="." mode="class.attribute"/>
     
    6194        </xsl:attribute>
    6295      </xsl:if>
    63       <xsl:call-template name="component.separator"/>
    64       <xsl:call-template name="chapter.titlepage"/>
    6596      <xsl:apply-templates/>
    6697      <xsl:variable name="toc.params">
     
    79110  </xsl:template>
    80111
     112    <!-- appendix:
     113           Output non sect1 child elements before the TOC
     114           Output title before div to be able to fix the title position -->
     115    <!-- The original template is in {docbook-xsl}/xhtml/components.xsl -->
     116  <xsl:template match="appendix">
     117
     118    <xsl:call-template name="id.warning"/>
     119
     120    <xsl:call-template name="appendix.titlepage"/>
     121
     122    <xsl:element name="div" namespace="http://www.w3.org/1999/xhtml">
     123      <xsl:call-template name="common.html.attributes">
     124        <xsl:with-param name="inherit" select="1"/>
     125      </xsl:call-template>
     126      <xsl:call-template name="id.attribute">
     127        <xsl:with-param name="conditional" select="0"/>
     128      </xsl:call-template>
     129
     130      <xsl:apply-templates/>
     131
     132      <xsl:variable name="toc.params">
     133        <xsl:call-template name="find.path.params">
     134          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
     135        </xsl:call-template>
     136      </xsl:variable>
     137
     138      <xsl:if test="contains($toc.params, 'toc')">
     139        <xsl:call-template name="component.toc">
     140          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
     141        </xsl:call-template>
     142      </xsl:if>
     143
     144    </xsl:element>
     145  </xsl:template>
     146
    81147    <!-- sect1:
    82148           When there is a role attibute, use it as the class value.
    83149           Process the SVN keywords found in sect1info as a footnote.
     150           Output title before the containing <div> so that the title
     151           can be at a fixed position.
    84152           Removed unused code. -->
    85153    <!-- The original template is in {docbook-xsl}/xhtml/sections.xsl -->
    86154  <xsl:template match="sect1">
     155    <xsl:call-template name="sect1.titlepage"/>
    87156    <div>
    88157      <xsl:choose>
     
    97166      </xsl:choose>
    98167      <xsl:call-template name="language.attribute"/>
    99       <xsl:call-template name="sect1.titlepage"/>
    100168      <xsl:apply-templates/>
    101169      <xsl:apply-templates select="sect1info" mode="svn-keys"/>
  • stylesheets/lfs-xsl/xhtml/lfs-titles.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/xhtml/lfs-toc.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  • stylesheets/lfs-xsl/xhtml/lfs-xref.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    4                 xmlns:xlink="http://www.w3.org/1999/xlink"
    54                xmlns="http://www.w3.org/1999/xhtml"
    6                 exclude-result-prefixes="xlink"
    75                version="1.0">
    86
     
    1614
    1715    <!-- xref:
    18            Added role variable and use it when calling mode xref-to.-->
     16           Added role variable and use it when calling mode xref-to.
     17           Also remove code for xlink:href attributes in xref elements
     18           since we don't use it.-->
    1919    <!-- The original template is in {docbook-xsl}/xhtml/xref.xsl -->
    2020  <xsl:template match="xref" name="xref">
    21     <xsl:param name="xhref" select="@xlink:href"/>
    22     <!-- is the @xlink:href a local idref link? -->
    23     <xsl:param name="xlink.idref">
    24       <xsl:if test="starts-with($xhref,'#') and (not(contains($xhref,'('))
    25                     or starts-with($xhref, '#xpointer(id('))">
    26         <xsl:call-template name="xpointer.idref">
    27           <xsl:with-param name="xpointer" select="$xhref"/>
    28         </xsl:call-template>
    29       </xsl:if>
    30     </xsl:param>
    31     <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/>
    3221    <xsl:param name="linkend.targets" select="key('id',@linkend)"/>
    33     <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/>
     22    <xsl:param name="target" select="$linkend.targets[1]"/>
    3423      <!-- Added role variable -->
    3524    <xsl:variable name="role" select="@role"/>
     
    8675          <xsl:message>
    8776            <xsl:text>ERROR: xref linking to </xsl:text>
    88             <xsl:value-of select="@linkend|@xlink:href"/>
     77            <xsl:value-of select="@linkend"/>
    8978            <xsl:text> has no generated link text.</xsl:text>
    9079          </xsl:message>
  • stylesheets/md5sum.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    3 <!-- Create a md5 list for packages and pathces used. -->
     3<!-- Create a md5 list for packages and patches used. -->
    44
    55<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    6     version="1.0">
     6                version="1.0">
    77
    88  <xsl:output method="text"/>
     
    3232
    3333      <!-- Add a newline -->
    34       <xsl:text>&#x0a;</xsl:text>
     34      <xsl:text>&#xA;</xsl:text>
    3535
    3636    </xsl:if>
     
    5656
    5757</xsl:stylesheet>
    58 
  • stylesheets/patcheslist.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22<!DOCTYPE xsl:stylesheet [
    33 <!ENTITY % general-entities SYSTEM "../general.ent">
     
    2323}
    2424
    25 umask 002 &#x0a;&#x0a;</xsl:text>
     25umask 002
    2626
    27       <!-- Create dest.dir if it don't exist -->
    28     <xsl:text>install -d -m 775 -g lfswww </xsl:text>
     27# Create dest.dir if it doesn't exist
     28# Remove old patches
     29# Copy the patches
     30# Ensure correct ownership
     31install -d -m 775 -g lfswww </xsl:text>
    2932    <xsl:value-of select="$dest.dir"/>
    30     <xsl:text> &amp;&amp;&#x0a;</xsl:text>
    31     <xsl:text>cd </xsl:text>
     33    <xsl:text> &amp;&amp;
     34cd </xsl:text>
    3235    <xsl:value-of select="$dest.dir"/>
    33     <xsl:text> &amp;&amp;&#x0a;&#x0a;</xsl:text>
    34       <!-- Remove old patches -->
    35     <xsl:text>rm -f *.patch copyerrs &amp;&amp; &#x0a;&#x0a;</xsl:text>
     36    <xsl:text> &amp;&amp;
     37rm -f *.patch copyerrs &amp;&amp;
     38
     39</xsl:text>
    3640    <xsl:apply-templates/>
    37       <!-- Ensure correct owneship -->
    38     <xsl:text>&#x0a;chgrp lfswww *.patch &amp;&amp;&#x0a;</xsl:text>
    3941    <xsl:text>
     42chgrp lfswww *.patch &amp;&amp;
    4043if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then
    4144  mail -s "Missing LFS patches" lfs-book@lists.linuxfromscratch.org &lt; copyerrs
    42 fi&#x0a;&#x0a;</xsl:text>
     45fi
    4346
    44     <xsl:text>exit&#x0a;</xsl:text>
     47exit
     48</xsl:text>
    4549  </xsl:template>
    4650
     
    6064      </xsl:variable>
    6165      <xsl:text>copy /srv/www/www.linuxfromscratch.org/patches/downloads/</xsl:text>
    62           <xsl:value-of select="substring-before($patch.name2, '-0')"/>
     66      <xsl:value-of select="substring-before($patch.name2, '-0')"/>
    6367      <xsl:text>/</xsl:text>
    6468      <xsl:value-of select="$patch.name"/>
    65       <xsl:text> . &#x0a;</xsl:text>
     69      <xsl:text> .
     70</xsl:text>
    6671    </xsl:if>
    6772  </xsl:template>
  • stylesheets/wget-list.xsl

    re49e2ea r9e76c64  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<!-- Create a list of upstream URLs for packages and patches to be used
     
    55
    66<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    7     version="1.0">
     7                version="1.0">
    88
    99  <xsl:output method="text"/>
     
    2929        </xsl:otherwise>
    3030      </xsl:choose>
    31       <xsl:text>&#x0a;</xsl:text>
     31      <xsl:text>&#xA;</xsl:text>
    3232    </xsl:if>
    3333  </xsl:template>
  • tidy.conf

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