Explorar o código

Prevent some arpd artefacts from being installed by IPRoute2. Fixes #2977.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9687 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess %!s(int64=13) %!d(string=hai) anos
pai
achega
bf10add2f2
Modificáronse 2 ficheiros con 13 adicións e 6 borrados
  1. 5 0
      chapter01/changelog.xml
  2. 8 6
      chapter06/iproute2.xml

+ 5 - 0
chapter01/changelog.xml

@@ -39,6 +39,11 @@
     <listitem>
       <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>

+ 8 - 6
chapter06/iproute2.xml

@@ -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@arpd@@g' misc/Makefile</userinput></screen>
+<screen><userinput remap="pre">sed -i '/^TARGETS/s@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>