glfs/networking/netlibs/libpcap.xml

150 lines
4.8 KiB
XML
Raw Normal View History

<?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 "&sources-anduin-http;/l/libpcap-&libpcap-version;.tar.gz">
<!-- <!ENTITY libpcap-download-http "http://www.tcpdump.org/release/libpcap-&libpcap-version;.tar.gz"> -->
<!ENTITY libpcap-download-ftp "&gentoo-ftp-repo;/libpcap-&libpcap-version;.tar.gz">
<!ENTITY libpcap-md5sum "9ad1358c5dec48456405eac197a46d3d">
<!ENTITY libpcap-size "512 KB">
<!ENTITY libpcap-buildsize "4 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>
&lfs65_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>
<bridgehead renderas="sect3">libpcap Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">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 and
<ulink url="http://www.bluez.org">BlueZ</ulink></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>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<!-- Package does not contain any documentation.
install -v -m755 -d /usr/share/doc/libpcap-&libpcap-version; &amp;&amp;
install -v -m644 doc/* /usr/share/doc/libpcap-&libpcap-version;</userinput></screen> -->
<!-- <note>
<para>Some applications, including <ulink
url="http://www.tcpdump.org/">tcpdump</ulink>, require
<option>-enable-yydebug</option> passed to <command>configure</command>
when building <application>libpcap</application> to enable the parser
debugging code. <application>tcpdump</application> will fail to build if
you don't pass this parameter.</para>
</note> -->
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>libpcap-config</seg>
<seg>libpcap.a</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="libpcap-config">
<term><command>libpcap-config</command></term>
<listitem>
<para>provides configuration information for libpcap.</para>
<indexterm zone="libpcap libpcap-config">
<primary sortas="c-libpcap">libpcap-config</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpcap-lib">
<term><filename class="libraryfile">libpcap.a</filename></term>
<listitem>
<para>is a library used for user-level packet capture.</para>
<indexterm zone="libpcap libpcap-lib">
<primary sortas="c-libpcap">libpcap.a</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>