34 lines
905 B
Plaintext
34 lines
905 B
Plaintext
# Tanım: Ethernet LAN'lar için bir ağ algılayıcı/durdurucu/günlükleyici
|
||
# URL: http://ettercap.github.com/ettercap/
|
||
# Paketçi: yakar
|
||
# Gerekler: libpcap pcre libnet ethtool ghostscript cmake gtk2
|
||
# Grup: ağ sistem
|
||
|
||
isim=ettercap
|
||
surum=0.8.2
|
||
devir=1
|
||
kaynak=(https://github.com/Ettercap/ettercap/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
|
||
|
||
derle() {
|
||
cd $SRC/$isim-$surum
|
||
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
|
||
|
||
# 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
|
||
}
|