milis/talimatname/genel/w/wireshark/talimat

32 lines
926 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Wireshark dünyanın önde gelen ve yaygın olarak kullanılan ağ protokol analizörüdür.
# URL: http://www.wireshark.org
# Paketçi: milisarge
# Gerekler: gtk3 libpcap pcre
# Grup : güvenlik
isim=wireshark
surum=2.5.1
devir=1
kaynak=(http://www.$isim.org/download/src/$isim-$surum.tar.xz)
derle() {
cd $isim-$surum
./configure --prefix=/usr \
--mandir=/usr/man \
--with-plugins=/usr/lib/$isim/plugins \
--enable-snmp \
--disable-gcry \
--without-krb5 \
--with-qt4=no \
--with-gtk=3
make
make DESTDIR=$PKG install
chown -v root:wireshark $PKG/usr/bin/{tshark,dumpcap} &&
chmod -v 6550 $PKG/usr/bin/{tshark,dumpcap}
install -Dm755 $SRC/$isim-$surum/.libs/wireshark-gtk ${PKG}/usr/bin/wireshark-gtk
install -Dm644 wireshark-gtk.desktop ${PKG}/usr/share/applications/wireshark-gtk.desktop
}