source: networking/netlibs/libpcap.xml@ 469bc5d4

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 469bc5d4 was 469bc5d4, checked in by Krejzi <krejzi@…>, 10 years ago

More checks and fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14016 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.1 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 "5eb05edf6b6c6e63d536d1c9fbfb2f7c">
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 &lfs76_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="dbus"/>,
79 <xref linkend="libnl"/>,
80 <xref linkend="libusb"/>,
81 Software distribution for the
82 <ulink url="http://www.endace.com/">DAG</ulink>, and
83 <ulink url="http://www.intel.com/">Septel</ulink> range of passive
84 network monitoring cards.
85 </para>
86
87 <para condition="html" role="usernotes">User Notes:
88 <ulink url="&blfs-wiki;/libpcap"/>
89 </para>
90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of libpcap</title>
94
95 <para>
96 Install <application>libpcap</application> by running the
97 following commands:
98 </para>
99
100<screen><userinput>./configure --prefix=/usr --disable-bluetooth &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 This package does not come with a test suite.
105 </para>
106
107 <para>
108 If you want to disable installing the static library, use this sed:
109 </para>
110
111<screen><userinput>sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile</userinput></screen>
112
113 <para>
114 Now, as the <systemitem class="username">root</systemitem> user:
115 </para>
116
117<screen role="root"><userinput>make install</userinput></screen>
118
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
124 <para>
125 <parameter>--disable-bluetooth</parameter>: This switch disables Bluetooth support
126 because it doesn't build with latest <application>BlueZ</application>.
127 </para>
128
129 <para>
130 <option>--disable-dbus</option>: Use this switch if you wish to disable
131 <application>D-Bus</application> support.
132 </para>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Program</segtitle>
141 <segtitle>Installed Libraries</segtitle>
142 <segtitle>Installed Directory</segtitle>
143
144 <seglistitem>
145 <seg>
146 pcap-config
147 </seg>
148 <seg>
149 libpcap.{a,so}
150 </seg>
151 <seg>
152 /usr/include/pcap
153 </seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="pcap-config">
163 <term><command>pcap-config</command></term>
164 <listitem>
165 <para>
166 provides configuration information for
167 <application>libpcap</application>.
168 </para>
169 <indexterm zone="libpcap pcap-config">
170 <primary sortas="c-libpcap">pcap-config</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="libpcap-lib">
176 <term><filename class="libraryfile">libpcap.{a,so}</filename></term>
177 <listitem>
178 <para>
179 are libraries used for user-level packet capture.
180 </para>
181 <indexterm zone="libpcap libpcap-lib">
182 <primary sortas="c-libpcap">libpcap.{a,so}</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.