milis/talimatname/genel/n/nmap/talimat
2018-06-09 00:06:58 +02:00

27 lines
667 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Ağ tarama ve güvenlik denetimi programı
# URL: http://insecure.org/nmap/
# Paketçi: milisarge@gmail.com
# Gerekler: pcre libpcap lua liblinear python
isim=nmap
surum=7.60
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
}