aboutsummaryrefslogtreecommitdiffstats
path: root/security/nmapfe
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-09-10 14:26:35 +0800
committerobrien <obrien@FreeBSD.org>1999-09-10 14:26:35 +0800
commit1c534f9a86ba1e707c6bd9aad731568459ad09f1 (patch)
treecfa23b37bf13f6b0d5ed510eb01118de9e115b3c /security/nmapfe
parent9026a098671226fa738c07c8aa669232f47f9d6a (diff)
downloadfreebsd-ports-gnome-1c534f9a86ba1e707c6bd9aad731568459ad09f1.tar.gz
freebsd-ports-gnome-1c534f9a86ba1e707c6bd9aad731568459ad09f1.tar.zst
freebsd-ports-gnome-1c534f9a86ba1e707c6bd9aad731568459ad09f1.zip
Due to popular demand, break the `nmapfe' GUI frontend for nmap off from
the main nmap port. The nmap port now does not depend on GUI libs and is thus installable on console-based machines.
Diffstat (limited to 'security/nmapfe')
-rw-r--r--security/nmapfe/Makefile12
-rw-r--r--security/nmapfe/pkg-comment2
-rw-r--r--security/nmapfe/pkg-descr11
-rw-r--r--security/nmapfe/pkg-plist3
4 files changed, 7 insertions, 21 deletions
diff --git a/security/nmapfe/Makefile b/security/nmapfe/Makefile
index 6070375d84b6..e362a3e78ed6 100644
--- a/security/nmapfe/Makefile
+++ b/security/nmapfe/Makefile
@@ -8,7 +8,7 @@
#
DISTNAME= nmap-2.3BETA5
-PKGNAME= nmap-2.3b5
+PKGNAME= nmapfe-19990907
CATEGORIES= security net
MASTER_SITES= http://www.insecure.org/nmap/dist/ \
ftp://relay.nuxi.com/pub/misc/
@@ -17,6 +17,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= obrien@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap
.include <bsd.port.pre.mk>
@@ -24,15 +25,12 @@ USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share/misc
MAKE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
-.if ${OSVERSION} < 300004
-CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
-.endif
-MAN1= nmap.1
post-extract:
@${RM} -rf ${WRKSRC}/libpcap*
-post-install:
- @strip ${PREFIX}/bin/nmap
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nmapfe/nmapfe ${PREFIX}/bin
+ cd ${PREFIX}/bin && ${LN} -f nmapfe xnmap
.include <bsd.port.post.mk>
diff --git a/security/nmapfe/pkg-comment b/security/nmapfe/pkg-comment
index 3de83ad648de..5678ecd23a9f 100644
--- a/security/nmapfe/pkg-comment
+++ b/security/nmapfe/pkg-comment
@@ -1 +1 @@
-Port scanning utility for large networks
+GUI frontend for the nmap scanning utility
diff --git a/security/nmapfe/pkg-descr b/security/nmapfe/pkg-descr
index c591362f2eda..ef1316ec24bc 100644
--- a/security/nmapfe/pkg-descr
+++ b/security/nmapfe/pkg-descr
@@ -1,15 +1,6 @@
-nmap is a utility for port scanning large networks, although it works fine
-for single hosts. The guiding philosophy for the creation of nmap was TMTOWTDI
-(There's More Than One Way To Do It). Sometimes you need speed, other times
-you may need stealth. In some cases, bypassing firewalls may be required. Not
-to mention the fact that you may want to scan different protocols (UDP, TCP,
-ICMP, etc.). You just can't do all this with one scanning mode. Thus nmap
-incorporats virtually every scanning technique known of.
+nmapfe is a GUI front end for the nmap port scanning tool.
WWW: http://www.insecure.org/nmap/index.html
-See the webpage and the Phrack Magazine article (Volume 7, Issue 51
-September 01, 1997, article 11 of 17) http://www.insecure.org/nmap/p51-11.txt
-
-- David
obrien@cs.ucdavis.edu
diff --git a/security/nmapfe/pkg-plist b/security/nmapfe/pkg-plist
index 3de481e81082..201a9646d72f 100644
--- a/security/nmapfe/pkg-plist
+++ b/security/nmapfe/pkg-plist
@@ -1,6 +1,3 @@
@comment $FreeBSD$
-bin/nmap
bin/nmapfe
bin/xnmap
-share/misc/nmap-os-fingerprints
-share/misc/nmap-services