[3e39d34] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libnl-download-http "http://www.infradead.org/~tgr/libnl/files/libnl-&libnl-version;.tar.gz">
|
---|
| 8 | <!ENTITY libnl-download-ftp " ">
|
---|
[d61e48e3] | 9 | <!ENTITY libnl-md5sum "c13adec0239b266207fff07d79e5ce9e">
|
---|
[3e39d34] | 10 | <!ENTITY libnl-size "1.1 MB">
|
---|
[d61e48e3] | 11 | <!ENTITY libnl-buildsize "16 MB">
|
---|
[3e39d34] | 12 | <!ENTITY libnl-time "0.2 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libnl" xreflabel="libnl-&libnl-version;">
|
---|
| 16 | <?dbhtml filename="libnl.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libnl-&libnl-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libnl">
|
---|
| 26 | <primary sortas="a-libnl">libnl</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libnl</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>libnl</application> suite is a collection of libraries
|
---|
| 33 | providing APIs to netlink protocol based Linux kernel interfaces.</para>
|
---|
| 34 |
|
---|
[d61e48e3] | 35 | &lfs71_checked;
|
---|
[3e39d34] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&libnl-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&libnl-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &libnl-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &libnl-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &libnl-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &libnl-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <para condition="html" role="usernotes">User Notes:
|
---|
| 60 | <ulink url="&blfs-wiki;/libnl"/></para>
|
---|
| 61 |
|
---|
| 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | <sect2 role="installation">
|
---|
| 65 | <title>Installation of libnl</title>
|
---|
| 66 |
|
---|
| 67 | <para>Install <application>libnl</application> by running the following
|
---|
| 68 | commands:</para>
|
---|
| 69 |
|
---|
[d61e48e3] | 70 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 71 | --sysconfdir=/etc \
|
---|
| 72 | --disable-static &&
|
---|
[3e39d34] | 73 | make</userinput></screen>
|
---|
| 74 |
|
---|
| 75 | <para>This package does not have a testsuite.</para>
|
---|
| 76 |
|
---|
| 77 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 78 |
|
---|
| 79 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="commands">
|
---|
| 84 | <title>Command Explanations</title>
|
---|
| 85 |
|
---|
| 86 | <para><parameter>--sysconfdir=/etc</parameter>: This parameter puts the
|
---|
| 87 | pktloc and classid files in <filename class="directory">/etc/libnl</filename>
|
---|
| 88 | which is their conventional location and recommended if you are building
|
---|
| 89 | this package to enable <application>NetworkManager</application> on a
|
---|
| 90 | desktop. If you are building this package for other reasons, you might
|
---|
| 91 | prefer to use <parameter>--sysconfdir=/var/lib</parameter> so that these
|
---|
| 92 | files, which are not expected to be edited, are placed in
|
---|
| 93 | <filename class="directory">/var/lib/nl</filename>. The default for a
|
---|
| 94 | build with prefix <filename class="directory">/usr</filename> is, of course,
|
---|
| 95 | to create a directory <filename class="directory">/usr/etc</filename> which
|
---|
| 96 | is not desirable.</para>
|
---|
| 97 |
|
---|
[d61e48e3] | 98 | <para><option>--disable-static</option>: This switch prevents the static
|
---|
[3e39d34] | 99 | libraries being installed.</para>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="content">
|
---|
| 104 | <title>Contents</title>
|
---|
| 105 |
|
---|
| 106 | <segmentedlist>
|
---|
| 107 | <segtitle>Installed Programs</segtitle>
|
---|
[d61e48e3] | 108 | <segtitle>Installed Libraries</segtitle>
|
---|
[3e39d34] | 109 | <segtitle>Installed Directories</segtitle>
|
---|
| 110 |
|
---|
| 111 | <seglistitem>
|
---|
[26c1bdd] | 112 | <seg>genl-ctrl-list, nl-class-add, nl-class-delete, nl-class-list,
|
---|
| 113 | nl-classid-lookup, nl-cls-add, nl-cls-delete, nl-cls-list, nl-link-list,
|
---|
[d61e48e3] | 114 | nl-pktloc-lookup, nl-qdisc-add, nl-qdisc-delete and nl-qdisc-list</seg>
|
---|
| 115 | <seg>libnl-3.so, libnl-cli-3.so, libnl-genl-3.so, libnl-nf-3.so and
|
---|
| 116 | libnl-route-3.so</seg>
|
---|
| 117 | <seg>/etc/libnl, /usr/include/libnl3 and /usr/lib/libnl</seg>
|
---|
[3e39d34] | 118 | </seglistitem>
|
---|
| 119 | </segmentedlist>
|
---|
[d61e48e3] | 120 | <!--
|
---|
[3e39d34] | 121 | <variablelist>
|
---|
| 122 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 123 | <?dbfo list-presentation="list"?>
|
---|
| 124 | <?dbhtml list-presentation="table"?>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="libnl-lib">
|
---|
| 127 | <term><filename class='libraryfile'>libnl-3.so</filename></term>
|
---|
| 128 | <listitem>
|
---|
| 129 | <para>contains functions that .....</para>
|
---|
| 130 | <indexterm zone="libnl libnl-lib">
|
---|
| 131 | <primary sortas="c-libnl">libnl-3.so</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
| 136 | </variablelist>
|
---|
[d61e48e3] | 137 | -->
|
---|
[3e39d34] | 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | </sect1>
|
---|