r376 - in trunk/BOOK: . chapter01 chapter04 chapter05 chapter07

robert at linuxfromscratch.org robert at linuxfromscratch.org
Sun Mar 13 09:16:49 PST 2005


Author: robert
Date: 2005-03-13 10:16:48 -0700 (Sun, 13 Mar 2005)
New Revision: 376

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter04/packages.xml
   trunk/BOOK/chapter04/patches.xml
   trunk/BOOK/chapter05/glibc.xml
   trunk/BOOK/chapter07/kernel.xml
   trunk/BOOK/general.ent
Log:
Misc updates.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2005-03-10 20:35:22 UTC (rev 375)
+++ trunk/BOOK/chapter01/changelog.xml	2005-03-13 17:16:48 UTC (rev 376)
@@ -76,7 +76,7 @@
 <listitem><para>paxctl-0.2</para></listitem>
 <listitem><para>perl-5.8.6</para></listitem>
 <listitem><para>procps-3.2.5</para></listitem>
-<listitem><para>psmisc-21.5</para></listitem>
+<listitem><para>psmisc-21.6</para></listitem>
 <listitem><para>readline-5.0</para></listitem>
 <listitem><para>sed-4.1.4</para></listitem>
 <listitem><para>shadow-4.0.7</para></listitem>
@@ -86,7 +86,7 @@
 <listitem><para>tcl-8.4.9</para></listitem>
 <listitem><para>texinfo-4.8</para></listitem>
 <listitem condition="uclibc"><para>uclibc-0.9.27</para></listitem>
-<listitem><para>udev-050</para></listitem>
+<listitem><para>udev-054</para></listitem>
 <listitem><para>util-linux-2.12q</para></listitem>
 <listitem><para>vim-6.3</para></listitem>
 <listitem><para>xorg-6.8.2</para></listitem>
@@ -106,6 +106,12 @@
 </listitem>
 -->
 
+<listitem><para>March 13th, 2005 [Robert]: Bump to Psmisc 21.6. Adjusted a bunch
+of urls in packages.xml. Bump to kernel 2.6.11.2 and matching grsec patch.
+Added bind-now to chapter 5 glibc.</para></listitem>
+
+<listitem><para>March 13th, 2005 [Robert]: Bump to udev-054.</para></listitem>
+
 <listitem><para>March 10th, 2005 [manuel]: Added a placeholder partintro in 
 Part IV - Beyond HLFS. Added xorg.xml.</para></listitem>
 

