mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
3f2db3a638
They only contain a date tag that is nowhere used.
175 lines
4.7 KiB
XML
175 lines
4.7 KiB
XML
<?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;
|
|
|
|
<!ENTITY libnftnl-download-http "https://netfilter.org/projects/libnftnl/files/libnftnl-&libnftnl-version;.tar.bz2">
|
|
<!ENTITY libnftnl-download-ftp " ">
|
|
<!ENTITY libnftnl-md5sum "a72ae260f7da9c223ad5d4fa036a8f84">
|
|
<!ENTITY libnftnl-size "368 KB">
|
|
<!ENTITY libnftnl-buildsize "8.7 MB">
|
|
<!ENTITY libnftnl-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="libnftnl" xreflabel="libnftnl-&libnftnl-version;">
|
|
<?dbhtml filename="libnftnl.html"?>
|
|
|
|
|
|
<title>libnftnl-&libnftnl-version;</title>
|
|
|
|
<indexterm zone="libnftnl">
|
|
<primary sortas="a-libnftnl">libnftnl</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libnftnl</title>
|
|
|
|
<para>
|
|
The <application>libnftnl</application> library provides a low-level
|
|
netlink programming interface (API) to the in-kernel nf_tables subsystem.
|
|
</para>
|
|
|
|
&lfs91_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&libnftnl-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&libnftnl-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &libnftnl-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &libnftnl-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &libnftnl-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &libnftnl-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">libnftnl Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="libmnl"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/libnftnl"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="kernel">
|
|
<title>Kernel Configuration</title>
|
|
|
|
<para>
|
|
Enable the following options in the kernel configuration and recompile the
|
|
kernel if necessary:
|
|
</para>
|
|
|
|
<screen><literal>[*] Networking support [CONFIG_NET] --->
|
|
Networking options --->
|
|
[*] Network packet filtering framework (Netfilter) [CONFIG_NETFILTER] --->
|
|
Core Netfilter Configuration --->
|
|
<*> Netfilter nf_tables support [CONFIG_NF_TABLES]</literal></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libnftnl</title>
|
|
|
|
<para>
|
|
Install <application>libnftnl</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
mv /usr/lib/libnftnl.so.* /lib &&
|
|
ln -sfv ../../lib/$(readlink /usr/lib/libnftnl.so) /usr/lib/libnftnl.so</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<command>mv -v /usr/lib/libnftnl.so.* ...</command>: Move shared
|
|
libraries into /lib so they are available before /usr is mounted.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libnftnl.so
|
|
</seg>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libnftnl-lib">
|
|
<term><filename class="libraryfile">libnftnl.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
provides a netlink interface to the in-kernel nf_tables subsystem.
|
|
</para>
|
|
<indexterm zone="libnftnl libnftnl-lib">
|
|
<primary sortas="c-libnftnl">libnftnl.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|