talimat 905 B

12345678910111213141516171819202122232425262728293031323334
  1. # Tanım: Ethernet LAN'lar için bir ağ algılayıcı/durdurucu/günlükleyici
  2. # URL: http://ettercap.github.com/ettercap/
  3. # Paketçi: yakar
  4. # Gerekler: libpcap pcre libnet ethtool ghostscript cmake gtk2
  5. # Grup: ağ sistem
  6. isim=ettercap
  7. surum=0.8.2
  8. devir=1
  9. kaynak=(https://github.com/Ettercap/ettercap/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. cd $SRC/$isim-$surum
  12. mkdir build
  13. cd build
  14. cmake -D ENABLE_GTK=ON -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ../
  15. make
  16. make DESTDIR=$PKG install
  17. # desktop
  18. mkdir -p "$PKG/usr/share/applications/"
  19. cat > $PKG/usr/share/applications/$isim.desktop << BASLA
  20. [Desktop Entry]
  21. Name=Ettercap
  22. Comment=Multipurpose Network sniffer/analyser/interceptor/logger
  23. Exec=ettercap-pkexec -G
  24. Icon=ettercap
  25. Terminal=false
  26. Type=Application
  27. Categories=Network;X-Komutan;
  28. Keywords=ettercap,ettercap-pkexec
  29. BASLA
  30. }