Changes in / [9e76c64:e49e2ea]
- Files:
-
- 1 added
- 252 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r9e76c64 re49e2ea 1 # vim:ts=3 1 #BASEDIR = ~/lfs-book 2 #SYSDDIR = ~/lfs-systemd 3 #DUMPDIR = ~/lfs-commands 2 4 RENDERTMP = $(HOME)/tmp 3 5 CHUNK_QUIET = 1 … … 22 24 23 25 ifeq ($(REV), sysv) 24 BASEDIR ?= $(HOME)/public_html/lfs-book26 BASEDIR ?= ~/lfs-book 25 27 PDF_OUTPUT ?= LFS-BOOK.pdf 26 28 NOCHUNKS_OUTPUT ?= LFS-BOOK.html 27 DUMPDIR ?= $(HOME)/lfs-commands29 DUMPDIR ?= ~/lfs-commands 28 30 else 29 BASEDIR ?= $(HOME)/public_html/lfs-systemd31 BASEDIR ?= ~/lfs-systemd 30 32 PDF_OUTPUT ?= LFS-SYSD-BOOK.pdf 31 33 NOCHUNKS_OUTPUT ?= LFS-SYSD-BOOK.html 32 DUMPDIR ?= $(HOME)/lfs-sysd-commands34 DUMPDIR ?= ~/lfs-sysd-commands 33 35 endif 34 36 … … 45 47 $(Q)mkdir -p $(BASEDIR)/stylesheets 46 48 $(Q)cp stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets 47 $(Q)sed -e 's|../stylesheet|stylesheet|' \ 48 -i $(BASEDIR)/index.html 49 $(Q)sed -i 's|../stylesheet|stylesheet|' $(BASEDIR)/index.html 49 50 50 51 $(Q)mkdir -p $(BASEDIR)/images … … 54 55 $(Q)for filename in `find $(BASEDIR) -name "*.html"`; do \ 55 56 tidy -config tidy.conf $$filename; \ 57 true; \ 56 58 /bin/bash obfuscate.sh $$filename; \ 57 sed -e "s|text/html|application/xhtml+xml|g" \ 59 sed -e "s@text/html@application/xhtml+xml@g" \ 60 -e "s/\xa9/\©/ " \ 58 61 -i $$filename; \ 59 done62 done; 60 63 61 64 $(Q)$(MAKE) --no-print-directory wget-list md5sums … … 96 99 stylesheets/lfs-nochunks.xsl \ 97 100 $(RENDERTMP)/lfs-html.xml 101 # $(RENDERTMP)/lfs-html2.xml 98 102 99 103 @echo "Running Tidy..." 100 $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || t est $$? -le 1104 $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true 101 105 102 106 @echo "Running obfuscate.sh..." 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)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) 108 112 109 113 @echo "Output at $(BASEDIR)/$(NOCHUNKS_OUTPUT)" … … 124 128 $(Q)xsltproc --nonet \ 125 129 --xinclude \ 130 --output $(RENDERTMP)/lfs-html2.xml \ 126 131 --stringparam profile.revision $(REV) \ 127 --output $(RENDERTMP)/lfs-html2.xml \128 132 stylesheets/lfs-xsl/profile.xsl \ 129 133 index.xml 130 134 131 135 @echo "Validating the book..." 132 $(Q)xmllint --nonet 133 -- encode UTF-8\134 --postvalid 135 - -output$(RENDERTMP)/lfs-full.xml \136 $(Q)xmllint --nonet \ 137 --noent \ 138 --postvalid \ 139 -o $(RENDERTMP)/lfs-full.xml \ 136 140 $(RENDERTMP)/lfs-html2.xml 137 141 … … 148 152 $(RENDERTMP)/lfs-full.xml 149 153 150 DOWNLOADS_DEP = chapter03/packages.xml chapter03/patches.xml \151 packages.ent patches.ent general.ent152 153 154 wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV) 154 $(BASEDIR)/wget-list: stylesheets/wget-list.xsl $(DOWNLOADS_DEP) 155 $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \ 156 packages.ent patches.ent general.ent 155 157 @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..." 156 158 $(Q)mkdir -p $(BASEDIR) 157 $(Q)xsltproc --nonet \ 158 --xinclude \ 159 $(Q)xsltproc --xinclude --nonet \ 159 160 --output $(BASEDIR)/wget-list \ 160 161 stylesheets/wget-list.xsl \ 161 162 chapter03/chapter03.xml 162 163 163 $(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl $(DOWNLOADS_DEP) 164 $(Q)xsltproc --nonet \ 165 --xinclude \ 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 \ 166 168 --stringparam profile.revision $(REV) \ 167 169 --output $(RENDERTMP)/wget-list.xml \ 168 170 stylesheets/lfs-xsl/profile.xsl \ 169 171 chapter03/chapter03.xml 170 171 $(Q)xsltproc --nonet \ 172 $(Q)xsltproc --xinclude --nonet \ 172 173 --output $(BASEDIR)/wget-list-$(REV) \ 173 174 stylesheets/wget-list.xsl \ … … 175 176 176 177 md5sums: $(BASEDIR)/md5sums 177 $(BASEDIR)/md5sums: stylesheets/wget-list.xsl $(DOWNLOADS_DEP) 178 $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml \ 179 packages.ent patches.ent 178 180 @echo "Generating consolidated md5sum file at $(BASEDIR)/md5sums ..." 179 181 $(Q)mkdir -p $(BASEDIR) 180 182 181 $(Q)xsltproc --nonet \ 182 --xinclude \ 183 $(Q)xsltproc --nonet --xinclude \ 183 184 --stringparam profile.revision $(REV) \ 184 185 --output $(RENDERTMP)/md5sum.xml \ … … 186 187 chapter03/chapter03.xml 187 188 188 $(Q)xsltproc -- nonet\189 $(Q)xsltproc --xinclude --nonet \ 189 190 --output $(BASEDIR)/md5sums \ 190 191 stylesheets/md5sum.xsl \ -
appendices/acknowledgments.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/acronymlist.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/creat-comm.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/dependencies.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 7 7 <!ENTITY systemd-udev "<phrase revision='systemd'>Systemd</phrase> 8 8 <phrase revision='sysv'>Udev</phrase>"> 9 <!ENTITY bdb "<ulink url='https://www.oracle.com/database/technologies/related/berkeleydb.html'>Berkeley DB</ulink>">10 9 ]> 11 10 … … 31 30 the test suites. The fourth list of dependencies are packages that require 32 31 this package to be built and installed in its final location before they are 33 built and installed.</para> 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> 34 36 35 37 <para>The last list of dependencies are optional packages that are not … … 108 110 <segtitle>&before;</segtitle> 109 111 <seglistitem> 110 <seg>Acl , Libcap, and Patch</seg>112 <seg>Acl and Libcap</seg> 111 113 </seglistitem> 112 114 </segmentedlist> … … 1048 1050 <segtitle>&external;</segtitle> 1049 1051 <seglistitem> 1050 <seg> <ulink url='&blfs-book;general/libxml2.html'>libxml2</ulink></seg>1052 <seg>None</seg> 1051 1053 </seglistitem> 1052 1054 </segmentedlist> … … 1240 1242 <segtitle>&before;</segtitle> 1241 1243 <seglistitem> 1242 <seg>Man-DB </seg>1244 <seg>Man-DB and Perl</seg> 1243 1245 </seglistitem> 1244 1246 </segmentedlist> … … 1485 1487 <seglistitem> 1486 1488 <seg> 1487 &bdb;,1489 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>, 1488 1490 <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>, 1489 1491 <ulink url="&github;/libbpf/libbpf">libbpf</ulink>, … … 2415 2417 <segtitle>&dependencies;</segtitle> 2416 2418 <seglistitem> 2417 <seg>Attr, Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and 2418 Sed</seg> 2419 <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Sed</seg> 2419 2420 </seglistitem> 2420 2421 </segmentedlist> … … 2423 2424 <segtitle>&runtime;</segtitle> 2424 2425 <seglistitem> 2425 <seg> Attr andGlibc</seg>2426 <seg>Glibc</seg> 2426 2427 </seglistitem> 2427 2428 </segmentedlist> … … 2456 2457 <segtitle>&dependencies;</segtitle> 2457 2458 <seglistitem> 2458 <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, 2459 <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, Groff, 2459 2460 Libxcrypt, Make, Sed, and Zlib</seg> 2460 2461 </seglistitem> … … 2486 2487 <seglistitem> 2487 2488 <seg> 2488 &bdb;2489 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink> 2489 2490 </seg> 2490 2491 </seglistitem> … … 2655 2656 <seglistitem> 2656 2657 <seg> 2657 &bdb;,2658 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>, 2658 2659 <ulink url="&blfs-book;basicnet/libnsl.html">libnsl</ulink>, 2659 2660 <ulink url="&blfs-book;server/sqlite.html">SQLite</ulink>, and … … 2937 2938 <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>, 2938 2939 <ulink url="&blfs-book;general/pcre2.html">PCRE2</ulink>, 2939 <ulink url="&pypi-home;pefile">pefile</ulink>,2940 2940 <ulink url="&blfs-book;postlfs/polkit.html">Polkit</ulink>, 2941 2941 <ulink url='&pypi-home;/pyelftools'>pyelftools</ulink>, … … 3195 3195 <seglistitem> 3196 3196 <seg> 3197 <ulink url="&blfs-book;general/asciidoctor.html">Asciidoctor</ulink>,3198 3197 <ulink 3199 3198 url="https://people.redhat.com/sgrubb/libcap-ng/">Libcap-NG</ulink>, … … 3204 3203 url="&blfs-book;postlfs/linux-pam.html">Linux-PAM</ulink>, 3205 3204 <ulink 3206 url="&blfs-book;postlfs/smartmontools.html">smartmontools</ulink>, 3207 <ulink url="https://po4a.org/index.php.en">po4a</ulink>, and 3205 url="&blfs-book;postlfs/smartmontools.html">smartmontools</ulink>, and 3208 3206 <ulink url="&blfs-book;general/slang.html">slang</ulink> 3209 3207 </seg> -
appendices/license.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/mit-lic.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/scripts.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/udev-rules.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/askforhelp.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/changelog.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 40 40 appropriate for the entry or if needed the entire day's listitem. 41 41 --> 42 43 <listitem>44 <para>2024-02-02</para>45 <itemizedlist>46 <listitem>47 <para>[xry111] - Update to tzdata-2024a. Fixes48 <ulink url='&lfs-ticket-root;5428'>#5428</ulink>.</para>49 </listitem>50 <listitem>51 <para>[xry111] - Update to glibc-2.39 (security fix). Fixes52 <ulink url='&lfs-ticket-root;5426'>#5426</ulink>.</para>53 </listitem>54 <listitem>55 <para>[xry111] - Update to linux-6.7.3. Fixes56 <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). Fixes66 <ulink url='&lfs-ticket-root;5425'>#5425</ulink>.</para>67 </listitem>68 <listitem>69 <para>[bdubbs] - Update to zlib-1.3.1. Fixes70 <ulink url='&lfs-ticket-root;5419'>#5419</ulink>.</para>71 </listitem>72 <listitem>73 <para>[bdubbs] - Update to xz-5.4.6. Fixes74 <ulink url='&lfs-ticket-root;5423'>#5423</ulink>.</para>75 </listitem>76 <listitem>77 <para>[bdubbs] - Update to linux-6.7.2. Fixes78 <ulink url='&lfs-ticket-root;5422'>#5422</ulink>.</para>79 </listitem>80 <listitem>81 <para>[bdubbs] - Update to iana-etc-20240125. Addresses82 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>83 </listitem>84 <listitem>85 <para>[bdubbs] - Update to binutils-2.42. Fixes86 <ulink url='&lfs-ticket-root;5424'>#5424</ulink>.</para>87 </listitem>88 <listitem>89 <para>[bdubbs] - Update to acl-2.3.2. Fixes90 <ulink url='&lfs-ticket-root;5421'>#5421</ulink>.</para>91 </listitem>92 <listitem>93 <para>[bdubbs] - Update upstream fixes for readline-8.2. Fixes94 <ulink url='&lfs-ticket-root;5420'>#5420</ulink>.</para>95 </listitem>96 <listitem>97 <para>[bdubbs] - Apply upstream fix for bash-5.2.21. Fixes98 <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). Fixes112 <ulink url='&lfs-ticket-root;5411'>#5411</ulink>.</para>113 </listitem>114 <listitem>115 <para>[xry111] - Update to bc-6.7.5. Fixes116 <ulink url='&lfs-ticket-root;5408'>#5408</ulink>.</para>117 </listitem>118 <listitem>119 <para>[xry111] - Update to attr-2.5.2. Fixes120 <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. Fixes128 <ulink url='&lfs-ticket-root;5418'>#5418</ulink>.</para>129 </listitem>130 <listitem>131 <para>[xry111] - Update to linux-6.7.1. Fixes132 <ulink url='&lfs-ticket-root;5406'>#5406</ulink>.</para>133 </listitem>134 <listitem>135 <para>[xry111] - Update to iproute2-6.7.0. Fixes136 <ulink url='&lfs-ticket-root;5410'>#5410</ulink>.</para>137 </listitem>138 <listitem>139 <para>[xry111] - Update to vim-9.1.0041. Addresses140 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>141 </listitem>142 <listitem>143 <para>[xry111] - Update to iana-etc-20240117. Addresses144 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>145 </listitem>146 <listitem>147 <para>[xry111] - Update to shadow-4.14.3. Fixes148 <ulink url='&lfs-ticket-root;5413'>#5413</ulink>.</para>149 </listitem>150 <listitem>151 <para>[xry111] - Fix CVE-2024-0684 for coreutils-9.4. Fixes152 <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 the162 wide-character ABI compatible with libncursesw.so because we163 are faking the 8-bit libncurses.so with it. Fixes164 <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. Fixes174 <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 configuring184 binutils. Fixes185 <ulink url='&lfs-ticket-root;5401'>#5401</ulink>.</para>186 </listitem>187 <listitem>188 <para>[xry111] - Fix CVE-2023-7008 for systemd-255. Fixes189 <ulink url='&lfs-ticket-root;5405'>#5405</ulink>.</para>190 </listitem>191 <listitem>192 <para>[xry111] - Update to iana-etc-20231205. Addresses193 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>194 </listitem>195 <listitem>196 <para>[xry111] - Update to tzdata-2023d. Fixes197 <ulink url='&lfs-ticket-root;5399'>#5399</ulink>.</para>198 </listitem>199 <listitem>200 <para>[xry111] - Update to linux-6.6.8. Fixes201 <ulink url='&lfs-ticket-root;5397'>#5397</ulink>.</para>202 </listitem>203 <listitem>204 <para>[xry111] - Update to meson-1.3.1. Fixes205 <ulink url='&lfs-ticket-root;5402'>#5402</ulink>.</para>206 </listitem>207 <listitem>208 <para>[xry111] - Update to grub-2.12. Fixes209 <ulink url='&lfs-ticket-root;5396'>#5396</ulink>.</para>210 </listitem>211 <listitem>212 <para>[xry111] - Update to inetutils-2.5. Fixes213 <ulink url='&lfs-ticket-root;5404'>#5404</ulink>.</para>214 </listitem>215 <listitem>216 <para>[xry111] - Update to setuptools-69.0.3. Fixes217 <ulink url='&lfs-ticket-root;5400'>#5400</ulink>.</para>218 </listitem>219 <listitem>220 <para>[xry111] - Update to xml-parser-2.47. Fixes221 <ulink url='&lfs-ticket-root;5403'>#5403</ulink>.</para>222 </listitem>223 <listitem>224 <para>[xry111] - Update to vim-9.0.2189. Addresses225 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>226 </listitem>227 <listitem>228 <para>[xry111] - Update to autoconf-2.72. Fixes229 <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'>udev239 from </phrase>systemd-255. Fixes240 <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. Fixes250 <ulink url='&lfs-ticket-root;5388'>#5388</ulink>.</para>251 </listitem>252 <listitem>253 <para>[bdubbs] - Update to python3-3.12.1. Fixes254 <ulink url='&lfs-ticket-root;5392'>#5392</ulink>.</para>255 </listitem>256 <listitem>257 <para>[bdubbs] - Update to linux-6.6.7. Fixes258 <ulink url='&lfs-ticket-root;5387'>#5387</ulink>.</para>259 </listitem>260 <listitem>261 <para>[bdubbs] - Update to kbd-2.6.4. Fixes262 <ulink url='&lfs-ticket-root;5393'>#5393</ulink>.</para>263 </listitem>264 <listitem>265 <para>[bdubbs] - Update to bc-6.7.4. Fixes266 <ulink url='&lfs-ticket-root;5389'>#5389</ulink>.</para>267 </listitem>268 <listitem>269 <para>[bdubbs] - Reformat util-linux configure parameters. Fixes270 <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 avoid280 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 system290 characteristics. Fixes291 <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. Addresses301 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>302 </listitem>303 <listitem>304 <para>[bdubbs] - Update to iana-etc-20231117. Addresses305 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>306 </listitem>307 <listitem>308 <para>[bdubbs] - Update to bc-6.7.3. Fixes309 <ulink url='&lfs-ticket-root;5385'>#5385</ulink>.</para>310 </listitem>311 <listitem>312 <para>[bdubbs] - Update to wheel-0.42.0 (Python Module). Fixes313 <ulink url='&lfs-ticket-root;5384'>#5384</ulink>.</para>314 </listitem>315 <listitem>316 <para>[bdubbs] - Update to perl-5.38.2. Fixes317 <ulink url='&lfs-ticket-root;5383'>#5383</ulink>.</para>318 </listitem>319 <listitem>320 <para>[bdubbs] - Update to pkgconf-2.1.0. Fixes321 <ulink url='&lfs-ticket-root;5382'>#5382</ulink>.</para>322 </listitem>323 <listitem>324 <para>[bdubbs] - Update to readline patches 002 through 007. Fixes325 <ulink url='&lfs-ticket-root;5381'>#5381</ulink>.</para>326 </listitem>327 <listitem>328 <para>[bdubbs] - Update to openssl-3.2.0. Fixes329 <ulink url='&lfs-ticket-root;5380'>#5380</ulink>.</para>330 </listitem>331 <listitem>332 <para>[bdubbs] - Update to setuptools-69.0.2. Fixes333 <ulink url='&lfs-ticket-root;5379'>#5379</ulink>.</para>334 </listitem>335 <listitem>336 <para>[bdubbs] - Update to linux-6.6.3. Fixes337 <ulink url='&lfs-ticket-root;5378'>#5378</ulink>.</para>338 </listitem>339 <listitem>340 <para>[bdubbs] - Update to meson-1.3.0. Fixes341 <ulink url='&lfs-ticket-root;5377'>#5377</ulink>.</para>342 </listitem>343 <listitem>344 <para>[bdubbs] - Update to gettext-0.22.4. Fixes345 <ulink url='&lfs-ticket-root;5376'>#5376</ulink>.</para>346 </listitem>347 </itemizedlist>348 </listitem>349 350 42 <listitem> 351 43 <para>2023-11-13</para> -
chapter01/chapter01.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/how.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/resources.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/whatsnew.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 3 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" … … 27 27 <para>None</para> 28 28 </listitem>--> 29 < listitem>29 <!--<listitem> 30 30 <para>Acl-&acl-version;</para> 31 </listitem> 32 < listitem>31 </listitem>--> 32 <!--<listitem> 33 33 <para>Attr-&attr-version;</para> 34 </listitem> 35 < listitem>34 </listitem>--> 35 <!--<listitem> 36 36 <para>Autoconf-&autoconf-version;</para> 37 </listitem> 37 </listitem>--> 38 38 <!--<listitem> 39 39 <para>Automake-&automake-version;</para> … … 45 45 <para>Bc-&bc-version;</para> 46 46 </listitem> 47 < listitem>47 <!--<listitem> 48 48 <para>Binutils-&binutils-version;</para> 49 </listitem> 49 </listitem>--> 50 50 <!--<listitem> 51 51 <para>Bison-&bison-version;</para> … … 102 102 <para>Gettext-&gettext-version;</para> 103 103 </listitem> 104 < listitem>104 <!--<listitem> 105 105 <para>Glibc-&glibc-version;</para> 106 </listitem> 106 </listitem>--> 107 107 <!--<listitem> 108 108 <para>GMP-&gmp-version;</para> … … 117 117 <para>Groff-&groff-version;</para> 118 118 </listitem>--> 119 < listitem>119 <!--<listitem> 120 120 <para>GRUB-&grub-version;</para> 121 </listitem> 121 </listitem>--> 122 122 <listitem> 123 123 <para>Gzip-&gzip-version;</para> … … 126 126 <para>Iana-Etc-&iana-etc-version;</para> 127 127 </listitem> 128 < listitem>128 <!--<listitem> 129 129 <para>Inetutils-&inetutils-version;</para> 130 </listitem> 130 </listitem>--> 131 131 <!--<listitem> 132 132 <para>Intltool-&intltool-version;</para> … … 135 135 <para>IPRoute2-&iproute2-version;</para> 136 136 </listitem> 137 < listitem>137 <!--<listitem revision="systemd"> 138 138 <para>Jinja2-&jinja2-version;</para> 139 </listitem> 139 </listitem>--> 140 140 <listitem> 141 141 <para>Kbd-&kbd-version;</para> … … 154 154 </listitem>--> 155 155 <listitem> 156 <para>Libelf from Elfutils-&elfutils-version;</para>156 <para>Libelf-&elfutils-version; (from elfutils)</para> 157 157 </listitem> 158 158 <!--<listitem> … … 180 180 <para>Man-pages-&man-pages-version;</para> 181 181 </listitem>--> 182 < listitem>182 <!--<listitem revision="systemd"> 183 183 <para>MarkupSafe-&markupsafe-version;</para> 184 </listitem> 184 </listitem>--> 185 185 <listitem> 186 186 <para>Meson-&meson-version;</para> … … 192 192 <para>MPFR-&mpfr-version;</para> 193 193 </listitem> 194 < listitem>194 <!--<listitem> 195 195 <para>Ncurses-&ncurses-version;</para> 196 </listitem> 196 </listitem>--> 197 197 <!--<listitem> 198 198 <para>Ninja-&ninja-version;</para> … … 205 205 </listitem>--> 206 206 <listitem> 207 <para>Pkgconf-&pkgconf-version;</para> 208 </listitem> 209 <!--<listitem> 207 210 <para>Perl-&perl-version;</para> 208 </listitem> 209 <listitem> 210 <para>Pkgconf-&pkgconf-version;</para> 211 </listitem> 211 </listitem>--> 212 212 <listitem> 213 213 <para>Procps-ng-&procps-ng-version;</para> … … 249 249 <para>Texinfo-&texinfo-version;</para> 250 250 </listitem> 251 < listitem>251 <!--<listitem> 252 252 <para>Tzdata-&tzdata-version;</para> 253 </listitem> 253 </listitem>--> 254 254 <!--<listitem revision="sysv"> 255 <para>Udev from Systemd-&systemd-version;</para>255 <para>Udev-&systemd-version; (from systemd)</para> 256 256 </listitem>--> 257 257 <listitem> … … 264 264 <para>Wheel-&wheel-version;</para> 265 265 </listitem> 266 < listitem>266 <!--<listitem> 267 267 <para>XML::Parser-&xml-parser-version;</para> 268 </listitem> 268 </listitem>--> 269 269 <listitem> 270 270 <para>Xz-&xz-version;</para> … … 292 292 293 293 <listitem> 294 <para>&bash-upstream-fixes-patch;</para>295 </listitem>296 297 <listitem>298 294 <para>setuptools-&setuptools-version;</para> 299 295 </listitem> 300 296 301 297 <listitem> 302 <para>&pkgconf-upstream-fix-patch;</para> 303 </listitem> 304 305 <listitem> 306 <para>&readline-fixes-patch;</para> 298 <para>&glibc-upstream-fixes-patch;</para> 307 299 </listitem> 308 300 … … 317 309 </listitem> 318 310 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 327 311 </itemizedlist> 328 312 -
chapter02/aboutlfs.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter02/chapter02.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter02/creatingfilesystem.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter02/creatingpartition.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 41 41 disk drive. Create a Linux native partition and a 42 42 <systemitem class="filesystem">swap</systemitem> partition, if needed. Please 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 43 refer to <filename>cfdisk(8)</filename> or <filename>fdisk(8)</filename> if 45 44 you do not yet know how to use the programs.</para> 46 45 -
chapter02/hostreqs.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 35 35 modern Linux distributions. Also note that many distributions will 36 36 place software headers into separate packages, often in the form of 37 <literal><replaceable><package-name></replaceable>-devel</literal> 38 or 39 <literal><replaceable><package-name></replaceable>-dev</literal>. 40 Be sure to install those if your distribution provides them.</para> 37 <quote><package-name>-devel</quote> or 38 <quote><package-name>-dev</quote>. Be sure to install those if 39 your distribution provides them.</para> 41 40 42 41 <para>Earlier versions of the listed software packages may work, but have -
chapter02/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter02/mounting.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 17 17 </para> 18 18 19 <para>Strictly speaking, one cannot <quote>mount a partition.</quote>One mounts the <emphasis>file19 <para>Strictly speaking, one cannot "mount a partition". One mounts the <emphasis>file 20 20 system</emphasis> embedded in that partition. But since a single partition can't contain 21 21 more than one file system, people often speak of the partition and the -
chapter02/stages.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 71 71 <para>A few operations, from 72 72 <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> 74 74 </listitem> 75 75 -
chapter03/chapter03.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter03/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter03/packages.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter03/patches.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 28 28 --> 29 29 30 <varlistentry>31 <term>Bash Upstream Fixes Patch - <token>&bash- upstream-fixes-patch-size;</token>:</term>30 <!-- <varlistentry> 31 <term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term> 32 32 <listitem> 33 <para>Download: <ulink url="&patches-root;&bash- upstream-fixes-patch;"/></para>34 <para>MD5 sum: <literal>&bash- upstream-fixes-patch-md5;</literal></para>33 <para>Download: <ulink url="&patches-root;&bash-fixes-patch;"/></para> 34 <para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para> 35 35 </listitem> 36 36 </varlistentry> 37 37 --> 38 38 <!-- 39 39 <varlistentry> … … 77 77 </listitem> 78 78 </varlistentry> 79 79 --> 80 80 <varlistentry> 81 81 <term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term> … … 85 85 </listitem> 86 86 </varlistentry> 87 --> 87 88 88 <varlistentry> 89 89 <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term> … … 91 91 <para>Download: <ulink url="&patches-root;&glibc-fhs-patch;"/></para> 92 92 <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> 93 101 </listitem> 94 102 </varlistentry> … … 118 126 </varlistentry> 119 127 --> 120 128 <!-- 121 129 <varlistentry> 122 <term>P kgconf Upstream Fix Patch - <token>&pkgconf-upstream-fix-patch-size;</token>:</term>130 <term>Perl Upstream Fix Patch - <token>&perl-fix-patch-size;</token>:</term> 123 131 <listitem> 124 <para>Download: <ulink url="&patches-root;&p kgconf-upstream-fix-patch;"/></para>125 <para>MD5 sum: <literal>&p kgconf-upstream-fix-patch-md5;</literal></para>132 <para>Download: <ulink url="&patches-root;&perl-fix-patch;"/></para> 133 <para>MD5 sum: <literal>&perl-fix-patch-md5;</literal></para> 126 134 </listitem> 127 135 </varlistentry> 136 --> 128 137 129 138 <varlistentry> -
chapter04/aboutsbus.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/abouttestsuites.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/addinguser.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 97 97 <command>su</command> to start a login shell as opposed to a non-login shell. 98 98 The difference between these two types of shells is described in detail in 99 <ulink role='man' url='&man;bash.1'>bash(1)</ulink> and <command>info 100 bash</command>.</para> 99 <filename>bash(1)</filename> and <command>info bash</command>.</para> 101 100 102 101 </sect1> -
chapter04/chapter04.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/creatingminlayout.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/settingenviron.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 80 80 created files and directories are only writable by their owner, but are 81 81 readable and executable by anyone (assuming default modes are used by the 82 < ulink role='man' url='&man;open.2'>open(2)</ulink> system call, new files83 will end up with permissionmode 644 and directories with mode 755).</para>82 <function>open(2)</function> system call, new files will end up with permission 83 mode 644 and directories with mode 755).</para> 84 84 </listitem> 85 85 </varlistentry> … … 228 228 <command>make</command> or set such an option in 229 229 <envar>MAKEFLAGS</envar>. Doing so will allow <command>make</command> 230 to spawn infinite build jobs and cause system stability problems.230 to spawn infinite build jobs and cause system stability issue. 231 231 </para> 232 232 </important> -
chapter05/binutils-pass1.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 76 76 --disable-nls \ 77 77 --enable-gprofng=no \ 78 --disable-werror \ 79 --enable-default-hash-style=gnu</userinput></screen> 78 --disable-werror</userinput></screen> 80 79 81 80 <variablelist> … … 134 133 </varlistentry> 135 134 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-style140 hash table and the classic ELF hash table for shared libraries and141 dynamically linked executables. The hash tables are only intended142 for a dynamic linker to perform symbol lookup. On LFS the dynamic143 linker (provided by the Glibc package) will always use the144 GNU-style hash table which is faster to query. So the classic145 ELF hash table is completely useless. This makes the linker146 only generate the GNU-style hash table by default, so we can avoid147 wasting time to generate the classic ELF hash table when we build148 the packages, or wasting disk space to store it.</para>149 </listitem>150 </varlistentry>151 152 135 </variablelist> 153 136 -
chapter05/chapter05.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter05/gcc-pass1.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter05/glibc.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 62 62 The above command is correct. The <command>ln</command> command has 63 63 several syntactic versions, so be sure to check 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. 64 <command>info coreutils ln</command> and <filename>ln(1)</filename> 65 before reporting what may appear to be an error. 67 66 </para> 68 67 </note> … … 164 163 165 164 <note><para>There have been reports that this package may fail when 166 building as a <quote>parallel make.</quote>If that occurs, rerun the make command167 with the <option>-j1</option>option.</para></note>165 building as a "parallel make". If that occurs, rerun the make command 166 with the "-j1" option.</para></note> 168 167 169 168 <para>Compile the package:</para> -
chapter05/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter05/libstdc++.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter05/linux-headers.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/bash.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/binutils-pass2.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 73 73 --enable-gprofng=no \ 74 74 --disable-werror \ 75 --enable-64-bit-bfd \ 76 --enable-default-hash-style=gnu</userinput></screen> 75 --enable-64-bit-bfd</userinput></screen> 77 76 78 77 <variablelist> -
chapter06/chapter06.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/coreutils.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/diffutils.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/file.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 79 79 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen> 80 80 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". --> 81 86 <para>Compile the package:</para> 82 87 -
chapter06/findutils.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/gawk.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/gcc-pass2.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/grep.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/gzip.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/m4.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/make.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/ncurses.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 79 79 <term><parameter>--with-manpage-format=normal</parameter></term> 80 80 <listitem> 81 <para>This prevents Ncurses frominstalling compressed manual81 <para>This prevents Ncurses installing compressed manual 82 82 pages, which may happen if the host distribution itself 83 83 has compressed manual pages.</para> … … 95 95 <term><parameter>--without-normal</parameter></term> 96 96 <listitem> 97 <para>This prevents Ncurses frombuilding and installing static C97 <para>This prevents Ncurses building and installing static C 98 98 libraries.</para> 99 99 </listitem> … … 103 103 <term><parameter>--without-debug</parameter></term> 104 104 <listitem> 105 <para>This prevents Ncurses frombuilding and installing debug105 <para>This prevents Ncurses building and installing debug 106 106 libraries.</para> 107 107 </listitem> … … 157 157 158 158 <screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install 159 ln -sv libncursesw.so $LFS/usr/lib/libncurses.so 160 sed -e 's/^#if.*XOPEN.*$/#if 1/' \ 161 -i $LFS/usr/include/curses.h</userinput></screen> 159 echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> 162 160 <!-- 163 161 <para>Remove an unneeded static library not handled by … … 179 177 180 178 <varlistentry> 181 <term><command> ln -sv libncursesw.so$LFS/usr/lib/libncurses.so</command></term>179 <term><command>echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</command></term> 182 180 <listitem> 183 181 <para>The <filename>libncurses.so</filename> library is needed by 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> 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> 203 185 </listitem> 204 186 </varlistentry> -
chapter06/patch.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/sed.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/tar.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/xz.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/bison.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/changingowner.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/chapter07.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/chroot.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/cleanup.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/createfiles.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/creatingdirs.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/gettext.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/kernfs.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 33 33 Mount the remaining virtual kernel file systems:</para> 34 34 35 <!-- Do not put any option after $LFS/${mountpoint} or jhalfs cannot36 handle it! -->37 38 35 <screen><userinput>mkdir -pv /dev/{pts,shm} 39 mount -vt devpts devpts -o gid=5,mode=0620 /dev/pts36 mount -vt devpts /dev/pts /dev/pts -o gid=5,mode=620 40 37 mount -vt proc proc /proc 41 38 mount -vt sysfs sysfs /sys -
chapter07/perl.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/python.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 45 45 46 46 <note> 47 <para>There are two package files whose name starts with the48 <quote>python</quote> prefix. The one to extract from is47 <para>There are two package files whose name starts with 48 <quote>python</quote>. The one to extract from is 49 49 <filename>Python-&python-version;.tar.xz</filename> (notice the 50 50 uppercase first letter).</para> … … 84 84 <para> 85 85 Some Python 3 modules can't be built now because the dependencies 86 are not installed yet. For the <filename>ssl</filename> module,87 a message <computeroutput>Python requires a OpenSSL 1.1.1 or88 newer</computeroutput> is outputted.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>. 89 89 The message should be ignored. Just make sure the toplevel 90 90 <command>make</command> command has not failed. The optional -
chapter07/texinfo.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/util-linux.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 52 52 <para>Prepare Util-linux for compilation:</para> 53 53 54 <screen><userinput remap="configure">./configure --libdir=/usr/lib \ 54 <screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 55 --libdir=/usr/lib \ 55 56 --runstatedir=/run \ 57 --docdir=/usr/share/doc/util-linux-&util-linux-version; \ 56 58 --disable-chfn-chsh \ 57 59 --disable-login \ … … 62 64 --disable-pylibmount \ 63 65 --disable-static \ 64 --without-python \ 65 ADJTIME_PATH=/var/lib/hwclock/adjtime \ 66 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> 66 --without-python</userinput></screen> 67 67 68 68 <variablelist> -
chapter08/aboutdebug.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/acl.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/attr.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/autoconf.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 42 42 <title>Installation of Autoconf</title> 43 43 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|/&SHLVL|/' \ 47 -e '/BASH_ARGV=/a\ /^SHLVL=/ d' \ 48 -i.orig tests/local.at</userinput></screen> 49 44 50 <para>Prepare Autoconf for compilation:</para> 45 51 … … 56 62 --> 57 63 <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<N></command> to the line above. For 73 instance, using -j4 can reduce the test time by over 60 74 percent.</para></note> 58 75 59 76 <para>Install the package:</para> -
chapter08/automake.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/bash.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 41 41 <title>Installation of Bash</title> 42 42 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 47 43 <para>Prepare Bash for compilation:</para> 48 44 … … 76 72 <para>To prepare the tests, ensure that the <systemitem class="username">tester</systemitem> user can write to the sources tree:</para> 77 73 78 <screen><userinput remap="test">chown -R tester .</userinput></screen>74 <screen><userinput remap="test">chown -Rv tester .</userinput></screen> 79 75 80 76 <para>The test suite of this package is designed to be run as a non-&root; … … 84 80 class="username">tester</systemitem> user:</para> 85 81 86 <screen><userinput remap="test">su -s /usr/bin/expect tester << "EOF"82 <screen><userinput remap="test">su -s /usr/bin/expect tester << EOF 87 83 set timeout -1 88 84 spawn make tests -
chapter08/bc.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/binutils.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 58 58 --disable-werror \ 59 59 --enable-64-bit-bfd \ 60 --with-system-zlib \ 61 --enable-default-hash-style=gnu</userinput></screen> 62 60 --with-system-zlib</userinput></screen> 63 61 <variablelist> 64 <title>The meaning of the newconfigure parameters:</title>62 <title>The meaning of the configure parameters:</title> 65 63 66 64 <varlistentry> … … 84 82 <listitem> 85 83 <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> 86 92 </listitem> 87 93 </varlistentry> … … 140 146 <option>--enable-default-ssp</option> options are passed to GCC.</para> 141 147 142 <!-- <para>Three tests in the gprofng suite are also known to fail.</para>-->148 <para>Three tests in the gprofng suite are also known to fail.</para> 143 149 144 150 <para>Install the package:</para> -
chapter08/bison.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/bzip2.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/chapter08.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/check.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/cleanup.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/coreutils.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 54 54 </note> 55 55 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.*|//&|' \ 61 -i src/split.c</userinput></screen>62 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 --> 63 63 <para>Now prepare Coreutils for compilation:</para> 64 64 … … 127 127 compile and run the tests:</para> 128 128 129 <screen><userinput remap="test">chown -R tester . </userinput></screen>129 <screen><userinput remap="test">chown -Rv tester . </userinput></screen> 130 130 131 131 <para>Now run the tests:</para> … … 1267 1267 <term><command>yes</command></term> 1268 1268 <listitem> 1269 <para>Repeatedly outputs < literal>y</literal> or a given string,1270 untilkilled</para>1269 <para>Repeatedly outputs <quote>y</quote>, or a given string, until 1270 killed</para> 1271 1271 <indexterm zone="ch-system-coreutils yes"> 1272 1272 <primary sortas="b-yes">yes</primary> -
chapter08/dbus.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 57 57 --disable-doxygen-docs \ 58 58 --disable-xml-docs \ 59 --docdir=/usr/share/doc/dbus-&dbus-version; \59 --docdir=/usr/share/doc/dbus-&dbus-version; \ 60 60 --with-system-socket=/run/dbus/system_bus_socket</userinput></screen> 61 61 -
chapter08/dejagnu.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 55 55 makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi</userinput></screen> 56 56 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> 57 <para>Build and install the package:</para> 62 58 63 59 <screen><userinput remap="install">make install 64 60 install -v -dm755 /usr/share/doc/dejagnu-&dejagnu-version; 65 61 install -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> 66 66 67 67 </sect2> -
chapter08/diffutils.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/e2fsprogs.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 160 160 161 161 <para> 162 Read the man page <ulink role='man' 163 url='&man;mke2fs.conf.5'>mke2fs.conf(5)</ulink> for details. 162 Read the man page <filename>mke2fs.conf(5)</filename> for details. 164 163 </para> 165 164 </sect2> -
chapter08/expat.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/expect.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 49 49 <title>Installation of Expect</title> 50 50 51 <para>Expect needs PTYs to work. Verify that the PTYs are working52 properly inside the chroot environment by performing a simple53 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 pty59 devices</computeroutput>, then the environment is not set up for proper60 PTY operation. You need to exit from the chroot environment, read61 <xref linkend='ch-tools-kernfs'/> again, and ensure the62 <systemitem class="filesystem">devpts</systemitem> file system (and63 other virtual kernel file systems) mounted correctly. Then reenter64 the chroot environment following <xref linkend='ch-tools-chroot'/>.65 This issue needs to be resolved before continuing, or the test suites66 requring Expect (for example the test suites of Bash, Binutils, GCC,67 GDBM, and of course Expect itself) will fail catastrophically, and other68 subtle breakages may also happen.</para>69 70 51 <para>Prepare Expect for compilation:</para> 71 52 … … 102 83 <screen><userinput remap="make">make</userinput></screen> 103 84 85 <important> 86 <para>The test suite for Expect is considered critical. 87 Do not skip it under any circumstances.</para> 88 </important> 89 104 90 <para>To test the results, issue:</para> 105 91 106 92 <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> 107 104 108 105 <para>Install the package:</para> -
chapter08/file.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/findutils.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 83 83 <para>To test the results, issue:</para> 84 84 85 <screen><userinput remap="test">chown -R tester .85 <screen><userinput remap="test">chown -Rv tester . 86 86 su tester -c "PATH=$PATH make check"</userinput></screen> 87 87 -
chapter08/flex.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/flit-core.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/gawk.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 55 55 <para>To test the results, issue:</para> 56 56 57 <screen><userinput remap="test">chown -R tester .57 <screen><userinput remap="test">chown -Rv tester . 58 58 su tester -c "PATH=$PATH make check"</userinput></screen> 59 59 -
chapter08/gcc.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 158 158 <para>Test the results as a non-privileged user, but do not stop at errors:</para> 159 159 160 <screen><userinput remap="test">chown -R tester .160 <screen><userinput remap="test">chown -Rv tester . 161 161 su tester -c "PATH=$PATH make -k check"</userinput></screen> 162 162 … … 534 534 <term><filename class="libraryfile">libcc1</filename></term> 535 535 <listitem> 536 <para> A library that allows GDB to make use of GCC</para>536 <para>The C preprocessing library</para> 537 537 <indexterm zone="ch-system-gcc libcc1"> 538 538 <primary sortas="b-libcc1">libcc1</primary> -
chapter08/gdbm.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/gettext.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/glibc.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 50 50 51 51 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 52 <!-- 52 53 53 <para>Now fix two security vulnerabilities and a regression causing the 54 54 posix_memalign() function very slow in some conditions:</para> 55 55 56 56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-fixes-patch;</userinput></screen> 57 --> 57 58 58 <para>The Glibc documentation recommends building Glibc 59 59 in a dedicated build directory:</para> … … 74 74 --enable-kernel=&linux-major-version;.&linux-minor-version; \ 75 75 --enable-stack-protector=strong \ 76 --with-headers=/usr/include \ 76 77 --disable-nscd \ 77 78 libc_cv_slibdir=/usr/lib</userinput></screen> … … 104 105 <para>This option increases system security by adding 105 106 extra code to check for buffer overflows, such as stack 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> 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> 110 116 </listitem> 111 117 </varlistentry> … … 202 208 203 209 <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, from208 Glibc-2.36 to Glibc-&glibc-version;) on a running LFS system, you209 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 is216 tricky.217 2. With Glibc prior to 2.34 libc.so.6 etc. are symlinks to218 libc-2.33.so etc., again causing the upgradation tricky.219 The Glibc NEWS file explicit states they no longer use220 symlinks for the ABI names to avoid upgradation221 issues. -->222 <para>223 Upgrading Glibc on a LFS system prior to 11.0 (exclusive) is224 not supported. Rebuild LFS if you are running such an old LFS225 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), install233 <application>Libxcrypt</application> following234 <xref role='.' linkend='ch-system-libxcrypt'/> In addition to235 a normal <application>Libxcrypt</application> installation,236 <emphasis role='bold'>you MUST follow the note in Libxcrypt237 section to install238 <filename class='libraryfile'>libcrypt.so.1*</filename>239 (overwritting240 <filename class='libraryfile'>libcrypt.so.1</filename> from the241 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 try247 to start nscd, then nscd will fail to start as well and248 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 on259 Systemd, it's also needed to disable and stop the260 <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, following271 <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 with279 <command>cat /usr/include/linux/version.h</command>)280 or if you want to upgrade it anyway, following281 <xref linkend='ch-tools-linux-headers'/> (but removing282 <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 point287 where some Glibc shared libraries are updated but the others288 are not. Such mismatches can cause programs crash on startup,289 esp. a mismatch between ld-linux-x86-64.so.2 and290 libc.so.6. Note that a crash in the installation process291 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 upgrade296 the Glibc shared libraries on the system using one single297 <command>install</command> command:298 </para>299 300 <screen role='nodump'><userinput>make DESTDIR=$PWD/dest install301 install -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 you307 completely understand what you are doing.308 <emphasis role='bold'>Any unexpected deviation may render the309 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 against315 <filename>/usr/bin/ldd</filename>, and the commands to install316 the locales. Once they are finished, reboot the system317 immediately.318 </para>319 </important>320 210 321 211 <para>Install the package:</para> … … 357 247 358 248 <screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale 359 localedef -i C -f UTF-8 C.UTF-8249 localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true 360 250 localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8 361 251 localedef -i de_DE -f ISO-8859-1 de_DE … … 409 299 needed for some tests later in this chapter:</para> 410 300 411 <screen role="nodump"><userinput remap="locale-full">localedef -i C -f UTF-8 C.UTF-8301 <screen role="nodump"><userinput remap="locale-full">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true 412 302 localedef -i ja_JP -f SHIFT_JIS ja_JP.SJIS 2> /dev/null || true</userinput></screen> 413 303 -
chapter08/gmp.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 59 59 60 60 <!-- To editors: the configure script says "the none host is obsolete, 61 use - -disable-assembly ,"but don't believe it: with the latter61 use - -disable-assembly", but don't believe it: with the latter 62 62 CFLAGS is still automatically set to -march=something. --> 63 63 </note> … … 107 107 it is built. Occasionally, the code that detects the processor misidentifies 108 108 the system capabilities and there will be errors in the tests or other 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 109 applications using the gmp libraries with the message "Illegal 110 instruction". In this case, gmp should be reconfigured with the option 112 111 <option>--host=none-linux-gnu</option> and rebuilt.</para></caution> 113 112 -
chapter08/gperf.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/grep.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/groff.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/grub.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 63 63 64 64 <para> 65 Add a file missing from the release tarball: 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: 66 69 </para> 67 70 68 <screen><userinput remap='pre'> echo <literal>depends bli part_gpt</literal> > grub-core/extra_deps.lst</userinput></screen>71 <screen><userinput remap='pre'>patch -Np1 -i ../grub-&grub-version;-upstream_fixes-1.patch</userinput></screen> 69 72 70 73 <para>Prepare GRUB for compilation:</para> -
chapter08/gzip.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/iana-etc.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/inetutils.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/intltool.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/iproute2.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 46 46 LFS. However, a directory and a man page for <command>arpd</command> will still 47 47 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"/>.) 48 51 </para> 49 52 -
chapter08/jinja2.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/kbd.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/kmod.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/less.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libcap.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libelf.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libffi.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libpipeline.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libtool.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 55 55 <screen><userinput remap="test">make -k check</userinput></screen> 56 56 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<N></command> to the line above. For 60 instance, using -j4 can reduce the test time by over 60 61 percent.</para></note> 62 57 63 <para>Five tests are known to fail in the LFS build environment due 58 64 to a circular dependency, but these tests pass if rechecked after 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> 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> 62 67 63 68 <para>Install the package:</para> -
chapter08/libxcrypt.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/m4.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/make.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 54 54 <para>To test the results, issue:</para> 55 55 56 <screen><userinput remap="test">chown -R tester .56 <screen><userinput remap="test">chown -Rv tester . 57 57 su tester -c "PATH=$PATH make check"</userinput></screen> 58 58 -
chapter08/man-db.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/man-pages.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/markupsafe.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/meson.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/mpc.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/mpfr.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/ncurses.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 100 100 <listitem> 101 101 <para>This switch causes wide-character libraries (e.g., <filename 102 class="libraryfile">libncursesw.so.&ncurses- release;</filename>)102 class="libraryfile">libncursesw.so.&ncurses-version;</filename>) 103 103 to be built instead of normal ones (e.g., <filename 104 class="libraryfile">libncurses.so.&ncurses- release;</filename>).104 class="libraryfile">libncurses.so.&ncurses-version;</filename>). 105 105 These wide-character libraries are usable in both multibyte and 106 106 traditional 8-bit locales, while normal libraries work properly … … 128 128 129 129 <para>The installation of this package will overwrite 130 <filename class="libraryfile">libncursesw.so.&ncurses- release;</filename>130 <filename class="libraryfile">libncursesw.so.&ncurses-version;</filename> 131 131 in-place. It may crash the shell process which is using code and data 132 132 from the library file. Install the package with 133 133 <literal>DESTDIR</literal>, and replace the library file correctly using 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> 134 <command>install</command> command:</para> 138 135 139 136 <screen><userinput remap="install">make DESTDIR=$PWD/dest install 140 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-release; /usr/lib 141 rm -v dest/usr/lib/libncursesw.so.&ncurses-release; 142 sed -e 's/^#if.*XOPEN.*$/#if 1/' \ 143 -i dest/usr/include/curses.h 137 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib 138 rm -v dest/usr/lib/libncursesw.so.&ncurses-version; 144 139 cp -av dest/* /</userinput></screen> 145 140 146 141 <para>Many applications still expect the linker to be able to find 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> 142 non-wide-character Ncurses libraries. Trick such applications into linking with 143 wide-character libraries by means of symlinks and linker scripts:</para> 152 144 153 145 <screen><userinput remap="install">for lib in ncurses form panel menu ; do 154 ln -sfv lib${lib}w.so /usr/lib/lib${lib}.so 155 ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc 146 rm -vf /usr/lib/lib${lib}.so 147 echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so 148 ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc 156 149 done</userinput></screen> 157 150 … … 160 153 buildable:</para> 161 154 162 <screen><userinput remap="install">ln -sfv libncursesw.so /usr/lib/libcurses.so</userinput></screen> 155 <screen><userinput remap="install">rm -vf /usr/lib/libcursesw.so 156 echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so 157 ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen> 163 158 164 159 <para>If desired, install the Ncurses documentation:</para> … … 212 207 </seg> 213 208 <seg> 214 libcurses.so (symlink), 215 libform.so (symlink), 209 libcursesw.so (symlink and linker script to libncursesw.so), 216 210 libformw.so, 217 libmenu.so (symlink),218 211 libmenuw.so, 219 libncurses.so (symlink),220 212 libncursesw.so, 221 213 libncurses++w.so, 222 libpanel.so (symlink), 223 and libpanelw.so, 224 </seg> 214 libpanelw.so, and their non-wide-character counterparts without "w" 215 in the library names.</seg> 225 216 <seg> 226 217 /usr/share/tabset, … … 352 343 </varlistentry> 353 344 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 354 355 <varlistentry id="libncursesw"> 355 356 <term><filename class="libraryfile">libncursesw</filename></term> -
chapter08/ninja.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/openssl.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 164 164 of <application>OpenSSL</application>'s crypto library from the 165 165 shell. It can be used for various functions which are documented in 166 < ulink role='man' url='&man;openssl.1'>openssl(1)</ulink>166 <command>man 1 openssl</command> 167 167 </para> 168 168 <indexterm zone="ch-system-openssl openssl-prog"> … … 196 196 implements the Transport Layer Security (TLS v1) protocol. 197 197 It provides a rich API, documentation 198 on which can be found in <ulink role='man' 199 url='&man;ssl.7'>ssl(7)</ulink> 198 on which can be found by running <command>man 7 ssl</command> 200 199 </para> 201 200 <indexterm zone="ch-system-openssl libssl"> -
chapter08/patch.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/perl.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/pkgconf.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 46 46 47 47 <!-- https://github.com/pkgconf/pkgconf/issues/317 --> 48 <para>Fix a regression in pkgconf-2. 1.0breaking BLFS packages:</para>48 <para>Fix a regression in pkgconf-2.0.3 breaking BLFS packages:</para> 49 49 50 <screen><userinput remap="pre"> patch -Np1 -i ../&pkgconf-upstream-fix-patch;</userinput></screen>50 <screen><userinput remap="pre">sed -i 's/str\(cmp.*package\)/strn\1, strlen(pkg->why)/' cli/main.c</userinput></screen> 51 51 52 52 <para>Prepare Pkgconf for compilation:</para> -
chapter08/pkgmgt.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 57 57 The system will keep working fine thanks to the well-defined interface 58 58 between the kernel and userspace. Specifically, Linux API headers 59 need not be upgraded59 need not be (and should not be, see the next item) upgraded 60 60 along with the kernel. You will merely need to reboot your system to use the 61 61 upgraded kernel.</para> … … 63 63 64 64 <listitem> 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> 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> 69 81 </listitem> 70 82 -
chapter08/procps.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/psmisc.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/python.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 156 156 <screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html 157 157 158 tar --no-same-owner \ 159 -xvf ../python-&python-version;-docs-html.tar.bz2 160 cp -R --no-preserve=mode python-&python-version;-docs-html/* \ 161 /usr/share/doc/python-&python-version;/html</userinput></screen> 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> 162 163 163 164 <variablelist> … … 165 166 166 167 <varlistentry> 167 <term><option>--no-same-owner</option> (tar) and <option>--no-preserve=mode</option> (cp)</term>168 <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term> 168 169 <listitem> 169 170 <para>Ensure the installed files have the correct ownership and 170 171 permissions. Without these options, <application>tar</application> 171 will install the package files with the upstream creator's values 172 and files would have restrictive permissions. 172 will install the package files with the upstream creator's values. 173 173 </para> 174 174 </listitem> -
chapter08/readline.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/sed.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 52 52 <para>To test the results, issue:</para> 53 53 54 <screen><userinput remap="test">chown -R tester .54 <screen><userinput remap="test">chown -Rv tester . 55 55 su tester -c "PATH=$PATH make check"</userinput></screen> 56 56 -
chapter08/setuptools.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/shadow.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 204 204 parameter to <command>useradd</command>, or else change the setting of 205 205 <parameter>USERGROUPS_ENAB</parameter> in 206 <filename>/etc/login.defs</filename>. See < ulink role='man'207 url='&man;useradd.8'>useradd(8)</ulink>for more information.</para>206 <filename>/etc/login.defs</filename>. See <filename>useradd(8)</filename> 207 for more information.</para> 208 208 209 209 <para>Second, to change the default parameters, the file -
chapter08/stripping.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 53 53 and ld-linux.so.2 on 32-bit systems. The construct below selects the 54 54 correct name for the current architecture, excluding anything ending 55 with < literal>g</literal>, in case the commands below have already been55 with <quote>g</quote>, in case the commands below have already been 56 56 run.</para></note> 57 57 -
chapter08/sysklogd.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/systemd.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 48 48 <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \ 49 49 -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 of53 <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>57 50 58 51 <para>Prepare systemd for compilation:</para> … … 70 63 -Dsysusers=false \ 71 64 -Drpmmacrosdir=no \ 72 -Dhomed= disabled\65 -Dhomed=false \ 73 66 -Duserdb=false \ 74 -Dman= disabled\67 -Dman=false \ 75 68 -Dmode=release \ 76 69 -Dpamconfdir=no \ 77 70 -Ddev-kvm-mode=0660 \ 78 71 -Dnobody-group=nogroup \ 79 -Dsysupdate=disabled \80 -Dukify=disabled \81 72 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ 82 73 ..</userinput></screen> … … 149 140 150 141 <varlistentry> 151 <term><parameter>-Dhomed=disabled</parameter> and 152 <parameter>-Duserdb=false</parameter></term> 142 <term><parameter>-D{userdb,homed}=false</parameter></term> 153 143 <listitem> 154 144 <para>Remove two daemons with dependencies that do not fit … … 158 148 159 149 <varlistentry> 160 <term><parameter>-Dman= disabled</parameter></term>150 <term><parameter>-Dman=false</parameter></term> 161 151 <listitem> 162 152 <para>Prevent the generation of man pages to avoid extra … … 198 188 </listitem> 199 189 </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 properly208 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 the217 <application>pefile</application> Python module that neither LFS218 nor BLFS provides.</para>219 </listitem>220 </varlistentry>221 222 190 </variablelist> 223 191 … … 246 214 247 215 <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> 248 222 249 223 <!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out. -
chapter08/sysvinit.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/tar.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 73 73 <screen><userinput remap="test">make check</userinput></screen> 74 74 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<N></command> to the line above. For 79 instance, using -j4 can reduce the test time by over 70 80 percent.</para></note> 81 75 82 <para>One test, capabilities: binary store/restore, is known to fail if it is 76 83 run because LFS lacks selinux, but will be skipped if the host kernel does -
chapter08/tcl.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/texinfo.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/udev.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 55 55 56 56 <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 the59 standalone udev installation:</para>60 61 <screen><userinput remap="pre">sed '/NETWORK_DIRS/s/systemd/udev/' -i src/basic/path-lookup.h</userinput></screen>62 57 63 58 <para>Prepare Udev for compilation:</para> … … 126 121 </variablelist> 127 122 128 <para>Get the list of the shipped udev helpers and save it into an129 environment variable (exporting it is not strictly necessary, but it makes130 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 135 123 <para>Only build the components needed for udev:</para> 136 124 137 125 <screen><userinput remap="make">ninja udevadm systemd-hwdb \ 138 126 $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \ 139 $(realpath libudev.so --relative-to .) \ 140 $udev_helpers</userinput></screen> 127 $(realpath libudev.so --relative-to .)</userinput></screen> 141 128 142 129 <para>Install the package:</para> 143 130 144 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb .d,rules.d,network}131 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb,rules}.d 145 132 install -vm755 -d /usr/{lib,share}/pkgconfig 146 133 install -vm755 udevadm /usr/bin/ … … 156 143 -not -name '*power-switch*') /usr/lib/udev/rules.d/ 157 144 install -vm644 hwdb.d/* ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/ 158 install -vm755 $ udev_helpers /usr/lib/udev159 install -vm644 ../network/99-default.link /usr/lib/udev/network</userinput></screen>145 install -vm755 $(find src/udev \ 146 -type f -not -name '*.*') /usr/lib/udev</userinput></screen> 160 147 161 148 <para>Install some custom rules and support files useful in an LFS … … 172 159 --no-same-owner --strip-components=1 \ 173 160 -C /usr/share/man --wildcards '*/udev*' '*/libudev*' \ 174 '*/systemd.link.5' \175 161 '*/systemd-'{hwdb,udevd.service}.8 176 177 sed 's|systemd/network|udev/network|' \178 /usr/share/man/man5/systemd.link.5 \179 > /usr/share/man/man5/udev.link.5180 181 162 sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \ 182 163 > /usr/share/man/man8/udev-hwdb.8 183 184 164 sed 's|lib.*udevd|sbin/udevd|' \ 185 165 /usr/share/man/man8/systemd-udevd.service.8 \ 186 166 > /usr/share/man/man8/udevd.8 187 188 rm /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> 167 rm /usr/share/man/man8/systemd-*.8</userinput></screen> 195 168 196 169 </sect2> -
chapter08/util-linux.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 49 49 <para>Prepare Util-linux for compilation:</para> 50 50 51 <screen revision="sysv"><userinput remap="configure">./configure --bindir=/usr/bin \ 51 <screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 52 --bindir=/usr/bin \ 52 53 --libdir=/usr/lib \ 53 54 --runstatedir=/run \ … … 63 64 --without-python \ 64 65 --without-systemd \ 65 --without-systemdsystemunitdir \ 66 ADJTIME_PATH=/var/lib/hwclock/adjtime \ 66 --without-systemdsystemunitdir \ 67 67 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> 68 68 69 <screen revision="systemd"><userinput remap="configure">./configure --bindir=/usr/bin \ 69 <screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 70 --bindir=/usr/bin \ 70 71 --libdir=/usr/lib \ 71 72 --runstatedir=/run \ … … 80 81 --disable-static \ 81 82 --without-python \ 82 ADJTIME_PATH=/var/lib/hwclock/adjtime \83 83 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> 84 84 … … 104 104 </warning> 105 105 106 <screen><userinput remap="test">chown -R tester .106 <screen><userinput remap="test">chown -Rv tester . 107 107 su tester -c "make -k check"</userinput></screen> 108 108 … … 585 585 <listitem> 586 586 <para>Displays kernel interrupt counter information in 587 <ulink role='man' url='&man;top.1'>top(1)</ulink> style 588 view</para> 587 <filename>top(1)</filename> style view</para> 589 588 <indexterm zone="ch-system-util-linux irqtop"> 590 589 <primary sortas="b-irqtop">irqtop</primary> -
chapter08/vim.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 67 67 to the source tree:</para> 68 68 69 <screen><userinput remap="test">chown -R tester .</userinput></screen>69 <screen><userinput remap="test">chown -Rv tester .</userinput></screen> 70 70 71 71 <para>Now run the tests as user <systemitem -
chapter08/wheel.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/xml-parser.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/xz.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/zlib.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/zstd.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/bootscripts.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/chapter09.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="network.xml"/> 28 28 <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"/> 29 30 30 31 <!-- systemd --> 31 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clock.xml"/> 32 33 <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"/> 33 35 34 36 <!-- common --> 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="locale.xml"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inputrc.xml"/> 37 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="etcshells.xml"/> -
chapter09/clock.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/consoled.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 31 31 32 32 <para>The <filename>/etc/vconsole.conf</filename> file should contain lines 33 of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para>33 of the form: VARIABLE="value". The following variables are recognized:</para> 34 34 35 35 <variablelist> … … 74 74 75 75 </variablelist> 76 77 <para>We'll use <literal>C.UTF-8</literal> as the locale for interactive78 sessions in the Linux console in <xref role='.'79 linkend='ch-config-locale'/> The console fonts shipped by80 the <application>Kbd</application> package containing the glyphs for81 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>, and85 <filename>pancyrillic.f16.psfu.gz</filename> in86 <filename class='directory'>/usr/share/consolefonts</filename> (the other87 shipped console fonts lack glyphs of some characters like the Unicode88 left/right quotation marks and the Unicode English dash). So set one of89 them, for example <filename>Lat2-Terminus16.psfu.gz</filename> as the90 default console font:</para>91 92 <!-- We are using "nodump" for general settings, but not examples. This93 is ironic, but needed for the compatibility with jhalfs! -->94 <screen role='nodump'><userinput>echo <literal>FONT=Lat2-Terminus16</literal> > /etc/vconsole.conf</userinput></screen>95 76 96 77 <para>An example for a German keyboard and console is given below:</para> -
chapter09/etcshells.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/inputrc.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/introductiond.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/locale.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 6 6 ]> 7 7 8 <sect1 id="ch-config-locale" >8 <sect1 id="ch-config-locale" revision="systemd"> 9 9 <?dbhtml filename="locale.html"?> 10 10 … … 12 12 13 13 <indexterm zone="ch-config-locale"> 14 <primary sortas="e- /etc/profile">/etc/profile</primary>14 <primary sortas="e-etc-locale-conf">/etc/locale.conf</primary> 15 15 </indexterm> 16 16 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> 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> 23 20 24 21 <itemizedlist> … … 43 40 44 41 <para>Replace <replaceable><ll></replaceable> below with the two-letter code 45 for your desired language (e.g., < literal>en</literal>) and42 for your desired language (e.g., <quote>en</quote>) and 46 43 <replaceable><CC></replaceable> with the two-letter code for the appropriate 47 country (e.g., < literal>GB</literal>). <replaceable><charmap></replaceable> should44 country (e.g., <quote>GB</quote>). <replaceable><charmap></replaceable> should 48 45 be replaced with the canonical charmap for your chosen locale. Optional 49 modifiers such as < literal>@euro</literal> may also be present.</para>46 modifiers such as <quote>@euro</quote> may also be present.</para> 50 47 51 48 <para>The list of all locales supported by Glibc can be obtained by running … … 54 51 <screen role="nodump"><userinput>locale -a</userinput></screen> 55 52 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>. 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>. 59 55 Some applications cannot handle the various synonyms correctly (e.g., require 60 that < literal>UTF-8</literal> is written as <literal>UTF-8</literal>, not61 < literal>utf8</literal>), so it is the safest in most56 that <quote>UTF-8</quote> is written as <quote>UTF-8</quote>, not 57 <quote>utf8</quote>), so it is the safest in most 62 58 cases to choose the canonical name for a particular locale. To determine 63 59 the canonical name, run the following command, where <replaceable><locale 64 60 name></replaceable> is the output given by <command>locale -a</command> for 65 your preferred locale (<literal>en_GB.iso88591</literal> in our 66 example).</para> 61 your preferred locale (<quote>en_GB.iso88591</quote> in our example).</para> 67 62 68 63 <screen role="nodump"><userinput>LC_ALL=<replaceable><locale name></replaceable> locale charmap</userinput></screen> 69 64 70 <para>For the < literal>en_GB.iso88591</literal> locale, the above command65 <para>For the <quote>en_GB.iso88591</quote> locale, the above command 71 66 will print:</para> 72 67 73 68 <screen><computeroutput>ISO-8859-1</computeroutput></screen> 74 69 75 <para>This results in a final locale setting of < literal>en_GB.ISO-8859-1</literal>.70 <para>This results in a final locale setting of <quote>en_GB.ISO-8859-1</quote>. 76 71 It is important that the locale found using the heuristic above is tested prior 77 72 to it being added to the Bash startup files:</para> … … 96 91 Glibc.</para> 97 92 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 98 109 <para>Other packages can also function incorrectly (but may not necessarily 99 110 display any error messages) if the locale name does not meet their expectations. … … 101 112 might provide some useful information.</para> 102 113 103 <para revision='systemd'>Once the proper locale settings have been104 determined, create the<filename>/etc/locale.conf</filename> file:</para>114 <para>Once the proper locale settings have been determined, create the 115 <filename>/etc/locale.conf</filename> file:</para> 105 116 106 <screen revision='systemd'><userinput>cat > /etc/locale.conf << "EOF"117 <screen><userinput>cat > /etc/locale.conf << "EOF" 107 118 <literal>LANG=<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable></literal> 108 119 EOF</userinput></screen> 109 120 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 > /etc/profile << "EOF" 139 <literal># Begin /etc/profile 140 141 for i in $(locale); do 142 unset ${i%=*} 143 done 144 145 if [[ "$TERM" = linux ]]; then 146 export LANG=C.UTF-8 147 else 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 156 fi 157 158 # End /etc/profile</literal> 159 EOF</userinput></screen> 160 161 <screen revision="sysv"><userinput>cat > /etc/profile << "EOF" 162 <literal># Begin /etc/profile 163 164 for i in $(locale); do 165 unset ${i%=*} 166 done 167 168 if [[ "$TERM" = linux ]]; then 169 export LANG=C.UTF-8 170 else 171 export LANG=<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable> 172 fi 173 174 # End /etc/profile</literal> 175 EOF</userinput></screen> 176 177 <para revision='systemd'>Note that you can modify <filename>/etc/locale.conf</filename> with the 121 <para>Note that you can modify <filename>/etc/locale.conf</filename> with the 178 122 systemd <command>localectl</command> utility. To use 179 123 <command>localectl</command> for the example above, run:</para> 180 124 181 <screen r evision='systemd' role="nodump"><userinput>localectl set-locale LANG="<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable>"</userinput></screen>125 <screen role="nodump"><userinput>localectl set-locale LANG="<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable>"</userinput></screen> 182 126 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 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 188 131 en_US.UTF-8 but <envar>LC_CTYPE</envar> is set as just en_US is:</para> 189 132 190 <screen r evision='systemd' role="nodump"><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen>133 <screen role="nodump"><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen> 191 134 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> 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> 196 138 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> 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> 200 141 uses the US-ASCII 7-bit character set, and treats bytes with the high bit set 201 142 as invalid characters. That's why, e.g., the <command>ls</command> command 202 143 substitutes them with question marks in that locale. Also, an attempt to send 203 144 mail with such characters from Mutt or Pine results in non-RFC-conforming 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 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 207 147 if you are certain that you will never need 8-bit characters.</para> 208 148 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 209 155 </sect1> -
chapter09/network.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 63 63 the interfaces up correctly.</para> 64 64 65 <para>If the <envar>ONBOOT</envar> variable is set to < literal>yes</literal> the65 <para>If the <envar>ONBOOT</envar> variable is set to <quote>yes</quote> the 66 66 System V network script will bring up the Network Interface Card (NIC) during 67 the system boot process. If set to anything besides < literal>yes</literal>, the NIC67 the system boot process. If set to anything besides <quote>yes</quote>, the NIC 68 68 will be ignored by the network script and will not be started automatically. 69 69 Interfaces can be manually started or stopped with the -
chapter09/networkd.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 51 51 <filename class="extension">.network</filename> files. For detailed 52 52 descriptions and example contents of these configuration files, consult 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> 53 the <filename>systemd-link(5)</filename>, 54 <filename>systemd-netdev(5)</filename> and 55 <filename>systemd-network(5)</filename> manual pages.</para> 58 56 59 57 <sect3 id="systemd-network-devices"> … … 92 90 <listitem> 93 91 <para> 94 Mask udev's <filename class='extension'>.link</filename> file 95 for the default policy: 92 Mask udev's .link file for the default policy: 96 93 <screen role="nodump"><userinput>ln -s /dev/null /etc/systemd/network/99-default.link</userinput></screen> 97 94 </para> … … 100 97 <listitem> 101 98 <para> 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: 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: 108 104 </para> 109 105 … … 118 114 119 115 <para> 120 See <ulink role='man' url='&man;systemd.link.5'>systemd.link(5)</ulink>for more information.116 See the man page systemd.link(5) for more information. 121 117 </para> 122 118 </listitem> … … 124 120 <listitem> 125 121 <para> 126 In /boot/grub/grub.cfg, pass the option 127 <option>net.ifnames=0</option> on thekernel command line.122 In /boot/grub/grub.cfg, pass the option net.ifnames=0 on the 123 kernel command line. 128 124 </para> 129 125 </listitem> … … 362 358 domain) because they are handled by the 363 359 <systemitem class='library'>myhostname</systemitem> NSS module, read 364 the man page <ulink role='man' 365 url='&man;nss-myhostname.8'>nss-myhostname(8)</ulink> for 366 details.</para> 360 the man page <filename>nss-myhostname(8)</filename> for details.</para> 367 361 368 362 <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents -
chapter09/symlinks.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 113 113 creating your network configuration files.</para> 114 114 115 <para>Even if the custom udev rule file is created, udev may still116 assign one or more alternative names for a NIC based on physical117 characteristics. If a custom udev rule would rename some NIC using118 a name already assigned as an alternative name of another NIC, this119 udev rule will fail. If this issue happens, you may create the120 <filename>/etc/udev/network/99-default.link</filename> configuration121 file with an empty alternative assignment policy, overriding the122 default configuration file123 <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>128 115 </sect3> 129 116 -
chapter09/systemd-custom.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 22 22 entries commented out with the default settings indicated. This file is 23 23 where the log level may be changed as well as some basic logging settings. 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> 24 See the <filename>systemd-system.conf(5)</filename> manual page for details 25 on each configuration option.</para> 27 26 28 27 </sect2> … … 91 90 files with the same name in 92 91 <filename class="directory">/usr/lib/tmpfiles.d</filename>. See 93 < ulink role='man' url='&man;tmpfiles.d.5'>tmpfiles.d(5)</ulink> manual94 page for file formatdetails.</para>92 <filename>tmpfiles.d(5)</filename> manual page for file format 93 details.</para> 95 94 96 95 <para> … … 137 136 EOF</userinput></screen> 138 137 139 <para>See <ulink role='man' 140 url='&man;systemd.unit.5'>systemd.unit(5)</ulink> manual page for more 138 <para>See <filename>systemd.unit(5)</filename> manual page for more 141 139 information. After creating the configuration file, run 142 140 <userinput>systemctl daemon-reload</userinput> and <userinput>systemctl … … 254 252 EOF</userinput></screen> 255 253 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> 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> 261 258 </sect2> 262 259 -
chapter09/udev.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 130 130 supported by a module. For example, the <emphasis>snd-fm801</emphasis> 131 131 driver supports PCI devices with vendor ID 0x1319 and device ID 0x0801, 132 and has an alias of < literal>pci:v00001319d00000801sv*sd*bc04sc01i*</literal>.132 and has an alias of <quote>pci:v00001319d00000801sv*sd*bc04sc01i*</quote>. 133 133 For most devices, the bus driver exports the alias of the driver that 134 134 would handle the device via <systemitem … … 136 136 <filename>/sys/bus/pci/devices/0000:00:0d.0/modalias</filename> file 137 137 might contain the string 138 < literal>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</literal>.138 <quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>. 139 139 The default rules provided with udev will cause <command>udevd</command> 140 140 to call out to <command>/sbin/modprobe</command> with the contents of the … … 226 226 <literal>pre:</literal> dependencies, or a mixture of both 227 227 <literal>pre:</literal> and <literal>post:</literal> dependencies. See 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> 228 the <filename>modprobe.d(5)</filename> manual page for more information 229 on <quote>softdep</quote> syntax and capabilities.</para> 231 230 232 231 <para revision="sysv">If the module in question is not a wrapper and is … … 302 301 <para>This is due to the fact that udev, by design, handles uevents and 303 302 loads modules in parallel, and thus in an unpredictable order. This will 304 never be <quote>fixed .</quote>You should not rely upon the kernel device303 never be <quote>fixed</quote>. You should not rely upon the kernel device 305 304 names being stable. Instead, create your own rules that make symlinks with 306 305 stable names based on some stable attributes of the device, such as a -
chapter09/usage.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 33 33 uses a run levels scheme. There are seven run levels, numbered 0 to 6. 34 34 (Actually, there are more run levels, but the others are for special cases and are 35 generally not used. See <ulink role='man' 36 url='&man;init.8'>init(8)</ulink> for more details.) 35 generally not used. See <filename>init(8)</filename> for more details.) 37 36 Each one of the seven corresponds to actions the computer is supposed to 38 37 perform when it starts up or shuts down. The default run level is 3. Here are the … … 49 48 <note> 50 49 <para> 51 Classically, run level 2 above was defined as <quote>multi-user52 mode without networking,</quote>but this was only the case53 many years ago when multiple users could connect to a system via54 serial ports. In today's environment it makes no sense, and55 we now say it is <quote>reserved.</quote>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". 56 55 </para> 57 56 </note> … … 343 342 doubt, look in the <filename class="directory">/usr/share/keymaps</filename> 344 343 and <filename class="directory">/usr/share/consolefonts</filename> directories 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> 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> 349 347 350 348 <para>The <filename>/etc/sysconfig/console</filename> file should contain lines 351 of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para>349 of the form: VARIABLE="value". The following variables are recognized:</para> 352 350 <variablelist> 353 351 … … 357 355 <para>This variable specifies the log level for kernel messages sent 358 356 to the console as set by <command>dmesg -n</command>. Valid levels are 359 from <literal>1</literal> (no messages) to <literal>8</literal>. The default level is <literal>7</literal>, which is quite verbose.</para>357 from "1" (no messages) to "8". The default level is "7".</para> 360 358 </listitem> 361 359 </varlistentry> … … 366 364 <para>This variable specifies the arguments for the 367 365 <command>loadkeys</command> program, typically, the name of the keymap 368 to load, e.g., < literal>it</literal>. If this variable is not set, the366 to load, e.g., <quote>it</quote>. If this variable is not set, the 369 367 bootscript will not run the <command>loadkeys</command> program, 370 368 and the default kernel keymap will be used. Note that a few keymaps … … 385 383 is not completely satisfactory and a small adjustment has to be made. E.g., 386 384 to include the Euro sign into a keymap that normally doesn't have it, 387 set this variable to < literal>euro2</literal>.</para>385 set this variable to <quote>euro2</quote>.</para> 388 386 </listitem> 389 387 </varlistentry> … … 394 392 <para>This variable specifies the arguments for the 395 393 <command>setfont</command> program. Typically, this includes the font 396 name, < literal>-m</literal>, and the name of the application character394 name, <quote>-m</quote>, and the name of the application character 397 395 map to load. E.g., in order to load the <quote>lat1-16</quote> font 398 396 together with the <quote>8859-1</quote> application character map 399 397 (appropriate in the USA), 400 398 <!-- because of the copyright sign --> 401 set this variable to < literal>lat1-16 -m 8859-1</literal>.399 set this variable to <quote>lat1-16 -m 8859-1</quote>. 402 400 In UTF-8 mode, the kernel uses the application character map to 403 401 convert 8-bit key codes to UTF-8. Therefore … … 411 409 <term>UNICODE</term> 412 410 <listitem> 413 <para>Set this variable to < literal>1</literal>, <literal>yes</literal>, or414 < literal>true</literal> in order to put the411 <para>Set this variable to <quote>1</quote>, <quote>yes</quote>, or 412 <quote>true</quote> in order to put the 415 413 console into UTF-8 mode. This is useful in UTF-8 based locales and 416 414 harmful otherwise.</para> … … 433 431 434 432 <itemizedlist> 435 <listitem>436 <para>437 We'll use <literal>C.UTF-8</literal> as the locale for interactive438 sessions in the Linux console in <xref role=','439 linkend='ch-config-locale'/> so we should set440 <literal>UNICODE</literal> to <literal>1</literal>. And the console441 fonts shipped by the <application>Kbd</application> package442 containing the glyphs for all characters from the program messages443 in the <literal>C.UTF-8</literal> locale are444 <filename>LatArCyrHeb*.psfu.gz</filename>,445 <filename>LatGrkCyr*.psfu.gz</filename>,446 <filename>Lat2-Terminus16.psfu.gz</filename>, and447 <filename>pancyrillic.f16.psfu.gz</filename> in448 <filename class='directory'>/usr/share/consolefonts</filename> (the449 other shipped console fonts lack glyphs of some characters like the450 Unicode left/right quotation marks and the Unicode English dash).451 So set one of them, for example452 <filename>Lat2-Terminus16.psfu.gz</filename> as the default console453 font:454 </para>455 456 <!-- We are using 'nodump' for the generic setting, but not for an457 example (see below). This is deliberate to keep the458 compatibility with jhalfs. -->459 <screen role='nodump'><userinput>cat > /etc/sysconfig/console << "EOF"460 <literal># Begin /etc/sysconfig/console461 462 UNICODE="1"463 FONT="Lat2-Terminus16"464 465 # End /etc/sysconfig/console</literal>466 EOF</userinput></screen>467 468 </listitem>469 433 470 434 <listitem> … … 561 525 characters, or two ASCII characters are composed together. However, in 562 526 UTF-8 mode it is a problem; e.g., for the Greek language, where one 563 sometimes needs to put an accent on the letter α.527 sometimes needs to put an accent on the letter <quote>alpha</quote>. 564 528 The solution is either to avoid the use of UTF-8, or to install the 565 529 X window system, which doesn't have this limitation, in its input -
chapter10/chapter10.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter10/fstab.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 53 53 <para>Replace <replaceable>sda</replaceable> to the name of the device 54 54 node for your disk where LFS is being built. For details on the six 55 fields in this file, see < ulink role='man' url='&man;fstab.5'>fstab(5)</ulink>.</para>55 fields in this file, see <command>man 5 fstab</command>.</para> 56 56 57 57 <para>Filesystems with MS-DOS or Windows origin (i.e. vfat, ntfs, smbfs, -
chapter10/grub.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 106 106 </note> 107 107 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 --> 108 119 </sect2> 109 120 -
chapter10/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter10/kernel.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 274 274 275 275 <varlistentry> 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> 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> 288 286 </listitem> 289 287 </varlistentry> … … 325 323 documentation in the <filename 326 324 class="directory">linux-&linux-version;/Documentation</filename> directory. 327 Also, <ulink role='man' url='&man;modprobe.d.5'>modprobe.d(5)</ulink> 328 may be of interest.</para> 325 Also, <filename>modprobe.d(5)</filename> may be of interest.</para> 329 326 330 327 <para>Unless module support has been disabled in the kernel configuration, -
chapter10/kernel/Makefile
r9e76c64 re49e2ea 20 20 touch s-kernel-version 21 21 22 %.xml .tmp: %.toml kernel-config.py kernel_version.py kernel.version22 %.xml: %.toml kernel-config.py kernel_version.py kernel.version 23 23 ./kernel-config.py $(KERNEL_TREE) $< > $@ 24 25 %.xml: %.xml.tmp26 mv $< $@ -
chapter10/kernel/highmem.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/kernel-config.py
r9e76c64 re49e2ea 186 186 elif line.startswith('endif'): 187 187 if_stack = if_stack[:-1] 188 189 if config_buf:190 r += [parse_config(config_buf)]191 192 188 return r 193 189 … … 252 248 for i0, val, i1, title, arrow, key, menu, comment in r: 253 249 rem = max_line 254 is_choice = (val == '(X)')255 250 256 251 if val: … … 265 260 title = title[:rem - 3] + '...' 266 261 267 b = title 268 if not is_choice: 269 b = b.lstrip('YyMmNnHh.' + "".join(map(str, range(10)))) 262 b = title.lstrip('YyMmNnHh') 270 263 a = title[:len(title) - len(b)] 271 264 b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>" … … 294 287 from jinja2 import Template 295 288 296 t = Template('''<?xml version="1.0" encoding=" UTF-8"?>289 t = Template('''<?xml version="1.0" encoding="ISO-8859-1"?> 297 290 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 298 291 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/kernel.version
r9e76c64 re49e2ea 1 6. 7.11 6.4.8 -
chapter10/kernel/nvme.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/systemd.toml
r9e76c64 re49e2ea 14 14 DEVTMPFS='*' 15 15 DEVTMPFS_MOUNT='*' 16 DRM=' *M' 16 FB='*' 17 FRAMEBUFFER_CONSOLE='*' 18 17 19 AUDIT=' ' 18 20 NET='*' … … 27 29 28 30 revision='systemd' 29 30 [DRM_FBDEV_EMULATION]31 value = ' *'32 comment = 'If [DRM] is selected as * or M, this must be selected'33 34 [FRAMEBUFFER_CONSOLE]35 value = ' *'36 comment = 'If [DRM] is selected as * or M, this must be selected' -
chapter10/kernel/systemd.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> … … 42 42 [*] <emphasis role='blue'>E</emphasis>xport DMI identification via sysfs to userspace [DMIID] 43 43 <emphasis role='blue'>G</emphasis>raphics support ---> 44 < /*/M> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> 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] 44 <emphasis role='blue'>F</emphasis>rame buffer Devices ---> 45 <*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---> [FB] 49 46 <emphasis role='blue'>C</emphasis>onsole display driver support ---> 50 # If [DRM] is selected as * or M, this must be selected: 51 [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE] 47 [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE] 52 48 53 49 <emphasis role='blue'>F</emphasis>ile systems ---> -
chapter10/kernel/sysv.toml
r9e76c64 re49e2ea 13 13 DEVTMPFS='*' 14 14 DEVTMPFS_MOUNT='*' 15 DRM=' *M' 15 FB='*' 16 FRAMEBUFFER_CONSOLE='*' 16 17 17 18 revision='sysv' 18 19 [DRM_FBDEV_EMULATION]20 value = ' *'21 comment = 'If [DRM] is selected as * or M, this must be selected'22 23 [FRAMEBUFFER_CONSOLE]24 value = ' *'25 comment = 'If [DRM] is selected as * or M, this must be selected' -
chapter10/kernel/sysv.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> … … 30 30 ... [DEVTMPFS_MOUNT] 31 31 <emphasis role='blue'>G</emphasis>raphics support ---> 32 < /*/M> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> 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] 32 <emphasis role='blue'>F</emphasis>rame buffer Devices ---> 33 <*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---> [FB] 37 34 <emphasis role='blue'>C</emphasis>onsole display driver support ---> 38 # If [DRM] is selected as * or M, this must be selected: 39 [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen> 35 [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen> -
chapter10/kernel/x2apic.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter11/afterlfs.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/chapter11.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/getcounted.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/reboot.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/theend.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/whatnow.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
gen-changelog.py
r9e76c64 re49e2ea 77 77 ticket[pkg] = tic 78 78 79 hold_ticket = {'vim': '4500', 'iana-etc': '5006'}80 81 79 print("Plain Text:") 82 80 for (s, act) in [(upd, "Update to "), (add, "Add ")]: … … 86 84 if pkgver in ticket: 87 85 out += ' (#' + ticket[pkgver] + ')' 88 elif i in hold_ticket:89 out += ' (#' + hold_ticket[i] + ')'90 86 print("-", out) 91 87 for i in rem: … … 104 100 out += " (security fix)" 105 101 out += "." 106 107 pkg_ticket = None108 102 if pkgver in ticket: 109 103 out += " Fixes\n " 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>." 104 out += "<ulink url='&lfs-ticket-root;" + ticket[pkgver] + "'>#" 105 out += ticket[pkgver] + "</ulink>." 118 106 out += "</para>" 119 107 print(out) -
general.ent
r9e76c64 re49e2ea 93 93 <!ENTITY secadv "&lfs-root;lfs/advisories/"> 94 94 95 <!-- 4.1 9 EOL is Dec202496 so for LFS 1 2.3 we may consider moving to 5.4-->97 <!ENTITY min-kernel "4.1 9">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"> 98 98 99 99 <!-- … … 126 126 <!ENTITY pypi-home "https://pypi.org/project"> 127 127 <!ENTITY pypi-src "https://pypi.org/packages/source"> 128 <!ENTITY man "https://man.archlinux.org/man/">129 128 130 129 <!ENTITY root "<systemitem class='username'>root</systemitem>"> -
git-version.sh
r9e76c64 re49e2ea 58 58 59 59 if [ "$(git diff HEAD | wc -l)" != "0" ]; then 60 version="$version -wip"61 versiond="$versiond -wip"60 version="$version+" 61 versiond="$versiond+" 62 62 fi 63 63 -
index.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 3 3 <!ENTITY % general-entities SYSTEM "general.ent"> -
lfs-latest-git.php
r9e76c64 re49e2ea 153 153 if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/tags"; 154 154 if ( $package == "wheel" ) $dirpath = "https://pypi.org/project/wheel/#files"; 155 if ( $package == "xz" ) $dirpath = github("tukaani-project/xz");156 155 if ( $package == "zlib" ) $dirpath = "https://www.zlib.net"; 157 156 if ( $package == "zstd" ) $dirpath = github("facebook/zstd"); -
packages.ent
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 3 <!-- Notes: … … 14 14 --> 15 15 16 <!ENTITY acl-version "2.3. 2">17 <!ENTITY acl-size "3 63KB">16 <!ENTITY acl-version "2.3.1"> 17 <!ENTITY acl-size "348 KB"> 18 18 <!ENTITY acl-url "&savannah;/releases/acl/acl-&acl-version;.tar.xz"> 19 <!ENTITY acl-md5 " 590765dee95907dbc3c856f7255bd669">19 <!ENTITY acl-md5 "95ce715fe09acca7c12d3306d0f076b2"> 20 20 <!ENTITY acl-home "&savannah-nongnu;/projects/acl"> 21 21 <!ENTITY acl-fin-du "6.1 MB"> 22 22 <!ENTITY acl-fin-sbu "less than 0.1 SBU"> 23 23 24 <!ENTITY attr-version "2.5. 2">25 <!ENTITY attr-size "4 84KB">24 <!ENTITY attr-version "2.5.1"> 25 <!ENTITY attr-size "456 KB"> 26 26 <!ENTITY attr-url "&savannah;/releases/attr/attr-&attr-version;.tar.gz"> 27 <!ENTITY attr-md5 " 227043ec2f6ca03c0948df5517f9c927">27 <!ENTITY attr-md5 "ac1c5a7a084f0f83b8cace34211f64d8"> 28 28 <!ENTITY attr-home "&savannah-nongnu;/projects/attr"> 29 29 <!ENTITY attr-fin-du "4.1 MB"> 30 30 <!ENTITY attr-fin-sbu "less than 0.1 SBU"> 31 31 32 <!ENTITY autoconf-version "2.7 2">33 <!ENTITY autoconf-size "1, 360KB">32 <!ENTITY autoconf-version "2.71"> 33 <!ENTITY autoconf-size "1,263 KB"> 34 34 <!ENTITY autoconf-url "&gnu;autoconf/autoconf-&autoconf-version;.tar.xz"> 35 <!ENTITY autoconf-md5 "1 be79f7106ab6767f18391c5e22be701">35 <!ENTITY autoconf-md5 "12cfa1687ffa2606337efe1a64416106"> 36 36 <!ENTITY autoconf-home "&gnu-software;autoconf/"> 37 37 <!ENTITY autoconf-fin-du "24 MB"> … … 58 58 <!ENTITY bash-fin-sbu "1.1 SBU"> 59 59 60 <!ENTITY bc-version "6.7. 5">61 <!ENTITY bc-size "4 60KB">60 <!ENTITY bc-version "6.7.2"> 61 <!ENTITY bc-size "456 KB"> 62 62 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz"> 63 <!ENTITY bc-md5 " e249b1f86f886d6fb71c15f72b65dd3d">63 <!ENTITY bc-md5 "27c217ea495f73758f548eb2c6e10244"> 64 64 <!ENTITY bc-home "https://git.gavinhoward.com/gavin/bc"> 65 65 <!ENTITY bc-fin-du "7.7 MB"> 66 66 <!ENTITY bc-fin-sbu "less than 0.1 SBU"> 67 67 68 <!ENTITY binutils-version "2.4 2">69 <!ENTITY binutils-size "26, 922KB">68 <!ENTITY binutils-version "2.41"> 69 <!ENTITY binutils-size "26,139 KB"> 70 70 <!ENTITY binutils-url "https://sourceware.org/pub/binutils/releases/binutils-&binutils-version;.tar.xz"> 71 <!ENTITY binutils-md5 " a075178a9646551379bfb64040487715">71 <!ENTITY binutils-md5 "256d7e0ad998e423030c84483a7c1e30"> 72 72 <!ENTITY binutils-home "&gnu-software;binutils/"> 73 73 <!ENTITY binutils-tmpp1-du "647 MB"> … … 246 246 <!ENTITY gdbm-fin-sbu "less than 0.1 SBU"> 247 247 248 <!ENTITY gettext-version "0.22. 4">249 <!ENTITY gettext-size " 10,016KB">248 <!ENTITY gettext-version "0.22.3"> 249 <!ENTITY gettext-size "9,997 KB"> 250 250 <!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.xz"> 251 <!ENTITY gettext-md5 " 2d8507d003ef3ddd1c172707ffa97ed8">251 <!ENTITY gettext-md5 "460b38ae5e520253dcd06165dd3e281f"> 252 252 <!ENTITY gettext-home "&gnu-software;gettext/"> 253 253 <!ENTITY gettext-tmp-du "306 MB"> … … 256 256 <!ENTITY gettext-fin-sbu "1.4 SBU"> 257 257 258 <!ENTITY glibc-version "2.3 9">259 <!ENTITY glibc-size "18, 092KB">258 <!ENTITY glibc-version "2.38"> 259 <!ENTITY glibc-size "18,471 KB"> 260 260 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz"> 261 <!ENTITY glibc-md5 " be81e87f72b5ea2c0ffe2bedfeb680c6">261 <!ENTITY glibc-md5 "778cce0ea6bf7f84ca8caacf4a01f45b"> 262 262 <!ENTITY glibc-home "&gnu-software;libc/"> 263 263 <!ENTITY glibc-tmp-du "858 MB"> … … 300 300 <!ENTITY groff-fin-sbu "0.2 SBU"> 301 301 302 <!ENTITY grub-version "2. 12">303 <!ENTITY grub-size "6, 524KB">302 <!ENTITY grub-version "2.06"> 303 <!ENTITY grub-size "6,428 KB"> 304 304 <!ENTITY grub-url "https://ftp.gnu.org/gnu/grub/grub-&grub-version;.tar.xz"> 305 <!ENTITY grub-md5 " 60c564b1bdc39d8e43b3aab4bc0fb140">305 <!ENTITY grub-md5 "cf0fd928b1e5479c8108ee52cb114363"> 306 306 <!ENTITY grub-home "&gnu-software;grub/"> 307 307 <!ENTITY grub-fin-du "161 MB"> … … 320 320 <!ENTITY gzip-fin-sbu "0.3 SBU"> 321 321 322 <!ENTITY iana-etc-version "202 40125">322 <!ENTITY iana-etc-version "20231107"> 323 323 <!ENTITY iana-etc-size "589 KB"> 324 324 <!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 " aed66d04de615d76c70890233081e584">325 <!ENTITY iana-etc-md5 "01331998d26d5beb592c12b06b2eeb24"> 326 326 <!ENTITY iana-etc-home "https://www.iana.org/protocols"> 327 327 <!ENTITY iana-etc-fin-du "4.8 MB"> 328 328 <!ENTITY iana-etc-fin-sbu "less than 0.1 SBU"> 329 329 330 <!ENTITY inetutils-version "2. 5">331 <!ENTITY inetutils-size "1, 632 KB">330 <!ENTITY inetutils-version "2.4"> 331 <!ENTITY inetutils-size "1,522 KB"> 332 332 <!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz"> 333 <!ENTITY inetutils-md5 " 9e5a6dfd2d794dc056a770e8ad4a9263">333 <!ENTITY inetutils-md5 "319d65bb5a6f1847c4810651f3b4ba74"> 334 334 <!ENTITY inetutils-home "&gnu-software;inetutils/"> 335 335 <!ENTITY inetutils-fin-du "31 MB"> … … 344 344 <!ENTITY intltool-fin-sbu "less than 0.1 SBU"> 345 345 346 <!ENTITY iproute2-version "6. 7.0">347 <!ENTITY iproute2-size " 900KB">346 <!ENTITY iproute2-version "6.6.0"> 347 <!ENTITY iproute2-size "897 KB"> 348 348 <!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz"> 349 <!ENTITY iproute2-md5 " 35d8277d1469596b7edc07a51470a033">349 <!ENTITY iproute2-md5 "6716fc3188dbea226997fa2478a190d7"> 350 350 <!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/"> 351 351 <!ENTITY iproute2-fin-du "17 MB"> … … 354 354 <!ENTITY iproute2-tmp-sbu "less than 0.1 SBU"> 355 355 356 <!ENTITY jinja2-version "3.1. 3">357 <!ENTITY jinja2-size "26 4KB">356 <!ENTITY jinja2-version "3.1.2"> 357 <!ENTITY jinja2-size "262 KB"> 358 358 <!ENTITY jinja2-url "&pypi-src;/J/Jinja2/Jinja2-&jinja2-version;.tar.gz"> 359 <!ENTITY jinja2-md5 " caf5418c851eac59e70a78d9730d4cea">360 <!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3. 1.x/">359 <!ENTITY jinja2-md5 "d31148abd89c1df1cdb077a55db27d02"> 360 <!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3.0.x/"> 361 361 <!ENTITY jinja2-fin-du "3.4 MB"> 362 362 <!ENTITY jinja2-fin-sbu "less than 0.1 SBU"> 363 363 364 <!ENTITY kbd-version "2.6. 4">365 <!ENTITY kbd-size "1,4 70KB">364 <!ENTITY kbd-version "2.6.3"> 365 <!ENTITY kbd-size "1,468 KB"> 366 366 <!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz"> 367 <!ENTITY kbd-md5 " e2fd7adccf6b1e98eb1ae8d5a1ce5762">367 <!ENTITY kbd-md5 "4764775cac0415f1d35a0cd311249941"> 368 368 <!ENTITY kbd-home "https://kbd-project.org/"> 369 369 <!ENTITY kbd-fin-du "35 MB"> … … 435 435 436 436 <!ENTITY linux-major-version "6"> 437 <!ENTITY linux-minor-version " 7">438 <!ENTITY linux-patch-version " 3">437 <!ENTITY linux-minor-version "6"> 438 <!ENTITY linux-patch-version "1"> 439 439 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 440 440 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 441 <!ENTITY linux-size "13 8,128KB">441 <!ENTITY linux-size "136,730 KB"> 442 442 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 443 <!ENTITY linux-md5 " a542a2aea4db4cf09e932fff02c8d1d1">443 <!ENTITY linux-md5 "90291279ca684fb8cfa59b2ae75b6fe0"> 444 444 <!ENTITY linux-home "https://www.kernel.org/"> 445 445 <!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is … … 495 495 <!ENTITY man-pages-fin-sbu "less than 0.1 SBU"> 496 496 497 <!ENTITY markupsafe-version "2.1. 4">498 <!ENTITY markupsafe-size " 20KB">497 <!ENTITY markupsafe-version "2.1.3"> 498 <!ENTITY markupsafe-size "19 KB"> 499 499 <!ENTITY markupsafe-url "&pypi-src;/M/MarkupSafe/MarkupSafe-&markupsafe-version;.tar.gz"> 500 <!ENTITY markupsafe-md5 " 8138329a11cf4bd0f9db780b2af26c66">500 <!ENTITY markupsafe-md5 "ca33f119bd0551ce15837f58bb180214"> 501 501 <!ENTITY markupsafe-home "https://palletsprojects.com/p/markupsafe/"> 502 502 <!ENTITY markupsafe-fin-du "548 KB"> 503 503 <!ENTITY markupsafe-fin-sbu "less than 0.1 SBU"> 504 504 505 <!ENTITY meson-version "1. 3.1">506 <!ENTITY meson-size "2,1 72KB">505 <!ENTITY meson-version "1.2.3"> 506 <!ENTITY meson-size "2,134 KB"> 507 507 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz"> 508 <!ENTITY meson-md5 " dd404b8c0f8b79f80181b4a58bb81768">508 <!ENTITY meson-md5 "69da4c63ef06c9d3bcc00ce89abb306f"> 509 509 <!ENTITY meson-home "https://mesonbuild.com"> 510 510 <!ENTITY meson-fin-du "42 MB"> … … 527 527 <!ENTITY mpfr-fin-sbu "0.2 SBU"> 528 528 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"> 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"> 536 533 <!ENTITY ncurses-home "&gnu-software;ncurses/"> 537 534 <!ENTITY ncurses-tmp-du "51 MB"> … … 548 545 <!ENTITY ninja-fin-sbu "0.3 SBU"> 549 546 550 <!ENTITY openssl-version "3. 2.1">551 <!ENTITY openssl-size "1 7,318KB">547 <!ENTITY openssl-version "3.1.4"> 548 <!ENTITY openssl-size "15,205 KB"> 552 549 <!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz"> 553 <!ENTITY openssl-md5 " c239213887804ba00654884918b37441">550 <!ENTITY openssl-md5 "653ad58812c751b887e8ec37e02bba70"> 554 551 <!ENTITY openssl-home "https://www.openssl.org/"> 555 552 <!ENTITY openssl-fin-du "587 MB"> … … 568 565 <!ENTITY perl-version-major "5"> 569 566 <!ENTITY perl-version-minor "38"> 570 <!ENTITY perl-version-patch " 2">567 <!ENTITY perl-version-patch "0"> 571 568 <!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;"> 572 569 <!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;"> 573 <!ENTITY perl-size "13, 359KB">570 <!ENTITY perl-size "13,248 KB"> 574 571 <!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz"> 575 <!ENTITY perl-md5 " d3957d75042918a23ec0abac4a2b7e0a">572 <!ENTITY perl-md5 "e1c8aaec897dd386c741f97eef9f2e87"> 576 573 <!ENTITY perl-home "https://www.perl.org/"> 577 574 <!ENTITY perl-tmp-du "280 MB"> … … 580 577 <!ENTITY perl-fin-sbu "7.1 SBU"> 581 578 582 <!ENTITY pkgconf-version "2. 1.0">583 <!ENTITY pkgconf-size "30 5KB">579 <!ENTITY pkgconf-version "2.0.3"> 580 <!ENTITY pkgconf-size "304 KB"> 584 581 <!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz"> 585 <!ENTITY pkgconf-md5 " 0f2eadbb9dea5aed95147272ae1592cc">582 <!ENTITY pkgconf-md5 "b82ca48ed3097adfa007ee71489b6719"> 586 583 <!ENTITY pkgconf-home "http://pkgconf.org/"> 587 584 <!ENTITY pkgconf-fin-du "4.6 MB"> … … 607 604 meson pages will be needed: python3.6 and python3.6m --> 608 605 609 <!ENTITY python-version "3.12. 1">606 <!ENTITY python-version "3.12.0"> 610 607 <!ENTITY python-minor "3.12"> 611 <!ENTITY python-size "20, 102KB">608 <!ENTITY python-size "20,093 KB"> 612 609 <!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz"> 613 <!ENTITY python-md5 " 50f827c800483776c8ef86e6a53831fa">610 <!ENTITY python-md5 "f6f4616584b23254d165f4db90c247d6"> 614 611 <!ENTITY python-home "https://www.python.org/"> 615 612 <!ENTITY python-tmp-du "533 MB"> … … 618 615 <!ENTITY python-fin-sbu "1.9 SBU"> 619 616 <!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2"> 620 <!ENTITY python-docs-md5 " d5c21b804c219b06256495eae30fd153">621 <!ENTITY python-docs-size " 7,998KB">617 <!ENTITY python-docs-md5 "ae9d19bb613ae8ef2457496bd2893915"> 618 <!ENTITY python-docs-size "8,009 KB"> 622 619 623 620 <!ENTITY readline-version "8.2"> … … 640 637 <!ENTITY sed-fin-sbu "0.3 SBU"> 641 638 642 <!ENTITY setuptools-version "6 9.0.3">643 <!ENTITY setuptools-size "2,1 68KB">639 <!ENTITY setuptools-version "68.2.2"> 640 <!ENTITY setuptools-size "2,152 KB"> 644 641 <!ENTITY setuptools-url "&pypi-src;/s/setuptools/setuptools-&setuptools-version;.tar.gz"> 645 <!ENTITY setuptools-md5 " b82de45aaa6b9bb911226660212ebb83">642 <!ENTITY setuptools-md5 "d967ca2ba7f46db887daee2d5c9bd6a2"> 646 643 <!ENTITY setuptools-home "&pypi-home;/setuptools/"> 647 644 <!ENTITY setuptools-fin-du "30 MB"> 648 645 <!ENTITY setuptools-fin-sbu "0.1 SBU"> 649 646 650 <!ENTITY shadow-version "4.14. 3">651 <!ENTITY shadow-size "1,7 60KB">647 <!ENTITY shadow-version "4.14.2"> 648 <!ENTITY shadow-size "1,758 KB"> 652 649 <!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz"> 653 <!ENTITY shadow-md5 " b9a7f56d0c63297c0d11d742be2f8ffd">650 <!ENTITY shadow-md5 "effc1aa17590305647413125b966f1dd"> 654 651 <!ENTITY shadow-home "&github;/shadow-maint/shadow/"> 655 652 <!ENTITY shadow-fin-du "46 MB"> … … 664 661 <!ENTITY sysklogd-fin-sbu "less than 0.1 SBU"> 665 662 666 <!ENTITY systemd-version "25 5">663 <!ENTITY systemd-version "254"> 667 664 <!--<!ENTITY systemd-stable "6b4878d">--> 668 665 <!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel 669 666 change that is incompatible, we will switch to the backport branch until the next stable release. --> 670 <!ENTITY systemd-size "1 4,516KB">667 <!ENTITY systemd-size "13,985 KB"> 671 668 <!ENTITY systemd-url "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz"> 672 669 <!--<!ENTITY systemd-url "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">--> 673 <!ENTITY systemd-md5 " 521cda27409a9edf0370c128fae3e690">670 <!ENTITY systemd-md5 "0d266e5361dc72097b6c18cfde1c0001"> 674 671 <!ENTITY systemd-home "https://www.freedesktop.org/wiki/Software/systemd/"> 675 <!ENTITY systemd-man-version "25 5">676 <!ENTITY systemd-man-size "6 52KB">672 <!ENTITY systemd-man-version "254"> 673 <!ENTITY systemd-man-size "626 KB"> 677 674 <!--<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">--> 678 675 <!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz"> 679 <!ENTITY systemd-man-md5 " 1ebe54d7a80f9abf8f2d14ddfeb2432d">676 <!ENTITY systemd-man-md5 "fc32faeac581e1890ca27fcea3858410"> 680 677 <!ENTITY systemd-fin-du "238 MB"> 681 678 <!ENTITY systemd-fin-sbu "0.7 SBU"> … … 721 718 <!ENTITY texinfo-fin-sbu "0.3 SBU"> 722 719 723 <!ENTITY tzdata-version "202 4a">724 <!ENTITY tzdata-size "4 44KB">720 <!ENTITY tzdata-version "2023c"> 721 <!ENTITY tzdata-size "436 KB"> 725 722 <!ENTITY tzdata-url "https://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz"> 726 <!ENTITY tzdata-md5 " 2349edd8335245525cc082f2755d5bf4">723 <!ENTITY tzdata-md5 "5aa672bf129b44dd915f8232de38e49a"> 727 724 <!ENTITY tzdata-home "https://www.iana.org/time-zones"> 728 725 … … 737 734 738 735 <!ENTITY util-linux-minor "2.39"> 739 <!ENTITY util-linux-version "2.39. 3"> <!-- 2.33.x -->740 <!ENTITY util-linux-size "8, 327 KB">736 <!ENTITY util-linux-version "2.39.2"> <!-- 2.33.x --> 737 <!ENTITY util-linux-size "8,167 KB"> 741 738 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz"> 742 <!ENTITY util-linux-md5 " f3591e6970c017bb4bcd24ae762a98f5">739 <!ENTITY util-linux-md5 "2feb3e7c306f336a3d22a182dfffc942"> 743 740 <!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/"> 744 741 <!ENTITY util-linux-tmp-du "169 MB"> … … 750 747 <!ENTITY mount-setsid-sbu "less than 0.1 SBU"> 751 748 752 <!ENTITY vim-version "9. 1.0041">749 <!ENTITY vim-version "9.0.2103"> 753 750 <!-- <!ENTITY vim-majmin "90"> --> 754 <!ENTITY vim-docdir "vim/vim9 1">755 <!ENTITY vim-size "1 7,224KB">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">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"> 759 756 <!ENTITY vim-home "https://www.vim.org"> 760 757 <!ENTITY vim-fin-du "229 MB"> 761 758 <!ENTITY vim-fin-sbu "2.3 SBU"> 762 759 763 <!ENTITY wheel-version "0.4 2.0">760 <!ENTITY wheel-version "0.41.3"> 764 761 <!ENTITY wheel-size "97 KB"> 765 762 <!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz"> 766 <!ENTITY wheel-md5 " 802ad6e5f9336fcb1c76b7593f0cd22d">763 <!ENTITY wheel-md5 "c66db2f3a50d5659994fa974138d4002"> 767 764 <!ENTITY wheel-home "&pypi-home;/wheel/"> 768 765 <!ENTITY wheel-fin-du "1.5 MB"> 769 766 <!ENTITY wheel-fin-sbu "less than 0.1 SBU"> 770 767 771 <!ENTITY xml-parser-version "2.4 7">772 <!ENTITY xml-parser-size "2 76KB">768 <!ENTITY xml-parser-version "2.46"> 769 <!ENTITY xml-parser-size "249 KB"> 773 770 <!ENTITY xml-parser-url "https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-&xml-parser-version;.tar.gz"> 774 <!ENTITY xml-parser-md5 "8 9a8e82cfd2ad948b349c0a69c494463">771 <!ENTITY xml-parser-md5 "80bb18a8e6240fcf7ec2f7b57601c170"> 775 772 <!ENTITY xml-parser-home "&github;/chorny/XML-Parser"> 776 773 <!ENTITY xml-parser-fin-du "2.3 MB"> 777 774 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU"> 778 775 779 <!ENTITY xz-version "5.4. 6">780 <!ENTITY xz-size "1,64 5KB">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">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"> 783 780 <!ENTITY xz-home "https://tukaani.org/xz"> 784 781 <!ENTITY xz-tmp-du "22 MB"> … … 787 784 <!ENTITY xz-fin-sbu "0.1 SBU"> 788 785 789 <!ENTITY zlib-version "1.3 .1">790 <!ENTITY zlib-size "1,4 78KB">786 <!ENTITY zlib-version "1.3"> 787 <!ENTITY zlib-size "1,461 KB"> 791 788 <!-- DO NOT remove "fossils"! 792 789 The upstream removes https://zlib.net/zlib-&zlib-version;.tar.xz … … 794 791 Unfortunately there is no .xz files in fossils directory. --> 795 792 <!ENTITY zlib-url "https://zlib.net/fossils/zlib-&zlib-version;.tar.gz"> 796 <!ENTITY zlib-md5 " 9855b6d802d7fe5b7bd5b196a2271655">793 <!ENTITY zlib-md5 "60373b133d630f74f4a1f94c1185a53f"> 797 794 <!ENTITY zlib-home "https://zlib.net/"> 798 795 <!ENTITY zlib-fin-du "6.2 MB"> -
part3intro/generalinstructions.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
part3intro/introduction.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
part3intro/part3intro.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
part3intro/toolchaintechnotes.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 57 57 <varlistentry><term>The build</term><listitem> 58 58 <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> 60 60 </varlistentry> 61 61 -
patches.ent
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 3 <!-- 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">8 4 9 5 <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch"> … … 18 14 <!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2"> 19 15 <!ENTITY glibc-fhs-patch-size "2.8 KB"> 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 --> 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 25 25 <!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch"> 26 26 <!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895"> 27 27 <!ENTITY kbd-backspace-patch-size "12 KB"> 28 28 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"> 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"> 36 32 37 33 <!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> -
prologue/architecture.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/audience.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/bookinfo.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/dedication.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE dedication PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/errata.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/foreword.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/organization.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/preface.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/prerequisites.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/standards.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 50 50 51 51 <para>While it is possible to create a complete system that will pass the LSB 52 certification tests <quote>from scratch,</quote>this can't be done without many additional packages52 certification tests "from scratch", this can't be done without many additional packages 53 53 that are beyond the scope of the LFS book. Installation instructions for these 54 54 additional packages can be found in BLFS. </para> -
prologue/typography.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 75 75 <para>This format is used to encapsulate text that is optional.</para> 76 76 77 <para>< ulink role='man' url='&man;passwd.5'>passwd(5)</ulink></para>77 <para><filename>passwd(5)</filename></para> 78 78 79 79 <para>This format is used to refer to a specific manual (man) page. The number inside parentheses … … 82 82 those two man pages will be located at 83 83 <filename>/usr/share/man/man1/passwd.1</filename> and 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 84 <filename>/usr/share/man/man5/passwd.5</filename>. When the book uses <filename>passwd(5)</filename> it is 86 85 specifically referring to <filename>/usr/share/man/man5/passwd.5</filename>. 87 86 <command>man passwd</command> will print the first man page it finds that 88 matches <quote>passwd ,</quote>which will be87 matches <quote>passwd</quote>, which will be 89 88 <filename>/usr/share/man/man1/passwd.1</filename>. For this example, you will 90 89 need to run <command>man 5 passwd</command> in order to read the page 91 90 being specified. Note that most man pages do not have duplicate 92 91 page names in different sections. Therefore, <command>man <replaceable><program 93 name></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> 92 name></replaceable></command> is generally sufficient.</para> 98 93 99 94 </sect1> -
prologue/why.xml
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
stylesheets/dump-commands.xsl
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding="UTF-8"?>1 <?xml version="1.0"?> 2 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 4 5 3 xmlns:exsl="http://exslt.org/common" 4 extension-element-prefixes="exsl" 5 version="1.0"> 6 6 7 7 <!-- XSLT stylesheet to extract commands from [B,H]LFS books. --> -
stylesheets/lfs-chunked.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-nochunks.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-pdf.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/chunk-master.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/chunk-slave.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 11 11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 12 12 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'"/> 13 <!-- Use ISO-8859-1 for output instead of default UTF-8 --> 14 <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/> 20 15 21 16 <!-- Including our customized elements templates --> … … 39 34 <xsl:param name="ulink.target" select="''"/> 40 35 <xsl:param name="css.decoration" select="0"/> 36 37 <!-- No XML declaration --> 38 <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/> 41 39 42 40 <!-- Control generation of ToCs and LoTs --> -
stylesheets/lfs-xsl/chunkfast.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/common.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/lfs-l10n.xml
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding='UTF-8'?> 2 <!DOCTYPE l:i18n SYSTEM "https://cdn.docbook.org/release/xsl-nons/current/common/l10n.dtd"> 1 <?xml version='1.0' encoding='ISO-8859-1'?> 3 2 4 3 <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> … … 73 72 language="es" english-language-name="Spanish"> 74 73 75 <l:gentext key="description" text="descripci ón"/>74 <l:gentext key="description" text="descripción"/> 76 75 <l:gentext key="Bootscripts" text="Guiones de arranque"/> 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"/>76 <l:gentext key="Configuration Files" text="Ficheros de configuración"/> 77 <l:gentext key="Kernel Configuration" text="Configuración del núcleo"/> 78 <l:gentext key="Libraries" text="Librerías"/> 80 79 <l:gentext key="Others" text="Otros"/> 81 80 <l:gentext key="Packages" text="Paquetes"/> -
stylesheets/lfs-xsl/lfs.css
r9e76c64 re49e2ea 1 1 /* Global settings */ 2 2 body { 3 font-family: verdana, tahoma, arial, sans-serif;3 font-family: verdana, tahoma, helvetica, arial, sans-serif; 4 4 text-align: left; 5 5 background: #fff; … … 8 8 padding: 0; 9 9 font-size: 1em; 10 line-height: 1.2em ;10 line-height: 1.2em 11 11 } 12 12 … … 39 39 } 40 40 41 /* Section titles */ 42 h1.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 56 div.sect1, div.chapter, div.appendix, div.wrap { 57 top: 11.55em; 58 } 59 div.preface, div.part, .index div.index { 60 top: 10.15em; 61 } 62 div.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; 41 42 /* Sections */ 43 div.sect1, div.appendix { 44 padding-left: .3em; 71 45 } 72 46 … … 90 64 border-bottom: 0.2em solid #dbddec; 91 65 padding-top: .1em; 92 /* margin-top: 0;*/93 }94 /*95 .lfs .package p:first-child {96 66 margin-top: 0; 97 } */67 } 98 68 99 69 .lfs .configuration { … … 105 75 background: #f5f6f7; 106 76 border-top: 0.2em solid #dbddec; 107 border-bottom: 0.2em solid #dbddec;108 77 padding-bottom: .1em; 109 margin-bottom: .5em; 110 } 78 margin-bottom: 0; 79 } 80 111 81 112 82 /* Headers */ … … 127 97 } 128 98 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 129 111 .wrap h1 { 130 112 background: #f5f6f7; … … 176 158 177 159 div.navheader { 178 border-bottom: .1em solid #dbddec; 179 } 180 181 /* no need for a footer now that the header is always visible */ 160 border-bottom: 1px solid #dbddec; 161 position: sticky; 162 top: 0; 163 } 164 182 165 div.navfooter { 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 189 div.book + div.navfooter { 190 display:block 166 border-top: 1px solid #dbddec; 191 167 } 192 168 … … 204 180 205 181 div.navheader ul, div.navfooter ul { 206 padding: .2em .5em .5em .5em; /*top right bottom left*/182 padding: .2em .5em .5em 0; 207 183 margin: .5em 0; 208 184 position: relative; … … 221 197 text-align: left; 222 198 padding: 0.2em 1em; 223 margin-left: .4em;199 margin-left: 6px; 224 200 } 225 201 … … 228 204 display: block; 229 205 text-align: right; 230 right: 0;231 padding: 0.2em 1em;232 margin-right: .4em;206 right: 5px; 207 padding: 0.2em 0.5em; 208 margin-right: 7px; 233 209 } 234 210 … … 236 212 div.navheader ul li.next p, div.navfooter ul li.next p { 237 213 padding: 0; 238 margin: .1em 0;214 margin: 1px 0px; 239 215 } 240 216 … … 243 219 text-align: center; 244 220 padding: 0; 245 margin: 0 auto;221 margin: 0px auto; 246 222 display: block; 247 223 color: #dbddec; -
stylesheets/lfs-xsl/nochunks.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 11 11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 12 12 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" /> 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 20 16 <!-- Include our customized templates --> 21 17 <xsl:include href="common.xsl"/> -
stylesheets/lfs-xsl/pdf.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 52 52 <!-- Allow URLs to be automatically hyphenated. 53 53 We have expanded the support to several inline tags. 54 See pdf/lfs-mixed.xsl. 55 Note: the argument in select= is a zero-width space 56 (unicode 200b)--> 54 See pdf/lfs-mixed.xsl --> 57 55 <xsl:param name="ulink.hyphenate" select="'​'"/> 58 56 -
stylesheets/lfs-xsl/pdf/lfs-admon.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/pdf/lfs-index.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <!DOCTYPE xsl:stylesheet [ 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ŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'">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ŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'"> 5 5 <!ENTITY uppercase "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'"> 6 6 <!ENTITY primary 'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'> -
stylesheets/lfs-xsl/pdf/lfs-lists.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 50 50 keep-together.within-column="always" font-weight="bold" 51 51 keep-with-next.within-column="always" text-align="left"> 52 <xsl:text> •</xsl:text>52 <xsl:text>• </xsl:text> 53 53 <xsl:apply-templates select="term"/> 54 54 </fo:block> -
stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/pdf/lfs-xref.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 4 xmlns:xlink="http://www.w3.org/1999/xlink" 4 5 xmlns:fo="http://www.w3.org/1999/XSL/Format" 6 exclude-result-prefixes="xlink" 5 7 version="1.0"> 6 8 … … 15 17 16 18 <!-- xref: 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.--> 19 Added role variable and use it when calling mode xref-to.--> 20 20 <!-- The original template is in {docbook-xsl}/fo/xref.xsl --> 21 21 <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,'(')) 27 or starts-with($xhref, '#xpointer(id('))"> 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)"/> 22 34 <xsl:param name="linkend.targets" select="key('id',@linkend)"/> 23 <xsl:param name="target" select=" $linkend.targets[1]"/>35 <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/> 24 36 <xsl:param name="refelem" select="local-name($target)"/> 25 37 <!-- Added role variable --> … … 78 90 <xsl:message> 79 91 <xsl:text>ERROR: xref linking to </xsl:text> 80 <xsl:value-of select="@linkend "/>92 <xsl:value-of select="@linkend|@xlink:href"/> 81 93 <xsl:text> has no generated link text.</xsl:text> 82 94 </xsl:message> -
stylesheets/lfs-xsl/profile.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 19 19 <!-- Generate DocBook instance with correct DOCTYPE --> 20 20 <xsl:output method="xml" 21 encoding="UTF-8"22 21 doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 23 22 doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> -
stylesheets/lfs-xsl/xhtml/lfs-admon.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-index.xsl
r9e76c64 re49e2ea 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 3 <!DOCTYPE xsl:stylesheet [ 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ŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'">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ŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'"> 5 5 <!ENTITY uppercase "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'"> 6 6 <!ENTITY primary 'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'> … … 23 23 <xsl:template match="index" mode="recursive-chunk-filename"> 24 24 <xsl:text>longindex.html</xsl:text> 25 </xsl:template>26 27 <!-- The original template in {docbook-xsl}/xhtml/autoidx.xsl has28 a bug (https://github.com/docbook/xslt10-stylesheets/issues/239)29 that generates a <div> with a wrong xmlns:xlink attribute. So copy it30 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="//indexterm36 [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>49 25 </xsl:template> 50 26 -
stylesheets/lfs-xsl/xhtml/lfs-legalnotice.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 295 295 </xsl:when> 296 296 <xsl:when test="$numcols > 3"> 297 <!-- The space between <td> and </td> is a non breakable 298 space (unicode A0) encoded in utf-8.--> 299 <td> </td> 297 <td> </td> 300 298 </xsl:when> 301 299 <xsl:otherwise/> -
stylesheets/lfs-xsl/xhtml/lfs-navigational.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-sections.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 12 12 13 13 <!-- preface: 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 --> 14 Output non sect1 child elements before the TOC --> 17 15 <!-- The original template is in {docbook-xsl}/xhtml/components.xsl --> 18 16 <xsl:template match="preface"> 19 17 <xsl:call-template name="id.warning"/> 20 <xsl:call-template name="preface.titlepage"/>21 <xsl:call-template name="component.separator"/>22 18 <div> 23 19 <xsl:apply-templates select="." mode="class.attribute"/> … … 31 27 </xsl:attribute> 32 28 </xsl:if> 29 <xsl:call-template name="component.separator"/> 30 <xsl:call-template name="preface.titlepage"/> 33 31 <xsl:apply-templates/> 34 32 <xsl:variable name="toc.params"> … … 47 45 </xsl:template> 48 46 49 <!-- part:50 Output non sect1 child elements before the TOC51 Output title outside of the <div> because we want to be able to52 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 77 47 <!-- chapter: 78 Output non sect1 child elements before the TOC 79 Output title before div to be able to fix the title position --> 48 Output non sect1 child elements before the TOC --> 80 49 <!-- The original template is in {docbook-xsl}/xhtml/components.xsl --> 81 50 <xsl:template match="chapter"> 82 51 <xsl:call-template name="id.warning"/> 83 <xsl:call-template name="chapter.titlepage"/>84 <xsl:call-template name="component.separator"/>85 52 <div> 86 53 <xsl:apply-templates select="." mode="class.attribute"/> … … 94 61 </xsl:attribute> 95 62 </xsl:if> 63 <xsl:call-template name="component.separator"/> 64 <xsl:call-template name="chapter.titlepage"/> 96 65 <xsl:apply-templates/> 97 66 <xsl:variable name="toc.params"> … … 110 79 </xsl:template> 111 80 112 <!-- appendix:113 Output non sect1 child elements before the TOC114 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 147 81 <!-- sect1: 148 82 When there is a role attibute, use it as the class value. 149 83 Process the SVN keywords found in sect1info as a footnote. 150 Output title before the containing <div> so that the title151 can be at a fixed position.152 84 Removed unused code. --> 153 85 <!-- The original template is in {docbook-xsl}/xhtml/sections.xsl --> 154 86 <xsl:template match="sect1"> 155 <xsl:call-template name="sect1.titlepage"/>156 87 <div> 157 88 <xsl:choose> … … 166 97 </xsl:choose> 167 98 <xsl:call-template name="language.attribute"/> 99 <xsl:call-template name="sect1.titlepage"/> 168 100 <xsl:apply-templates/> 169 101 <xsl:apply-templates select="sect1info" mode="svn-keys"/> -
stylesheets/lfs-xsl/xhtml/lfs-titles.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-toc.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-xref.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 4 xmlns:xlink="http://www.w3.org/1999/xlink" 4 5 xmlns="http://www.w3.org/1999/xhtml" 6 exclude-result-prefixes="xlink" 5 7 version="1.0"> 6 8 … … 14 16 15 17 <!-- xref: 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.--> 18 Added role variable and use it when calling mode xref-to.--> 19 19 <!-- The original template is in {docbook-xsl}/xhtml/xref.xsl --> 20 20 <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)"/> 21 32 <xsl:param name="linkend.targets" select="key('id',@linkend)"/> 22 <xsl:param name="target" select=" $linkend.targets[1]"/>33 <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/> 23 34 <!-- Added role variable --> 24 35 <xsl:variable name="role" select="@role"/> … … 75 86 <xsl:message> 76 87 <xsl:text>ERROR: xref linking to </xsl:text> 77 <xsl:value-of select="@linkend "/>88 <xsl:value-of select="@linkend|@xlink:href"/> 78 89 <xsl:text> has no generated link text.</xsl:text> 79 90 </xsl:message> -
stylesheets/md5sum.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 <!-- Create a md5 list for packages and pat ches used. -->3 <!-- Create a md5 list for packages and pathces used. --> 4 4 5 5 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 6 6 version="1.0"> 7 7 8 8 <xsl:output method="text"/> … … 32 32 33 33 <!-- Add a newline --> 34 <xsl:text>&#x A;</xsl:text>34 <xsl:text>
</xsl:text> 35 35 36 36 </xsl:if> … … 56 56 57 57 </xsl:stylesheet> 58 -
stylesheets/patcheslist.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 <!DOCTYPE xsl:stylesheet [ 3 3 <!ENTITY % general-entities SYSTEM "../general.ent"> … … 23 23 } 24 24 25 umask 002 25 umask 002 

