diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-10-29 20:07:18 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-10-29 20:07:18 +0000 |
commit | 6b5989572ae21123c569fec21ccfc6a5f44e77a8 (patch) | |
tree | 7f4270498bc2f86ad1b7239814f78d0619ae3e2b | |
parent | b63fcf71db43283a7c77dd45ae807f852f85b2a9 (diff) |
Upgrade to coreutils-5.92
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7098 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 6 | ||||
-rw-r--r-- | chapter03/packages.xml | 2 | ||||
-rw-r--r-- | chapter03/patches.xml | 7 | ||||
-rw-r--r-- | chapter05/coreutils.xml | 19 | ||||
-rw-r--r-- | chapter05/perl.xml | 9 | ||||
-rw-r--r-- | chapter06/coreutils.xml | 9 | ||||
-rw-r--r-- | general.ent | 6 | ||||
-rw-r--r-- | patches.ent | 3 |
8 files changed, 17 insertions, 44 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 9c1ed1904..08ffdd80a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -33,7 +33,7 @@ First a summary, then a detailed log.</para> <listitem><para>Binutils &binutils-version;</para></listitem> <listitem><para>Bison &bison-version;</para></listitem> <!-- <listitem><para>Bzip2 &bzip2-version;</para></listitem> --> -<!-- <listitem><para>Coreutils &coreutils-version;</para></listitem> --> +<listitem><para>Coreutils &coreutils-version;</para></listitem> <!-- <listitem><para>DejaGNU &dejagnu-version;</para></listitem> --> <!-- <listitem><para>Diffutils &diffutils-version;</para></listitem> --> <listitem><para>E2fsprogs &e2fsprogs-version;</para></listitem> @@ -89,7 +89,6 @@ First a summary, then a detailed log.</para> <itemizedlist> <listitem><para>&bzip2-bzgrep-patch;</para></listitem> <listitem><para>&bzip2-docs-patch;</para></listitem> -<listitem><para>&coreutils-echo-patch;</para></listitem> <listitem><para>&gawk-segfault-patch;</para></listitem> <listitem><para>&gcc-specs-patch;</para></listitem> <listitem><para>&glibc-gcc4_elf-patch;</para></listitem> @@ -123,6 +122,9 @@ First a summary, then a detailed log.</para> </itemizedlist> </listitem> +<listitem><para>October 29, 2005 [matt]: Upgrade to coreutils-5.92.</para> +</listitem> + <listitem><para>October 22, 2005 [archaic]: Upgrade to m4-1.4.4.</para> </listitem> diff --git a/chapter03/packages.xml b/chapter03/packages.xml index a856c9323..2dfd7262a 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -61,7 +61,7 @@ </varlistentry> <varlistentry> -<term>Coreutils (&coreutils-version;) - 4,184 KB:</term> +<term>Coreutils (&coreutils-version;) - 4,698 KB:</term> <listitem> <para><ulink url="&gnu;coreutils/"/></para> </listitem> diff --git a/chapter03/patches.xml b/chapter03/patches.xml index ab61519f0..49ad204a7 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -46,13 +46,6 @@ needed to build an LFS system:</para> </varlistentry> <varlistentry> -<term>Coreutils Echo POSIX and Bash Compatibility Patch - 9 KB:</term> -<listitem> -<para><ulink url="&patches-root;&coreutils-echo-patch;"/></para> -</listitem> -</varlistentry> - -<varlistentry> <term>Coreutils Suppress Uptime, Kill, Su Patch - 15 KB:</term> <listitem> <para><ulink url="&patches-root;&coreutils-suppress-patch;"/></para> diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml index 1a049d04f..b7875423a 100644 --- a/chapter05/coreutils.xml +++ b/chapter05/coreutils.xml @@ -31,24 +31,7 @@ <para>Prepare Coreutils for compilation:</para> -<screen><userinput>DEFAULT_POSIX2_VERSION=199209 ./configure --prefix=/tools</userinput></screen> - -<para>This package has an issue when compiled against versions of -Glibc later than 2.3.2. Some of the Coreutils utilities (such as -<command>head</command>, <command>tail</command>, and -<command>sort</command>) will reject their traditional syntax, a -syntax that has been in use for approximately 30 years. This old -syntax is so pervasive that compatibility should be preserved until -the many places where it is used can be updated. Backwards -compatibility is achieved by setting the -<envar>DEFAULT_POSIX2_VERSION</envar> environment variable to -<quote>199209</quote> in the above command. If you do not want -Coreutils to be backwards compatible with the traditional syntax, then -omit setting the <envar>DEFAULT_POSIX2_VERSION</envar> -environment variable. It is important to remember that doing so will -have consequences, including the need to patch the many packages that -still use the old syntax. Therefore, it is recommended that the -instructions be followed exactly as given above.</para> +<screen><userinput>./configure --prefix=/tools</userinput></screen> <para>Compile the package:</para> diff --git a/chapter05/perl.xml b/chapter05/perl.xml index aac22ef4e..67ef9a3f3 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -34,16 +34,17 @@ the following patch:</para> <screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen> -<para>Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX' -part of the command correct—they are all letters):</para> +<para>Prepare Perl for compilation (make sure to get the +'Data/Dumper Fcntl IO POSIX' part of the command correct—they are all +letters):</para> -<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'</userinput></screen> +<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'</userinput></screen> <para>The meaning of the configure options:</para> <variablelist> <varlistentry> -<term><parameter>-Dstatic_ext='IO Fcntl POSIX'</parameter></term> +<term><parameter>-Dstatic_ext='Data/Dumper Fcntl IO POSIX'</parameter></term> <listitem><para>This tells Perl to build the minimum set of static extensions needed for installing and testing the Coreutils package in the next chapter.</para></listitem> diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index bd84f499b..718fafa53 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -31,11 +31,6 @@ Gettext, Glibc, Grep, Make, Perl, and Sed</seg></seglistitem> <sect2 role="installation"> <title>Installation of Coreutils</title> -<para>Apply a patch to improve the POSIX and <command>bash</command> -compatibility of <command>echo</command>:</para> - -<screen><userinput>patch -Np1 -i ../&coreutils-echo-patch;</userinput></screen> - <para>A known issue with the <command>uname</command> program from this package is that the <parameter>-p</parameter> switch always returns <computeroutput>unknown</computeroutput>. The following patch @@ -50,7 +45,7 @@ other packages later:</para> <para>Now prepare Coreutils for compilation:</para> -<screen><userinput>DEFAULT_POSIX2_VERSION=199209 ./configure --prefix=/usr</userinput></screen> +<screen><userinput>./configure --prefix=/usr</userinput></screen> <para>Compile the package:</para> @@ -66,7 +61,7 @@ running the test suite.</para> <screen><userinput>echo "dummy1:x:1000:" >> /etc/group echo "dummy2:x:1001:dummy" >> /etc/group -echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd</userinput></screen> +echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></screen> <para>Now the test suite is ready to be run. First, run the tests that are meant to be run as user <emphasis>root</emphasis>:</para> diff --git a/general.ent b/general.ent index 631b02edf..7f62fb1cf 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!ENTITY version "SVN-20051022"> -<!ENTITY releasedate "October 22, 2005"> +<!ENTITY version "SVN-20051029"> +<!ENTITY releasedate "October 29, 2005"> <!ENTITY milestone "6.2"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> @@ -30,7 +30,7 @@ <!ENTITY binutils-version "2.16.1"> <!ENTITY bison-version "2.1"> <!ENTITY bzip2-version "1.0.3"> -<!ENTITY coreutils-version "5.2.1"> +<!ENTITY coreutils-version "5.92"> <!ENTITY dejagnu-version "1.4.4"> <!ENTITY diffutils-version "2.8.1"> <!ENTITY e2fsprogs-version "1.38"> diff --git a/patches.ent b/patches.ent index 55dbd793e..4f9c857cf 100644 --- a/patches.ent +++ b/patches.ent @@ -7,9 +7,8 @@ <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch"> <!ENTITY bzip2-bzgrep-patch "bzip2-&bzip2-version;-bzgrep_security-1.patch"> -<!ENTITY coreutils-echo-patch "coreutils-&coreutils-version;-echo_posix-1.patch"> <!ENTITY coreutils-suppress-patch "coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch"> -<!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-2.patch"> +<!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-1.patch"> <!ENTITY expect-spawn-patch "expect-&expect-version;-spawn-1.patch"> |