aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-01-31 21:43:17 +0800
committermiwi <miwi@FreeBSD.org>2010-01-31 21:43:17 +0800
commitc2b2c2efdf5c98aa98990c76d637a26b59495fff (patch)
tree4c8d7b86dbffa2fc9cf42eccc9013385fc14b734
parentb1242ab206a3cf6dcdaea9900027abb2530b6489 (diff)
downloadfreebsd-ports-gnome-c2b2c2efdf5c98aa98990c76d637a26b59495fff.tar.gz
freebsd-ports-gnome-c2b2c2efdf5c98aa98990c76d637a26b59495fff.tar.zst
freebsd-ports-gnome-c2b2c2efdf5c98aa98990c76d637a26b59495fff.zip
NmapSi4 is a complete Qt-based Gui with the design goals to provide a complete
nmap interface for Users, in order to management all options of this powerful security net scanner! WWW: http://www.nmapsi4.org PR: ports/142118 Submitted by: Gvozdikov Veniamin <g.veniamin at googlemail.com>
-rw-r--r--security/Makefile1
-rw-r--r--security/nmapsi4/Makefile28
-rw-r--r--security/nmapsi4/distinfo3
-rw-r--r--security/nmapsi4/files/patch-nmapsi4-logr_CMakeLists.txt11
-rw-r--r--security/nmapsi4/files/patch-nmapsi4_CMakeLists.txt13
-rw-r--r--security/nmapsi4/pkg-descr5
-rw-r--r--security/nmapsi4/pkg-plist33
7 files changed, 94 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 94af3f454df0..44cfb748aced 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -311,6 +311,7 @@
SUBDIR += nikto
SUBDIR += nmap
SUBDIR += nmap-i18n-man
+ SUBDIR += nmapsi4
SUBDIR += nofgpg
SUBDIR += nsm-console
SUBDIR += nss
diff --git a/security/nmapsi4/Makefile b/security/nmapsi4/Makefile
new file mode 100644
index 000000000000..b1301fefa17c
--- /dev/null
+++ b/security/nmapsi4/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: nmapsi4
+# Date created: 2009-10-30
+# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nmapsi4
+PORTVERSION= 0.2
+CATEGORIES= security
+MASTER_SITES= GOOGLE_CODE
+DISTNAME= ${PORTNAME}-${PORTVERSION}-alpha3
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= GUI frontend for the nmap scanning utility
+
+RUN_DEPENDS= ${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap
+
+USE_CMAKE= yes
+CMAKE_USE_PTHREAD= yes
+USE_QT_VER= 4
+QT_COMPONENTS= gui xml qmake_build uic_build moc_build rcc_build network linguist
+
+post-install:
+ ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}
+ ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}-logr
+
+.include <bsd.port.mk>
diff --git a/security/nmapsi4/distinfo b/security/nmapsi4/distinfo
new file mode 100644
index 000000000000..bd1552d1222f
--- /dev/null
+++ b/security/nmapsi4/distinfo
@@ -0,0 +1,3 @@
+MD5 (nmapsi4-0.2-alpha3.tar.gz) = 86fbbc30f47559cd59abc6f3ab37615b
+SHA256 (nmapsi4-0.2-alpha3.tar.gz) = 47fd063b522d657440eddf8f9a776ffb17a928fc67a140f91c784dc0d7948788
+SIZE (nmapsi4-0.2-alpha3.tar.gz) = 231151
diff --git a/security/nmapsi4/files/patch-nmapsi4-logr_CMakeLists.txt b/security/nmapsi4/files/patch-nmapsi4-logr_CMakeLists.txt
new file mode 100644
index 000000000000..f508fb033e63
--- /dev/null
+++ b/security/nmapsi4/files/patch-nmapsi4-logr_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- nmapsi4-logr/CMakeLists.txt.orig 2009-12-29 14:35:41.000000000 +0700
++++ nmapsi4-logr/CMakeLists.txt 2009-12-29 14:36:02.000000000 +0700
+@@ -67,7 +67,7 @@ endif (WIN32)
+ if (Q_WS_X11)
+ install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/nmapsi4/locale)
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/nmapsi4-logr" DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+- install(FILES "src/nmapsi4-logr.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
++ install(FILES "src/nmapsi4-logr.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/)
+ # install(FILES "src/kde/nmapsi4-admin.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
+ # install(FILES "icons/16x16/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps/)
+ # install(FILES "icons/32x32/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/32x32/apps/)
diff --git a/security/nmapsi4/files/patch-nmapsi4_CMakeLists.txt b/security/nmapsi4/files/patch-nmapsi4_CMakeLists.txt
new file mode 100644
index 000000000000..6ccf2fd50eb9
--- /dev/null
+++ b/security/nmapsi4/files/patch-nmapsi4_CMakeLists.txt
@@ -0,0 +1,13 @@
+--- nmapsi4/CMakeLists.txt.orig 2009-12-29 14:34:58.000000000 +0700
++++ nmapsi4/CMakeLists.txt 2009-12-29 14:35:22.000000000 +0700
+@@ -106,8 +106,8 @@ endif (NOT WIN32)
+ if (Q_WS_X11)
+ install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/nmapsi4/locale)
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/nmapsi4" DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+- install(FILES "kde/nmapsi4.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
+- install(FILES "kde/nmapsi4-admin.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
++ install(FILES "kde/nmapsi4.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/)
++ install(FILES "kde/nmapsi4-admin.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/)
+ install(FILES "../icons/16x16/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps/)
+ install(FILES "../icons/32x32/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/32x32/apps/)
+ install(FILES "../icons/64x64/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/64x64/apps/)
diff --git a/security/nmapsi4/pkg-descr b/security/nmapsi4/pkg-descr
new file mode 100644
index 000000000000..f9dfc390fedd
--- /dev/null
+++ b/security/nmapsi4/pkg-descr
@@ -0,0 +1,5 @@
+NmapSi4 is a complete Qt-based Gui with the design goals to provide a complete
+nmap interface for Users, in order to management all options of this powerful
+security net scanner!
+
+WWW: http://www.nmapsi4.org
diff --git a/security/nmapsi4/pkg-plist b/security/nmapsi4/pkg-plist
new file mode 100644
index 000000000000..66013a613c2f
--- /dev/null
+++ b/security/nmapsi4/pkg-plist
@@ -0,0 +1,33 @@
+bin/nmapsi4
+bin/nmapsi4-logr
+share/applications/nmapsi4-admin.desktop
+share/applications/nmapsi4-logr.desktop
+share/applications/nmapsi4.desktop
+share/icons/hicolor/128x128/apps/nmapsi4.png
+share/icons/hicolor/16x16/apps/nmapsi4.png
+share/icons/hicolor/32x32/apps/nmapsi4.png
+share/icons/hicolor/64x64/apps/nmapsi4.png
+%%DATADIR%%/locale/nmapsi4-logr_de.qm
+%%DATADIR%%/locale/nmapsi4-logr_es.qm
+%%DATADIR%%/locale/nmapsi4-logr_fr.qm
+%%DATADIR%%/locale/nmapsi4-logr_it.qm
+%%DATADIR%%/locale/nmapsi4-logr_pl.qm
+%%DATADIR%%/locale/nmapsi4_de.qm
+%%DATADIR%%/locale/nmapsi4_es.qm
+%%DATADIR%%/locale/nmapsi4_fr.qm
+%%DATADIR%%/locale/nmapsi4_it.qm
+%%DATADIR%%/locale/nmapsi4_pl.qm
+%%DATADIR%%/locale/nmapsi4_pt_BR.qm
+@dirrm %%DATADIR%%/locale
+@dirrm %%DATADIR%%
+@dirrmtry share/icons/hicolor/128x128/apps
+@dirrmtry share/icons/hicolor/128x128
+@dirrmtry share/icons/hicolor/64x64/apps
+@dirrmtry share/icons/hicolor/64x64
+@dirrmtry share/icons/hicolor/32x32/apps
+@dirrmtry share/icons/hicolor/32x32
+@dirrmtry share/icons/hicolor/16x16/apps
+@dirrmtry share/icons/hicolor/16x16
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
+@dirrmtry share/applications