</xsl:text> 26 26 27 # Create dest.dir if it doesn't exist 28 # Remove old patches 29 # Copy the patches 30 # Ensure correct ownership 31 install -d -m 775 -g lfswww </xsl:text> 27 <!-- Create dest.dir if it don't exist --> 28 <xsl:text>install -d -m 775 -g lfswww </xsl:text> 32 29 <xsl:value-of select="$dest.dir"/> 33 <xsl:text> && 34 cd </xsl:text>30 <xsl:text> &&
</xsl:text> 31 <xsl:text>cd </xsl:text> 35 32 <xsl:value-of select="$dest.dir"/> 36 <xsl:text> && 37 rm -f *.patch copyerrs && 38 39 </xsl:text> 33 <xsl:text> &&

</xsl:text> 34 <!-- Remove old patches --> 35 <xsl:text>rm -f *.patch copyerrs && 

</xsl:text> 40 36 <xsl:apply-templates/> 37 <!-- Ensure correct owneship --> 38 <xsl:text>
chgrp lfswww *.patch &&
</xsl:text> 41 39 <xsl:text> 42 chgrp lfswww *.patch &&43 40 if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then 44 41 mail -s "Missing LFS patches" lfs-book@lists.linuxfromscratch.org < copyerrs 45 fi 42 fi

