source: networking/netlibs/libpcap.xml@ 57caa5f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 57caa5f was 57caa5f, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

openssh-6.6p1: small typo.
Update to LVM2.2.02.111.
Update to libpcap-1.6.2.
Update to libwnck 3.4.9.
Update to sysstat-11.1.1.
Update to pango-1.36.7.

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

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