Upgrade to coreutils-5.92

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7098 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2005-10-29 20:07:18 +00:00
parent b63fcf71db
commit 6b5989572a
8 changed files with 17 additions and 44 deletions

View File

@ -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>

View File

@ -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>

View File

@ -45,13 +45,6 @@ needed to build an LFS system:</para>
</listitem>
</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>

View File

@ -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>

View File

@ -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&mdash;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&mdash;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>

View File

@ -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:" &gt;&gt; /etc/group
echo "dummy2:x:1001:dummy" &gt;&gt; /etc/group
echo "dummy:x:1000:1000:::/bin/bash" &gt;&gt; /etc/passwd</userinput></screen>
echo "dummy:x:1000:1000::/root:/bin/bash" &gt;&gt; /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>

View File

@ -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">

View File

@ -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">