libpcap provides functions for user-level packet capture, used in low-level network monitoring.
This package is known to build and work properly using an LFS-8.1 platform.
Download (HTTP): http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz
Download MD5 sum: 3d48f9cd171ff12b0efd9134b52f1447
Download size: 724 KB
Estimated disk space required: 7.1 MB
Estimated build time: less than 0.1 SBU
Recommended patch: http://www.linuxfromscratch.org/patches/blfs/8.1/libpcap-1.8.1-enable_bluetooth-1.patch (Needed for bluez-5.21)
BlueZ-5.46, libnl-3.3.0, libusb-1.0.21, Software distribution for the DAG, and Septel range of passive network monitoring cards.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libpcap
Install libpcap by running the following commands:
patch -Np1 -i ../libpcap-1.8.1-enable_bluetooth-1.patch && ./configure --prefix=/usr && make
This package does not come with a test suite.
If you want to disable installing the static library, use this sed:
sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
Now, as the root
user:
make install
--enable-bluetooth=no
: Necessary, if
the recommended patch is not applied, because since 1.6.1 this
application needs a fix, in order to build with bluez-5.21.
Last updated on 2017-08-29 12:34:24 -0700