source: networking/netlibs/libpcap.xml@ a1f2d184

10.0 10.1 11.0 11.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 krejzi/svn lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since a1f2d184 was a1f2d184, checked in by Fernando de Oliveira <fernando@…>, 8 years ago

LXDM-0.5.0: move up in the page installation of bootscript.
libpcap-1.6.2: fix build with bluez-5.2.
Update p11-kit-0.20.5.
Update to menu-cache-0.7.0.

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

  • Property mode set to 100644
File size: 5.4 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">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>
83
84 <bridgehead renderas="sect3">libpcap Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="bluez"/>,
89 <xref linkend="libnl"/>,
90 <xref linkend="libusb"/>,
91 Software distribution for the
92 <ulink url="http://www.endace.com/">DAG</ulink>, and
93 <ulink url="http://www.intel.com/">Septel</ulink> range of passive
94 network monitoring cards.
95 </para>
96
97 <para condition="html" role="usernotes">User Notes:
98 <ulink url="&blfs-wiki;/libpcap"/>
99 </para>
100 </sect2>
101
102 <sect2 role="installation">
103 <title>Installation of libpcap</title>
104
105 <para>
106 Install <application>libpcap</application> by running the
107 following commands:
108 </para>
109
110<screen><userinput>patch -Np1 -i ../libpcap-&libpcap-version;-enable_bluetooth-1.patch &amp;&amp;
111./configure --prefix=/usr &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 This package does not come with a test suite.
116 </para>
117
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
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>make install</userinput></screen>
129
130 </sect2>
131
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <para><parameter>--enable-bluetooth=no</parameter>: Necessary, if the
136 recommended patch is not applied, because since 1.6.1 this application
137 needs a fix, in order to build with
138 <application>bluez-5.21</application>.</para>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Program</segtitle>
147 <segtitle>Installed Libraries</segtitle>
148 <segtitle>Installed Directory</segtitle>
149
150 <seglistitem>
151 <seg>
152 pcap-config
153 </seg>
154 <seg>
155 libpcap.{a,so}
156 </seg>
157 <seg>
158 /usr/include/pcap
159 </seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="pcap-config">
169 <term><command>pcap-config</command></term>
170 <listitem>
171 <para>
172 provides configuration information for
173 <application>libpcap</application>.
174 </para>
175 <indexterm zone="libpcap pcap-config">
176 <primary sortas="c-libpcap">pcap-config</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="libpcap-lib">
182 <term><filename class="libraryfile">libpcap.{a,so}</filename></term>
183 <listitem>
184 <para>
185 are libraries used for user-level packet capture.
186 </para>
187 <indexterm zone="libpcap libpcap-lib">
188 <primary sortas="c-libpcap">libpcap.{a,so}</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.