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
This commit is contained in:
Matthew Burgess 2009-07-18 12:30:56 +00:00
parent c639ec7151
commit 9cccea2aed
10 changed files with 32 additions and 83 deletions

View File

@ -115,34 +115,6 @@
</seglistitem>
</segmentedlist>
<!-- Begin Berkeley DB dependency info -->
<bridgehead renderas="sect2" id="bdb-dep">Berkeley DB</bridgehead>
<segmentedlist>
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
Make, and Sed</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&testsuites;</segtitle>
<seglistitem>
<seg>Not run. Requires Tcl installed on the final system</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&before;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<!-- Begin Binutils dependency info -->
<bridgehead renderas="sect2" id="binutils-dep">Binutils</bridgehead>
@ -961,7 +933,7 @@
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Bash, Berkeley DB, Binutils, Bzip2, Coreutils, Flex, GCC, Gettext,
<seg>Bash, Binutils, Bzip2, Coreutils, Flex, GCC, GDBM, Gettext,
Glibc, Grep, Groff, Gzip, Less, Make, and Sed</seg>
</seglistitem>
</segmentedlist>

View File

@ -37,6 +37,18 @@
-->
<listitem>
<para>2009-07-18</para>
<itemizedlist>
<listitem>
<para>[matthew] - Remove Berkeley DB, as Man-DB prefers GDBM and the
only other program that requires bdb is arpd, which is specialist
enough to be catered for by BLFS. Thanks to Randy McMurchy for the
report. Fixes <ulink url="&lfs-ticket-root;2440">#2440</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>2009-07-16</para>
<itemizedlist>

View File

@ -285,6 +285,12 @@
<listitem>
<para>coreutils-6.12-uname-1.patch</para>
</listitem>
<listitem>
<para>db-4.7.25</para>
</listitem>
<listitem>
<para>db-4.7.25-upstream_fixes-1.patch</para>
</listitem>
<listitem>
<para>glibc-2.8-20080929-iconv_tests-1.patch</para>
</listitem>

View File

@ -41,15 +41,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>Berkeley DB (&db-version;) - <token>&db-size;</token>:</term>
<listitem>
<para>Home page: <ulink url="&db-home;"/></para>
<para>Download: <ulink url="&db-url;"/></para>
<para>MD5 sum: <literal>&db-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry>
<term>Binutils (&binutils-version;) - <token>&binutils-size;</token>:</term>
<listitem>

View File

@ -18,14 +18,6 @@
<variablelist role="materials">
<varlistentry>
<term>Berkeley DB Upstream Fixes Patch - <token>&db-fixes-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&db-fixes-patch;"/></para>
<para>MD5 sum: <literal>&db-fixes-patch-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry>
<term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
<listitem>

View File

@ -26,7 +26,6 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gmp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mpfr.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="db.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pkg-config.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ncurses.xml"/>

View File

@ -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>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!ENTITY version "SVN-20090716">
<!ENTITY releasedate "July 16, 2009">
<!ENTITY version "SVN-20090718">
<!ENTITY releasedate "July 18, 2009">
<!ENTITY copyrightdate "1999-2009"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "6.5">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

View File

@ -77,14 +77,6 @@
<!ENTITY coreutils-ch6-du "98 MB testsuite included">
<!ENTITY coreutils-ch6-sbu "3.2 SBU testsuite included">
<!ENTITY db-version "4.7.25">
<!ENTITY db-size "12,817 KB">
<!ENTITY db-url "http://download-east.oracle.com/berkeley-db/db-&db-version;.tar.gz">
<!ENTITY db-md5 "ec2b87e833779681a0c3a814aa71359e">
<!ENTITY db-home "http://www.oracle.com/technology/software/products/berkeley-db/index.html">
<!ENTITY db-ch6-du "113 MB">
<!ENTITY db-ch6-sbu "1.8 SBU">
<!ENTITY dejagnu-version "1.4.4">
<!ENTITY dejagnu-size "1,055 KB">
<!ENTITY dejagnu-url "&gnu;dejagnu/dejagnu-&dejagnu-version;.tar.gz">

View File

@ -21,11 +21,6 @@
<!ENTITY coreutils-uname-patch-size "4.4 KB">
<!ENTITY db-fixes-patch "db-&db-version;-upstream_fixes-1.patch">
<!ENTITY db-fixes-patch-md5 "dfe0d2a27439454fbafdeeef65fefade">
<!ENTITY db-fixes-patch-size "1.9 KB">
<!ENTITY diffutils-i18n-patch "diffutils-&diffutils-version;-i18n-1.patch">
<!ENTITY diffutils-i18n-patch-md5 "c8d481223db274a33b121fb8c25af9f7">
<!ENTITY diffutils-i18n-patch-size "18 KB">