aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-01-11 22:39:06 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-01-11 22:39:06 +0000
commit09d0e596f9e68470b28ef4d5e77efba15eefa657 (patch)
tree143be22a2abcd6686d9034b29a1288edd2fc239d /chapter06
parent488d7a56b47e935b75dbe717de90f25f55339e83 (diff)
Remove Libnl as IPRoute2 doesn't need it.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9707 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/chapter06.xml1
-rw-r--r--chapter06/iproute2.xml5
-rw-r--r--chapter06/libnl.xml139
3 files changed, 5 insertions, 140 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index b95ae37fe..b17c3695a 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -56,7 +56,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="groff.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grub.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gzip.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libnl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iproute2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kbd.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="less.xml"/>
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml
index 4a95145f7..5a69518e9 100644
--- a/chapter06/iproute2.xml
+++ b/chapter06/iproute2.xml
@@ -53,6 +53,11 @@
sed -i /ARPD/d Makefile
rm man/man8/arpd.8</userinput></screen>
+ <para>Remove references to some Libnl headers that are not required by
+ IPRoute2:</para>
+
+<screen><userinput remap="pre">sed -i -e '/netlink\//d' ip/ipl2tp.c</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make DESTDIR=</userinput></screen>
diff --git a/chapter06/libnl.xml b/chapter06/libnl.xml
deleted file mode 100644
index ed4d8b738..000000000
--- a/chapter06/libnl.xml
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
- <!ENTITY % general-entities SYSTEM "../general.ent">
- %general-entities;
-]>
-
-<sect1 id="ch-system-libnl" role="wrap">
- <?dbhtml filename="libnl.html"?>
-
- <sect1info condition="script">
- <productname>libnl</productname>
- <productnumber>&libnl-version;</productnumber>
- <address>&libnl-url;</address>
- </sect1info>
-
- <title>Libnl-&libnl-version;</title>
-
- <indexterm zone="ch-system-libnl">
- <primary sortas="a-Libnl">Libnl</primary>
- </indexterm>
-
- <sect2 role="package">
- <title/>
-
- <para>The Libnl package contains a collection of libraries providing APIs to netlink protocol based
- Linux kernel interfaces.</para>
-
- <segmentedlist>
- <segtitle>&buildtime;</segtitle>
- <segtitle>&diskspace;</segtitle>
-
- <seglistitem>
- <seg>&libnl-ch6-sbu;</seg>
- <seg>&libnl-ch6-du;</seg>
- </seglistitem>
- </segmentedlist>
-
- </sect2>
-
- <sect2 role="installation">
- <title>Installation of Libnl</title>
-
- <para>Prepare Libnl for compilation:</para>
-
-<screen><userinput remap="configure">./configure --prefix=/usr --sysconfdir=/etc \
- --disable-static</userinput></screen>
-
- <para>Compile the package:</para>
-
-<screen><userinput remap="make">make</userinput></screen>
-
- <para>This package does not come with a test suite.</para>
-
- <para>Install the package:</para>
-
-<screen><userinput remap="install">make install</userinput></screen>
-
- </sect2>
-
- <sect2 id="contents-libnl" role="content">
- <title>Contents of Libnl</title>
-
- <segmentedlist>
- <segtitle>Installed libraries</segtitle>
- <segtitle>Installed directories</segtitle>
-
- <seglistitem>
- <seg>libnl-cli.so,libnl-genl.so,libnl-nf.so,libnl-route.so,
- libnl.so</seg>
- <seg>/etc/libnl,/usr/include/netlink,/usr/include/netlink/genl,
- /usr/include/netlink/netfilter,/usr/include/netlink/route</seg>
- </seglistitem>
- </segmentedlist>
-
- <variablelist>
- <bridgehead renderas="sect3">Short Descriptions</bridgehead>
- <?dbfo list-presentation="list"?>
- <?dbhtml list-presentation="table"?>
-
- <varlistentry id="libnl-cli">
- <term><filename class="libraryfile">libnl-cli</filename></term>
- <listitem>
- <para></para>
- <indexterm zone="ch-system-libnl">
- <primary sortas="c-libnl-cli">libnl-cli</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="libnl-genl">
- <term><filename class="libraryfile">libnl-genl</filename></term>
- <listitem>
- <para>Contains support for the generic netlink protocol, an extended version of the netlink
- protocol</para>
- <indexterm zone="ch-system-libnl">
- <primary sortas="c-libnl-genl">libnl-genl</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="libnl-nf">
- <term><filename class="libraryfile">libnl-nf</filename></term>
- <listitem>
- <para>Contains support for netlink based netfilter configuration and monitoring interfaces
- (conntrack, log, queue)</para>
- <indexterm zone="ch-system-libnl">
- <primary sortas="c-libnl-nf">libnl-nf</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="libnl-route">
- <term><filename class="libraryfile">libnl-route</filename></term>
- <listitem>
- <para>Contains support for the configuration of interfaces of the NETLINK_ROUTE family including
- network interfaces, routes, addresses, neighbours, and traffic control</para>
- <indexterm zone="ch-system-libnl">
- <primary sortas="c-libnl-route">libnl-route</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="libnl">
- <term><filename class="libraryfile">libnl</filename></term>
- <listitem>
- <para>Contains support for implementing the fundamentals required to use the netlink protocol
- such as socket handling, message construction and parsing, and sending and receiving of
- data.</para>
- <indexterm zone="ch-system-libnl">
- <primary sortas="c-libnl">libnl</primary>
- </indexterm>
- </listitem>
- </varlistentry>
- </variablelist>
-
- </sect2>
-
-</sect1>