source: networking/netlibs/libpcap.xml@ 4b6e2b2

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 4b6e2b2 was 03c0def, checked in by Douglas R. Reno <renodr@…>, 17 months ago

Tags for GTK+-3

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