r185 - in trunk/BOOK: chapter02 chapter03 chapter05 chapter06

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Feb 13 03:35:30 PST 2005


Author: manuel
Date: 2005-02-13 04:35:30 -0700 (Sun, 13 Feb 2005)
New Revision: 185

Modified:
   trunk/BOOK/chapter02/arc4random.xml
   trunk/BOOK/chapter03/packages.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter05/glibc.xml
   trunk/BOOK/chapter05/linux-libc-headers.xml
   trunk/BOOK/chapter05/uclibc-headers.xml
   trunk/BOOK/chapter05/uclibc.xml
   trunk/BOOK/chapter06/glibc.xml
   trunk/BOOK/chapter06/linux-libc-headers.xml
   trunk/BOOK/chapter06/uclibc.xml
Log:
Updates from the lasts Robert commits.

Modified: trunk/BOOK/chapter02/arc4random.xml
===================================================================
--- trunk/BOOK/chapter02/arc4random.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter02/arc4random.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -24,7 +24,7 @@
 class="devicefile">frandom</filename> and uses no kernel entropy, but consequently 
 is unsafe for cryptography. <filename class="devicefile">frandom</filename> is seeded
 directly from the kernel entropy pool, but only once per use, and can provide gigabytes 
-of output while only consuming 16 bytes of kernel entropy. To reseed
+of output while only consuming 256 bytes of kernel entropy. To reseed
 <filename class="devicefile">erandom</filename> simply use <filename 
 class="devicefile">frandom</filename>, such as dumping one block from <filename 
 class="devicefile">frandom</filename> to <filename class="devicefile">/dev/null</filename>.