Modified: trunk/BOOK/chapter04/packages.xml
===================================================================
--- trunk/BOOK/chapter04/packages.xml	2005-03-10 20:35:22 UTC (rev 375)
+++ trunk/BOOK/chapter04/packages.xml	2005-03-13 17:16:48 UTC (rev 376)
@@ -42,7 +42,7 @@
 <varlistentry>
 <term>Bison (&bison-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://alpha.gnu.org/pub/gnu/bison/bison-&bison-version;.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/bison/bison-&bison-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
@@ -63,21 +63,21 @@
 <varlistentry>
 <term>Coreutils (&coreutils-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/coreutils/coreutils-&coreutils-version;.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/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-&dejagnu-version;.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/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-&diffutils-version;.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/diffutils/diffutils-&diffutils-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
@@ -111,7 +111,7 @@
 <varlistentry>
 <term>Findutils (&findutils-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://alpha.gnu.org/pub/gnu/findutils/findutils-&findutils-version;.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/findutils/findutils-&findutils-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
@@ -125,32 +125,32 @@
 <varlistentry>
 <term>Gawk (&gawk-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/gawk/gawk-&gawk-version;.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/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-&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>
+<para><ulink url="ftp://gcc.gnu.org/pub/gcc/releases/gcc-&gcc-version;/gcc-core-&gcc-version;.tar.bz2"/></para>
+<para><ulink url="ftp://gcc.gnu.org/pub/gcc/releases/gcc-&gcc-version;/gcc-g++-&gcc-version;.tar.bz2"/></para>
+<para><ulink url="ftp://gcc.gnu.org/pub/gcc/releases/gcc-&gcc-version;/gcc-testsuite-&gcc-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Gettext (&gettext-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://ftp.gnu.org/gnu/gettext/"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/gettext/gettext-&getext-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry condition="glibc">
 <term>Glibc (&glibc-version;) - ?? KB:</term>
 <listitem>
-<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>
+<para><ulink url="ftp://ftp.gnu.org/gnu/glibc/glibc-&glibc-version;.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/glibc/glibc-libidn-&glibc-version;.tar.bz2"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-&glibc-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
@@ -164,14 +164,14 @@
 <varlistentry>
 <term>Groff (&groff-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/groff/groff-&groff-version;.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/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-&grub-version;.tar.gz"/></para>
+<para><ulink url="ftp://alpha.gnu.org/gnu/grub/grub-&grub-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
@@ -199,7 +199,7 @@
 <varlistentry>
 <term>Inetutils (&inetutils-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/inetutils/inetutils-&inetutils-version;.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/inetutils/inetutils-&inetutils-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
@@ -227,7 +227,7 @@
 <varlistentry>
 <term>LFS-Bootscripts (&lfs-bootscripts-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="http://www.linuxfromscratch.org/~nathan/lfs-bootscripts/lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2"/></para>
+<para><ulink url="http://downloads.linuxfromscratch.org/lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2"/></para>
 </listitem>
 </varlistentry>
 
@@ -264,7 +264,7 @@
 <varlistentry>
 <term>M4 (&m4-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/m4/m4-&m4-version;.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/gnu/m4/m4-&m4-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 
@@ -306,14 +306,14 @@
 <varlistentry>
 <term>Ncurses (&ncurses-version;) - ?? KB:</term>
 <listitem>
-<para><ulink url="ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-&ncurses-version;.tar.gz"/></para>
+<para><ulink url="ftp://ftp.gnu.org/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-&patch-version;.tar.gz"/></para>
+<para><ulink url="ftp://alpha.gnu.org/gnu/diffutils/patch-&patch-version;.tar.gz"/></para>
 </listitem>
 </varlistentry>
 

Modified: trunk/BOOK/chapter04/patches.xml
===================================================================
--- trunk/BOOK/chapter04/patches.xml	2005-03-10 20:35:22 UTC (rev 375)
+++ trunk/BOOK/chapter04/patches.xml	2005-03-13 17:16:48 UTC (rev 376)
@@ -193,7 +193,7 @@
 <varlistentry>
 <term>GR Security Patch - ?? KB:</term>
 <listitem>
-<para><ulink url="http://grsecurity.net/grsecurity-2.1.1-2.6.10-as2-200501242254.patch"/></para>
+<para><ulink url="http://www.grsecurity.net/grsecurity-2.1.3-2.6.11-200503111604.patch"/></para>
 </listitem>
 </varlistentry>
 
@@ -233,13 +233,6 @@
 </varlistentry>
 
 <varlistentry>
-<term>Linux Security Patch - ? KB:</term>
-<listitem>
-<para><ulink url="http://www.acm.rpi.edu/~dilinger/patches/2.6.10/as3/patch-2.6.10-as3.gz"/></para>
-</listitem>
-</varlistentry>
-
-<varlistentry>
 <term>Linux Frandom Patch - ? KB:</term>
 <listitem>
 <para><ulink url="&patches-root;linux-&linux-version;-pseudo_random-1.patch"/></para>

Modified: trunk/BOOK/chapter05/glibc.xml
===================================================================
--- trunk/BOOK/chapter05/glibc.xml	2005-03-10 20:35:22 UTC (rev 375)
+++ trunk/BOOK/chapter05/glibc.xml	2005-03-13 17:16:48 UTC (rev 376)
@@ -71,7 +71,8 @@
     --host=${target} --build=$(uname -m)-linux \
     --disable-profile --enable-add-ons --with-binutils=/tools/bin \
     --enable-kernel=2.6.0 --without-gd --without-cvs \
-    --with-headers=/tools/include --cache-file=config.cache</userinput></screen>
+    --with-headers=/tools/include --cache-file=config.cache \
+    --enable-bind-now</userinput></screen>
 
 <para>Compile the package:</para>
 

Modified: trunk/BOOK/chapter07/kernel.xml
===================================================================
--- trunk/BOOK/chapter07/kernel.xml	2005-03-10 20:35:22 UTC (rev 375)
+++ trunk/BOOK/chapter07/kernel.xml	2005-03-13 17:16:48 UTC (rev 376)
@@ -57,24 +57,14 @@
 <quote>as</quote> kernel tree:</para>
 
 <screen><userinput>install -m444 /sources/linux-&linux-version;-pseudo_random-1.patch /usr/src
-install -m444 /sources/patch-&linux-version;-as3.gz /usr/src
-gunzip /usr/src/patch-&linux-version;-as3.gz
-install -m444 /sources/grsecurity-2.1.1-&linux-version;-as2-200501242254.patch /usr/src</userinput></screen>
+install -m444 /sources/grsecurity-2.1.3-&linux-version;-200503111604.patch /usr/src</userinput></screen>
 
 <para>Then change to the Linux source directory and apply the patches:</para>
 
 <screen><userinput>cd /usr/src/linux-&linux-version;
 patch -Np1 -i ../linux-&linux-version;-pseudo_random-1.patch
-patch -Np1 -i ../patch-&linux-version;-as3</userinput></screen>
+patch -Np1 -i ../grsecurity-2.1.3-&linux-version;-200503111604.patch</userinput></screen>
 
-<para>This grsecurity patch is made for as2, and we are using as3. One hunk will
-fail because of a trivial problem. This sed will fix the grsecurity patch to
-work with as3. The results will be correct using this:</para>
-
-<screen><userinput>sed -e 's/EXTRAVERSION = -as2/EXTRAVERSION = -as3/' \
-    -e 's/NAME=Woozy Numbat + fixes/NAME=Rocket/' \
-    ../grsecurity-2.1.1-&linux-version;-as2-200501242254.patch | patch -Np1</userinput></screen>
-
 <tip><para>Look at <command>info libc</command>, node <quote>System 
 Configuration</quote>, <quote>General Limits</quote>. There are
 descrptions of values that can be hardcoded in <filename 
@@ -135,6 +125,11 @@
 which replaces EI_PAX.</para></listitem>
 </itemizedlist></para>
 
+<para>If you plan to use the X11 windowing system then the options
+CONFIG_GRKERNSEC_KMEM and CONFIG_GRKERNSEC_IO, in the Grsecurity
+"Address Space Protection" menu, should be disabled. See the help for those
+options for more details.</para>
+
 <para>Be warned that the CONFIG_GRKERNSEC_IO option, which disallows 
 modifying the kernel in memory while its loaded, breaks 
 <command>pnpdump</command>(8) from Isatools.</para>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-03-10 20:35:22 UTC (rev 375)
+++ trunk/BOOK/general.ent	2005-03-13 17:16:48 UTC (rev 376)
@@ -51,7 +51,7 @@
 <!ENTITY lfs-bootscripts-version "3.1.0">
 <!ENTITY libol-version "0.3.15">
 <!ENTITY libtool-version "1.5.14">
-<!ENTITY linux-version "2.6.10">
+<!ENTITY linux-version "2.6.11.2">
 <!ENTITY linux-libc-headers-version "2.6.10.0">
 <!ENTITY m4-version "1.4.2">
 <!ENTITY make-version "3.80">
@@ -64,7 +64,7 @@
 <!ENTITY paxctl-version "0.2">
 <!ENTITY perl-version "5.8.6">
 <!ENTITY procps-version "3.2.5">
-<!ENTITY psmisc-version "21.5">
+<!ENTITY psmisc-version "21.6">
 <!ENTITY readline-version "5.0">
 <!ENTITY sed-version "4.1.4">
 <!ENTITY shadow-version "4.0.7">
@@ -76,7 +76,7 @@
 <!ENTITY uclibc-version "0.9.27">
 <!ENTITY uclibc-patch-version "0.9.27">
 <!ENTITY uclibc-locale-version "030818">
-<!ENTITY udev-version "050">
+<!ENTITY udev-version "054">
 <!ENTITY util-linux-version "2.12q">
 <!ENTITY vim-version "6.3">
 <!ENTITY zlib-version "1.2.2">




More information about the hlfs-book mailing list