# Tanım: Ağ tarama ve güvenlik denetimi programı # URL: http://insecure.org/nmap/ # Paketçi: milisarge yakar # Gerekler: pcre libpcap lua liblinear python # Grup: güvenlik isim=nmap surum=7.70 devir=1 kaynak=(http://nmap.org/dist/$isim-$surum.tar.bz2) derle() { cd $isim-$surum export PYTHON=python2 ./configure --prefix=/usr \ --mandir=/usr/share/man \ --localedir=/usr/share/locale \ --docdir=/usr/share/doc/$isim-$surum \ --with-liblua=included \ --infodir=/usr/share/info make || make -j1 make DESTDIR=$PKG install #zenmap için python2 -m compileall "${PKG}"/usr/lib/python2.7/site-packages/zenmapCore rm "${PKG}"/usr/bin/uninstall_* rm -rf $PKG/usr/share/info/dir # desktop mkdir -p "$PKG/usr/share/applications/" cat > $PKG/usr/share/applications/$isim.desktop << BASLA [Desktop Entry] Name=nmap Exec=sh -c "nmap;${SHELL:-bash}" Terminal=true Icon=nmap Type=Application Categories=Network;X-Komutan; Version=1.0 BASLA }