Explorar el Código

Added the sed permissions patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3805 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess hace 21 años
padre
commit
4a6cd87052
Se han modificado 4 ficheros con 26 adiciones y 1 borrados
  1. 5 1
      chapter01/changelog.xml
  2. 7 0
      chapter03/patches.xml
  3. 7 0
      chapter05/sed.xml
  4. 7 0
      chapter06/sed.xml

+ 5 - 1
chapter01/changelog.xml

@@ -52,6 +52,7 @@ first a summary, then a detailed log.</para>
 <listitem><para>net-tools-1.60-gcc34-2.patch</para></listitem>
 <listitem><para>readline-4.3</para></listitem>
 <listitem><para>readline-4.3-gnu_fixes-1.patch</para></listitem>
+<listitem><para>sed-4.1-permissions.patch</para></listitem>
 <listitem><para>sysklogd-1.4.1-kernel_headers-1.patch</para></listitem>
 <listitem><para>sysklogd-1.4.1-signal-1.patch</para></listitem>
 <listitem><para>sysvinit-2.85-proclen-1.patch</para></listitem>
@@ -75,7 +76,10 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
-<listitem><para>June 17, 2004 [matt]: Clarify that a gcc-3.x based compiled
+<listitem><para>June 17, 2004 [matt]: Added the sed permissions patch</para>
+</listitem>
+
+<listitem><para>June 17, 2004 [matt]: Clarify that a gcc-3.x compiled
 2.6.x kernel is required on the host.</para></listitem>
 
 <listitem><para>June 16, 2004 [winkie]: Use <command>chmod</command> to fix the

+ 7 - 0
chapter03/patches.xml

@@ -133,6 +133,13 @@ following:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>Sed Permissions Patch - 1 KB:</term>
+<listitem>
+<para><ulink url="&patches-root;sed-&sed-version;-permissions-1.patch"/>></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>Sysklogd Kernel Headers Patch - 3 KB:</term>
 <listitem>

+ 7 - 0
chapter05/sed.xml

@@ -27,6 +27,13 @@
 <sect2 role="installation">
 <title>Installation of Sed</title>
 
+<para>A bug in this version of sed changes permissions on files modified using
+the in-place function (<userinput>-i</userinput> flag).  Apply a patch to ensure
+that the original file permissions are preserved.</para>
+
+<screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch
+</userinput></screen>
+
 <para>Prepare Sed for compilation:</para>
 
 <screen><userinput>./configure --prefix=/tools</userinput></screen>

+ 7 - 0
chapter06/sed.xml

@@ -28,6 +28,13 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Texinfo</seg></seglistitem>
 <sect2 role="installation">
 <title>Installation of Sed</title>
 
+<para>A bug in this version of sed changes permissions on files modified using
+the in-place function (<userinput>-i</userinput> flag).  Apply a patch to ensure
+that the original file permissions are preserved.</para>
+
+<screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch
+</userinput></screen>
+
 <para>Prepare Sed for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>