nmap.guncellendi

This commit is contained in:
milisbir 2017-08-02 16:02:34 +03:00
parent ca74f5fc84
commit 3a9a0141fd
1 changed files with 6 additions and 2 deletions

View File

@ -1,16 +1,17 @@
# Description: Ağ tarama ve güvenlik denetimi programı # Description: Ağ tarama ve güvenlik denetimi programı
# URL: http://insecure.org/nmap/ # URL: http://insecure.org/nmap/
# Packager: milisarge@gmail.com # Packager: milisarge@gmail.com
# Depends on: pcre libpcap lua liblinear # Depends on: pcre libpcap lua liblinear python
name=nmap name=nmap
version=7.01 version=7.60
release=1 release=1
source=(http://nmap.org/dist/$name-$version.tar.bz2) source=(http://nmap.org/dist/$name-$version.tar.bz2)
build() { build() {
cd $name-$version cd $name-$version
export PYTHON=python2
./configure --prefix=/usr \ ./configure --prefix=/usr \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--localedir=/usr/share/locale \ --localedir=/usr/share/locale \
@ -19,5 +20,8 @@ cd $name-$version
--infodir=/usr/share/info --infodir=/usr/share/info
make || make -j1 make || make -j1
make DESTDIR=$PKG install 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 rm -rf $PKG/usr/share/info/dir
} }