summaryrefslogtreecommitdiff
path: root/net/nmapfe
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-08-03 12:45:51 +0000
committerhubertf <hubertf>2002-08-03 12:45:51 +0000
commitb2d3c91c877029af9502475864bd36584b185103 (patch)
tree8d198b4cfc093909ff43939ddb71d895cef5548d /net/nmapfe
parent91cb532ef94aec0ca11718522f41552de5dc7973 (diff)
downloadpkgsrc-b2d3c91c877029af9502475864bd36584b185103.tar.gz
nmapfe is now part of nmap, so use that sources (nmapfe version is
still 0.9.5, so no changes there). Also install manpage for frontend.
Diffstat (limited to 'net/nmapfe')
-rw-r--r--net/nmapfe/Makefile21
-rw-r--r--net/nmapfe/PLIST3
-rw-r--r--net/nmapfe/distinfo7
-rw-r--r--net/nmapfe/patches/patch-aa13
4 files changed, 20 insertions, 24 deletions
diff --git a/net/nmapfe/Makefile b/net/nmapfe/Makefile
index a0784ce165e..04efd829313 100644
--- a/net/nmapfe/Makefile
+++ b/net/nmapfe/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2001/02/17 18:19:17 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2002/08/03 12:45:51 hubertf Exp $
-DISTNAME= nmapfe-0.9.5
+DISTNAME= nmap-3.00
+PKGNAME= nmapfe-0.9.5
CATEGORIES= net security
MASTER_SITES= http://codebox.net/download/
EXTRACT_SUFX= .tgz
@@ -9,13 +10,12 @@ MAINTAINER= reinoud@ibbnet.org,hubertf@netbsd.org
HOMEPAGE= http://www.insecure.org/nmap/index.html
COMMENT= graphical front end to the nmap port scanner
-DEPENDS+= nmap-2.*:../../net/nmap
+DEPENDS+= nmap-[23].*:../../net/nmap
DEPENDS+= gtk+-1.2.*:../../x11/gtk
-GNU_CONFIGURE= Yes
+HAS_CONFIGURE= Yes
CONFIGURE_ENV+= INSTALL=${INSTALL}
-
-WRKSRC= ${WRKDIR}/nmapfe
+CONFIGURE_ARGS+=--prefix=${PREFIX}
.include "../../mk/bsd.prefs.mk"
@@ -23,4 +23,13 @@ WRKSRC= ${WRKDIR}/nmapfe
MAKE_ENV+= CPPFLAGS=""
.endif
+
+do-build:
+ cd ${WRKSRC}/nbase ; ${SETENV} ${BUILD_ENV} ${MAKE}
+ cd ${WRKSRC}/nmapfe ; ${SETENV} ${BUILD_ENV} ${MAKE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nmapfe/nmapfe ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/docs/nmapfe.1 ${PREFIX}/man/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/net/nmapfe/PLIST b/net/nmapfe/PLIST
index 258eee8e84a..e3e43f902d9 100644
--- a/net/nmapfe/PLIST
+++ b/net/nmapfe/PLIST
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:59 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/08/03 12:45:52 hubertf Exp $
bin/nmapfe
+man/man1/nmapfe.1
diff --git a/net/nmapfe/distinfo b/net/nmapfe/distinfo
index b3e63ce9888..d130fa4bbaf 100644
--- a/net/nmapfe/distinfo
+++ b/net/nmapfe/distinfo
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 11:23:25 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/08/03 12:45:52 hubertf Exp $
-SHA1 (nmapfe-0.9.5.tgz) = d3c2e59b8adbea8cfffde8f4e89522c96673289c
-Size (nmapfe-0.9.5.tgz) = 39312 bytes
-SHA1 (patch-aa) = c5d636181d06fa374880b02a90fb8bce7828c153
+SHA1 (nmap-3.00.tgz) = 7c51c4013bf70c223b81af5a5a171fc9af011df2
+Size (nmap-3.00.tgz) = 922293 bytes
diff --git a/net/nmapfe/patches/patch-aa b/net/nmapfe/patches/patch-aa
deleted file mode 100644
index 615fc95b16a..00000000000
--- a/net/nmapfe/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2000/05/14 22:03:43 frueauf Exp $
-
---- gladesig.c-orig Mon Aug 30 20:27:21 1999
-+++ gladesig.c Sun May 14 23:46:11 2000
-@@ -487,7 +487,7 @@
- strncat(command, " -sR ", 5);
-
- if (GTK_TOGGLE_BUTTON(MW->fast_check)->active)
-- strncat(command, " -F ", 3);
-+ strncat(command, " -F ", 4);
-
- if (GTK_TOGGLE_BUTTON(MW->range_check)->active) {
- val = gtk_entry_get_text(GTK_ENTRY(MW->range_text));