source: networking/netlibs/libpcap.xml@ ca73c836

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ca73c836 was 4c36707, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update libpcap stats

  • Property mode set to 100644
File size: 5.3 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
[c6b192c]7 <!ENTITY libpcap-download-http "https://www.tcpdump.org/release/libpcap-&libpcap-version;.tar.gz">
[c627795]8 <!ENTITY libpcap-download-ftp " ">
[4c36707]9 <!ENTITY libpcap-md5sum "28e17495004036567c2cc884b51eba45">
10 <!ENTITY libpcap-size "916 KB">
11 <!ENTITY libpcap-buildsize "9.7 MB">
[7014c9d]12 <!ENTITY libpcap-time "less than 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 <date>$Date$</date>
20 </sect1info>
[8e75f8b9]21
[2481e2a]22 <title>libpcap-&libpcap-version;</title>
[8e75f8b9]23
[73db351a]24 <indexterm zone="libpcap">
[c627795]25 <primary sortas="a-libpcap">libpcap</primary>
[73db351a]26 </indexterm>
27
28 <sect2 role="package">
[2481e2a]29 <title>Introduction to libpcap</title>
[8e75f8b9]30
[c627795]31 <para>
32 <application>libpcap</application> provides functions for user-level
33 packet capture, used in low-level network monitoring.
34 </para>
[8e75f8b9]35
[66d551c]36 &lfs101_checked;
[3724ba1]37
[73db351a]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
[c627795]41 <para>
42 Download (HTTP): <ulink url="&libpcap-download-http;"/>
43 </para>
[73db351a]44 </listitem>
45 <listitem>
[c627795]46 <para>
47 Download (FTP): <ulink url="&libpcap-download-ftp;"/>
48 </para>
[73db351a]49 </listitem>
50 <listitem>
[c627795]51 <para>
52 Download MD5 sum: &libpcap-md5sum;
53 </para>
[73db351a]54 </listitem>
55 <listitem>
[c627795]56 <para>
57 Download size: &libpcap-size;
58 </para>
[73db351a]59 </listitem>
60 <listitem>
[c627795]61 <para>
62 Estimated disk space required: &libpcap-buildsize;
63 </para>
[73db351a]64 </listitem>
65 <listitem>
[c627795]66 <para>
67 Estimated build time: &libpcap-time;
68 </para>
[73db351a]69 </listitem>
70 </itemizedlist>
[8e75f8b9]71
[9ade54a3]72<!-- Not needed with 1.10.0
[a1f2d184]73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Recommended patch:
78 <ulink url="&patch-root;/libpcap-&libpcap-version;-enable_bluetooth-1.patch"/>
79 (Needed for bluez-5.21)
80 </para>
81 </listitem>
82 </itemizedlist>
[9ade54a3]83-->
[a1f2d184]84
[2481e2a]85 <bridgehead renderas="sect3">libpcap Dependencies</bridgehead>
[8e75f8b9]86
[73db351a]87 <bridgehead renderas="sect4">Optional</bridgehead>
[c627795]88 <para role="optional">
89 <xref linkend="bluez"/>,
[faf325d]90 <xref linkend="libnl"/>,
[14dc4b73]91 <xref linkend="libusb"/>,
92 Software distribution for the
93 <ulink url="http://www.endace.com/">DAG</ulink>, and
[c627795]94 <ulink url="http://www.intel.com/">Septel</ulink> range of passive
95 network monitoring cards.
96 </para>
[8e75f8b9]97
[061ec9d]98 <para condition="html" role="usernotes">User Notes:
[c627795]99 <ulink url="&blfs-wiki;/libpcap"/>
100 </para>
[73db351a]101 </sect2>
[8e75f8b9]102
[73db351a]103 <sect2 role="installation">
[2481e2a]104 <title>Installation of libpcap</title>
[73db351a]105
[c627795]106 <para>
107 Install <application>libpcap</application> by running the
108 following commands:
109 </para>
[73db351a]110
[9ade54a3]111<screen><userinput>./configure --prefix=/usr &amp;&amp;
[73db351a]112make</userinput></screen>
113
[c627795]114 <para>
115 This package does not come with a test suite.
116 </para>
[8e75f8b9]117
[ac87f71]118 <para>
119 If you want to disable installing the static library, use this sed:
120 </para>
121
122<screen><userinput>sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile</userinput></screen>
123
[c627795]124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
[8e75f8b9]127
[3724ba1]128<screen role="root"><userinput>make install</userinput></screen>
129
[73db351a]130 </sect2>
[8e75f8b9]131
[9ade54a3]132<!--
[b7ed441]133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
[7c56ece]136 <para>
[9ade54a3]137 <option>- -enable-bluetooth=no</option>: Necessary, if the recommended
[7c56ece]138 patch is not applied, because since 1.6.1 this application needs a fix,
139 in order to build with <application>bluez-5.21</application>.
140 </para>
[b7ed441]141
142 </sect2>
[9ade54a3]143-->
[b7ed441]144
[73db351a]145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
[3724ba1]149 <segtitle>Installed Program</segtitle>
[90811a2]150 <segtitle>Installed Libraries</segtitle>
[45d5ee9]151 <segtitle>Installed Directory</segtitle>
[8e75f8b9]152
[73db351a]153 <seglistitem>
[c627795]154 <seg>
[7c6f1e2a]155 pcap-config
[c627795]156 </seg>
157 <seg>
[9ade54a3]158 libpcap.so
[c627795]159 </seg>
160 <seg>
161 /usr/include/pcap
162 </seg>
[73db351a]163 </seglistitem>
164 </segmentedlist>
[8e75f8b9]165
[73db351a]166 <variablelist>
167 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
168 <?dbfo list-presentation="list"?>
169 <?dbhtml list-presentation="table"?>
[8e75f8b9]170
[7c6f1e2a]171 <varlistentry id="pcap-config">
172 <term><command>pcap-config</command></term>
[3724ba1]173 <listitem>
[c627795]174 <para>
175 provides configuration information for
[4c24eb0a]176 <application>libpcap</application>
[c627795]177 </para>
[7c6f1e2a]178 <indexterm zone="libpcap pcap-config">
179 <primary sortas="c-libpcap">pcap-config</primary>
[3724ba1]180 </indexterm>
181 </listitem>
182 </varlistentry>
183
[73db351a]184 <varlistentry id="libpcap-lib">
[90811a2]185 <term><filename class="libraryfile">libpcap.{a,so}</filename></term>
[73db351a]186 <listitem>
[c627795]187 <para>
[4c24eb0a]188 are libraries used for user-level packet capture
[c627795]189 </para>
[73db351a]190 <indexterm zone="libpcap libpcap-lib">
[90811a2]191 <primary sortas="c-libpcap">libpcap.{a,so}</primary>
[73db351a]192 </indexterm>
193 </listitem>
194 </varlistentry>
[8e75f8b9]195
[73db351a]196 </variablelist>
197
198 </sect2>
[4dac741]199
200</sect1>
Note: See TracBrowser for help on using the repository browser.