</xsl:text> 46 43 47 exit 48 </xsl:text> 44 <xsl:text>exit
</xsl:text> 49 45 </xsl:template> 50 46 … … 64 60 </xsl:variable> 65 61 <xsl:text>copy /srv/www/www.linuxfromscratch.org/patches/downloads/</xsl:text> 66 <xsl:value-of select="substring-before($patch.name2, '-0')"/>62 <xsl:value-of select="substring-before($patch.name2, '-0')"/> 67 63 <xsl:text>/</xsl:text> 68 64 <xsl:value-of select="$patch.name"/> 69 <xsl:text> . 70 </xsl:text> 65 <xsl:text> . 
</xsl:text> 71 66 </xsl:if> 72 67 </xsl:template> -
stylesheets/wget-list.xsl
r9e76c64 re49e2ea 1 <?xml version='1.0' encoding=' UTF-8'?>1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 3 <!-- Create a list of upstream URLs for packages and patches to be used … … 5 5 6 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 7 7 version="1.0"> 8 8 9 9 <xsl:output method="text"/> … … 29 29 </xsl:otherwise> 30 30 </xsl:choose> 31 <xsl:text>&#x A;</xsl:text>31 <xsl:text>
</xsl:text> 32 32 </xsl:if> 33 33 </xsl:template> -
tidy.conf
r9e76c64 re49e2ea 2 2 wrap: 78 3 3 tab-size: 8 4 input-encoding: latin1 5 output-encoding: latin1 4 6 write-back: yes 5 7 markup: yes
Note:
See TracChangeset
for help on using the changeset viewer.