source: networking/netlibs/libpcap.xml@ bd655b2c

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since bd655b2c was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 5 months ago

Tags

  • Property mode set to 100644
File size: 4.8 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[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 " ">
[31b5fdf]9 <!ENTITY libpcap-md5sum "0322e28dd76cda8066bb6d00fee5969b">
[b74b310]10 <!ENTITY libpcap-size "932 KB">
[31b5fdf]11 <!ENTITY libpcap-buildsize "9.9 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
[e8b3f50]33 &lfs121_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
[73db351a]95 </sect2>
[8e75f8b9]96
[73db351a]97 <sect2 role="installation">
[2481e2a]98 <title>Installation of libpcap</title>
[73db351a]99
[c627795]100 <para>
101 Install <application>libpcap</application> by running the
102 following commands:
103 </para>
[73db351a]104
[9ade54a3]105<screen><userinput>./configure --prefix=/usr &amp;&amp;
[73db351a]106make</userinput></screen>
107
[c627795]108 <para>
109 This package does not come with a test suite.
110 </para>
[8e75f8b9]111
[ac87f71]112 <para>
113 If you want to disable installing the static library, use this sed:
114 </para>
115
116<screen><userinput>sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile</userinput></screen>
117
[c627795]118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
[8e75f8b9]121
[3724ba1]122<screen role="root"><userinput>make install</userinput></screen>
123
[73db351a]124 </sect2>
[8e75f8b9]125
[73db351a]126 <sect2 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
[3724ba1]130 <segtitle>Installed Program</segtitle>
[90811a2]131 <segtitle>Installed Libraries</segtitle>
[45d5ee9]132 <segtitle>Installed Directory</segtitle>
[8e75f8b9]133
[73db351a]134 <seglistitem>
[c627795]135 <seg>
[7c6f1e2a]136 pcap-config
[c627795]137 </seg>
138 <seg>
[9ade54a3]139 libpcap.so
[c627795]140 </seg>
141 <seg>
142 /usr/include/pcap
143 </seg>
[73db351a]144 </seglistitem>
145 </segmentedlist>
[8e75f8b9]146
[73db351a]147 <variablelist>
148 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
149 <?dbfo list-presentation="list"?>
150 <?dbhtml list-presentation="table"?>
[8e75f8b9]151
[7c6f1e2a]152 <varlistentry id="pcap-config">
153 <term><command>pcap-config</command></term>
[3724ba1]154 <listitem>
[c627795]155 <para>
156 provides configuration information for
[4c24eb0a]157 <application>libpcap</application>
[c627795]158 </para>
[7c6f1e2a]159 <indexterm zone="libpcap pcap-config">
160 <primary sortas="c-libpcap">pcap-config</primary>
[3724ba1]161 </indexterm>
162 </listitem>
163 </varlistentry>
164
[73db351a]165 <varlistentry id="libpcap-lib">
[90811a2]166 <term><filename class="libraryfile">libpcap.{a,so}</filename></term>
[73db351a]167 <listitem>
[c627795]168 <para>
[4c24eb0a]169 are libraries used for user-level packet capture
[c627795]170 </para>
[73db351a]171 <indexterm zone="libpcap libpcap-lib">
[90811a2]172 <primary sortas="c-libpcap">libpcap.{a,so}</primary>
[73db351a]173 </indexterm>
174 </listitem>
175 </varlistentry>
[8e75f8b9]176
[73db351a]177 </variablelist>
178
179 </sect2>
[4dac741]180
181</sect1>
Note: See TracBrowser for help on using the repository browser.