source: networking/netlibs/libpcap.xml@ 627defae

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 627defae was 41b674d, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

LFS75 tags

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

  • Property mode set to 100644
File size: 4.7 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c627795]7 <!ENTITY libpcap-download-http "http://www.tcpdump.org/release/libpcap-&libpcap-version;.tar.gz">
8 <!ENTITY libpcap-download-ftp " ">
[d883eede]9 <!ENTITY libpcap-md5sum "7e7321fb3aff2f2bb05c8229f3795d4a">
10 <!ENTITY libpcap-size "628 KB">
11 <!ENTITY libpcap-buildsize "8.1 MB">
[c627795]12 <!ENTITY libpcap-time "0.1 SBU">
[52d29f7]13]>
14
[fd680fb]15<sect1 id="libpcap" xreflabel="libpcap-&libpcap-version;">
[73db351a]16 <?dbhtml filename="libpcap.html"?>
[8e75f8b9]17
[73db351a]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[8e75f8b9]22
[2481e2a]23 <title>libpcap-&libpcap-version;</title>
[8e75f8b9]24
[73db351a]25 <indexterm zone="libpcap">
[c627795]26 <primary sortas="a-libpcap">libpcap</primary>
[73db351a]27 </indexterm>
28
29 <sect2 role="package">
[2481e2a]30 <title>Introduction to libpcap</title>
[8e75f8b9]31
[c627795]32 <para>
33 <application>libpcap</application> provides functions for user-level
34 packet capture, used in low-level network monitoring.
35 </para>
[8e75f8b9]36
[41b674d]37 &lfs75_checked;
[3724ba1]38
[73db351a]39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[c627795]42 <para>
43 Download (HTTP): <ulink url="&libpcap-download-http;"/>
44 </para>
[73db351a]45 </listitem>
46 <listitem>
[c627795]47 <para>
48 Download (FTP): <ulink url="&libpcap-download-ftp;"/>
49 </para>
[73db351a]50 </listitem>
51 <listitem>
[c627795]52 <para>
53 Download MD5 sum: &libpcap-md5sum;
54 </para>
[73db351a]55 </listitem>
56 <listitem>
[c627795]57 <para>
58 Download size: &libpcap-size;
59 </para>
[73db351a]60 </listitem>
61 <listitem>
[c627795]62 <para>
63 Estimated disk space required: &libpcap-buildsize;
64 </para>
[73db351a]65 </listitem>
66 <listitem>
[c627795]67 <para>
68 Estimated build time: &libpcap-time;
69 </para>
[73db351a]70 </listitem>
71 </itemizedlist>
[8e75f8b9]72
[2481e2a]73 <bridgehead renderas="sect3">libpcap Dependencies</bridgehead>
[8e75f8b9]74
[73db351a]75 <bridgehead renderas="sect4">Optional</bridgehead>
[c627795]76 <para role="optional">
77 <xref linkend="bluez"/>,
78 Software distribution for the
79 <ulink url="http://www.endace.com/">DAG</ulink>,
[faf325d]80 <xref linkend="libnl"/>,
81 <xref linkend="libusb"/> and
[c627795]82 <ulink url="http://www.intel.com/">Septel</ulink> range of passive
83 network monitoring cards.
84 </para>
[8e75f8b9]85
[061ec9d]86 <para condition="html" role="usernotes">User Notes:
[c627795]87 <ulink url="&blfs-wiki;/libpcap"/>
88 </para>
[73db351a]89 </sect2>
[8e75f8b9]90
[73db351a]91 <sect2 role="installation">
[2481e2a]92 <title>Installation of libpcap</title>
[73db351a]93
[c627795]94 <para>
95 Install <application>libpcap</application> by running the
96 following commands:
97 </para>
[73db351a]98
99<screen><userinput>./configure --prefix=/usr &amp;&amp;
100make</userinput></screen>
101
[c627795]102 <para>
103 This package does not come with a test suite.
104 </para>
[8e75f8b9]105
[ac87f71]106 <para>
107 If you want to disable installing the static library, use this sed:
108 </para>
109
110<screen><userinput>sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile</userinput></screen>
111
[c627795]112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
[8e75f8b9]115
[3724ba1]116<screen role="root"><userinput>make install</userinput></screen>
117
[73db351a]118 </sect2>
[8e75f8b9]119
[73db351a]120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
[3724ba1]124 <segtitle>Installed Program</segtitle>
[90811a2]125 <segtitle>Installed Libraries</segtitle>
[45d5ee9]126 <segtitle>Installed Directory</segtitle>
[8e75f8b9]127
[73db351a]128 <seglistitem>
[c627795]129 <seg>
130 libpcap-config
131 </seg>
132 <seg>
133 libpcap.{a,so}
134 </seg>
135 <seg>
136 /usr/include/pcap
137 </seg>
[73db351a]138 </seglistitem>
139 </segmentedlist>
[8e75f8b9]140
[73db351a]141 <variablelist>
142 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
143 <?dbfo list-presentation="list"?>
144 <?dbhtml list-presentation="table"?>
[8e75f8b9]145
[3724ba1]146 <varlistentry id="libpcap-config">
147 <term><command>libpcap-config</command></term>
148 <listitem>
[c627795]149 <para>
150 provides configuration information for
151 <application>libpcap</application>.
152 </para>
[3724ba1]153 <indexterm zone="libpcap libpcap-config">
154 <primary sortas="c-libpcap">libpcap-config</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
[73db351a]159 <varlistentry id="libpcap-lib">
[90811a2]160 <term><filename class="libraryfile">libpcap.{a,so}</filename></term>
[73db351a]161 <listitem>
[c627795]162 <para>
163 are libraries used for user-level packet capture.
164 </para>
[73db351a]165 <indexterm zone="libpcap libpcap-lib">
[90811a2]166 <primary sortas="c-libpcap">libpcap.{a,so}</primary>
[73db351a]167 </indexterm>
168 </listitem>
169 </varlistentry>
[8e75f8b9]170
[73db351a]171 </variablelist>
172
173 </sect2>
[4dac741]174
175</sect1>
Note: See TracBrowser for help on using the repository browser.