glfs/networking/netlibs/libpcap.xml
Douglas R. Reno 9ade54a321 Update to haveged-1.9.14
Update to poppler-21.01.0
Update to python-dbusmock-0.22.0
Update to libpcap-1.10.0 (security update)
Update to umockdev-0.15.4
Update to nettle-3.7
Update to dovecot-2.3.13 (security update)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24070 af4574ff-66df-0310-9fd7-8a98e5e911e0
2021-01-05 04:28:23 +00:00

202 lines
5.3 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 libpcap-download-http "http://www.tcpdump.org/release/libpcap-&libpcap-version;.tar.gz">
<!ENTITY libpcap-download-ftp " ">
<!ENTITY libpcap-md5sum "8c12dc19dd7e0d02d2bb6596eb5a71c7">
<!ENTITY libpcap-size "916 KB">
<!ENTITY libpcap-buildsize "13 MB">
<!ENTITY libpcap-time "less than 0.1 SBU">
]>
<sect1 id="libpcap" xreflabel="libpcap-&libpcap-version;">
<?dbhtml filename="libpcap.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libpcap-&libpcap-version;</title>
<indexterm zone="libpcap">
<primary sortas="a-libpcap">libpcap</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libpcap</title>
<para>
<application>libpcap</application> provides functions for user-level
packet capture, used in low-level network monitoring.
</para>
&lfs10_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libpcap-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libpcap-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libpcap-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libpcap-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libpcap-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libpcap-time;
</para>
</listitem>
</itemizedlist>
<!-- Not needed with 1.10.0
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Recommended patch:
<ulink url="&patch-root;/libpcap-&libpcap-version;-enable_bluetooth-1.patch"/>
(Needed for bluez-5.21)
</para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">libpcap Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="bluez"/>,
<xref linkend="libnl"/>,
<xref linkend="libusb"/>,
Software distribution for the
<ulink url="http://www.endace.com/">DAG</ulink>, and
<ulink url="http://www.intel.com/">Septel</ulink> range of passive
network monitoring cards.
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libpcap"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libpcap</title>
<para>
Install <application>libpcap</application> by running the
following commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
If you want to disable installing the static library, use this sed:
</para>
<screen><userinput>sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<!--
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<option>- -enable-bluetooth=no</option>: Necessary, if the recommended
patch is not applied, because since 1.6.1 this application needs a fix,
in order to build with <application>bluez-5.21</application>.
</para>
</sect2>
-->
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
pcap-config
</seg>
<seg>
libpcap.so
</seg>
<seg>
/usr/include/pcap
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="pcap-config">
<term><command>pcap-config</command></term>
<listitem>
<para>
provides configuration information for
<application>libpcap</application>.
</para>
<indexterm zone="libpcap pcap-config">
<primary sortas="c-libpcap">pcap-config</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpcap-lib">
<term><filename class="libraryfile">libpcap.{a,so}</filename></term>
<listitem>
<para>
are libraries used for user-level packet capture.
</para>
<indexterm zone="libpcap libpcap-lib">
<primary sortas="c-libpcap">libpcap.{a,so}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>