source: networking/netlibs/libpcap.xml@ 9ade54a3

10.1 11.0 11.1 11.2 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 9ade54a3 was 9ade54a3, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Update to haveged-1.9.14
Update to poppler-21.01.0
Update to python-dbusmock-0.22.0
Update to libpcap-1.10.0 (security update)
Update to umockdev-0.15.4
Update to nettle-3.7
Update to dovecot-2.3.13 (security update)

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

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