diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2009-07-18 12:30:56 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2009-07-18 12:30:56 +0000 |
commit | 9cccea2aed45c935e4ea17e84d007c0d84a4c91f (patch) | |
tree | 458e2468ed2225ef7967a0ae20068935e0b5496e /chapter06/iproute2.xml | |
parent | c639ec715188a7f1c799b88a924f062a9e4321d1 (diff) |
Remove Berkeley DB; Man-DB uses GDBM now. Fixes #2440.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8962 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/iproute2.xml')
-rw-r--r-- | chapter06/iproute2.xml | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml index b1e7374b4..aabafa2e9 100644 --- a/chapter06/iproute2.xml +++ b/chapter06/iproute2.xml @@ -41,6 +41,16 @@ <sect2 role="installation"> <title>Installation of IPRoute2</title> + <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"/>. + </para> + +<screen><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen> + <para>Compile the package:</para> <screen><userinput remap="make">make DESTDIR=</userinput></screen> @@ -73,14 +83,6 @@ <screen><userinput remap="install">make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \ DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install</userinput></screen> - <para>The <command>arpd</command> binary links against the Berkeley DB - libraries that reside in <filename class="directory">/usr</filename> and - uses a database in <filename>/var/lib/arpd/arpd.db</filename>. Thus, - according to the FHS, it must be in <filename - class="directory">/usr/sbin</filename>. Move it there:</para> - - <screen><userinput remap="install">mv -v /sbin/arpd /usr/sbin</userinput></screen> - </sect2> <sect2 id="contents-iproute2" role="content"> @@ -90,7 +92,7 @@ <segtitle>Installed programs</segtitle> <seglistitem> - <seg>arpd, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, + <seg>ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, and tc.</seg> </seglistitem> @@ -101,18 +103,6 @@ <?dbfo list-presentation="list"?> <?dbhtml list-presentation="table"?> - <varlistentry id="arpd"> - <term><command>arpd</command></term> - <listitem> - <para>Userspace ARP daemon, useful in really large networks, where the - kernelspace ARP implementation is insufficient, or when setting up a - honeypot</para> - <indexterm zone="ch-system-iproute2 arpd"> - <primary sortas="b-arpd">arpd</primary> - </indexterm> - </listitem> - </varlistentry> - <varlistentry id="ctstat"> <term><command>ctstat</command></term> <listitem> |