12345678910111213141516171819202122232425262728293031323334 |
- # Tanım: TCP port tarayıcı,asenkron SYNC paketleri kullanarak tarama yapar.
- # URL: https://github.com/robertdavidgraham/masscan
- # Paketçi: milisarge yakar
- # Gerekler: libpcap clang
- # Grup: ağ
- isim=masscan
- surum=1.0.5
- devir=1
- kaynak=(https://github.com/robertdavidgraham/masscan/archive/$surum.tar.gz::$isim-$surum.tar.gz)
- derle() {
- cd ${isim}-${surum}
- make
- make DESTDIR="${PKG}" install
- install -Dm 644 doc/masscan.8 "${PKG}/usr/share/man/man8/masscan.8"
- install -Dm 644 README.md "${PKG}/usr/share/doc/${isim}/README"
- install -Dm 644 doc/masscan.8.markdown "${PKG}/usr/share/doc/${isim}/DOCUMENTATION"
-
- # desktop
- mkdir -p "$PKG/usr/share/applications/"
- cat > $PKG/usr/share/applications/$isim.desktop << BASLA
- [Desktop Entry]
- Name=masscan
- Exec=sh -c "masscan;${SHELL:-bash}"
- Terminal=true
- Icon=masscan
- Type=Application
- Categories=Network;X-Komutan;
- Version=1.0
- BASLA
- }
|