[lfs-book] r9687 - in trunk/BOOK: chapter01 chapter06

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Mon Dec 5 13:59:44 PST 2011


Author: matthew
Date: 2011-12-05 14:59:39 -0700 (Mon, 05 Dec 2011)
New Revision: 9687

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/iproute2.xml
Log:
Prevent some arpd artefacts from being installed by IPRoute2. Fixes #2977.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2011-12-05 21:47:10 UTC (rev 9686)
+++ trunk/BOOK/chapter01/changelog.xml	2011-12-05 21:59:39 UTC (rev 9687)
@@ -40,6 +40,11 @@
       <para>2011-12-05</para>
       <itemizedlist>
         <listitem>
+          <para>[matthew] - Prevent some arpd artefacts from being installed by
+          IPRoute2. Fixes
+          <ulink url="&lfs-ticket-root;2977">#2977</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Correct location of Coreutils' libstdbuf. Fixes
           <ulink url="&lfs-ticket-root;2976">#2976</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/chapter06/iproute2.xml
===================================================================
--- trunk/BOOK/chapter06/iproute2.xml	2011-12-05 21:47:10 UTC (rev 9686)
+++ trunk/BOOK/chapter06/iproute2.xml	2011-12-05 21:59:39 UTC (rev 9687)
@@ -43,13 +43,15 @@
 
     <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 <command>sed</command> 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/server/databases.html#db"/>.
+    common requirement on a base Linux system, remove the dependency on Berkeley
+    DB by applying the commands 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/server/databases.html#db"/>.
     </para>
 
-<screen><userinput remap="pre">sed -i '/^TARGETS/s at arpd@@g' misc/Makefile</userinput></screen>
+<screen><userinput remap="pre">sed -i '/^TARGETS/s at arpd@@g' misc/Makefile
+sed -i /ARPD/d Makefile
+rm man/man8/arpd.8</userinput></screen>
 
     <para>Compile the package:</para>
 
@@ -80,7 +82,7 @@
 
     <para>Install the package:</para>
 
-<screen><userinput remap="install">make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \
+<screen><userinput remap="install">make DESTDIR= MANDIR=/usr/share/man \
      DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install</userinput></screen>
 
   </sect2>




More information about the lfs-book mailing list