2017-03-31 09:15:11 +02:00
|
|
|
|
# Description: Kullanıcı düzeyinde paket yakalamak için sistemden bağımsız bir arayüz
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.tcpdump.org
|
2017-03-31 09:15:11 +02:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: libnl libusb
|
|
|
|
|
|
|
|
|
|
name=libpcap
|
|
|
|
|
version=1.7.4
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://www.tcpdump.org/release/$name-$version.tar.gz
|
|
|
|
|
http://www.linuxfromscratch.org/patches/downloads/libpcap/$name-$version-enable_bluetooth-1.patch)
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
patch -Np1 -i ../libpcap-$version-enable_bluetooth-1.patch
|
|
|
|
|
./configure --prefix=/usr --enable-ipv6
|
|
|
|
|
make
|
|
|
|
|
sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
}
|