milis/talimatname/genel/nmap/talimat

28 lines
684 B
Plaintext
Raw Normal View History

2016-03-18 21:46:30 +01:00
# Description: Ağ tarama ve güvenlik denetimi programı
2016-02-24 01:27:23 +01:00
# URL: http://insecure.org/nmap/
2016-03-18 21:46:30 +01:00
# Packager: milisarge@gmail.com
2017-08-02 15:02:34 +02:00
# Depends on: pcre libpcap lua liblinear python
2016-02-24 01:27:23 +01:00
name=nmap
2017-08-02 15:02:34 +02:00
version=7.60
2016-02-24 01:27:23 +01:00
release=1
source=(http://nmap.org/dist/$name-$version.tar.bz2)
build() {
cd $name-$version
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 \
--docdir=/usr/share/doc/$name-$version \
--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
}