Modified: trunk/BOOK/chapter03/packages.xml
===================================================================
--- trunk/BOOK/chapter03/packages.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter03/packages.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -14,91 +14,91 @@
 <varlistentry>
 <term>Autoconf (&autoconf-version;) - ?? kilobytes (KB):</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.59.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-&autoconf-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Automake (&automake-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/automake/automake-1.9.4.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/automake/automake-&automake-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
-<term>Bash (&bash-version;) - ?? KB:</term>
+<term>Bash () - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/bash/bash-3.0.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/bash/bash-&bash-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Binutils (&binutils-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-2.15.94.0.2.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-&binutils-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Bison (&bison-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://alpha.gnu.org/pub/gnu/bison/bison-2.0.tar.gz"/></para>
+<para><ulink url="ftp://alpha.gnu.org/pub/gnu/bison/bison-&bison-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>BLFS-Bootscripts (&blfs-bootscripts-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.linuxfromscratch.org/blfs/downloads/svn/blfs-bootscripts-20041227.tar.bz2"/></para>
+<para><ulink url="http://www.linuxfromscratch.org/blfs/downloads/svn/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Bzip2 (&bzip2-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://sources.redhat.com/pub/bzip2/v102/bzip2-1.0.2.tar.gz"/></para>
+<para><ulink url="ftp://sources.redhat.com/pub/bzip2/v102/bzip2-&bzip2-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Coreutils (&coreutils-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.1.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/coreutils/coreutils-&coreutils-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>DejaGNU (&dejagnu-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-1.4.4.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/dejagnu/dejagnu-&dejagnu-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Diffutils (&diffutils-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/diffutils/diffutils-2.8.1.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/diffutils/diffutils-&diffutils-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>E2fsprogs (&e2fsprogs-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://umn.dl.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-1.35.tar.gz"/></para>
+<para><ulink url="http://umn.dl.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-&e2fsprogs-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Expect (&expect-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://expect.nist.gov/old/expect-5.42.1.tar.gz"/></para>
+<para><ulink url="http://expect.nist.gov/old/expect-&expect-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>File (&file-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.astron.com/pub/file/file-4.12.tar.gz"/></para>
+<para><ulink url="ftp://ftp.astron.com/pub/file/file-&file-version;.tar.gz"/></para>
 <beginpage/>
 <note><para>File (&file-version;) may no longer be available at the
 listed location. The site administrators of the master download
@@ -112,130 +112,130 @@
 <varlistentry>
 <term>Findutils (&findutils-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://alpha.gnu.org/pub/gnu/findutils/findutils-4.2.11.tar.gz"/></para>
+<para><ulink url="ftp://alpha.gnu.org/pub/gnu/findutils/findutils-&findutils-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Flex (&flex-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://umn.dl.sourceforge.net/sourceforge/lex/flex-2.5.31.tar.bz2"/></para>
+<para><ulink url="http://umn.dl.sourceforge.net/sourceforge/lex/flex-&flex-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Gawk (&gawk-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gawk/gawk-3.1.4.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gawk/gawk-&gawk-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>GCC (&gcc-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.3/gcc-core-3.4.3.tar.bz2"/></para>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.3/gcc-g++-3.4.3.tar.bz2"/></para>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.3/gcc-testsuite-3.4.3.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-&gcc-version;/gcc-core-&gcc-version;.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-&gcc-version;/gcc-g++-&gcc-version;.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/gcc-&gcc-version;/gcc-testsuite-&gcc-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
-<!--
-<varlistentry>
+<varlistentry condition="glibc">
 <term>Gettext (&gettext-version;) - ?? KB:</term>
 <listitem>
+<para><ulink url="http://ftp.gnu.org/gnu/gettext/"/></para>
 </listitem>
 </varlistentry>
--->
 
-<varlistentry>
+<varlistentry condition="glibc">
 <term>Glibc (&glibc-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.3.4.tar.bz2"/></para>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/glibc/glibc-libidn-2.3.4.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/glibc/glibc-&glibc-version;.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/glibc/glibc-libidn-&glibc-version;.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-&glibc-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Grep (&grep-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/gnu/grep/grep-2.5.1a.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/grep/grep-&grep-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Groff (&groff-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/groff/groff-1.19.1.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/groff/groff-&groff-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Grub (&grub-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://alpha.gnu.org/pub/gnu/grub/grub-0.95.tar.gz"/></para>
+<para><ulink url="ftp://alpha.gnu.org/pub/gnu/grub/grub-&grub-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Gzip (&gzip-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://alpha.gnu.org/gnu/gzip/gzip-1.3.5.tar.gz"/></para>
+<para><ulink url="ftp://alpha.gnu.org/gnu/gzip/gzip-&gzip-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Hotplug (&hotplug-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_23.tar.bz2"/></para>
+<para><ulink url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-&hotplug-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Iana-Etc (&iana-etc-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.sethwklein.net/projects/iana-etc/downloads/iana-etc-1.03.tar.bz2"/></para>
+<para><ulink url="http://www.sethwklein.net/projects/iana-etc/downloads/iana-etc-&iana-etc-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Inetutils (&inetutils-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/inetutils/inetutils-1.4.2.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/inetutils/inetutils-&inetutils-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>IPRoute2 (&iproute2-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.9-ss040831.tar.gz"/></para>
+<para><ulink url="http://developer.osdl.org/dev/iproute2/download/iproute2-&iproute2-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Kbd (&kbd-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/kbd-1.12.tar.gz"/></para>
+<para><ulink url="ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/kbd-&kbd-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Less (&less-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.greenwoodsoftware.com/less/less-382.tar.gz"/></para>
+<para><ulink url="http://www.greenwoodsoftware.com/less/less-&less-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>LFS-Bootscripts (&lfs-bootscripts-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.linuxfromscratch.org/~nathan/lfs-bootscripts/lfs-bootscripts-3.1.0.tar.bz2"/></para>
+<para><ulink url="http://www.linuxfromscratch.org/~nathan/lfs-bootscripts/lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry> 
 <term>Libol (&libol-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.balabit.com/downloads/syslog-ng/libol/0.3/libol-0.3.14.tar.gz"/></para>
+<para><ulink url="http://www.balabit.com/downloads/syslog-ng/libol/0.3/libol-&libol-version;.tar.gz"/></para>
 
 </listitem>
 </varlistentry>
@@ -243,7 +243,7 @@
 <varlistentry>
 <term>Libtool (&libtool-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/gnu/libtool/libtool-1.5.10.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/libtool/libtool-&libtool-version;.tar.gz"/></para>
 
 </listitem>
 </varlistentry>
@@ -251,168 +251,168 @@
 <varlistentry>
 <term>Linux (&linux-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-&linux-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Linux-Libc-Headers (&linux-libc-headers-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://ep09.pld-linux.org/~mmazur/linux-libc-headers/linux-libc-headers-2.6.10.0.tar.bz2"/></para>
+<para><ulink url="http://ep09.pld-linux.org/~mmazur/linux-libc-headers/linux-libc-headers-&linux-libc-headers-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>M4 (&m4-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/m4/m4-1.4.2.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/m4/m4-&m4-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Make (&make-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/gnu/make/make-3.80.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/make/make-&make-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Man (&man-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.kernel.org/pub/linux/utils/man/man-1.5p.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.kernel.org/pub/linux/utils/man/man-&man-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Man-pages (&man-pages-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.kernel.org/pub/linux/docs/manpages/man-pages-2.01.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.kernel.org/pub/linux/docs/manpages/man-pages-&man-pages-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Mktemp (&mktemp-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.5.tar.gz"/></para>
+<para><ulink url="ftp://ftp.mktemp.org/pub/mktemp/mktemp-&mktemp-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Module-Init-Tools (&module-init-tools-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-3.1.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-&module-init-tools-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Ncurses (&ncurses-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.4.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-&ncurses-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Patch (&patch-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://alpha.gnu.org/pub/gnu/diffutils/patch-2.5.9.tar.gz"/></para>
+<para><ulink url="ftp://alpha.gnu.org/pub/gnu/diffutils/patch-&patch-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>PaXctl (&paxctl-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://pax.grsecurity.net/paxctl-0.2.tar.gz"/></para>
+<para><ulink url="http://pax.grsecurity.net/paxctl-&paxctl-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Perl (&perl-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.cpan.org/src/perl-5.8.6.tar.bz2"/></para>
+<para><ulink url="http://www.cpan.org/src/perl-&perl-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Procps (&procps-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://procps.sourceforge.net/procps-3.2.4.tar.gz"/></para>
+<para><ulink url="http://procps.sourceforge.net/procps-&procps-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Psmisc (&psmisc-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://umn.dl.sourceforge.net/sourceforge/psmisc/psmisc-21.5.tar.gz"/></para>
+<para><ulink url="http://umn.dl.sourceforge.net/sourceforge/psmisc/psmisc-&psmisc-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Readline (&readline-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/gnu/readline/readline-5.0.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/readline/readline-&readline-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Sed (&sed-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/gnu/sed/sed-4.1.2.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/sed/sed-&sed-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Shadow (&shadow-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.pld.org.pl/software/shadow/shadow-4.0.7.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.pld.org.pl/software/shadow/shadow-&shadow-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Syslog-ng (&syslog-ng-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.balabit.com/downloads/syslog-ng/1.6/src/syslog-ng-1.6.5.tar.gz"/></para>
+<para><ulink url="http://www.balabit.com/downloads/syslog-ng/1.6/src/syslog-ng-&syslog-ng-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Sysvinit (&sysvinit-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-2.86.tar.gz"/></para>
+<para><ulink url="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-&sysvinit-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Tar (&tar-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/tar/tar-1.15.1.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/pub/gnu/tar/tar-&tar-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Tcl (&tcl-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.funet.fi/pub/languages/tcl/tcl/tcl8_4/tcl8.4.9-src.tar.gz"/></para>
+<para><ulink url="ftp://ftp.funet.fi/pub/languages/tcl/tcl/tcl8_4/tcl&tcl-version;-src.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Texinfo (&texinfo-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/gnu/texinfo/texinfo-4.8.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/texinfo/texinfo-&texinfo-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="uclibc">
 <term>uClibc (&uclibc-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.uclibc.org/downloads/uClibc-0.9.27.tar.bz2"/></para>
+<para><ulink url="http://www.uclibc.org/downloads/uClibc-&uclibc-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Udev (&udev-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-050.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
@@ -433,21 +433,21 @@
 <varlistentry>
 <term>Util-linux (&util-linux-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/utils/util-linux/util-linux-2.12q.tar.gz"/></para>
+<para><ulink url="ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/utils/util-linux/util-linux-&util-linux-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Vim (&vim-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.vim.org/pub/vim/unix/vim-6.3.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Zlib (&zlib-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.zlib.net/zlib-1.2.2.tar.gz"/></para>
+<para><ulink url="http://www.zlib.net/zlib-&zlib-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter03/patches.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -50,7 +50,7 @@
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="uclibc">
 <term>Binutils uClibc - ?? KB:</term>
 <listitem>
 <para><ulink url="&patches-root;binutils-&binutils-version;-uClibc_conf-1.patch"/></para>
@@ -144,52 +144,59 @@
 </listitem> 
 </varlistentry>
 
-<varlistentry> 
+<varlistentry condition="uclibc"> 
 <term>GCC uClibc Configure Patch - ?? KB:</term>
 <listitem> 
 <para><ulink url="&patches-root;gcc-&gcc-version;-uClibc_conf-1.patch"/></para>
 </listitem> 
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="uclibc">
 <term>GCC uClibc Libstdc++ Patch - ?? KB:</term>
 <listitem>
 <para><ulink url="&patches-root;gcc-&gcc-version;-uClibc_libstdc++-1.patch"/></para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="uclibc">
 <term>GCC uClibc Locale Patch - ?? KB:</term>
 <listitem>
 <para><ulink url="&patches-root;gcc-&gcc-version;-uClibc_locale-1.patch"/></para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="glibc">
+<term>Glibc arc4random Patch - ?? KB:</term>
+<listitem>
+<para><ulink url="&patches-root;glibc-&glibc-version;-arc4random-1.patch"/></para>
+</listitem>
+</varlistentry>
+
+<varlistentry condition="glibc">
 <term>Glibc dl_execstack Patch - ?? KB:</term>
 <listitem>
 <para><ulink url="&patches-root;glibc-&glibc-version;-dl_execstack_PaX-1.patch"/></para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="glibc">
 <term>Glibc Fstack Protector Patch - ?? KB:</term>
 <listitem> 
 <para><ulink url="&patches-root;glibc-&glibc-version;-fstack_protector-1.patch"/></para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="glibc">
 <term>Glibc PAX Patch - ?? KB:</term>
 <listitem> 
 <para><ulink url="&patches-root;glibc-&glibc-version;-pt_pax-1.patch"/></para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="glibc">
 <term>Glibc SSP Patch - ?? KB:</term>
 <listitem> 
-<para><ulink url="&patches-root;glibc-&glibc-version;-ssp_frandom-6.patch"/></para>
+<para><ulink url="&patches-root;glibc-&glibc-version;-ssp_arc4random-1.patch"/></para>
 </listitem>
 </varlistentry>
 
@@ -248,14 +255,14 @@
 <varlistentry>
 <term>Linux Frandom Patch - ? KB:</term>
 <listitem>
-<para><ulink url="&patches-root;linux-&linux-version;-frandom-1.patch"/></para>
+<para><ulink url="&patches-root;linux-&linux-version;-pseudo_random-1.patch"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Linux-Libc-Headers Frandom Patch - ? KB:</term>
 <listitem>
-<para><ulink url="&patches-root;linux-libc-headers-&linux-libc-headers-version;-frandom-1.patch"/></para>
+<para><ulink url="&patches-root;linux-libc-headers-&linux-libc-headers-version;-pseudo_random-1.patch"/></para>
 </listitem>
 </varlistentry>
 
@@ -280,7 +287,7 @@
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="uclibc">
 <term>Perl uClibc Patch - ? KB:</term>
 <listitem>
 <para><ulink url="&patches-root;perl-&perl-version;-uClibc-1.patch"/></para>
@@ -301,24 +308,24 @@
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="uclibc">
 <term>Shadow uClibc Patch - ? KB:</term>
 <listitem>
 <para><ulink url="&patches-root;shadow-&shadow-version;-uClibc-1.patch"/></para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="uclibc">
 <term>uClibc Configure Patch - ? KB:</term>
 <listitem>
-<para><ulink url="&patches-root;uClibc-&uclibc-version;-config-1.patch"/></para>
+<para><ulink url="&patches-root;uClibc-&uclibc-version;-config-2.patch"/></para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
+<varlistentry condition="uclibc">
 <term>uClibc SSP Patch - ? KB:</term>
 <listitem> 
-<para><ulink url="&patches-root;uClibc-&uclibc-version;-ssp-2.patch"/></para>
+<para><ulink url="&patches-root;uClibc-&uclibc-version;-arc4random-1.patch"/></para>
 </listitem>
 </varlistentry>
 

Modified: trunk/BOOK/chapter05/glibc.xml
===================================================================
--- trunk/BOOK/chapter05/glibc.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter05/glibc.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -43,7 +43,8 @@
 <para>Be sure to unpack both Glibc and Glibc-Libidn packages before start the build. 
 Then, apply the patches:</para>
 
-<screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-ssp_frandom-6.patch
+<screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-arc4random-1.patch
+patch -Np1 -i ../glibc-&glibc-version;-ssp_arc4random-6.patch
 patch -Np1 -i ../glibc-&glibc-version;-pt_pax-1.patch
 patch -Np1 -i ../glibc-&glibc-version;-dl_execstack_PaX-1.patch</userinput></screen>
 

Modified: trunk/BOOK/chapter05/linux-libc-headers.xml
===================================================================
--- trunk/BOOK/chapter05/linux-libc-headers.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter05/linux-libc-headers.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -32,7 +32,7 @@
 <para>Apply a patch to ... EDIT ME</para>
 
 <screen><userinput>patch --no-backup-if-mismatch -Np1 -i \
-    ../linux-libc-headers-2.6-frandom-2.patch</userinput></screen>
+    ../linux-libc-headers-&linux-libc-headers-version;-pseudo_random-1.patch</userinput></screen>
     
 <para>The meaning of the patch option:</para>
 

Modified: trunk/BOOK/chapter05/uclibc-headers.xml
===================================================================
--- trunk/BOOK/chapter05/uclibc-headers.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter05/uclibc-headers.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -31,7 +31,7 @@
 
 <para>Apply a patch that adds a generic configuration:</para>
 
-<screen><userinput>patch -Np1 -i ../uClibc-&uclibc-version;-config-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../uClibc-&uclibc-version;-config-2.patch</userinput></screen>
 
 <para>Prepare the uClibc headers:</para>
 

Modified: trunk/BOOK/chapter05/uclibc.xml
===================================================================
--- trunk/BOOK/chapter05/uclibc.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter05/uclibc.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -29,13 +29,17 @@
 <sect2 role="installation">
 <title>Installation of uClibc</title>
 
-<para>The configuration of uClibc does not provide a way to define 
-<envar>HAVE_DEV_ERANDOM</envar> to use <filename
-class="devicefile">erandom</filename>. The following patch removes the <quote>ifdef</quote>
- lines so it will use <filename class="devicefile">erandom</filename>:</para>
+<para>Apply a patch to add the <function>arc4random()</function> to uClibc, and 
+hooks for <command>mktemp</command>(3) and SSP to use it:</para>
 
-<screen><userinput>patch -Np1 -i ../uClibc-&uclibc-version;-config-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../uClibc-&uclibc-version;-arc4random-1.patch</userinput></screen>
 
+<para>The next patch adds a generic config file. The key features to switch on are PIC,
+arc4random, and SSP. This will build with standard features. In chapter 6 you
+will be able to configure uClibc to your more specific needs:</para>
+
+<screen><userinput>patch -Np1 -i ../uClibc-&uclibc-version;-config-2.patch</userinput></screen>
+
 <para>UClibc uses the <parameter>-Os</parameter> optimization to reduce size. 
 The following command will remove this so uClibc uses <parameter>-O2</parameter>
 instead to optimize for speed:</para>

Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter06/glibc.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -45,8 +45,9 @@
 the man pages Glibc-Linuxthreads, .before start the build. 
 Then, apply the patches:</para>
 
-<screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-fstack_protector-1.patch
-patch -Np1 -i ../glibc-&glibc-version;-ssp_frandom-6.patch
+<screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-arc4random-1.patch
+patch -Np1 -i ../glibc-&glibc-version;-ssp_arc4random-1.patch
+patch -Np1 -i ../glibc-&glibc-version;-fstack_protector-1.patch
 patch -Np1 -i ../glibc-&glibc-version;-pt_pax-1.patch
 patch -Np1 -i ../glibc-&glibc-version;-dl_execstack_PaX-1.patch</userinput></screen>
 
@@ -130,6 +131,10 @@
 <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man
 make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen>
 
+<para>And the man page for <function>arc4random()</function>:</para>
+
+<screen><userinput>install -m644 ../glibc-&glibc-version;/manual/arc4random.3 /usr/share/man/man3</userinput></screen>
+
 </sect2>
 
 <sect2 id="conf-glibc" role="configuration"><title>Configuring Glibc</title>

Modified: trunk/BOOK/chapter06/linux-libc-headers.xml
===================================================================
--- trunk/BOOK/chapter06/linux-libc-headers.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter06/linux-libc-headers.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -34,7 +34,7 @@
 <para>Apply a patch to ... EDIT ME</para>
 
 <screen><userinput>patch --no-backup-if-mismatch -Np1 -i \
-    ../linux-libc-headers-2.6-frandom-2.patch</userinput></screen>
+    ../linux-libc-headers-&linux-libc-headers-version;-pseudo_random-1.patch</userinput></screen>
 
 <para>Install the headers files:</para>
 

Modified: trunk/BOOK/chapter06/uclibc.xml
===================================================================
--- trunk/BOOK/chapter06/uclibc.xml	2005-02-13 11:04:37 UTC (rev 184)
+++ trunk/BOOK/chapter06/uclibc.xml	2005-02-13 11:35:30 UTC (rev 185)
@@ -30,9 +30,9 @@
 <sect2 role="installation">
 <title>Installation of uClibc</title>
 
-<para>First patch the <filename>ssp.c</filename> file:</para>
+<para>First apply a patch to add arc4random support:</para>
 
-<screen><userinput>patch -Np1 -i ../uClibc-&uclibc-version;-ssp-2.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../uClibc-&uclibc-version;-arc4random-1.patch</userinput></screen>
 
 <para>Change the default optimization option so it uses <parameter>-O2</parameter>:</para>
 
@@ -86,6 +86,10 @@
 make install
 make -C utils install</userinput></screen>
 
+<para>Install the man page for <function>arc4random()</function>:</para>
+
+<screen><userinput>install -m644 libc/stdlib/man/arc4random.3 /usr/share/man/man3</userinput></screen>
+
 <para>Remove the static libs. Save <filename class="libraryfile">libc.a</filename>
 for GCC's tests:</para>
 




More information about the hlfs-dev mailing list