milis/talimatname/genel/n/nmap/talimat

28 lines
667 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# 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
}