Эх сурвалжийг харах

Add upstream fixes 001-008 for Bash

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7382 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 19 жил өмнө
parent
commit
c93d0572c1

+ 3 - 0
chapter01/changelog.xml

@@ -39,6 +39,9 @@
     <listitem>
       <para>Febraury 19, 2006</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Add upstream fixes 001-008 for Bash.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgrade to Sed 4.1.5.</para>
         </listitem>

+ 3 - 0
chapter01/whatsnew.xml

@@ -204,6 +204,9 @@
   <itemizedlist>
     <title>Added:</title>
 
+    <listitem>
+      <para>&bash-fixes-patch;</para>
+    </listitem>
     <listitem>
       <para>&bzip2-bzgrep-patch;</para>
     </listitem>

+ 7 - 0
chapter03/patches.xml

@@ -18,6 +18,13 @@
 
   <variablelist role="materials">
 
+    <varlistentry>
+      <term>Bash Upstream Fixes Patch - 118 KB:</term>
+      <listitem>
+        <para><ulink url="&patches-root;&bash-fixes-patch;"/></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Bzip2 Bzgrep Security Fixes Patch - 1 KB:</term>
       <listitem>

+ 5 - 0
chapter06/bash.xml

@@ -50,6 +50,11 @@
 sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
     Makefile.in</userinput></screen>
 
+    <para>Upstream developers have fixed several issues since the initial
+     release of Bash-&bash-version;.  Apply those fixes:</para>
+
+<screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
+
     <para>Prepare Bash for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr --bindir=/bin \

+ 2 - 0
patches.ent

@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
 <!-- Start of Common Patches -->
+<!ENTITY bash-fixes-patch "bash-&bash-version;-fixes-3.patch">
+
 <!ENTITY bzip2-bzgrep-patch "bzip2-&bzip2-version;-bzgrep_security-1.patch">
 <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch">