milis/talimatname/genel/w/wireshark/talimat

34 lines
1023 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Wireshark dünyanın önde gelen ve yaygın olarak kullanılan ağ protokol analizörüdür.
2016-02-24 01:27:23 +01:00
# URL: http://www.wireshark.org
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: gtk3 libpcap pcre
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=wireshark
surum=2.0.1
devir=1
kaynak=(http://www.$isim.org/download/src/all-versions/$isim-$surum.tar.bz2
2016-07-18 12:57:43 +02:00
wireshark-2.0.1-lua_5_3_1-1.patch)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-07-18 12:57:43 +02:00
patch -Np1 -i ../wireshark-2.0.1-lua_5_3_1-1.patch
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
--mandir=/usr/man \
2017-10-28 14:10:23 +02:00
--with-plugins=/usr/lib/$isim/plugins \
2016-02-24 01:27:23 +01:00
--disable-nls \
--enable-snmp \
--disable-gcry \
--without-krb5 \
--with-qt4=no \
--with-gtk3=yes
make
make DESTDIR=$PKG install
chown -v root:wireshark $PKG/usr/bin/{tshark,dumpcap} &&
chmod -v 6550 $PKG/usr/bin/{tshark,dumpcap}
install -Dm755 .libs/wireshark-gtk ${PKG}/usr/bin/wireshark-gtk
install -Dm644 wireshark-gtk.desktop ${PKG}/usr/share/applications/wireshark-gtk.desktop
}