2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Ağ tarama ve güvenlik denetimi programı
|
|
|
|
|
# URL: http://insecure.org/nmap/
|
2018-11-06 05:56:48 +01:00
|
|
|
|
# Paketçi: milisarge yakar
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# Gerekler: pcre libpcap lua liblinear python
|
2018-08-02 09:21:57 +02:00
|
|
|
|
# Grup: güvenlik
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=nmap
|
2018-11-06 05:56:48 +01:00
|
|
|
|
surum=7.70
|
2018-06-09 00:06:58 +02:00
|
|
|
|
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
|
2018-11-06 05:56:48 +01:00
|
|
|
|
|
|
|
|
|
# desktop
|
|
|
|
|
mkdir -p "$PKG/usr/share/applications/"
|
|
|
|
|
cat > $PKG/usr/share/applications/$isim.desktop << BASLA
|
|
|
|
|
[Desktop Entry]
|
|
|
|
|
Name=nmap
|
|
|
|
|
Exec=sh -c "nmap;${SHELL:-bash}"
|
|
|
|
|
Terminal=true
|
|
|
|
|
Icon=nmap
|
|
|
|
|
Type=Application
|
|
|
|
|
Categories=Network;X-Komutan;
|
|
|
|
|
Version=1.0
|
|
|
|
|
BASLA
|
2018-06-09 00:06:58 +02:00
|
|
|
|
}
|