aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-09-17 13:41:01 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-09-17 13:41:01 +0000
commit8dc8eb42fea3e6a906a7cbc14189d10e587b6601 (patch)
treedb1206715822d4a87c05727822b5c6427e5c1845
parentd0160188edb98870964c76a2b1f8e9583401764e (diff)
Add a patch to improve POSIX and bash compatibility of 'echo' - required by the testsuite in udev-069 and later
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6865 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter03/patches.xml7
-rw-r--r--chapter06/coreutils.xml5
-rw-r--r--general.ent4
-rw-r--r--patches.ent1
5 files changed, 20 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 86771c90e..fa298541e 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -89,6 +89,7 @@ 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>&gcc-specs-patch;</para></listitem>
<listitem><para>&glibc-gcc4_elf-patch;</para></listitem>
<listitem><para>&glibc-gcc4_iconvdata-patch;</para></listitem>
@@ -122,6 +123,10 @@ First a summary, then a detailed log.</para>
</itemizedlist>
</listitem>
+<listitem><para>September 17, 2005 [matt]: Added patch for coreutils to improve
+echo's POSIX and bash compatibility and to recognise &quot;\xhh&quot; syntax as
+required by the test suite in udev-069 and later.</para></listitem>
+
<listitem><para>September 15, 2005 [archaic]: Added patch for util-linux to
prevent a umount vulnerability.</para></listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 22ff8611e..739c96862 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -46,6 +46,13 @@ 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/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 704388d9d..e1fe8dca3 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -31,6 +31,11 @@ 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
diff --git a/general.ent b/general.ent
index 96827e4cf..da0cc2389 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20050915">
-<!ENTITY releasedate "September 15, 2005">
+<!ENTITY version "SVN-20050917">
+<!ENTITY releasedate "September 17, 2005">
<!ENTITY milestone "6.2">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
diff --git a/patches.ent b/patches.ent
index 6455ac2d5..eb8c949ee 100644
--- a/patches.ent
+++ b/patches.ent
@@ -7,6 +7,7 @@
<!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">