Changes in / [73d91ac:6b6a1b9]
- Files:
-
- 1 deleted
- 54 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r73d91ac r6b6a1b9 1 1 lfs-bootscripts-*.tar.xz 2 lfs-*.tar.xz3 2 conditional.ent 4 3 version.ent -
Makefile
r73d91ac r6b6a1b9 58 58 /bin/bash obfuscate.sh $$filename; \ 59 59 sed -e "s@text/html@application/xhtml+xml@g" \ 60 -e "s/\xa9/\©/ " \ 60 61 -i $$filename; \ 61 62 done; … … 209 210 all: book nochunks pdf dump-commands 210 211 211 dist: 212 $(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV) 213 $(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz 214 $(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \ 215 $(shell git ls-tree HEAD . --name-only) version.ent \ 216 -C /tmp LFS-RELEASE \ 217 --transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/," 218 $(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz" 219 220 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version dist 221 212 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version 213 -
appendices/dependencies.xml
r73d91ac r6b6a1b9 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 … … 293 295 <segtitle>&runtime;</segtitle> 294 296 <seglistitem> 295 <seg>Glibc , Zlib, and Zstd</seg>297 <seg>Glibc and Zlib</seg> 296 298 </seglistitem> 297 299 </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>, … … 1495 1497 1496 1498 <!-- Begin Jinja2 dependency info --> 1497 <bridgehead renderas="sect2" id="jinja2-dep">Jinja2</bridgehead> 1498 1499 <segmentedlist id="jinja2-depends"> 1500 <segtitle>&dependencies;</segtitle> 1501 <seglistitem> 1502 <seg>MarkupSafe, Python, Setuptools, and Wheel</seg> 1503 </seglistitem> 1504 </segmentedlist> 1505 1506 <segmentedlist id="jinja2-rundeps"> 1507 <segtitle>&runtime;</segtitle> 1499 <bridgehead revision='systemd' renderas="sect2" id="jinja2-dep">Jinja2</bridgehead> 1500 1501 <segmentedlist id="jinja2-depends" revision='systemd'> 1502 <segtitle>&dependencies;</segtitle> 1508 1503 <seglistitem> 1509 1504 <seg>MarkupSafe and Python</seg> … … 1511 1506 </segmentedlist> 1512 1507 1513 <segmentedlist id="jinja2-testdeps"> 1508 <segmentedlist id="jinja2-rundeps" revision='systemd'> 1509 <segtitle>&runtime;</segtitle> 1510 <seglistitem> 1511 <seg>MarkupSafe and Python</seg> 1512 </seglistitem> 1513 </segmentedlist> 1514 1515 <segmentedlist id="jinja2-testdeps" revision='systemd'> 1514 1516 <segtitle>&testsuites;</segtitle> 1515 1517 <seglistitem> … … 1518 1520 </segmentedlist> 1519 1521 1520 <segmentedlist id="jinja2-before" >1522 <segmentedlist id="jinja2-before" revision='systemd'> 1521 1523 <segtitle>&before;</segtitle> 1522 1524 <seglistitem> … … 1525 1527 </segmentedlist> 1526 1528 1527 <segmentedlist id="jinja2-optdeps" >1529 <segmentedlist id="jinja2-optdeps" revision='systemd'> 1528 1530 <segtitle>&external;</segtitle> 1529 1531 <seglistitem> … … 2135 2137 2136 2138 <!-- Begin MarkupSafe dependency info --> 2137 <bridgehead renderas="sect2" id="markupsafe-dep">MarkupSafe</bridgehead> 2138 2139 <segmentedlist id="markupsafe-depends"> 2140 <segtitle>&dependencies;</segtitle> 2141 <seglistitem> 2142 <seg>Python, Setuptools, and Wheel</seg> 2143 </seglistitem> 2144 </segmentedlist> 2145 2146 <segmentedlist id="markupsafe-rundeps"> 2147 <segtitle>&runtime;</segtitle> 2139 <bridgehead renderas="sect2" id="markupsafe-dep" revision='systemd'>MarkupSafe</bridgehead> 2140 2141 <segmentedlist id="markupsafe-depends" revision='systemd'> 2142 <segtitle>&dependencies;</segtitle> 2148 2143 <seglistitem> 2149 2144 <seg>Python</seg> … … 2151 2146 </segmentedlist> 2152 2147 2153 <segmentedlist id="markupsafe-testdeps"> 2148 <segmentedlist id="markupsafe-rundeps" revision='systemd'> 2149 <segtitle>&runtime;</segtitle> 2150 <seglistitem> 2151 <seg>Python</seg> 2152 </seglistitem> 2153 </segmentedlist> 2154 2155 <segmentedlist id="markupsafe-testdeps" revision='systemd'> 2154 2156 <segtitle>&testsuites;</segtitle> 2155 2157 <seglistitem> … … 2158 2160 </segmentedlist> 2159 2161 2160 <segmentedlist id="markupsafe-before" >2162 <segmentedlist id="markupsafe-before" revision='systemd'> 2161 2163 <segtitle>&before;</segtitle> 2162 2164 <seglistitem> … … 2165 2167 </segmentedlist> 2166 2168 2167 <segmentedlist id="markupsafe-optdeps" >2169 <segmentedlist id="markupsafe-optdeps" revision='systemd'> 2168 2170 <segtitle>&external;</segtitle> 2169 2171 <seglistitem> … … 2178 2180 <segtitle>&dependencies;</segtitle> 2179 2181 <seglistitem> 2180 <seg>Ninja , Python, Setuptools, and Wheel</seg>2182 <seg>Ninja and Python</seg> 2181 2183 </seglistitem> 2182 2184 </segmentedlist> … … 2485 2487 <seglistitem> 2486 2488 <seg> 2487 &bdb;2489 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink> 2488 2490 </seg> 2489 2491 </seglistitem> … … 2654 2656 <seglistitem> 2655 2657 <seg> 2656 &bdb;,2658 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>, 2657 2659 <ulink url="&blfs-book;basicnet/libnsl.html">libnsl</ulink>, 2658 2660 <ulink url="&blfs-book;server/sqlite.html">SQLite</ulink>, and … … 2734 2736 2735 2737 <segmentedlist id="sed-optdeps"> 2736 <segtitle>&external;</segtitle>2737 <seglistitem>2738 <seg>None</seg>2739 </seglistitem>2740 </segmentedlist>2741 2742 <!-- Begin Setuptools dependency info -->2743 <bridgehead renderas="sect2" id="setuptools-dep">Setuptools</bridgehead>2744 2745 <segmentedlist id="setuptools-depends">2746 <segtitle>&dependencies;</segtitle>2747 <seglistitem>2748 <seg>Python and Wheel</seg>2749 </seglistitem>2750 </segmentedlist>2751 2752 <segmentedlist id="setuptools-rundeps">2753 <segtitle>&runtime;</segtitle>2754 <seglistitem>2755 <seg>Python</seg>2756 </seglistitem>2757 </segmentedlist>2758 2759 <segmentedlist id="setuptools-testdeps">2760 <segtitle>&testsuites;</segtitle>2761 <seglistitem>2762 <seg>No test suite available</seg>2763 </seglistitem>2764 </segmentedlist>2765 2766 <segmentedlist id="setuptools-before">2767 <segtitle>&before;</segtitle>2768 <seglistitem>2769 <seg>Jinja2, MarkupSafe, and Meson</seg>2770 </seglistitem>2771 </segmentedlist>2772 2773 <segmentedlist id="setuptools-optdeps">2774 2738 <segtitle>&external;</segtitle> 2775 2739 <seglistitem> … … 3253 3217 3254 3218 <!-- Begin Wheel dependency info --> 3255 <bridgehead renderas="sect2" id="wheel-dep"> Wheel</bridgehead>3219 <bridgehead renderas="sect2" id="wheel-dep">wheel</bridgehead> 3256 3220 3257 3221 <segmentedlist id="wheel-depends"> … … 3280 3244 <seglistitem> 3281 3245 <seg> 3282 Jinja2, MarkupSafe, Meson, and Setuptools 3246 <phrase revision='sysv'>None</phrase> 3247 <phrase revision='systemd'>Jinja2</phrase> 3283 3248 </seg> 3284 3249 </seglistitem> -
bootscripts/ChangeLog
r73d91ac r6b6a1b9 1 2023-10-04 Pierre Labastie <pierre.labastie@neuf.fr>2 * After the changes done on 2022-03-24, several "halt stop" should3 have been changed to "halt start". Done now. Fortunately, those4 occur only when something wrong happens with disks or devices.5 6 1 2023-07-28 Xi Ruoyao <xry111@xry111.site> 7 2 * In mountvirtfs, mount /sys/fs/cgroup for udev from systemd-254. … … 30 25 - S scripts only started if not already marked S in the previous runlevel 31 26 - K scripts only started if not already marked K in the previous runlevel 32 - remove the convention of running S scripts with "stop" in rl 0/627 - remove the convention of running S scripts ith "stop" in rl 0/6 33 28 2021-06-08 Bruce Dubbs <bdubbs@linuxfromscratch.org> 34 29 * When shutting down the network, ignore invalid interfaces -
bootscripts/lfs/init.d/checkfs
r73d91ac r6b6a1b9 64 64 log_info_msg "Press Enter to continue..." 65 65 wait_for_user 66 /etc/rc.d/init.d/halt st art66 /etc/rc.d/init.d/halt stop 67 67 else 68 68 log_success_msg2 … … 128 128 log_info_msg "Press Enter to continue..." 129 129 wait_for_user 130 /etc/rc.d/init.d/halt st art130 /etc/rc.d/init.d/halt stop 131 131 fi 132 132 -
bootscripts/lfs/init.d/udev
r73d91ac r6b6a1b9 42 42 log_info_msg "Press Enter to continue..." 43 43 wait_for_user 44 /etc/rc.d/init.d/halt st art44 /etc/rc.d/init.d/halt stop 45 45 fi 46 46 -
chapter01/changelog.xml
r73d91ac r6b6a1b9 42 42 43 43 <listitem> 44 <para>2023-12-04</para>45 <itemizedlist>46 <listitem>47 <para>[thomas] - Modify commands for install Python docs to avoid48 too restrictive permissions on the files and dirs.</para>49 </listitem>50 </itemizedlist>51 </listitem>52 53 <listitem revision='sysv'>54 <para>2023-12-01</para>55 <itemizedlist>56 <listitem>57 <para>[xry111] - Restore NIC naming based on physical system58 characteristics. Fixes59 <ulink url='&lfs-ticket-root;5386'>#5386</ulink>.</para>60 </listitem>61 </itemizedlist>62 </listitem>63 64 <listitem>65 <para>2023-11-30</para>66 <itemizedlist>67 <listitem>68 <para>[bdubbs] - Update to vim-9.0.2136. Addresses69 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>70 </listitem>71 <listitem>72 <para>[bdubbs] - Update to iana-etc-20231117. Addresses73 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>74 </listitem>75 <listitem>76 <para>[bdubbs] - Update to bc-6.7.3. Fixes77 <ulink url='&lfs-ticket-root;5385'>#5385</ulink>.</para>78 </listitem>79 <listitem>80 <para>[bdubbs] - Update to wheel-0.42.0 (Python Module). Fixes81 <ulink url='&lfs-ticket-root;5384'>#5384</ulink>.</para>82 </listitem>83 <listitem>84 <para>[bdubbs] - Update to perl-5.38.2. Fixes85 <ulink url='&lfs-ticket-root;5383'>#5383</ulink>.</para>86 </listitem>87 <listitem>88 <para>[bdubbs] - Update to pkgconf-2.1.0. Fixes89 <ulink url='&lfs-ticket-root;5382'>#5382</ulink>.</para>90 </listitem>91 <listitem>92 <para>[bdubbs] - Update to readline patches 002 through 007. Fixes93 <ulink url='&lfs-ticket-root;5381'>#5381</ulink>.</para>94 </listitem>95 <listitem>96 <para>[bdubbs] - Update to openssl-3.2.0. Fixes97 <ulink url='&lfs-ticket-root;5380'>#5380</ulink>.</para>98 </listitem>99 <listitem>100 <para>[bdubbs] - Update to setuptools-69.0.2. Fixes101 <ulink url='&lfs-ticket-root;5379'>#5379</ulink>.</para>102 </listitem>103 <listitem>104 <para>[bdubbs] - Update to linux-6.6.3. Fixes105 <ulink url='&lfs-ticket-root;5378'>#5378</ulink>.</para>106 </listitem>107 <listitem>108 <para>[bdubbs] - Update to meson-1.3.0. Fixes109 <ulink url='&lfs-ticket-root;5377'>#5377</ulink>.</para>110 </listitem>111 <listitem>112 <para>[bdubbs] - Update to gettext-0.22.4. Fixes113 <ulink url='&lfs-ticket-root;5376'>#5376</ulink>.</para>114 </listitem>115 </itemizedlist>116 </listitem>117 118 <listitem>119 <para>2023-11-13</para>120 <itemizedlist>121 <listitem>122 <para>[xry111] - Update to elfutils-0.190. Fixes123 <ulink url='&lfs-ticket-root;5373'>#5373</ulink>.</para>124 </listitem>125 <listitem>126 <para>[xry111] - Update to vim-9.0.2103. Addresses127 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>128 </listitem>129 <listitem>130 <para>[xry111] - Update to linux-6.6.1. Fixes131 <ulink url='&lfs-ticket-root;5369'>#5369</ulink>.</para>132 </listitem>133 <listitem>134 <para>[xry111] - Update to xz-5.4.5. Fixes135 <ulink url='&lfs-ticket-root;5371'>#5371</ulink>.</para>136 </listitem>137 <listitem>138 <para>[xry111] - Update to iana-etc-20231107. Addresses139 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>140 </listitem>141 <listitem>142 <para>[xry111] - Update to gawk-5.3.0. Fixes143 <ulink url='&lfs-ticket-root;5372'>#5372</ulink>.</para>144 </listitem>145 <listitem>146 <para>[xry111] - Update to bash-5.2.21. Fixes147 <ulink url='&lfs-ticket-root;5375'>#5375</ulink>.</para>148 </listitem>149 <listitem>150 <para>[xry111] - Update to iproute2-6.6.0. Fixes151 <ulink url='&lfs-ticket-root;5374'>#5374</ulink>.</para>152 </listitem>153 </itemizedlist>154 </listitem>155 156 <listitem>157 <para>2023-11-01</para>158 <itemizedlist>159 <listitem>160 <para>[bdubbs] - Update to iana-etc-20231019. Addresses161 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>162 </listitem>163 <listitem>164 <para>[bdubbs] - Update to wheel-0.41.3. Fixes165 <ulink url='&lfs-ticket-root;5370'>#5370</ulink>.</para>166 </listitem>167 <listitem>168 <para>[bdubbs] - Update to shadow-4.14.2. Fixes169 <ulink url='&lfs-ticket-root;5368'>#5368</ulink>.</para>170 </listitem>171 <listitem>172 <para>[bdubbs] - Update to openssl-3.1.4. Fixes173 <ulink url='&lfs-ticket-root;5367'>#5367</ulink>.</para>174 </listitem>175 <listitem>176 <para>[bdubbs] - Update to texinfo-7.1. Fixes177 <ulink url='&lfs-ticket-root;5364'>#5364</ulink>.</para>178 </listitem>179 <listitem>180 <para>[bdubbs] - Update to meson-1.2.3. Fixes181 <ulink url='&lfs-ticket-root;5366'>#5366</ulink>.</para>182 </listitem>183 <listitem>184 <para>[bdubbs] - Update to bc-6.7.2. Fixes185 <ulink url='&lfs-ticket-root;5363'>#5363</ulink>.</para>186 </listitem>187 <listitem>188 <para>[bdubbs] - Update to linux-6.5.9. Fixes189 <ulink url='&lfs-ticket-root;5365'>#5365</ulink>.</para>190 </listitem>191 <listitem>192 <para>[bdubbs] - Update to Python-3.12.0. Fixes193 <ulink url='&lfs-ticket-root;5357'>#5357</ulink>.</para>194 </listitem>195 <listitem>196 <para>[bdubbs] - Add setuptools-68.2.2. Fixes197 <ulink url='&lfs-ticket-root;5358'>#5358</ulink>.</para>198 </listitem>199 </itemizedlist>200 </listitem>201 202 <listitem>203 <para>2023-10-15</para>204 <itemizedlist>205 <listitem>206 <para>[bdubbs] - Update to linux-6.5.7. Fixes207 <ulink url='&lfs-ticket-root;5362'>#5362</ulink>.</para>208 </listitem>209 <listitem>210 <para>[bdubbs] - Update to shadow-4.14.1. Fixes211 <ulink url='&lfs-ticket-root;5361'>#5361</ulink>.</para>212 </listitem>213 <listitem>214 <para>[bdubbs] - Update to gettext-0.22.3. Fixes215 <ulink url='&lfs-ticket-root;5359'>#5359</ulink>.</para>216 </listitem>217 </itemizedlist>218 </listitem>219 220 <listitem>221 <para>2023-10-03</para>222 <itemizedlist>223 <listitem>224 <para>[xry111] - Update Glibc upstream fixes patch to fix225 CVE-2023-4911.</para>226 </listitem>227 </itemizedlist>228 </listitem>229 230 <listitem>231 <para>2023-10-01</para>232 <itemizedlist>233 <listitem>234 <para>[bdubbs] - Disable building nscd in glibc. Fixes235 <ulink url='&lfs-ticket-root;5349'>#5349</ulink>.</para>236 </listitem>237 <listitem>238 <para>[bdubbs] - Update to iana-etc-20230929. Addresses239 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>240 </listitem>241 <listitem>242 <para>[bdubbs] - Update to vim-9.0.1968. Addresses243 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>244 </listitem>245 <listitem>246 <para>[bdubbs] - Update to openssl-3.1.3. Fixes247 <ulink url='&lfs-ticket-root;5350'>#5350</ulink>.</para>248 </listitem>249 <listitem>250 <para>[bdubbs] - Update to meson-1.2.2. Fixes251 <ulink url='&lfs-ticket-root;5356'>#5356</ulink>.</para>252 </listitem>253 <listitem>254 <para>[bdubbs] - Update to man-db-2.12.0. Fixes255 <ulink url='&lfs-ticket-root;5354'>#5354</ulink>.</para>256 </listitem>257 <listitem>258 <para>[bdubbs] - Update to linux-6.5.5. Fixes259 <ulink url='&lfs-ticket-root;5352'>#5352</ulink>.</para>260 </listitem>261 <listitem>262 <para>[bdubbs] - Update to kmod-31. Fixes263 <ulink url='&lfs-ticket-root;5355'>#5355</ulink>.</para>264 </listitem>265 <listitem>266 <para>[bdubbs] - Update to kbd-2.6.3. Fixes267 <ulink url='&lfs-ticket-root;5351'>#5361</ulink>.</para>268 </listitem>269 <listitem>270 <para>[bdubbs] - Update to gettext-0.22.2. Fixes271 <ulink url='&lfs-ticket-root;5348'>#5348</ulink>.</para>272 </listitem>273 <listitem>274 <para>[bdubbs] - Update to bc-6.7.0. Fixes275 <ulink url='&lfs-ticket-root;5353'>#5353</ulink>.</para>276 </listitem>277 </itemizedlist>278 </listitem>279 280 <listitem>281 <para>2023-09-24</para>282 <itemizedlist>283 <listitem>284 <para>[xry111] - Update Glibc upstream fixes patch to plug a285 memory leak introduced by the security fix.</para>286 </listitem>287 </itemizedlist>288 </listitem>289 290 <listitem>291 <para>2023-09-17</para>292 <itemizedlist>293 <listitem>294 <para>[xry111] - Update to linux-6.5.3. Fixes295 <ulink url='&lfs-ticket-root;5343'>#5343</ulink>.</para>296 </listitem>297 <listitem>298 <para>[xry111] - Update to iana-etc-20230912. Addresses299 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>300 </listitem>301 <listitem>302 <para>[xry111] - Update to iproute2-6.5.0. Fixes303 <ulink url='&lfs-ticket-root;5342'>#5342</ulink>.</para>304 </listitem>305 </itemizedlist>306 </listitem>307 308 <listitem>309 <para>2023-09-13</para>310 <itemizedlist>311 <listitem>312 <para>[xry111] - Fix CVE-2023-4806 for Glibc-2.38. Fixes313 <ulink url='&lfs-ticket-root;5347'>#5347</ulink>.</para>314 </listitem>315 </itemizedlist>316 </listitem>317 318 <listitem>319 <para>2023-09-12</para>320 <itemizedlist>321 <listitem>322 <para>[xry111] - Fix CVE-2023-4527 for Glibc-2.38. Fixes323 <ulink url='&lfs-ticket-root;5346'>#5346</ulink>.</para>324 </listitem>325 </itemizedlist>326 </listitem>327 328 <listitem>329 <para>2023-09-07</para>330 <itemizedlist>331 <listitem>332 <para>[xry111] - Fix an issue in pkgconf-2.0.3 causing333 BLFS packages fail to build. Fixes334 <ulink url='&lfs-ticket-root;5341'>#5341</ulink>.</para>335 </listitem>336 </itemizedlist>337 </listitem>338 339 <listitem>340 44 <para>2023-09-05</para> 341 45 <itemizedlist> 342 46 <listitem> 343 47 <para>[xry111] - Move pkgconf before binutils for binutils 344 building system to detect zstd properly. Fixes48 building system to detect zstd properly. 345 49 <ulink url='&lfs-ticket-root;5340'>#5340</ulink>.</para> 346 50 </listitem> -
chapter01/whatsnew.xml
r73d91ac r6b6a1b9 39 39 <para>Automake-&automake-version;</para> 40 40 </listitem>--> 41 < listitem>42 <para>Bash -&bash-version;</para>43 </listitem> 44 < listitem>45 <para>Bc -&bc-version;</para>46 </listitem> 41 <!--<listitem> 42 <para>Bash &bash-version;</para> 43 </listitem>--> 44 <!--<listitem> 45 <para>Bc &bc-version;</para> 46 </listitem>--> 47 47 <!--<listitem> 48 48 <para>Binutils-&binutils-version;</para> … … 63 63 <para>DejaGNU-&dejagnu-version;</para> 64 64 </listitem>--> 65 < listitem revision="systemd">65 <!--<listitem revision="systemd"> 66 66 <para>D-Bus-&dbus-version;</para> 67 </listitem> 67 </listitem>--> 68 68 <!--<listitem> 69 69 <para>Diffutils-&diffutils-version;</para> … … 72 72 <para>E2fsprogs-&e2fsprogs-version;</para> 73 73 </listitem>--> 74 <!--<listitem revision="sysv"> 75 <para>Udev-&systemd-version; (from systemd)</para> 76 </listitem>--> 74 77 <!--<listitem> 75 78 <para>Expat-&expat-version;</para> … … 90 93 <para>Flit-core-&flit-core-version;</para> 91 94 </listitem>--> 92 < listitem>95 <!--<listitem> 93 96 <para>Gawk-&gawk-version;</para> 94 </listitem> 97 </listitem>--> 95 98 <!--<listitem> 96 99 <para>GCC-&gcc-version;</para> … … 99 102 <para>GDBM-&gdbm-version;</para> 100 103 </listitem>--> 101 < listitem>104 <!--<listitem> 102 105 <para>Gettext-&gettext-version;</para> 103 </listitem> 106 </listitem>--> 104 107 <!--<listitem> 105 108 <para>Glibc-&glibc-version;</para> … … 123 126 <para>Gzip-&gzip-version;</para> 124 127 </listitem> 125 < listitem>126 <para>I ana-Etc-&iana-etc-version;</para>127 </listitem> 128 <!--<listitem> 129 <para>IANA-Etc-&iana-etc-version;</para> 130 </listitem>--> 128 131 <!--<listitem> 129 132 <para>Inetutils-&inetutils-version;</para> … … 132 135 <para>Intltool-&intltool-version;</para> 133 136 </listitem>--> 134 < listitem>137 <!--<listitem> 135 138 <para>IPRoute2-&iproute2-version;</para> 136 </listitem> 139 </listitem>--> 137 140 <!--<listitem revision="systemd"> 138 141 <para>Jinja2-&jinja2-version;</para> … … 141 144 <para>Kbd-&kbd-version;</para> 142 145 </listitem> 143 < listitem>146 <!--<listitem> 144 147 <para>Kmod-&kmod-version;</para> 145 </listitem> 148 </listitem>--> 146 149 <!--<listitem> 147 150 <para>Less-&less-version;</para> … … 153 156 <para>Libcap-&libcap-version;</para> 154 157 </listitem>--> 155 < listitem>156 <para>Libelf from Elfutils-&elfutils-version;</para>157 </listitem> 158 <!--<listitem> 159 <para>Libelf-&elfutils-version; (from elfutils)</para> 160 </listitem>--> 158 161 <!--<listitem> 159 162 <para>Libffi-&libffi-version;</para> … … 165 168 <para>Libtool-&libtool-version;</para> 166 169 </listitem>--> 167 < listitem>170 <!--<listitem> 168 171 <para>Linux-&linux-version;</para> 169 </listitem> 172 </listitem>--> 170 173 <!--<listitem> 171 174 <para>M4-&m4-version;</para> … … 174 177 <para>Make-&make-version;</para> 175 178 </listitem>--> 176 < listitem>179 <!--<listitem> 177 180 <para>Man-DB-&man-db-version;</para> 178 </listitem> 181 </listitem>--> 179 182 <!--<listitem> 180 183 <para>Man-pages-&man-pages-version;</para> … … 183 186 <para>MarkupSafe-&markupsafe-version;</para> 184 187 </listitem>--> 185 < listitem>188 <!--<listitem> 186 189 <para>Meson-&meson-version;</para> 187 </listitem> 190 </listitem>--> 188 191 <!--<listitem> 189 192 <para>MPC-&mpc-version;</para> … … 198 201 <para>Ninja-&ninja-version;</para> 199 202 </listitem>--> 200 < listitem>201 <para>Open SSL-&openssl-version;</para>202 </listitem> 203 <!--<listitem> 204 <para>Openssl-&openssl-version;</para> 205 </listitem>--> 203 206 <!--<listitem> 204 207 <para>Patch-&patch-version;</para> 205 208 </listitem>--> 206 209 <listitem> 210 <para>Pkgconf-&pkgconf-version;</para> 211 </listitem> 212 <!--<listitem> 207 213 <para>Perl-&perl-version;</para> 208 </listitem> 209 <listitem> 210 <para>Pkgconf-&pkgconf-version;</para> 211 </listitem> 214 </listitem>--> 212 215 <listitem> 213 216 <para>Procps-ng-&procps-ng-version;</para> … … 224 227 <!--<listitem> 225 228 <para>Sed-&sed-version;</para> 226 </listitem>-->227 <!--<listitem> After version 12.1 release - see Added228 <para>Setuptools-&setuptools-version;</para>229 229 </listitem>--> 230 230 <listitem> … … 246 246 <para>Tcl-&tcl-version;</para> 247 247 </listitem>--> 248 < listitem>248 <!--<listitem> 249 249 <para>Texinfo-&texinfo-version;</para> 250 </listitem> 250 </listitem>--> 251 251 <!--<listitem> 252 252 <para>Tzdata-&tzdata-version;</para> 253 253 </listitem>--> 254 <!--<listitem revision="sysv"> 255 <para>Udev from Systemd-&systemd-version;</para> 256 </listitem>--> 257 <listitem> 258 <para>Util-linux-&util-linux-version;</para> 254 <listitem> 255 <para>Util-Linux-&util-linux-version;</para> 259 256 </listitem> 260 257 <listitem> … … 262 259 </listitem> 263 260 <listitem> 264 <para> Wheel-&wheel-version;</para>265 </listitem> 266 <!--<listitem> 267 <para>XML ::Parser-&xml-parser-version;</para>268 </listitem>--> 269 < listitem>270 <para>X z-&xz-version;</para>271 </listitem> 261 <para>wheel-&wheel-version;</para> 262 </listitem> 263 <!--<listitem> 264 <para>XML-Parser-&xml-parser-version;</para> 265 </listitem>--> 266 <!--<listitem> 267 <para>XZ-Utils-&xz-version;</para> 268 </listitem>--> 272 269 <listitem> 273 270 <para>Zlib-&zlib-version;</para> … … 291 288 <listitem><para></para></listitem> <!-- satisfy build --> 292 289 293 <listitem> 294 <para>setuptools-&setuptools-version;</para> 295 </listitem> 296 297 <listitem> 298 <para>&glibc-upstream-fixes-patch;</para> 299 </listitem> 300 301 <listitem> 290 <!--<listitem> 291 <para>&grub-upstream-fixes-patch;</para> 292 </listitem>--> 293 294 <!--<listitem> 302 295 <para>&readline-fixes-patch;</para> 303 </listitem> 304 296 </listitem>--> 297 298 <!--<listitem revision="systemd"> 299 <para>&systemd-upstream-patch;</para> 300 </listitem>--> 305 301 </itemizedlist> 306 302 … … 308 304 <title>Removed:</title> 309 305 <listitem><para></para></listitem> <!-- satisfy build --> 310 311 <listitem> 312 <para>glibc-2.38-memalign_fix-1.patch</para> 313 </listitem> 314 315 <listitem> 316 <para>readline-8.2-upstream_fix-1.patch</para> 317 </listitem> 318 306 <!-- 307 <listitem revision='sysv'> 308 <para>eudev-3.2.12</para> 309 </listitem> 310 311 <listitem> 312 <para>Pkg-config-0.29.2</para> 313 </listitem> 314 315 <listitem revision='systemd'> 316 <para>systemd-252-security_fix-1.patch</para> 317 </listitem> 318 --> 319 319 </itemizedlist> 320 320 -
chapter02/hostreqs.xml
r73d91ac r6b6a1b9 55 55 </listitem> 56 56 57 <!-- In Coreutils-8.1 the nproc program is added. --> 58 <listitem> 59 <para><emphasis role="strong">Coreutils-8.1</emphasis></para> 57 <listitem> 58 <para><emphasis role="strong">Coreutils-7.0</emphasis></para> 60 59 </listitem> 61 60 … … 74 73 75 74 <listitem> 76 <!-- Pass 1 GCC FTBFS with GCC-5.1 because of 77 https://gcc.gnu.org/PR65801. --> 78 <para><emphasis role="strong">GCC-5.2</emphasis> including the C++ 75 <para><emphasis role="strong">GCC-5.1</emphasis> including the C++ 79 76 compiler, <command>g++</command> (Versions greater than &gcc-version; are 80 77 not recommended as they have not been tested). C and C++ standard … … 220 217 } 221 218 222 # Coreutils first because --version-sort needs Coreutils >= 7.0223 ver_check Coreutils sort 8.1 || bail "Coreutils too old, stop"219 # Coreutils first because-sort needs Coreutils >= 7.0 220 ver_check Coreutils sort 7.0 || bail "--version-sort unsupported" 224 221 ver_check Bash bash 3.2 225 222 ver_check Binutils ld 2.13.1 … … 228 225 ver_check Findutils find 4.2.31 229 226 ver_check Gawk gawk 4.0.1 230 ver_check GCC gcc 5. 2231 ver_check "GCC (C++)" g++ 5. 2227 ver_check GCC gcc 5.1 228 ver_check "GCC (C++)" g++ 5.1 232 229 ver_check Grep grep 2.5.1a 233 230 ver_check Gzip gzip 1.3.12 … … 261 258 then echo "OK: g++ works"; 262 259 else echo "ERROR: g++ does NOT work"; fi 263 rm -f a.out 264 265 if [ "$(nproc)" = "" ]; then 266 echo "ERROR: nproc is not available or it produces empty output" 267 else 268 echo "OK: nproc reports $(nproc) logical cores are available" 269 fi</literal> 260 rm -f a.out</literal> 270 261 EOF 271 262 -
chapter03/packages.xml
r73d91ac r6b6a1b9 243 243 <para>Download: <ulink url="&gcc-url;"/></para> 244 244 <para>MD5 sum: <literal>&gcc-md5;</literal></para> 245 <para>SHA256 sum: <literal>&gcc-sha256;</literal></para> 245 246 </listitem> 246 247 </varlistentry> … … 356 357 <para>Download: <ulink url="&inetutils-url;"/></para> 357 358 <para>MD5 sum: <literal>&inetutils-md5;</literal></para> 359 <para>SHA256 sum: <literal>&inetutils-sha256;</literal></para> 358 360 </listitem> 359 361 </varlistentry> … … 666 668 <para>Download: <ulink url="&sed-url;"/></para> 667 669 <para>MD5 sum: <literal>&sed-md5;</literal></para> 668 </listitem>669 </varlistentry>670 671 <varlistentry>672 <term>Setuptools (&setuptools-version;) - <token>&setuptools-size;</token>:</term>673 <listitem>674 <para>Home page: <ulink url="&setuptools-home;"/></para>675 <para>Download: <ulink url="&setuptools-url;"/></para>676 <para>MD5 sum: <literal>&setuptools-md5;</literal></para>677 670 </listitem> 678 671 </varlistentry> -
chapter03/patches.xml
r73d91ac r6b6a1b9 79 79 --> 80 80 <varlistentry> 81 <term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term>81 <term>Glibc Memalign Patch - <token>&glibc-memalign-patch-size;</token>:</term> 82 82 <listitem> 83 <para>Download: <ulink url="&patches-root;&glibc- upstream-fixes-patch;"/></para>84 <para>MD5 sum: <literal>&glibc- upstream-fixes-patch-md5;</literal></para>83 <para>Download: <ulink url="&patches-root;&glibc-memalign-patch;"/></para> 84 <para>MD5 sum: <literal>&glibc-memalign-patch-md5;</literal></para> 85 85 </listitem> 86 86 </varlistentry> -
chapter04/aboutsbus.xml
r73d91ac r6b6a1b9 38 38 39 39 <note> 40 <para>For many modern systems with multiple processors (or cores) the 41 compilation time for a package can be reduced by performing a "parallel 42 make" by either setting an environment variable or telling the 43 <command>make</command> program how many processors are available. For 44 instance, an Intel i5-6500 CPU can support four simultaneous processes with:</para> 45 46 <screen role="nodump"><userinput>export MAKEFLAGS='-j4'</userinput></screen> 47 48 <para>or by building with:</para> 49 50 <screen role="nodump"><userinput>make -j4</userinput></screen> 51 40 52 <para>When multiple processors are used in this way, the SBU units in the 41 53 book will vary even more than they normally would. In some cases, the make -
chapter04/settingenviron.xml
r73d91ac r6b6a1b9 196 196 </important> 197 197 198 <para>199 For many modern systems with multiple processors (or cores) the200 compilation time for a package can be reduced by performing a "parallel201 make" by telling the make program how many processors are available via202 a command line option or an environment variable. For instance, an Intel203 Core i9-13900K processor has 8 P (performance) cores and204 16 E (efficiency) cores, and a P core can simultaneously run two threads205 so each P core are modeled as two logical cores by the Linux kernel.206 As the result there are 32 logical cores in total. One obvious way to207 use all these logical cores is allowing <command>make</command> to spawn208 up to 32 build jobs. This can be done by passing the209 <parameter>-j32</parameter> option to <command>make</command>:210 </para>211 212 <screen role='nodump'><userinput>make -j32</userinput></screen>213 214 <para>215 Or set the <envar>MAKEFLAGS</envar> environment variable and its216 content will be automatically used by <command>make</command> as217 command line options:218 </para>219 220 <screen role='nodump'><userinput>export MAKEFLAGS=-j32</userinput></screen>221 222 <important>223 <para>224 Never pass a <parameter>-j</parameter> option without a number to225 <command>make</command> or set such an option in226 <envar>MAKEFLAGS</envar>. Doing so will allow <command>make</command>227 to spawn infinite build jobs and cause system stability problems.228 </para>229 </important>230 231 <para>232 To use all logical cores available for building packages in233 <xref linkend='chapter-cross-tools'/> and234 <xref linkend='chapter-temporary-tools'/>, set <envar>MAKEFLAGS</envar>235 now in <filename>.bashrc</filename>:236 </para>237 238 <screen><userinput>cat >> ~/.bashrc << "EOF"239 <literal>export MAKEFLAGS=-j<replaceable>$(nproc)</replaceable></literal>240 EOF</userinput></screen>241 242 <para>243 Replace <replaceable>$(nproc)</replaceable> with the number of logical244 cores you want to use if you don't want to use all the logical cores.245 </para>246 247 198 <para>Finally, to ensure the environment is fully prepared for building the 248 199 temporary tools, force the <command>bash</command> shell to read -
chapter05/glibc.xml
r73d91ac r6b6a1b9 71 71 --enable-kernel=&min-kernel; \ 72 72 --with-headers=$LFS/usr/include \ 73 --disable-nscd \74 73 libc_cv_slibdir=/usr/lib</userinput></screen> 75 74 … … 110 109 <para>This ensures that the library is installed in /usr/lib instead 111 110 of the default /lib64 on 64-bit machines.</para> 112 </listitem>113 </varlistentry>114 115 <varlistentry>116 <term><parameter>--disable-nscd</parameter></term>117 <listitem>118 <para>Do not build the name service cache daemon which is no119 longer used.</para>120 111 </listitem> 121 112 </varlistentry> -
chapter05/libstdc++.xml
r73d91ac r6b6a1b9 125 125 cross-compilation:</para> 126 126 127 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++ {,exp,fs},supc++}.la</userinput></screen>127 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la</userinput></screen> 128 128 129 129 </sect2> -
chapter06/binutils-pass2.xml
r73d91ac r6b6a1b9 44 44 <title>Installation of Binutils</title> 45 45 46 <!-- Don't remove this until Binutils upstream resolves this issue. 47 We can test by building Binutils on a complete system with 48 zlib (libz.so) installed, passing enable-shared and 49 without-system-zlib. If the resulted libctf.so still links against 50 libz.so (check with readelf -d) despite we are saying 51 without-system-zlib, then the issue is still unresolved. --> 52 <para>Binutils building system relies on an shipped libtool copy to link against 53 internal static libraries, but the libiberty and zlib copies shipped 54 in the package do not use libtool. This inconsistency may cause 55 produced binaries mistakenly linked against libraries from the host 56 distro. Work around this issue:</para> 46 <!-- Don't remove this until Binutils upstream updates the libtool 47 copy. On some host distros the issue doesn't show up. --> 48 <para>Binutils ships an outdated copy of libtool in the tarball. It lacks 49 sysroot support, so the produced binaries will be mistakenly linked to 50 libraries from the host distro. Work around this issue:</para> 57 51 58 52 <screen><userinput remap="pre">sed '6009s/$add_dir//' -i ltmain.sh</userinput></screen> -
chapter06/coreutils.xml
r73d91ac r6b6a1b9 44 44 <title>Installation of Coreutils</title> 45 45 46 <!-- 47 <screen><userinput remap="configure">export gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen> 48 --> 46 49 <para>Prepare Coreutils for compilation:</para> 47 50 … … 50 53 --build=$(build-aux/config.guess) \ 51 54 --enable-install-program=hostname \ 52 --enable-no-install-program=kill,uptime</userinput></screen> 55 --enable-no-install-program=kill,uptime \ 56 gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen> 53 57 54 58 <variablelist> … … 64 68 </varlistentry> 65 69 70 <varlistentry> 71 <term><envar>gl_cv_macro_MB_CUR_MAX_good=y</envar></term> 72 <listitem> 73 <para>This is needed to work around an issue in the gnulib copy 74 shipped by the package which would break cross compilation.</para> 75 </listitem> 76 </varlistentry> 66 77 </variablelist> 67 78 -
chapter06/ncurses.xml
r73d91ac r6b6a1b9 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> -
chapter07/chroot.xml
r73d91ac r6b6a1b9 24 24 PS1='(lfs chroot) \u:\w\$ ' \ 25 25 PATH=/usr/bin:/usr/sbin \ 26 MAKEFLAGS="-j<replaceable>$(nproc)</replaceable>" \27 TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \28 26 /bin/bash --login</userinput></screen> 29 30 <para>31 If you don't want to use all available logical cores, replace32 <replaceable>$(nproc)</replaceable> with the number of logical cores you33 want to use for building packages in this chapter and the following34 chapters. The test suites of some packages (notably Autoconf, Libtool,35 and Tar) in &ch-final; are not affected by <envar>MAKEFLAGS</envar>, they36 use a <envar>TESTSUITEFLAGS</envar> environment variable instead. We37 set that here as well for running these test suites with multiple cores.38 </para>39 27 40 28 <para>The <parameter>-i</parameter> option given to the <command>env</command> … … 60 48 used.</para> 61 49 62 <para> Also note that the <command>bash</command> prompt will say50 <para>Note that the <command>bash</command> prompt will say 63 51 <computeroutput>I have no name!</computeroutput> This is normal because the 64 52 <filename>/etc/passwd</filename> file has not been created yet.</para> -
chapter07/createfiles.xml
r73d91ac r6b6a1b9 216 216 the bad login attempts.</para> 217 217 218 <!-- systemd no longer creates this --> 219 <note revision='sysv'><para>The <filename>/run/utmp</filename> file 220 records the users that are currently logged in. This file is created 221 dynamically in the boot scripts.</para></note> 222 223 <!-- AFAIK they are not vital for system function, users requiring such 224 info should rely on systemd-logind or elogind or some custom PAM 225 module. Maybe we can stop to create them at all. --> 226 <note> 227 <para> 228 The <phrase revision='sysv'><filename>utmp</filename>, 229 </phrase><filename>wtmp</filename>, <filename>btmp</filename>, and 230 <filename>lastlog</filename> files use 32-bit integers for timestamps 231 and they'll be fundamentally broken after year 2038. Many packages 232 have stopped using them and other packages are going to stop using 233 them. It is probably best to consider them deprecated. 234 </para> 235 </note> 218 <note><para>The <filename>/run/utmp</filename> file records the users that 219 are currently logged in. This file is created dynamically in the boot 220 scripts.</para></note> 236 221 237 222 </sect1> -
chapter07/kernfs.xml
r73d91ac r6b6a1b9 108 108 109 109 <screen><userinput>if [ -h $LFS/dev/shm ]; then 110 (cd $LFS/dev; mkdir $(readlink shm))110 mkdir -pv $LFS/$(readlink $LFS/dev/shm) 111 111 else 112 mount - vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm112 mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm 113 113 fi</userinput></screen> 114 114 -
chapter07/perl.xml
r73d91ac r6b6a1b9 58 58 59 59 <variablelist> 60 <title>The meaning of the Configure options:</title> 61 60 <title>The meaning of the new Configure options:</title> 62 61 <varlistentry> 63 62 <term><parameter>-des</parameter></term> … … 66 65 all items; -e ensures completion of all tasks; -s silences 67 66 non-essential output.</para> 68 </listitem>69 </varlistentry>70 71 <varlistentry>72 <term><parameter>-Dvendorprefix=/usr</parameter></term>73 <listitem>74 <para>This ensures <command>perl</command> knows how to75 tell packages where they should install their Perl modules.</para>76 </listitem>77 </varlistentry>78 79 <varlistentry>80 <term><parameter>-Duseshrplib</parameter></term>81 <listitem>82 <para>Build <systemitem class='library'>libperl</systemitem>83 needed by some Perl modules as a shared library, instead of84 a static library.</para>85 </listitem>86 </varlistentry>87 88 <varlistentry>89 <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term>90 <listitem>91 <para>These settings define where Perl looks for installed92 modules. The LFS editors chose to put them in a directory structure93 based on the MAJOR.MINOR version of Perl (&perl-version-min;) which94 allows upgrading Perl to newer patch levels (the patch level is95 the last dot separated part in the full version string like96 &perl-version;) without reinstalling all of the modules.</para>97 67 </listitem> 98 68 </varlistentry> -
chapter08/automake.xml
r73d91ac r6b6a1b9 54 54 <screen><userinput remap="make">make</userinput></screen> 55 55 56 <para> Using four parallel jobsspeeds up the tests, even on systems with57 less logical cores, due to internal delays in individual tests. To test56 <para> Using the -j4 make option speeds up the tests, even on systems with 57 only one processor, due to internal delays in individual tests. To test 58 58 the results, issue:</para> 59 59 60 <screen><userinput remap="test">make <replaceable>-j$(($(nproc)>4?$(nproc):4))</replaceable> check</userinput></screen> 61 62 <para>Replace <replaceable>$((...))</replaceable> with the number of 63 logical cores you want to use if you don't want to use all.</para> 60 <screen><userinput remap="test">make -j4 check</userinput></screen> 64 61 65 62 <para>The test t/subobj.sh is known to fail.</para> -
chapter08/chapter08.xml
r73d91ac r6b6a1b9 66 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flit-core.xml"/> 67 67 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/> 68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="setuptools.xml"/>69 68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/> 70 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/> -
chapter08/dbus.xml
r73d91ac r6b6a1b9 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/gawk.xml
r73d91ac r6b6a1b9 60 60 <para>Install the package:</para> 61 61 62 <screen><userinput remap="install">rm -f /usr/bin/gawk-&gawk-version; 63 make install</userinput></screen> 62 <screen><userinput remap="install">make LN='ln -f' install</userinput></screen> 64 63 65 64 <variablelist> 66 <title>The meaning of the command:</title>65 <title>The meaning of the overridden make variable:</title> 67 66 68 67 <varlistentry> 69 <term>< command>rm -f /usr/bin/gawk-&gawk-version;</command></term>68 <term><envar>LN='ln -f'</envar></term> 70 69 <listitem> 71 <para>The building system will not recreate the hard link 72 <filename>gawk-&gawk-version;</filename> if it already exists. 73 Remove it to ensure that the previous hard link installed 70 <para>This variable ensures that the previous hard link installed 74 71 in <xref linkend='ch-tools-gawk'/> is updated here.</para> 75 72 </listitem> -
chapter08/glibc.xml
r73d91ac r6b6a1b9 51 51 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 52 52 53 <para>Now fix two security vulnerabilities and a regression causing the54 posix_memalign() functionvery slow in some conditions:</para>55 56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc- upstream-fixes-patch;</userinput></screen>53 <para>Now fix a regression causing the posix_memalign() function 54 to be very slow in some conditions:</para> 55 56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-memalign-patch;</userinput></screen> 57 57 58 58 <para>The Glibc documentation recommends building Glibc … … 75 75 --enable-stack-protector=strong \ 76 76 --with-headers=/usr/include \ 77 --disable-nscd \78 77 libc_cv_slibdir=/usr/lib</userinput></screen> 79 78 … … 113 112 <para>This option tells the build system where to find the 114 113 kernel API headers.</para> 115 </listitem>116 </varlistentry>117 118 <varlistentry>119 <term><parameter>--disable-nscd</parameter></term>120 <listitem>121 <para>Do not build the name service cache daemon which is no122 longer used.</para>123 114 </listitem> 124 115 </varlistentry> … … 216 207 217 208 <screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen> 218 <!-- 209 219 210 <para>Install the configuration file and runtime directory for 220 211 <command>nscd</command>:</para> … … 228 219 <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf 229 220 install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen> 230 --> 221 231 222 <para>Next, install the locales that can make the system respond in a 232 223 different language. None of these locales are required, but if some of them … … 330 321 following:</para> 331 322 332 <screen revision='sysv'><userinput>cat > /etc/nsswitch.conf << "EOF"323 <screen><userinput>cat > /etc/nsswitch.conf << "EOF" 333 324 <literal># Begin /etc/nsswitch.conf 334 325 … … 338 329 339 330 hosts: files dns 340 networks: files341 342 protocols: files343 services: files344 ethers: files345 rpc: files346 347 # End /etc/nsswitch.conf</literal>348 EOF</userinput></screen>349 350 <screen revision='systemd'><userinput>cat > /etc/nsswitch.conf << "EOF"351 <literal># Begin /etc/nsswitch.conf352 353 passwd: files systemd354 group: files systemd355 shadow: files systemd356 357 hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns358 331 networks: files 359 332 … … 508 481 ldd, lddlibc4, 509 482 ld.so (symlink to ld-linux-aarch64[_be].so.1), 510 locale, localedef, makedb, mtrace, 483 locale, localedef, makedb, mtrace, nscd, 511 484 pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace, 512 485 zdump, and zic</seg> … … 528 501 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale, 529 502 /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo, 530 and /var/lib/nss_db</seg>503 /var/cache/nscd, and /var/lib/nss_db</seg> 531 504 </seglistitem> 532 505 </segmentedlist> … … 658 631 <indexterm zone="ch-system-glibc mtrace"> 659 632 <primary sortas="b-mtrace">mtrace</primary> 633 </indexterm> 634 </listitem> 635 </varlistentry> 636 637 <varlistentry id="nscd"> 638 <term><command>nscd</command></term> 639 <listitem> 640 <para>A daemon that provides a cache for the most common name 641 service requests</para> 642 <indexterm zone="ch-system-glibc nscd"> 643 <primary sortas="b-nscd">nscd</primary> 660 644 </indexterm> 661 645 </listitem> -
chapter08/gmp.xml
r73d91ac r6b6a1b9 120 120 121 121 <segmentedlist> 122 <segtitle>Installed libraries</segtitle>122 <segtitle>Installed Libraries</segtitle> 123 123 <segtitle>Installed directory</segtitle> 124 124 -
chapter08/iproute2.xml
r73d91ac r6b6a1b9 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/libelf.xml
r73d91ac r6b6a1b9 71 71 72 72 <segmentedlist> 73 <segtitle>Installed library</segtitle>74 <segtitle>Installed directory</segtitle>73 <segtitle>Installed Library</segtitle> 74 <segtitle>Installed Directory</segtitle> 75 75 76 76 <seglistitem> -
chapter08/man-db.xml
r73d91ac r6b6a1b9 114 114 <para>To test the results, issue:</para> 115 115 116 <screen><userinput remap="test">make check</userinput></screen> 116 <screen><userinput remap="test">make -k check</userinput></screen> 117 118 <!-- https://gitlab.com/man-db/man-db/-/issues/25 --> 119 <para>One test named <filename>man1/lexgrog.1</filename> is known 120 to fail.</para> 117 121 118 122 <para>Install the package:</para> -
chapter08/mpc.xml
r73d91ac r6b6a1b9 70 70 71 71 <segmentedlist> 72 <segtitle>Installed libraries</segtitle>73 <segtitle>Installed directory</segtitle>72 <segtitle>Installed Libraries</segtitle> 73 <segtitle>Installed Directory</segtitle> 74 74 75 75 <seglistitem> -
chapter08/mpfr.xml
r73d91ac r6b6a1b9 59 59 </important> 60 60 61 <para>Test the results and ensure that all 19 8tests passed:</para>61 <para>Test the results and ensure that all 197 tests passed:</para> 62 62 63 63 <screen><userinput remap="test">make check</userinput></screen> … … 75 75 76 76 <segmentedlist> 77 <segtitle>Installed libraries</segtitle>77 <segtitle>Installed Libraries</segtitle> 78 78 <segtitle>Installed directory</segtitle> 79 79 -
chapter08/openssl.xml
r73d91ac r6b6a1b9 64 64 <para>To test the results, issue:</para> 65 65 66 <screen><userinput remap="test"> HARNESS_JOBS=<replaceable>$(nproc)</replaceable>make test</userinput></screen>66 <screen><userinput remap="test">make test</userinput></screen> 67 67 68 68 <para>One test, 30-test_afalg.t, is known to fail if the host kernel -
chapter08/perl.xml
r73d91ac r6b6a1b9 77 77 78 78 <variablelist> 79 <title>The meaning of the new Configure options:</title> 79 <title>The meaning of the configure options:</title> 80 81 <varlistentry> 82 <term><parameter>-Dvendorprefix=/usr</parameter></term> 83 <listitem> 84 <para>This ensures <command>perl</command> knows how to 85 tell packages where they should install their Perl modules.</para> 86 </listitem> 87 </varlistentry> 80 88 81 89 <varlistentry> … … 98 106 99 107 <varlistentry> 108 <term><parameter>-Duseshrplib</parameter></term> 109 <listitem> 110 <para>Build a shared libperl needed by some Perl modules.</para> 111 </listitem> 112 </varlistentry> 113 114 <varlistentry> 100 115 <term><parameter>-Dusethreads</parameter></term> 101 116 <listitem> … … 104 119 </varlistentry> 105 120 121 <varlistentry> 122 <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term> 123 <listitem> 124 <para>These settings define where Perl looks for installed 125 modules. The LFS editors chose to put them in a directory structure 126 based on the MAJOR.MINOR version of Perl (&perl-version-min;) which 127 allows upgrading Perl to newer patch levels (the patch level is 128 the last dot separated part in the full version string like 129 &perl-version;) without reinstalling all of the modules.</para> 130 </listitem> 131 </varlistentry> 132 106 133 </variablelist> 107 134 … … 112 139 <para>To test the results (approximately 11 SBU), issue:</para> 113 140 114 <screen><userinput remap="test"> TEST_JOBS=$(nproc) make test_harness</userinput></screen>141 <screen><userinput remap="test">make test</userinput></screen> 115 142 116 143 <para>Install the package and clean up:</para> -
chapter08/pkgconf.xml
r73d91ac r6b6a1b9 44 44 45 45 <title>Installation of Pkgconf</title> 46 <!-- 47 <para>Pkgconf-2.0.0 explicitly errors when attempting to run 48 <option>- -modversion</option> with multiple arguments, even if these 49 arguments are constraints for the same package. This breaks many 50 packages in BLFS. Run this sed to reinstate the old 51 output for pkgconf:</para> 46 52 47 <!-- https://github.com/pkgconf/pkgconf/issues/317 --> 48 <para>Fix a regression in pkgconf-2.0.3 breaking BLFS packages:</para> 49 50 <screen><userinput remap="pre">sed -i 's/str\(cmp.*package\)/strn\1, strlen(pkg->why)/' cli/main.c</userinput></screen> 51 53 <screen><userinput remap="pre">sed -i '1330,1336s|^|//|' cli/main.c</userinput></screen> 54 --> 52 55 <para>Prepare Pkgconf for compilation:</para> 53 56 -
chapter08/pkgmgt.xml
r73d91ac r6b6a1b9 68 68 all the packages in their dependency order, we do not recommend 69 69 it. </para> 70 </listitem>71 72 <listitem>73 <para>Reinstalling the same version of Glibc (&glibc-version; for74 this release of LFS) with patches should be safe when these patches75 do not change ABI and API. When a security vulnerability is found76 in Glibc, we often need to apply such a patch to fix the77 vulnerability and reinstall Glibc. Consult78 <ulink url='&lfs-root;lfs/advisories/'>LFS security79 advisories</ulink> if you are alerted for a published Glibc security80 vulnerability but unsure about the action to take.</para>81 70 </listitem> 82 71 … … 164 153 implemented this, and most packages use that command to install binary files and 165 154 libraries. This means that you won't be troubled by this issue most of the time. 166 However, the install process of some packages (notably SpiderMonkey155 However, the install process of some packages (notably Mozilla JS 167 156 in BLFS) just overwrites the file if it exists; this causes a crash. So 168 157 it's safer to save your work and close unneeded running processes … … 197 186 special program to manage the packages. Each package is installed in a 198 187 separate directory. For example, package foo-1.1 is installed in 199 <filename class='directory'>/ opt/foo-1.1</filename>200 and a symlink is made from <filename>/ opt/foo</filename> to201 <filename class='directory'>/ opt/foo-1.1</filename>. When188 <filename class='directory'>/usr/pkg/foo-1.1</filename> 189 and a symlink is made from <filename>/usr/pkg/foo</filename> to 190 <filename class='directory'>/usr/pkg/foo-1.1</filename>. When 202 191 a new version foo-1.2 comes along, it is installed in 203 <filename class='directory'>/ opt/foo-1.2</filename> and the previous192 <filename class='directory'>/usr/pkg/foo-1.2</filename> and the previous 204 193 symlink is replaced by a symlink to the new version.</para> 205 194 206 195 <para>Environment variables such as <envar>PATH</envar>, 207 <envar>MANPATH</envar>, <envar>INFOPATH</envar>, 208 <envar>PKG_CONFIG_PATH</envar>, <envar>CPPFLAGS</envar>, 209 <envar>LDFLAGS</envar>, and the configuration file 210 <filename>/etc/ld.so.conf</filename> may need to be expanded to 211 include the corresponding subdirectories in 212 <filename class='directory'>/opt/foo-x.y</filename>.</para> 213 214 <para> 215 This scheme is used by the BLFS book to install some very large 216 packages to make it easier to upgrade them. If you install more 217 than a few packages, this scheme becomes unmanageable. And some 218 packages (for example Linux API headers and Glibc) may not work well 219 with this scheme. 220 <emphasis role='bold'>Never use this scheme system-wide.</emphasis> 221 </para> 196 <envar>LD_LIBRARY_PATH</envar>, <envar>MANPATH</envar>, 197 <envar>INFOPATH</envar> and <envar>CPPFLAGS</envar> need to be expanded to 198 include <filename>/usr/pkg/foo</filename>. If you install more than a few packages, 199 this scheme becomes unmanageable.</para> 200 222 201 </sect3> 223 202 -
chapter08/python.xml
r73d91ac r6b6a1b9 49 49 --enable-shared \ 50 50 --with-system-expat \ 51 --with-system-ffi \ 51 52 --enable-optimizations</userinput></screen> 52 53 … … 61 62 </listitem> 62 63 </varlistentry> 64 65 <varlistentry> 66 <term><parameter>--with-system-ffi</parameter></term> 67 <listitem> 68 <para>This switch enables linking against the system version of 69 <filename class='libraryfile'>libffi.so</filename>.</para> 70 </listitem> 71 </varlistentry> 63 72 64 73 <varlistentry> … … 156 165 <screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html 157 166 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> 167 tar --strip-components=1 \ 168 --no-same-owner \ 169 --no-same-permissions \ 170 -C /usr/share/doc/python-&python-version;/html \ 171 -xvf ../python-&python-version;-docs-html.tar.bz2</userinput></screen> 162 172 163 173 <variablelist> … … 165 175 166 176 <varlistentry> 167 <term><option>--no-same-owner</option> (tar) and <option>--no-preserve=mode</option> (cp)</term>177 <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term> 168 178 <listitem> 169 179 <para>Ensure the installed files have the correct ownership and 170 180 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. 181 will install the package files with the upstream creator's values. 173 182 </para> 174 183 </listitem> … … 183 192 184 193 <segmentedlist> 185 <segtitle>Installed programs</segtitle>186 <segtitle>Installed library</segtitle>187 <segtitle>Installed directories</segtitle>194 <segtitle>Installed Programs</segtitle> 195 <segtitle>Installed Library</segtitle> 196 <segtitle>Installed Directories</segtitle> 188 197 189 198 <seglistitem> -
chapter08/shadow.xml
r73d91ac r6b6a1b9 277 277 <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog, 278 278 getsubids, gpasswd, groupadd, groupdel, groupmems, groupmod, grpck, 279 grpconv, grpunconv, l ogin, logoutd, newgidmap, newgrp,279 grpconv, grpunconv, lastlog, login, logoutd, newgidmap, newgrp, 280 280 newuidmap, newusers, nologin, passwd, pwck, pwconv, pwunconv, 281 281 sg (link to newgrp), su, useradd, userdel, usermod, … … 460 460 </varlistentry> 461 461 462 <varlistentry id="lastlog"> 463 <term><command>lastlog</command></term> 464 <listitem> 465 <para>Reports the most recent login of all users or of a 466 given user</para> 467 <indexterm zone="ch-system-shadow lastlog"> 468 <primary sortas="b-lastlog">lastlog</primary> 469 </indexterm> 470 </listitem> 471 </varlistentry> 472 462 473 <varlistentry id="login"> 463 474 <term><command>login</command></term> -
chapter08/stripping.xml
r73d91ac r6b6a1b9 30 30 dynamically linked binaries and shared libraries).</para> 31 31 32 <!-- TODO: Zstd is better than Zlib for both speed and size. 33 Unfortunately Valgrind does not support Zstd-compressed debug 34 info yet: https://bugs.kde.org/show_bug.cgi?id=469782 --> 35 <para>The debugging symbols from selected libraries are compressed with 36 <application>Zlib</application> and preserved in separate files. That 37 debugging information is needed to run regression tests with <ulink 32 <para>The debugging symbols from selected libraries are preserved 33 in separate files. That debugging information is needed to run 34 regression tests with <ulink 38 35 url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink 39 36 url='&blfs-book;/general/gdb.html'>gdb</ulink> later, in BLFS. … … 83 80 84 81 for LIB in $save_usrlib; do 85 objcopy --only-keep-debug --compress-debug-sections=zlib$LIB $LIB.dbg82 objcopy --only-keep-debug $LIB $LIB.dbg 86 83 cp $LIB /tmp/$LIB 87 84 strip --strip-unneeded /tmp/$LIB -
chapter08/udev.xml
r73d91ac r6b6a1b9 56 56 <screen><userinput remap="pre">sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in</userinput></screen> 57 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 63 58 <para>Prepare Udev for compilation:</para> 64 59 … … 72 67 -Ddev-kvm-mode=0660 \ 73 68 -Dlink-udev-shared=false \ 74 -Dlogind=false \75 -Dvconsole=false \76 69 ..</userinput></screen> 77 70 … … 115 108 </listitem> 116 109 </varlistentry> 117 118 <varlistentry>119 <term><parameter>-Dlogind=false -Dvconsole=false</parameter></term>120 <listitem>121 <para>These options prevent the generation of several udev rule122 files belonging to the other Systemd components that we won't123 install.</para>124 </listitem>125 </varlistentry>126 110 </variablelist> 127 111 128 112 <para>Only build the components needed for udev:</para> 129 113 130 <screen><userinput remap="make">ninja udevadm systemd-hwdb \ 131 $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \ 114 <screen><userinput remap="make">ninja udevadm systemd-hwdb \ 115 $(grep -o -E "^build (src/libudev|src/udev|rules.d|hwdb.d)[^:]*" \ 116 build.ninja | awk '{ print $2 }') \ 132 117 $(realpath libudev.so --relative-to .)</userinput></screen> 133 118 119 <para>Remove one udev rule file requiring a full Systemd 120 installation:</para> 121 122 <screen><userinput remap="make">rm rules.d/90-vconsole.rules</userinput></screen> 123 134 124 <para>Install the package:</para> 135 125 136 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb .d,rules.d,network}126 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb,rules}.d 137 127 install -vm755 -d /usr/{lib,share}/pkgconfig 138 install -vm755 udevadm /usr/bin/ 139 install -vm755 systemd-hwdb /usr/bin/udev-hwdb 140 ln -svfn ../bin/udevadm /usr/sbin/udevd 141 cp -av libudev.so{,*[0-9]} /usr/lib/ 142 install -vm644 ../src/libudev/libudev.h /usr/include/ 143 install -vm644 src/libudev/*.pc /usr/lib/pkgconfig/ 144 install -vm644 src/udev/*.pc /usr/share/pkgconfig/ 145 install -vm644 ../src/udev/udev.conf /etc/udev/ 146 install -vm644 rules.d/* ../rules.d/README /usr/lib/udev/rules.d/ 147 install -vm644 $(find ../rules.d/*.rules \ 148 -not -name '*power-switch*') /usr/lib/udev/rules.d/ 149 install -vm644 hwdb.d/* ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/ 150 install -vm755 $(find src/udev \ 151 -type f -not -name '*.*') /usr/lib/udev 152 install -vm644 ../network/99-default.link /usr/lib/udev/network</userinput></screen> 128 install -vm755 udevadm /usr/bin/ 129 install -vm755 systemd-hwdb /usr/bin/udev-hwdb 130 ln -svfn ../bin/udevadm /usr/sbin/udevd 131 cp -av libudev.so{,*[0-9]} /usr/lib/ 132 install -vm644 ../src/libudev/libudev.h /usr/include/ 133 install -vm644 src/libudev/*.pc /usr/lib/pkgconfig/ 134 install -vm644 src/udev/*.pc /usr/share/pkgconfig/ 135 install -vm644 ../src/udev/udev.conf /etc/udev/ 136 install -vm644 rules.d/* ../rules.d/{*.rules,README} /usr/lib/udev/rules.d/ 137 install -vm644 hwdb.d/* ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/ 138 install -vm755 $(find src/udev -type f | grep -F -v ".") /usr/lib/udev</userinput></screen> 153 139 154 140 <para>Install some custom rules and support files useful in an LFS … … 165 151 --no-same-owner --strip-components=1 \ 166 152 -C /usr/share/man --wildcards '*/udev*' '*/libudev*' \ 167 '*/systemd.link.5' \168 153 '*/systemd-'{hwdb,udevd.service}.8 169 170 sed 's|systemd/network|udev/network|' \171 /usr/share/man/man5/systemd.link.5 \172 > /usr/share/man/man5/udev.link.5173 174 154 sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \ 175 155 > /usr/share/man/man8/udev-hwdb.8 176 177 156 sed 's|lib.*udevd|sbin/udevd|' \ 178 157 /usr/share/man/man8/systemd-udevd.service.8 \ 179 158 > /usr/share/man/man8/udevd.8 180 181 rm /usr/share/man/man*/systemd*</userinput></screen> 159 rm /usr/share/man/man8/systemd-*.8</userinput></screen> 182 160 183 161 </sect2> -
chapter08/util-linux.xml
r73d91ac r6b6a1b9 43 43 <title>Installation of Util-linux</title> 44 44 45 <para>First, disable a problem atictest:</para>45 <para>First, disable a problem test:</para> 46 46 47 47 <screen><userinput remap="pre">sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am</userinput></screen> -
chapter09/network.xml
r73d91ac r6b6a1b9 179 179 </indexterm> 180 180 181 <para>Decide on a fully-qualified domain name (FQDN), and possible aliases 182 for use in the <filename>/etc/hosts</filename> file. If using static IP 183 addresses, you'll also need to decide on an IP address. The syntax 184 for a hosts file entry is:</para> 181 <para>Decide on the IP address, fully-qualified domain name (FQDN), and 182 possible aliases for use in the <filename>/etc/hosts</filename> file. The 183 syntax is:</para> 185 184 186 185 <screen><literal>IP_address myhost.example.org aliases</literal></screen> … … 199 198 range 0-255.</para> 200 199 201 <para>A valid private IP address could be 192.168.1.1.</para> 202 203 <para>If the computer is to be visible to the Internet, a valid FQDN 204 can be the domain name itself, or a string resulted by concatenating a 205 prefix (often the hostname) and the domain name with a <quote>.</quote> 206 character. And, you need to contact the domain provider to resolve the 207 FQDN to your public IP address.</para> 208 209 <para>Even if the computer is not visible to the Internet, a FQDN is 210 still needed for certain programs, such as MTAs, to operate properly. 211 A special FQDN, <literal>localhost.localdomain</literal>, can be used 212 for this purpose.</para> 200 <para>A valid private IP address could be 192.168.1.1. A valid FQDN for 201 this IP could be lfs.example.org.</para> 202 203 <para>Even if not using a network card, a valid FQDN is still required. 204 This is necessary for certain programs to operate correctly.</para> 213 205 214 206 <para>Create the <filename>/etc/hosts</filename> file by running:</para> -
chapter09/networkd.xml
r73d91ac r6b6a1b9 317 317 range 0-255.</para> 318 318 319 <para>A valid private IP address could be 192.168.1.1.</para> 320 321 <para>If the computer is to be visible to the Internet, a valid FQDN 322 can be the domain name itself, or a string resulted by concatenating a 323 prefix (often the hostname) and the domain name with a <quote>.</quote> 324 character. And, you need to contact the domain provider to resolve the 325 FQDN to your public IP address.</para> 326 327 <para>Even if the computer is not visible to the Internet, a FQDN is 328 still needed for certain programs, such as MTAs, to operate properly. 329 A special FQDN, <literal>localhost.localdomain</literal>, can be used 330 for this purpose.</para> 319 <para>A valid private IP address could be 192.168.1.1. A valid FQDN for 320 this IP could be lfs.example.org.</para> 321 322 <para>Even if not using a network card, a valid FQDN is still required. 323 This is necessary for certain programs, such as MTAs, to operate properly.</para> 324 325 <!-- 326 <para>Create the /etc/hosts file using the following command:</para> 327 328 <screen role="nodump"><userinput>cat > /etc/hosts << "EOF" 329 <literal># Begin /etc/hosts 330 331 127.0.0.1 localhost.localdomain localhost 332 127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> 333 ::1 localhost ip6-localhost ip6-loopback 334 ff02::1 ip6-allnodes 335 ff02::2 ip6-allrouters 336 337 # End /etc/hosts</literal> 338 EOF</userinput></screen> 339 --> 331 340 332 341 <para>Create the <filename>/etc/hosts</filename> file using the following … … 336 345 <literal># Begin /etc/hosts 337 346 338 <replaceable><192.168.0.2></replaceable> <replaceable><FQDN></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> 339 ::1 ip6-localhost ip6-loopback 347 127.0.0.1 localhost.localdomain localhost 348 127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> 349 <replaceable><192.168.0.2></replaceable> <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> 350 ::1 localhost ip6-localhost ip6-loopback 340 351 ff02::1 ip6-allnodes 341 352 ff02::2 ip6-allrouters … … 344 355 EOF</userinput></screen> 345 356 346 <para>The <replaceable><192.168.0.2></replaceable> and 347 <replaceable><FQDN></replaceable> values need to be 357 <para>The <replaceable><192.168.0.2></replaceable>, 358 <replaceable><FQDN></replaceable>, and 359 <replaceable><HOSTNAME></replaceable> values need to be 348 360 changed for specific uses or requirements (if assigned an IP address by a 349 361 network/system administrator and the machine will be connected to an 350 362 existing network). The optional alias name(s) can be omitted, and the 351 363 <replaceable><192.168.0.2></replaceable> line can be omitted if you 352 are using a connection configured with DHCP or IPv6 Autoconfiguration, 353 or using <literal>localhost.localdomain</literal> as the FQDN.</para> 354 355 <para>The <filename>/etc/hostname</filename> does not contain entries 356 for <literal>localhost</literal>, 357 <literal>localhost.localdomain</literal>, or the hostname (without a 358 domain) because they are handled by the 359 <systemitem class='library'>myhostname</systemitem> NSS module, read 360 the man page <filename>nss-myhostname(8)</filename> for details.</para> 364 are using a connection configured with DHCP or IPv6 Autoconfiguration.</para> 361 365 362 366 <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents 363 the IPv6 loopback interface.</para> 367 the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved 368 specifically for the FQDN.</para> 364 369 365 370 </sect2> -
chapter11/afterlfs.xml
r73d91ac r6b6a1b9 185 185 This method also provides a full graphical environment, but first 186 186 requires installing 187 <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink> 187 <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink> and 188 <ulink url="&blfs-book;basicnet/wget.html">wget</ulink> 188 189 on the LFS system, usually in chroot. It also requires a second 189 190 computer. This method has the advantage of being simple by not requiring … … 193 194 </para> 194 195 195 <para>196 You may use the <command>scp</command> command to upload the package197 sources to be built onto the LFS system. If you want to download198 the sources onto the LFS system directly instead, install199 <ulink url="&blfs-book;general/libtasn1.html">libtasn1</ulink>,200 <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>,201 <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>, and202 <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>203 in chroot (or upload their sources using <command>scp</command>204 after booting the LFS system).205 </para>206 196 </sect3> 207 197 -
chapter11/reboot.xml
r73d91ac r6b6a1b9 114 114 115 115 <screen><userinput>umount -v $LFS/dev/pts 116 mountpoint -q $LFS/dev/shm && umount -v$LFS/dev/shm116 mountpoint -q $LFS/dev/shm && umount $LFS/dev/shm 117 117 umount -v $LFS/dev 118 118 umount -v $LFS/run -
chapter11/theend.xml
r73d91ac r6b6a1b9 59 59 PRETTY_NAME="Linux From Scratch &version;" 60 60 VERSION_CODENAME="<your name here>" 61 HOME_URL="&lfs-root;lfs/"62 61 EOF</userinput></screen> 63 62 -
git-version.sh
r73d91ac r6b6a1b9 1 #!/bin/ bash1 #!/bin/sh 2 2 3 3 if [ "$1" = sysv ]; then … … 15 15 echo "<!ENTITY % systemd \"$SYSTEMD\">" >> conditional.ent 16 16 17 if [ -e LFS-RELEASE ]; then18 exit 019 fi20 21 17 if ! git status > /dev/null; then 22 18 # Either it's not a git repository, or git is unavaliable. … … 29 25 echo "]]>" >> version.ent 30 26 echo "<!ENTITY releasedate \"unknown\">" >> version.ent 31 echo "<!ENTITY copyrightdate \"1999-202 3\">" >> version.ent27 echo "<!ENTITY copyrightdate \"1999-2022\">" >> version.ent 32 28 exit 0 33 29 fi … … 70 66 echo "<!ENTITY releasedate \"$full_date\">" >> version.ent 71 67 echo "<!ENTITY copyrightdate \"1999-$year\">" >> version.ent 72 73 [ -z "$DIST" ] || echo $version > "$DIST" -
lfs-latest-git.php
r73d91ac r6b6a1b9 86 86 exec( "curl --location --silent --max-time 30 $url", $dir ); 87 87 88 $dir = implode( "\n", $dir ); 89 if ( !preg_match( "/api.github.com/", $url) ) 90 $dir = strip_tags( $dir ); 88 $s = implode( "\n", $dir ); 89 $dir = strip_tags( $s ); 91 90 return explode( "\n", $dir ); 92 91 } … … 129 128 if ( $package == "flex" ) $dirpath = github("westes/flex"); 130 129 if ( $package == "flit_core" ) $dirpath = "https://pypi.org/project/flit-core/"; 131 if ( $package == "setuptools" ) $dirpath = "https://pypi.org/project/setuptools/";132 130 if ( $package == "gcc" ) $dirpath = max_parent( $dirpath, "gcc-" ); 133 131 if ( $package == "iana-etc" ) $dirpath = github("Mic92/iana-etc"); … … 296 294 return find_max( $lines, "/flit-core /", "/^.*flit-core ([\d\.]+)$/" ); 297 295 298 if ( $package == "setuptools" )299 return find_max( $lines, "/setuptools /", "/^.*setuptools ([\d\.]+)$/" );300 301 296 if ( $package == "procps-ng" ) 302 297 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); -
packages.ent
r73d91ac r6b6a1b9 48 48 <!ENTITY automake-fin-sbu "less than 0.1 SBU (about 7.0 SBU with tests)"> 49 49 50 <!ENTITY bash-version "5.2. 21">51 <!ENTITY bash-size "10,69 6KB">50 <!ENTITY bash-version "5.2.15"> 51 <!ENTITY bash-size "10,695 KB"> 52 52 <!ENTITY bash-url "&gnu;bash/bash-&bash-version;.tar.gz"> 53 <!ENTITY bash-md5 " ad5b38410e3bf0e9bcc20e2765f5e3f9">53 <!ENTITY bash-md5 "4281bb43497f3905a308430a8d6a30a5"> 54 54 <!ENTITY bash-home "&gnu-software;bash/"> 55 55 <!ENTITY bash-tmp-du "67 MB"> … … 58 58 <!ENTITY bash-fin-sbu "1.1 SBU"> 59 59 60 <!ENTITY bc-version "6. 7.3">61 <!ENTITY bc-size "45 6KB">60 <!ENTITY bc-version "6.6.0"> 61 <!ENTITY bc-size "455 KB"> 62 62 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz"> 63 <!ENTITY bc-md5 "a 2e39a5be32330bc2166b0e501668178">63 <!ENTITY bc-md5 "a148cbaaf8ff813b7289a00539e74a5f"> 64 64 <!ENTITY bc-home "https://git.gavinhoward.com/gavin/bc"> 65 65 <!ENTITY bc-fin-du "7.7 MB"> … … 149 149 <!ENTITY e2fsprogs-fin-sbu "2.4 SBU on a spinning disk, 0.6 SBU on an SSD"> 150 150 151 <!ENTITY elfutils-version "0.1 90"> <!-- libelf -->152 <!ENTITY elfutils-size "8,9 49KB">151 <!ENTITY elfutils-version "0.189"> <!-- libelf --> 152 <!ENTITY elfutils-size "8,936 KB"> 153 153 <!ENTITY elfutils-url "https://sourceware.org/ftp/elfutils/&elfutils-version;/elfutils-&elfutils-version;.tar.bz2"> 154 <!ENTITY elfutils-md5 " 79ad698e61a052bea79e77df6a08bc4b">154 <!ENTITY elfutils-md5 "5cfaa711a90cb670406cd495aeaa6030"> 155 155 <!ENTITY elfutils-home "https://sourceware.org/elfutils/"> 156 156 <!ENTITY elfutils-fin-du "122 MB"> … … 209 209 <!ENTITY flit-core-fin-sbu "less than 0.1 SBU"> 210 210 211 <!ENTITY gawk-version "5. 3.0">212 <!ENTITY gawk-size "3,3 56KB">211 <!ENTITY gawk-version "5.2.2"> 212 <!ENTITY gawk-size "3,324 KB"> 213 213 <!ENTITY gawk-url "&gnu;gawk/gawk-&gawk-version;.tar.xz"> 214 <!ENTITY gawk-md5 " 97c5a7d83f91a7e1b2035ebbe6ac7abd">214 <!ENTITY gawk-md5 "d63b4de2c722cbd9b8cc8e6f14d78a1e"> 215 215 <!ENTITY gawk-home "&gnu-software;gawk/"> 216 216 <!ENTITY gawk-tmp-du "48 MB"> … … 223 223 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz"> 224 224 <!ENTITY gcc-md5 "e0e48554cc6e4f261d55ddee9ab69075"> 225 <!ENTITY gcc-sha256 ""> 225 226 <!ENTITY gcc-home "https://gcc.gnu.org/"> 226 227 <!ENTITY gcc-tmpp1-du "4.2 GB"> … … 246 247 <!ENTITY gdbm-fin-sbu "less than 0.1 SBU"> 247 248 248 <!ENTITY gettext-version "0.22 .4">249 <!ENTITY gettext-size " 10,016KB">249 <!ENTITY gettext-version "0.22"> 250 <!ENTITY gettext-size "9,775 KB"> 250 251 <!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.xz"> 251 <!ENTITY gettext-md5 " 2d8507d003ef3ddd1c172707ffa97ed8">252 <!ENTITY gettext-md5 "db2f3daf34fd5b85ab1a56f9033e42d1"> 252 253 <!ENTITY gettext-home "&gnu-software;gettext/"> 253 254 <!ENTITY gettext-tmp-du "306 MB"> … … 318 319 <!ENTITY gzip-fin-sbu "0.3 SBU"> 319 320 320 <!ENTITY iana-etc-version "2023 1117">321 <!ENTITY iana-etc-version "20230810"> 321 322 <!ENTITY iana-etc-size "588 KB"> 322 323 <!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz"> 323 <!ENTITY iana-etc-md5 " f26b37a03a211ddd4e9c7189191e2772">324 <!ENTITY iana-etc-md5 "0502bd41cc0bf1c1c3cd8651058b9650"> 324 325 <!ENTITY iana-etc-home "https://www.iana.org/protocols"> 325 326 <!ENTITY iana-etc-fin-du "4.8 MB"> … … 330 331 <!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz"> 331 332 <!ENTITY inetutils-md5 "319d65bb5a6f1847c4810651f3b4ba74"> 333 <!ENTITY inetutils-sha256 ""> 332 334 <!ENTITY inetutils-home "&gnu-software;inetutils/"> 333 335 <!ENTITY inetutils-fin-du "31 MB"> … … 342 344 <!ENTITY intltool-fin-sbu "less than 0.1 SBU"> 343 345 344 <!ENTITY iproute2-version "6. 6.0">345 <!ENTITY iproute2-size " 897KB">346 <!ENTITY iproute2-version "6.4.0"> 347 <!ENTITY iproute2-size "904 KB"> 346 348 <!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz"> 347 <!ENTITY iproute2-md5 " 6716fc3188dbea226997fa2478a190d7">349 <!ENTITY iproute2-md5 "90ce0eb84a8f1e2b14ffa77e8eb3f5ed"> 348 350 <!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/"> 349 351 <!ENTITY iproute2-fin-du "17 MB"> … … 358 360 <!ENTITY jinja2-fin-sbu "less than 0.1 SBU"> 359 361 360 <!ENTITY kbd-version "2.6. 3">361 <!ENTITY kbd-size "1,46 8KB">362 <!ENTITY kbd-version "2.6.2"> 363 <!ENTITY kbd-size "1,469 KB"> 362 364 <!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz"> 363 <!ENTITY kbd-md5 " 4764775cac0415f1d35a0cd311249941">365 <!ENTITY kbd-md5 "35e261a31e673c8aec7dbc6553ea075c"> 364 366 <!ENTITY kbd-home "https://kbd-project.org/"> 365 367 <!ENTITY kbd-fin-du "35 MB"> 366 368 <!ENTITY kbd-fin-sbu "0.1 SBU"> 367 369 368 <!ENTITY kmod-version "3 1">369 <!ENTITY kmod-size "55 8KB">370 <!ENTITY kmod-version "30"> 371 <!ENTITY kmod-size "555 KB"> 370 372 <!ENTITY kmod-url "&kernel;linux/utils/kernel/kmod/kmod-&kmod-version;.tar.xz"> 371 <!ENTITY kmod-md5 " 6165867e1836d51795a11ea4762ff66a">372 <!ENTITY kmod-home " https://github.com/kmod-project/kmod">373 <!ENTITY kmod-md5 "85202f0740a75eb52f2163c776f9b564"> 374 <!ENTITY kmod-home " "> 373 375 <!ENTITY kmod-fin-du "12 MB"> 374 376 <!ENTITY kmod-fin-sbu "less than 0.1 SBU"> … … 431 433 432 434 <!ENTITY linux-major-version "6"> 433 <!ENTITY linux-minor-version " 6">434 <!ENTITY linux-patch-version " 3">435 <!ENTITY linux-minor-version "5"> 436 <!ENTITY linux-patch-version "1"> 435 437 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 436 438 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 437 <!ENTITY linux-size "13 6,763KB">439 <!ENTITY linux-size "135,684 KB"> 438 440 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 439 <!ENTITY linux-md5 " 3a760f5ac7d37b62dda9a4ca89f5fd96">441 <!ENTITY linux-md5 "228479f37b3face05b53bd7f8906abe0"> 440 442 <!ENTITY linux-home "https://www.kernel.org/"> 441 <!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is 442 allnoconfig + some configs we recommend for the users, rounded down to 443 allow ongoing cleanups; max is allmodconfig but IKHEADERS unset; typical 444 is the "daily use" config for the workstation measuring the min/max values. 445 The disk usage is the sum of the size of linux-6.5.3 directory and the 446 installed kernel image & modules. --> 447 <!ENTITY linux-knl-du "1.8 - 10.6 GB (typically about 2 GB)"> 448 <!ENTITY linux-knl-sbu "0.6 - 20.4 SBU (typically about 1.4 SBU)"> 443 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is 444 allnoconfig rounded down to allow for ongoing cleanups, 445 max is allmodconfig --> 446 <!ENTITY linux-knl-du "1200 - 8800 MB (typically about 1700 MB)"> 447 <!ENTITY linux-knl-sbu "1.5 - 130.0 SBU (typically about 12 SBU)"> 449 448 450 449 <!ENTITY linux-headers-tmp-du "1.5 GB"> … … 471 470 <!ENTITY make-fin-sbu "0.5 SBU"> 472 471 473 <!ENTITY man-db-version "2.1 2.0">474 <!ENTITY man-db-size "1,9 41KB">472 <!ENTITY man-db-version "2.11.2"> 473 <!ENTITY man-db-size "1,908 KB"> 475 474 <!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz"> 476 <!ENTITY man-db-md5 " 67e0052fa200901b314fad7b68c9db27">475 <!ENTITY man-db-md5 "a7d59fb2df6158c44f8f7009dcc6d875"> 477 476 <!ENTITY man-db-home "https://www.nongnu.org/man-db/"> 478 477 <!ENTITY man-db-fin-du "40 MB"> … … 495 494 <!ENTITY markupsafe-fin-sbu "less than 0.1 SBU"> 496 495 497 <!ENTITY meson-version "1. 3.0">498 <!ENTITY meson-size "2,1 71 KB">496 <!ENTITY meson-version "1.2.1"> 497 <!ENTITY meson-size "2,131 KB"> 499 498 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz"> 500 <!ENTITY meson-md5 " 35dc15e4f94ca5fd30dbe2d88a672254">499 <!ENTITY meson-md5 "e3cc846536189aacd7d01858a45ca9af"> 501 500 <!ENTITY meson-home "https://mesonbuild.com"> 502 501 <!ENTITY meson-fin-du "42 MB"> … … 537 536 <!ENTITY ninja-fin-sbu "0.3 SBU"> 538 537 539 <!ENTITY openssl-version "3. 2.0">540 <!ENTITY openssl-size "1 7,284KB">538 <!ENTITY openssl-version "3.1.2"> 539 <!ENTITY openssl-size "15,196 KB"> 541 540 <!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz"> 542 <!ENTITY openssl-md5 " 7903549a14abebc5c323ce4e85f2cbb2">541 <!ENTITY openssl-md5 "1d7861f969505e67b8677e205afd9ff4"> 543 542 <!ENTITY openssl-home "https://www.openssl.org/"> 544 543 <!ENTITY openssl-fin-du "587 MB"> … … 557 556 <!ENTITY perl-version-major "5"> 558 557 <!ENTITY perl-version-minor "38"> 559 <!ENTITY perl-version-patch " 2">558 <!ENTITY perl-version-patch "0"> 560 559 <!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;"> 561 560 <!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;"> 562 <!ENTITY perl-size "13, 359KB">561 <!ENTITY perl-size "13,248 KB"> 563 562 <!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz"> 564 <!ENTITY perl-md5 " d3957d75042918a23ec0abac4a2b7e0a">563 <!ENTITY perl-md5 "e1c8aaec897dd386c741f97eef9f2e87"> 565 564 <!ENTITY perl-home "https://www.perl.org/"> 566 565 <!ENTITY perl-tmp-du "280 MB"> … … 569 568 <!ENTITY perl-fin-sbu "7.1 SBU"> 570 569 571 <!ENTITY pkgconf-version "2. 1.0">572 <!ENTITY pkgconf-size "30 5KB">570 <!ENTITY pkgconf-version "2.0.3"> 571 <!ENTITY pkgconf-size "304 KB"> 573 572 <!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz"> 574 <!ENTITY pkgconf-md5 " 0f2eadbb9dea5aed95147272ae1592cc">573 <!ENTITY pkgconf-md5 "b82ca48ed3097adfa007ee71489b6719"> 575 574 <!ENTITY pkgconf-home "http://pkgconf.org/"> 576 575 <!ENTITY pkgconf-fin-du "4.6 MB"> … … 596 595 meson pages will be needed: python3.6 and python3.6m --> 597 596 598 <!ENTITY python-version "3.1 2.0">599 <!ENTITY python-minor "3.1 2">600 <!ENTITY python-size " 20,093KB">597 <!ENTITY python-version "3.11.5"> 598 <!ENTITY python-minor "3.11"> 599 <!ENTITY python-size "19,584 KB"> 601 600 <!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz"> 602 <!ENTITY python-md5 " f6f4616584b23254d165f4db90c247d6">601 <!ENTITY python-md5 "393856f1b7713aa8bba4b642ab9985d3"> 603 602 <!ENTITY python-home "https://www.python.org/"> 604 603 <!ENTITY python-tmp-du "533 MB"> … … 607 606 <!ENTITY python-fin-sbu "1.9 SBU"> 608 607 <!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2"> 609 <!ENTITY python-docs-md5 " ae9d19bb613ae8ef2457496bd2893915">610 <!ENTITY python-docs-size " 8,009KB">608 <!ENTITY python-docs-md5 "1abed52338038f4b53a277a5558af838"> 609 <!ENTITY python-docs-size "7,678 KB"> 611 610 612 611 <!ENTITY readline-version "8.2"> … … 629 628 <!ENTITY sed-fin-sbu "0.3 SBU"> 630 629 631 <!ENTITY setuptools-version "69.0.2"> 632 <!ENTITY setuptools-size "2,168 KB"> 633 <!ENTITY setuptools-url "&pypi-src;/s/setuptools/setuptools-&setuptools-version;.tar.gz"> 634 <!ENTITY setuptools-md5 "32bcc14eb830a13fbf33e053286f1081"> 635 <!ENTITY setuptools-home "&pypi-home;/setuptools/"> 636 <!ENTITY setuptools-fin-du "30 MB"> 637 <!ENTITY setuptools-fin-sbu "0.1 SBU"> 638 639 <!ENTITY shadow-version "4.14.2"> 640 <!ENTITY shadow-size "1,758 KB"> 630 <!ENTITY shadow-version "4.14.0"> 631 <!ENTITY shadow-size "1,746 KB"> 641 632 <!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz"> 642 <!ENTITY shadow-md5 " effc1aa17590305647413125b966f1dd">643 <!ENTITY shadow-home " &github;/shadow-maint/shadow/">633 <!ENTITY shadow-md5 "bb0166bebc24db9003bb77bfd1359042"> 634 <!ENTITY shadow-home "https://shadow-maint.github.io/shadow/"> 644 635 <!ENTITY shadow-fin-du "46 MB"> 645 636 <!ENTITY shadow-fin-sbu "0.1 SBU"> … … 700 691 <!ENTITY tcl-tmp-sbu "2.7 SBU"> 701 692 702 <!ENTITY texinfo-version "7. 1">703 <!ENTITY texinfo-size " 5,416 KB">693 <!ENTITY texinfo-version "7.0.3"> 694 <!ENTITY texinfo-size "4,776 KB"> 704 695 <!ENTITY texinfo-url "&gnu;texinfo/texinfo-&texinfo-version;.tar.xz"> 705 <!ENTITY texinfo-md5 " edd9928b4a3f82674bcc3551616eef3b">696 <!ENTITY texinfo-md5 "37bf94fd255729a14d4ea3dda119f81a"> 706 697 <!ENTITY texinfo-home "&gnu-software;texinfo/"> 707 698 <!ENTITY texinfo-tmp-du "116 MB"> … … 736 727 <!ENTITY util-linux-fin-sbu "0.5 SBU"> 737 728 738 <!ENTITY vim-version "9.0. 2136">729 <!ENTITY vim-version "9.0.1837"> 739 730 <!-- <!ENTITY vim-majmin "90"> --> 740 731 <!ENTITY vim-docdir "vim/vim90"> 741 <!ENTITY vim-size "16, 989KB">742 <! ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">743 <! --<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">-->744 <!ENTITY vim-md5 " 8dcf113cb690bcdd13d75a4e7c2e3a62">732 <!ENTITY vim-size "16,838 KB"> 733 <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">--> 734 <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz"> 735 <!ENTITY vim-md5 "de7cba78a556f96482ae8f09b082aa59"> 745 736 <!ENTITY vim-home "https://www.vim.org"> 746 737 <!ENTITY vim-fin-du "229 MB"> 747 738 <!ENTITY vim-fin-sbu "2.3 SBU"> 748 739 749 <!ENTITY wheel-version "0.4 2.0">750 <!ENTITY wheel-size "9 7KB">740 <!ENTITY wheel-version "0.41.2"> 741 <!ENTITY wheel-size "96 KB"> 751 742 <!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz"> 752 <!ENTITY wheel-md5 " 802ad6e5f9336fcb1c76b7593f0cd22d">743 <!ENTITY wheel-md5 "06271a9e90c948b7e93dd7ce0fd90272"> 753 744 <!ENTITY wheel-home "&pypi-home;/wheel/"> 754 745 <!ENTITY wheel-fin-du "1.5 MB"> … … 763 754 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU"> 764 755 765 <!ENTITY xz-version "5.4. 5">766 <!ENTITY xz-size "1,6 42KB">756 <!ENTITY xz-version "5.4.4"> 757 <!ENTITY xz-size "1,623 KB"> 767 758 <!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz"> 768 <!ENTITY xz-md5 " 1d33e0be05c53e7a5641acf5c8b35fdd">759 <!ENTITY xz-md5 "d83d6f64a64f88759e312b8a38c3add6"> 769 760 <!ENTITY xz-home "https://tukaani.org/xz"> 770 761 <!ENTITY xz-tmp-du "22 MB"> -
patches.ent
r73d91ac r6b6a1b9 15 15 <!ENTITY glibc-fhs-patch-size "2.8 KB"> 16 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 "28KB">17 <!ENTITY glibc-memalign-patch "glibc-&glibc-version;-memalign_fix-1.patch"> 18 <!ENTITY glibc-memalign-patch-md5 "2c3552bded42a83ad6a7087c5fbf3857"> 19 <!ENTITY glibc-memalign-patch-size "20 KB"> 20 20 21 21 <!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch"> … … 27 27 <!ENTITY kbd-backspace-patch-size "12 KB"> 28 28 29 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fix es-2.patch">30 <!ENTITY readline-fixes-patch-md5 "d 2477ebe908cc99763d90dde7fd9549a">31 <!ENTITY readline-fixes-patch-size " 5.7KB">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"> 32 32 33 33 <!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> -
stylesheets/lfs-xsl/chunk-slave.xsl
r73d91ac r6b6a1b9 10 10 <!-- Upstream XHTML presentation templates --> 11 11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 12 13 <!-- Use ISO-8859-1 for output instead of default UTF-8 --> 14 <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/> 12 15 13 16 <!-- Including our customized elements templates --> -
stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl
r73d91ac r6b6a1b9 242 242 </xsl:template> 243 243 244 <!-- page.number.format245 We want roman numerals only in book's preface, not parts prefaces246 (if any). The original template is in {docbook-xsl}/fo/pagesetup.xsl -->247 <xsl:template name="page.number.format">248 <xsl:param name="element" select="local-name(.)"/>249 <xsl:param name="master-reference" select="''"/>250 251 <xsl:choose>252 <xsl:when test="$element = 'toc' and self::book">i</xsl:when>253 <xsl:when test="$element = 'set'">i</xsl:when>254 <xsl:when test="$element = 'book'">i</xsl:when>255 <xsl:when test="$element = 'preface' and not(ancestor::part)">i</xsl:when>256 <xsl:when test="$element = 'dedication'">i</xsl:when>257 <xsl:when test="$element = 'acknowledgements'">i</xsl:when>258 <xsl:otherwise>1</xsl:otherwise>259 </xsl:choose>260 </xsl:template>261 262 244 </xsl:stylesheet> -
tidy.conf
r73d91ac r6b6a1b9 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.