milis/talimatname/genel/n/nmap/talimat

28 lines
667 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Ağ tarama ve güvenlik denetimi programı
2016-02-24 01:27:23 +01:00
# URL: http://insecure.org/nmap/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge@gmail.com
# Gerekler: pcre libpcap lua liblinear python
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=nmap
surum=7.60
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://nmap.org/dist/$isim-$surum.tar.bz2)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-08-02 15:02:34 +02:00
export PYTHON=python2
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
--mandir=/usr/share/man \
--localedir=/usr/share/locale \
2017-10-28 14:10:23 +02:00
--docdir=/usr/share/doc/$isim-$surum \
2016-02-24 01:27:23 +01:00
--with-liblua=included \
--infodir=/usr/share/info
make || make -j1
make DESTDIR=$PKG install
2017-08-02 15:02:34 +02:00
#zenmap için
python2 -m compileall "${PKG}"/usr/lib/python2.7/site-packages/zenmapCore
rm "${PKG}"/usr/bin/uninstall_*
2016-02-24 01:27:23 +01:00
rm -rf $PKG/usr/share/info/dir
}