source: archive/libnftnl.xml@ b9d5573a

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since b9d5573a was b9d5573a, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

More tags
Remove libnftnl which was commented out

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23609 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.8 KB
Line 
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 libnftnl-download-http "https://netfilter.org/projects/libnftnl/files/libnftnl-&libnftnl-version;.tar.bz2">
8 <!ENTITY libnftnl-download-ftp " ">
9 <!ENTITY libnftnl-md5sum "a72ae260f7da9c223ad5d4fa036a8f84">
10 <!ENTITY libnftnl-size "368 KB">
11 <!ENTITY libnftnl-buildsize "8.7 MB">
12 <!ENTITY libnftnl-time "less than 0.1 SBU">
13]>
14
15<sect1 id="libnftnl" xreflabel="libnftnl-&libnftnl-version;">
16 <?dbhtml filename="libnftnl.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libnftnl-&libnftnl-version;</title>
24
25 <indexterm zone="libnftnl">
26 <primary sortas="a-libnftnl">libnftnl</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libnftnl</title>
31
32 <para>
33 The <application>libnftnl</application> library provides a low-level
34 netlink programming interface (API) to the in-kernel nf_tables subsystem.
35 </para>
36
37 &lfs91_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing='compact'>
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libnftnl-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libnftnl-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libnftnl-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libnftnl-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libnftnl-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libnftnl-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libnftnl Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="libmnl"/>
78 </para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/libnftnl"/>
82 </para>
83 </sect2>
84
85 <sect2 role="kernel">
86 <title>Kernel Configuration</title>
87
88 <para>
89 Enable the following options in the kernel configuration and recompile the
90 kernel if necessary:
91 </para>
92
93<screen><literal>[*] Networking support [CONFIG_NET] ---&gt;
94 Networking options ---&gt;
95 [*] Network packet filtering framework (Netfilter) [CONFIG_NETFILTER] ---&gt;
96 Core Netfilter Configuration ---&gt;
97 &lt;*&gt; Netfilter nf_tables support [CONFIG_NF_TABLES]</literal></screen>
98
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of libnftnl</title>
103
104 <para>
105 Install <application>libnftnl</application> by running the following
106 commands:
107 </para>
108
109<screen><userinput>./configure --prefix=/usr &amp;&amp;
110make</userinput></screen>
111
112 <para>
113 This package does not come with a test suite.
114 </para>
115
116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>make install &amp;&amp;
121mv /usr/lib/libnftnl.so.* /lib &amp;&amp;
122ln -sfv ../../lib/$(readlink /usr/lib/libnftnl.so) /usr/lib/libnftnl.so</userinput></screen>
123
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
130 <command>mv -v /usr/lib/libnftnl.so.* ...</command>: Move shared
131 libraries into /lib so they are available before /usr is mounted.
132 </para>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Libraries</segtitle>
142 <segtitle>Installed Directories</segtitle>
143
144 <seglistitem>
145 <seg>
146 None
147 </seg>
148 <seg>
149 libnftnl.so
150 </seg>
151 <seg>
152 None
153 </seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="libnftnl-lib">
163 <term><filename class="libraryfile">libnftnl.so</filename></term>
164 <listitem>
165 <para>
166 provides a netlink interface to the in-kernel nf_tables subsystem.
167 </para>
168 <indexterm zone="libnftnl libnftnl-lib">
169 <primary sortas="c-libnftnl">libnftnl.so</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 </variablelist>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.