milis/talimatname/genel/e/ettercap/talimat

34 lines
905 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Ethernet LAN'lar için bir ağ algılayıcı/durdurucu/günlükleyici
2016-07-28 13:02:28 +02:00
# URL: http://ettercap.github.com/ettercap/
2018-11-06 05:56:48 +01:00
# Paketçi: yakar
2017-10-27 20:46:27 +02:00
# Gerekler: libpcap pcre libnet ethtool ghostscript cmake gtk2
2018-08-17 08:21:25 +02:00
# Grup: ağ sistem
2016-07-28 13:02:28 +02:00
2017-10-28 14:10:23 +02:00
isim=ettercap
surum=0.8.2
devir=1
2018-11-06 05:56:48 +01:00
kaynak=(https://github.com/Ettercap/ettercap/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
2016-07-28 13:02:28 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $SRC/$isim-$surum
2016-07-28 13:02:28 +02:00
mkdir build
cd build
cmake -D ENABLE_GTK=ON -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ../
make
make DESTDIR=$PKG install
2018-11-06 05:56:48 +01:00
# desktop
mkdir -p "$PKG/usr/share/applications/"
cat > $PKG/usr/share/applications/$isim.desktop << BASLA
[Desktop Entry]
Name=Ettercap
Comment=Multipurpose Network sniffer/analyser/interceptor/logger
Exec=ettercap-pkexec -G
Icon=ettercap
Terminal=false
Type=Application
Categories=Network;X-Komutan;
Keywords=ettercap,ettercap-pkexec
BASLA
2016-07-28 13:02:28 +02:00
}