2018-08-08 14:18:27 +02:00
|
|
|
|
# Tanım: Ağ trafiği yakalama için taşınabilir bir C/C++ kütüphanesi.
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# URL: http://www.tcpdump.org
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libnl libusb
|
2018-08-08 14:18:27 +02:00
|
|
|
|
# Grup: kütüphane
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=libpcap
|
|
|
|
|
surum=1.7.4
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=(http://www.tcpdump.org/release/$isim-$surum.tar.gz
|
|
|
|
|
http://www.linuxfromscratch.org/patches/downloads/libpcap/$isim-$surum-enable_bluetooth-1.patch)
|
|
|
|
|
derle() {
|
|
|
|
|
cd $isim-$surum
|
|
|
|
|
patch -Np1 -i ../libpcap-$surum-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
|
|
|
|
|
}
|