28 lines
677 B
Plaintext
28 lines
677 B
Plaintext
# 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
|
||
|
||
name=nmap
|
||
version=7.60
|
||
release=1
|
||
|
||
source=(http://nmap.org/dist/$name-$version.tar.bz2)
|
||
|
||
derle() {
|
||
cd $name-$version
|
||
export PYTHON=python2
|
||
./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
|
||
#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
|
||
}
|