Переглянути джерело

Removed IPRoute2 patch, replaced with sed

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4885 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jim Gifford 20 роки тому
батько
коміт
401da4c65e
4 змінених файлів з 5 додано та 10 видалено
  1. 3 0
      chapter01/changelog.xml
  2. 0 7
      chapter03/patches.xml
  3. 2 2
      chapter06/iproute2.xml
  4. 0 1
      general.ent

+ 3 - 0
chapter01/changelog.xml

@@ -73,6 +73,7 @@ first a summary, then a detailed log.</para>
 <listitem><para>Removed:</para>
 <itemizedlist>
 <listitem><para>bash-3.0-display_wrap-1.patch</para></listitem>
+<listitem><para>iproute2-2.6.11-050330-remove_db-1.patch</para></listitem>
 <listitem><para>man-1.5o1-80cols-1.patch</para></listitem>
 <listitem><para>sysklogd-1.4.1-kernel_headers-1.patch</para></listitem>
 <listitem><para>sysvinit-2.85-proclen-1.patch</para></listitem>
@@ -82,6 +83,8 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>April 6, 2005 [jim]: Removed Iproute2 patch for a sed (Ryan Oliver).</para></listitem>
+
 <listitem><para>April 6, 2005 [matt]: Move e2fsprogs sed command to
 before entering the build directory (Steffen R. Knollmann).</para></listitem>
 

+ 0 - 7
chapter03/patches.xml

@@ -92,13 +92,6 @@ needed to build an LFS system:</para>
 </listitem>
 </varlistentry>
 
-<varlistentry>
-<term>IPRoute2 Disable DB Patch - 1 KB:</term>
-<listitem>
-<para><ulink url="&patches-root;iproute2-&iproute2-patch-version;-remove_db-1.patch"/></para>
-</listitem>
-</varlistentry>
-
 <varlistentry>
 <term>Mktemp Tempfile Patch - 3 KB:</term>
 <listitem>

+ 2 - 2
chapter06/iproute2.xml

@@ -34,13 +34,13 @@
     <para>The <command>arpd</command> binary included in this package is
           dependent on Berkeley DB.  Because <command>arpd</command> is not a very
           common requirement on a base Linux system, remove the dependency on
-          Berkeley DB by applying the patch using the command below.  If 
+          Berkeley DB by applying the sed command below.  If 
           the <command>arpd</command> binary is needed, instructions for
           compiling Berkeley DB can be found in the BLFS Book at <ulink
           url="&blfs-root;view/svn/content/databases.html#db"/>.
     </para>
 
-    <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-remove_db-1.patch</userinput></screen>
+    <screen><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
 
     <para>Prepare IPRoute2 for compilation:</para>
     <screen><userinput>./configure </userinput></screen>

+ 0 - 1
general.ent

@@ -46,7 +46,6 @@
 <!ENTITY iana-etc-version "1.04">
 <!ENTITY inetutils-version "1.4.2">
 <!ENTITY iproute2-version "2.6.11-050330">
-<!ENTITY iproute2-patch-version "2.6.11_050330">
 <!ENTITY kbd-version "1.12">
 <!ENTITY less-version "382">
 <!ENTITY lfs-bootscripts-version "3.2.0">