talimat 890 B

12345678910111213141516171819202122232425262728293031323334
  1. # Tanım: TCP port tarayıcı,asenkron SYNC paketleri kullanarak tarama yapar.
  2. # URL: https://github.com/robertdavidgraham/masscan
  3. # Paketçi: milisarge yakar
  4. # Gerekler: libpcap clang
  5. # Grup: ağ
  6. isim=masscan
  7. surum=1.0.5
  8. devir=1
  9. kaynak=(https://github.com/robertdavidgraham/masscan/archive/$surum.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. cd ${isim}-${surum}
  12. make
  13. make DESTDIR="${PKG}" install
  14. install -Dm 644 doc/masscan.8 "${PKG}/usr/share/man/man8/masscan.8"
  15. install -Dm 644 README.md "${PKG}/usr/share/doc/${isim}/README"
  16. install -Dm 644 doc/masscan.8.markdown "${PKG}/usr/share/doc/${isim}/DOCUMENTATION"
  17. # desktop
  18. mkdir -p "$PKG/usr/share/applications/"
  19. cat > $PKG/usr/share/applications/$isim.desktop << BASLA
  20. [Desktop Entry]
  21. Name=masscan
  22. Exec=sh -c "masscan;${SHELL:-bash}"
  23. Terminal=true
  24. Icon=masscan
  25. Type=Application
  26. Categories=Network;X-Komutan;
  27. Version=1.0
  28. BASLA
  29. }