From b0ed1af225e305fa127907374a03db11748daf9e Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Fri, 13 Jan 2006 20:08:51 +0000 Subject: Indented chapter 03. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7273 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter03/chapter03.xml | 17 +- chapter03/introduction.xml | 76 ++-- chapter03/packages.xml | 925 +++++++++++++++++++++++---------------------- chapter03/patches.xml | 464 ++++++++++++----------- 4 files changed, 753 insertions(+), 729 deletions(-) (limited to 'chapter03') diff --git a/chapter03/chapter03.xml b/chapter03/chapter03.xml index cc1d17f86..b244cc460 100644 --- a/chapter03/chapter03.xml +++ b/chapter03/chapter03.xml @@ -1,15 +1,18 @@ - %general-entities; ]> + - -Packages and Patches - + + + + Packages and Patches - - - + + + diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml index b969b3cc8..669c89d67 100644 --- a/chapter03/introduction.xml +++ b/chapter03/introduction.xml @@ -1,49 +1,51 @@ - %general-entities; ]> + -Introduction - - -This chapter includes a list of packages that need to be downloaded for -building a basic Linux system. The listed version numbers correspond to versions -of the software that are known to work, and this book is based on their use. We -highly recommend not using newer versions because the build commands for one -version may not work with a newer version. The newest package versions may also -have problems that require work-arounds. These work-arounds will be developed -and stabilized in the development version of the book. - -Download locations may not always be accessible. If a download -location has changed since this book was published, Google () provides a useful search engine for -most packages. If this search is unsuccessful, try one of the -alternative means of downloading discussed at . - -Downloaded packages and patches will need to be stored somewhere -that is conveniently available throughout the entire build. A working -directory is also required to unpack the sources and build them. -$LFS/sources can be used both -as the place to store the tarballs and patches and as a working -directory. By using this directory, the required elements will be -located on the LFS partition and will be available during all stages -of the building process. - -To create this directory, execute, as user -root, the following command before starting the -download session: + + + Introduction + + This chapter includes a list of packages that need to be downloaded for + building a basic Linux system. The listed version numbers correspond to versions + of the software that are known to work, and this book is based on their use. We + highly recommend not using newer versions because the build commands for one + version may not work with a newer version. The newest package versions may also + have problems that require work-arounds. These work-arounds will be developed + and stabilized in the development version of the book. + + Download locations may not always be accessible. If a download + location has changed since this book was published, Google () provides a useful search engine for + most packages. If this search is unsuccessful, try one of the + alternative means of downloading discussed at . + + Downloaded packages and patches will need to be stored somewhere + that is conveniently available throughout the entire build. A working + directory is also required to unpack the sources and build them. + $LFS/sources can be used both + as the place to store the tarballs and patches and as a working + directory. By using this directory, the required elements will be + located on the LFS partition and will be available during all stages + of the building process. + + To create this directory, execute, as user root, the following command before starting + the download session: mkdir -v $LFS/sources -Make this directory writable and sticky. Sticky -means that even if multiple users have write permission on a -directory, only the owner of a file can delete the file within a -sticky directory. The following command will enable the write and -sticky modes: + Make this directory writable and sticky. Sticky + means that even if multiple users have write permission on a + directory, only the owner of a file can delete the file within a + sticky directory. The following command will enable the write and + sticky modes: chmod -v a+wt $LFS/sources - diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 29c822a7a..eb3b8b121 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -1,463 +1,476 @@ - %general-entities; ]> + -All Packages - - -Download or otherwise obtain the following packages: - - - - -Autoconf (&autoconf-version;) - 908 kilobytes (KB): - - - - - - -Automake (&automake-version;) - 748 KB: - - - - - - -Bash (&bash-version;) - 1,824 KB: - - - - - - -Bash Documentation (&bash-doc-version;) - 1,994 KB: - - - - - - -Berkeley DB (&db-version;) - 7,925 KB: - - - - - - -Binutils (&binutils-version;) - 12,272 KB: - - - - - - -Bison (&bison-version;) - 982 KB: - - - - - - -Bzip2 (&bzip2-version;) - 596 KB: - - - - - - -Coreutils (&coreutils-version;) - 4,782 KB: - - - - - - -DejaGNU (&dejagnu-version;) - 852 KB: - - - - - - -Diffutils (&diffutils-version;) - 648 KB: - - - - - - -E2fsprogs (&e2fsprogs-version;) - 3,120 KB: - - - - - - -Expect (&expect-version;) - 416 KB: - - - - - - -File (&file-version;) - 399 KB: - - -File (&file-version;) may no longer be available at the -listed location. The site administrators of the master download -location occasionally remove older versions when new ones are -released. An alternative download location that may have the correct -version available can also be found at: . - - - - -Findutils (&findutils-version;) - 887 KB: - - - - - - -Flex (&flex-version;) - 672 KB: - - - - - - -Gawk (&gawk-version;) - 1,696 KB: - - - - - - -GCC (&gcc-version;) - 31,048 KB: - - - - - - -Gettext (&gettext-version;) - 4,668 KB: - - - - - - -Glibc (&glibc-version;) - 13,687 KB: - - - - - - -Glibc LibIDN add-on (&glibc-version;) - 100 KB: - - - - - - -Grep (&grep-version;) - 520 KB: - - - - - - -Groff (&groff-version;) - 2,260 KB: - - - - - - -GRUB (&grub-version;) - 772 KB: - - - - - - -Gzip (&gzip-version;) - 284 KB: - - - - - - -Hotplug (&hotplug-version;) - 40 KB: - - - - - - -Iana-Etc (&iana-etc-version;) - 174 KB: - - - - - - -Inetutils (&inetutils-version;) - 752 KB: - - - - - - -IPRoute2 (&iproute2-version;) - 291 KB: - - - - - - -Kbd (&kbd-version;) - 624 KB: - - - - - - -Less (&less-version;) - 216 KB: - - - - - - - -LFS-Bootscripts (&lfs-bootscripts-version;) - 32 KB: - - - - - - -Libtool (&libtool-version;) - 1,761 KB: - - - - - - -Linux (&linux-version;) - 36,522 KB: - - - - - - -Linux-Libc-Headers (&linux-libc-headers-version;) - 2,480 KB: - - - - - - -M4 (&m4-version;) - 300 KB: - - - - - - -Make (&make-version;) - 904 KB: - - - - - - -Man-DB (&man-db-version;) - 816 KB: - - - - - - -Man-pages (&man-pages-version;) - 1,688 KB: - - - - - - -Mktemp (&mktemp-version;) - 68 KB: - - - - - - -Module-Init-Tools (&module-init-tools-version;) - 165 KB: - - - - - - -Ncurses (&ncurses-version;) - 1,683 KB: - - - - - - - - -Patch (&patch-version;) - 156 KB: - - - - - - -Perl (&perl-version;) - 9,628 KB: - - - - - - -Procps (&procps-version;) - 221 KB: - - - - - - -Psmisc (&psmisc-version;) - 193 KB: - - - - - - -Readline (&readline-version;) - 1,456 KB: - - - - - - -Sed (&sed-version;) - 632 KB: - - - - - - -Shadow (&shadow-version;) - 1,057 KB: - - -Shadow (&shadow-version;) may no longer be available at the listed -location. The site administrators of the master download location occasionally -remove older versions when new ones are released. An alternative download -location that may have the correct version available cat also be found at: . - - - - -Sysklogd (&sysklogd-version;) - 72 KB: - - - - - - -Sysvinit (&sysvinit-version;) - 88 KB: - - - - - - -Tar (&tar-version;) - 1,580 KB: - - - - - - -Tcl (&tcl-version;) - 2,672 KB: - - - - - - -Texinfo (&texinfo-version;) - 1,492 KB: - - - - - - -Udev (&udev-version;) - 427 KB: - - - - - - -Udev Rules Configuration - 5 KB: - - - - - - -Util-linux (&util-linux-version;) - 1,344 KB: - - - - - - -Vim (&vim-version;) - 3,650 KB: - - - - - - -Vim (&vim-version;) language files (optional) - 540 KB: - - - - - - -Zlib (&zlib-version;) - 415 KB: - - - - - - - -Total size of these packages: 148 MB + + + All Packages + + Download or otherwise obtain the following packages: + + + + + Autoconf (&autoconf-version;) - 908 kilobytes (KB): + + + + + + + Automake (&automake-version;) - 748 KB: + + + + + + + Bash (&bash-version;) - 1,824 KB: + + + + + + + Bash Documentation (&bash-doc-version;) - 1,994 KB: + + + + + + + Berkeley DB (&db-version;) - 7,925 KB: + + + + + + + Binutils (&binutils-version;) - 12,272 KB: + + + + + + + Bison (&bison-version;) - 982 KB: + + + + + + + Bzip2 (&bzip2-version;) - 596 KB: + + + + + + + Coreutils (&coreutils-version;) - 4,782 KB: + + + + + + + DejaGNU (&dejagnu-version;) - 852 KB: + + + + + + + Diffutils (&diffutils-version;) - 648 KB: + + + + + + + E2fsprogs (&e2fsprogs-version;) - 3,120 KB: + + + + + + + Expect (&expect-version;) - 416 KB: + + + + + + + File (&file-version;) - 399 KB: + + + + + File (&file-version;) may no longer be available at the + listed location. The site administrators of the master download + location occasionally remove older versions when new ones are + released. An alternative download location that may have the correct + version available can also be found at: . + + + + + + Findutils (&findutils-version;) - 887 KB: + + + + + + + Flex (&flex-version;) - 672 KB: + + + + + + + Gawk (&gawk-version;) - 1,696 KB: + + + + + + + GCC (&gcc-version;) - 31,048 KB: + + + + + + + Gettext (&gettext-version;) - 4,668 KB: + + + + + + + Glibc (&glibc-version;) - 13,687 KB: + + + + + + + Glibc LibIDN add-on (&glibc-version;) - 100 KB: + + + + + + + Grep (&grep-version;) - 520 KB: + + + + + + + Groff (&groff-version;) - 2,260 KB: + + + + + + + GRUB (&grub-version;) - 772 KB: + + + + + + + Gzip (&gzip-version;) - 284 KB: + + + + + + + Hotplug (&hotplug-version;) - 40 KB: + + + + + + + Iana-Etc (&iana-etc-version;) - 174 KB: + + + + + + + Inetutils (&inetutils-version;) - 752 KB: + + + + + + + IPRoute2 (&iproute2-version;) - 291 KB: + + + + + + + Kbd (&kbd-version;) - 624 KB: + + + + + + + Less (&less-version;) - 216 KB: + + + + + + + + LFS-Bootscripts (&lfs-bootscripts-version;) - 32 KB: + + + + + + + Libtool (&libtool-version;) - 1,761 KB: + + + + + + + Linux (&linux-version;) - 36,522 KB: + + + + + + + Linux-Libc-Headers (&linux-libc-headers-version;) - 2,480 KB: + + + + + + + M4 (&m4-version;) - 300 KB: + + + + + + + Make (&make-version;) - 904 KB: + + + + + + + Man-DB (&man-db-version;) - 816 KB: + + + + + + + Man-pages (&man-pages-version;) - 1,688 KB: + + + + + + + Mktemp (&mktemp-version;) - 68 KB: + + + + + + + Module-Init-Tools (&module-init-tools-version;) - 165 KB: + + + + + + + Ncurses (&ncurses-version;) - 1,683 KB: + + + + + + + + + Patch (&patch-version;) - 156 KB: + + + + + + + Perl (&perl-version;) - 9,628 KB: + + + + + + + Procps (&procps-version;) - 221 KB: + + + + + + + Psmisc (&psmisc-version;) - 193 KB: + + + + + + + Readline (&readline-version;) - 1,456 KB: + + + + + + + Sed (&sed-version;) - 632 KB: + + + + + + + Shadow (&shadow-version;) - 1,057 KB: + + + + + Shadow (&shadow-version;) may no longer be available at the + listed location. The site administrators of the master download + location occasionally remove older versions when new ones are released. + An alternative download location that may have the correct version + available cat also be found at: . + + + + + + Sysklogd (&sysklogd-version;) - 72 KB: + + + + + + + Sysvinit (&sysvinit-version;) - 88 KB: + + + + + + + Tar (&tar-version;) - 1,580 KB: + + + + + + + Tcl (&tcl-version;) - 2,672 KB: + + + + + + + Texinfo (&texinfo-version;) - 1,492 KB: + + + + + + + Udev (&udev-version;) - 427 KB: + + + + + + + Udev Rules Configuration - 5 KB: + + + + + + + Util-linux (&util-linux-version;) - 1,344 KB: + + + + + + + Vim (&vim-version;) - 3,650 KB: + + + + + + + Vim (&vim-version;) language files (optional) - 540 KB: + + + + + + + Zlib (&zlib-version;) - 415 KB: + + + + + + + + Total size of these packages: 148 MB diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 8fd745110..c5a9b3cb7 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -1,236 +1,242 @@ - %general-entities; ]> + -Needed Patches - - -In addition to the packages, several patches are also required. -These patches correct any mistakes in the packages that should be -fixed by the maintainer. The patches also make small modifications to -make the packages easier to work with. The following patches will be -needed to build an LFS system: - - - - -Bzip2 Bzgrep Security Fixes Patch - 1 KB: - - - - - - -Bzip2 Documentation Patch - 1 KB: - - - - - - -Coreutils Internationalization Fixes Patch - 110 KB: - - - - - - -Coreutils Suppress Uptime, Kill, Su Patch - 15 KB: - - - - - - -Coreutils Uname Patch - 4 KB: - - - - - - -Diffutils Internationalization Fixes Patch - 18 KB: - - - - - - -Expect Spawn Patch - 7 KB: - - - - - - -Flex Brokenness Patch - 156 KB: - - - - - - -Gawk Segfault Patch - 1 KB: - - - - - - -GCC Specs Patch - 14 KB: - - - - - - -Grep RedHat Fixes Patch - 56 KB: - - - - - - -Groff Debian Patch - 129 KB: - - -Groff Debian Patch (&groff-version;-&groff-patchlevel;) -may no longer be available at the -listed location. The site administrators of the master download -location occasionally remove older versions when new ones are -released. There is no alternative download location yet. - - - - - -Gzip Security Patch - 2 KB: - - - - - -Kbd Backspace/Delete Fix Patch - 1 KB: - - - - - - -Kbd GCC-4.x Fix Patch - 1 KB: - - - - - - -Inetutils GCC-4.x Fix Patch - 2 KB: - - - - - - -Inetutils No-Server-Man-Pages Patch - 4 KB: - - - - - - -Linux kernel UTF-8 Composing Patch - 3 KB: - - - - - - -Mktemp Tempfile Patch - 4 KB: - - - - - - -Ncurses Fixes Patch - 9 KB: - - - - - - -Perl Libc Patch - 1 KB: - - - - - - -Shadow Configure Script Patch - 1KB: - - - - - - -Sysklogd 8-Bit Cleanness Patch - 1 KB: - - - - - - -Sysklogd Fixes Patch - 27 KB: - - - - - - -Tar GCC-4.x Fix Patch - 1 KB: - - - - - - -Tar Sparse Fix Patch - 1 KB: - - - - - - -Texinfo Multibyte Fixes Patch - 1 KB: - - - - - - - -Texinfo Tempfile Fix Patch - 2 KB: - - - - - - -Util-linux Cramfs Patch - 3 KB: - - - - - - -In addition to the above required patches, there exist a number of -optional patches created by the LFS community. These optional patches -solve minor problems or enable functionality that is not enabled by -default. Feel free to peruse the patches database located at - and acquire any additional -patches to suit the system needs. + + + Needed Patches + + In addition to the packages, several patches are also required. + These patches correct any mistakes in the packages that should be + fixed by the maintainer. The patches also make small modifications to + make the packages easier to work with. The following patches will be + needed to build an LFS system: + + + + + Bzip2 Bzgrep Security Fixes Patch - 1 KB: + + + + + + + Bzip2 Documentation Patch - 1 KB: + + + + + + + Coreutils Internationalization Fixes Patch - 110 KB: + + + + + + + Coreutils Suppress Uptime, Kill, Su Patch - 15 KB: + + + + + + + Coreutils Uname Patch - 4 KB: + + + + + + + Diffutils Internationalization Fixes Patch - 18 KB: + + + + + + + Expect Spawn Patch - 7 KB: + + + + + + + Flex Brokenness Patch - 156 KB: + + + + + + + Gawk Segfault Patch - 1 KB: + + + + + + + GCC Specs Patch - 14 KB: + + + + + + + Grep RedHat Fixes Patch - 56 KB: + + + + + + + Groff Debian Patch - 129 KB: + + + + + Groff Debian Patch (&groff-version;-&groff-patchlevel;) may no + longer be available at the listed location. The site administrators + of the master download location occasionally remove older versions + when new ones are released. There is no alternative download location + yet. + + + + + + + Gzip Security Patch - 2 KB: + + + + + + + Kbd Backspace/Delete Fix Patch - 1 KB: + + + + + + + Kbd GCC-4.x Fix Patch - 1 KB: + + + + + + + Inetutils GCC-4.x Fix Patch - 2 KB: + + + + + + + Inetutils No-Server-Man-Pages Patch - 4 KB: + + + + + + + Linux kernel UTF-8 Composing Patch - 3 KB: + + + + + + + Mktemp Tempfile Patch - 4 KB: + + + + + + + Ncurses Fixes Patch - 9 KB: + + + + + + + Perl Libc Patch - 1 KB: + + + + + + + Shadow Configure Script Patch - 1KB: + + + + + + + Sysklogd 8-Bit Cleanness Patch - 1 KB: + + + + + + + Sysklogd Fixes Patch - 27 KB: + + + + + + + Tar GCC-4.x Fix Patch - 1 KB: + + + + + + + Tar Sparse Fix Patch - 1 KB: + + + + + + + Texinfo Multibyte Fixes Patch - 1 KB: + + + + + + + + Texinfo Tempfile Fix Patch - 2 KB: + + + + + + + Util-linux Cramfs Patch - 3 KB: + + + + + + + In addition to the above required patches, there exist a number of + optional patches created by the LFS community. These optional patches + solve minor problems or enable functionality that is not enabled by + default. Feel free to peruse the patches database located at + and acquire any additional + patches to suit the system needs. - -- cgit v1.2.3-54-g00ecf