milis/talimatname/genel/l/libpcap/talimat

20 lines
586 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: 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-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libnl libusb
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=libpcap
surum=1.7.4
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://www.tcpdump.org/release/$isim-$surum.tar.gz
http://www.linuxfromscratch.org/patches/downloads/libpcap/$isim-$surum-enable_bluetooth-1.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
patch -Np1 -i ../libpcap-$surum-enable_bluetooth-1.patch
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr --enable-ipv6
make
sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
make DESTDIR=$PKG install
}