summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-31 13:43:17 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-31 13:43:17 +0000
commit20219034790e8d82827a8f86e2021ec6c8c8ae01 (patch)
treeb299fdcef8af5a35149b0a2c7d5ec48d716b6804 /security
parentThe basecamp(R) theme is a Redmine-port of the famous 37signals(R) Basecamp(R) (diff)
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>
Notes
Notes: svn path=/head/; revision=248961
Diffstat (limited to 'security')
-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