PR: 53933
Submitted by: maintainer Reviewed by: Approved by: Obtained from: MFC after: 1. Upgrade Nmap to 3.30, which released at Jun 29, 2003. Major enchancement is OS fingerprints update. The fingerprint DB now contains almost 1000 fingerprints. See ChangeLog at this link: http://lists.insecure.org/lists/nmap-hackers/2003/Apr-Jun/0016.html 2. Renamed the patch files to be more descriptive.
This commit is contained in:
parent
81e7742353
commit
d8a8887c96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83932
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME?= nmap
|
||||
PORTVERSION= 3.28
|
||||
PORTVERSION= 3.30
|
||||
CATEGORIES= security ipv6
|
||||
MASTER_SITES= http://download.insecure.org/nmap/dist/
|
||||
DISTNAME= nmap-${PORTVERSION:S/.b/BETA/}
|
||||
@ -16,6 +16,7 @@ MAINTAINER= dominic.marks@btinternet.com
|
||||
COMMENT?= Port scanning utility for large networks
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --without-localdirs
|
||||
USE_BZIP2= yes
|
||||
|
||||
MAN1?= nmap.1
|
||||
|
@ -1 +1 @@
|
||||
MD5 (nmap-3.28.tar.bz2) = ac46d6d7a5f7eec8d0281f656c23f2b4
|
||||
MD5 (nmap-3.30.tar.bz2) = 639fc1c91f48319eca97401e74f9c90e
|
||||
|
@ -1,28 +0,0 @@
|
||||
--- Makefile.in.orig Fri Mar 9 22:25:19 2001
|
||||
+++ Makefile.in Sun May 27 17:49:17 2001
|
||||
@@ -9,14 +9,14 @@
|
||||
mandir = @mandir@
|
||||
srcdir = @srcdir@
|
||||
nmapdatadir = @datadir@/nmap
|
||||
-deskdir = $(prefix)/share/gnome/apps/Utilities
|
||||
+deskdir = $(X11BASE)/share/gnome/apps/Utilities
|
||||
|
||||
NBASEDIR=@NBASEDIR@
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
CCOPT =
|
||||
LIBPCAPDIR = @libpcapdir@
|
||||
-INCLS = -I$(LIBPCAPDIR)
|
||||
+#INCLS = -I$(LIBPCAPDIR)
|
||||
DEFS = @DEFS@ -DNMAP_VERSION=\"$(NMAP_VERSION)\" -DNMAP_NAME=\"$(NMAP_NAME)\" -DNMAP_URL=\"$(NMAP_URL)\" -DNMAP_PLATFORM=\"$(NMAP_PLATFORM)\" -DNMAPDATADIR=\"$(nmapdatadir)\"
|
||||
# For mtrace debugging -- see MTRACE define in main.cc for instructions
|
||||
# Should only be enabled during debugging and not in any real release.
|
||||
@@ -200,7 +200,7 @@
|
||||
$(MAKEDEPEND) $(INCLS) -s "# DO NOT DELETE" -- $(DEFS) -- $(SRCS)
|
||||
|
||||
install-nmap: $(TARGET)
|
||||
- $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir) $(deskdir)
|
||||
+ $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir)
|
||||
$(INSTALL) -c -m 755 nmap $(bindir)/nmap
|
||||
$(INSTALL) -c -m 644 docs/$(TARGET).1 $(mandir)/man1/$(TARGET).1
|
||||
$(INSTALL) -c -m 644 nmap-os-fingerprints $(nmapdatadir)/nmap-os-fingerprints
|
@ -1,11 +0,0 @@
|
||||
--- nmapfe/nmapfe_sig.c.old Sun Jun 15 17:37:46 2003
|
||||
+++ nmapfe/nmapfe_sig.c Sun Jun 15 17:44:47 2003
|
||||
@@ -433,7 +433,7 @@
|
||||
if (size > command_size)
|
||||
command = realloc(command, size);
|
||||
|
||||
- strcpy(command, "nmap ");
|
||||
+ strcpy(command, NMAP_PATH "nmap ");
|
||||
/* Uhm... yeah.. Spit out which scan to perform based
|
||||
on the which_scan variable */
|
||||
|
11
security/nmap/files/patch-nmapfe::nmapfe_sig.c
Normal file
11
security/nmap/files/patch-nmapfe::nmapfe_sig.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- nmapfe/nmapfe_sig.c Mon Jun 30 18:23:48 2003
|
||||
+++ nmapfe/nmapfe_sig.c.new Mon Jun 30 18:26:03 2003
|
||||
@@ -372,7 +372,7 @@
|
||||
if (size > command_size)
|
||||
command = realloc(command, size);
|
||||
|
||||
- strcpy(command, "nmap ");
|
||||
+ strcpy(command, NMAP_PATH "nmap ");
|
||||
|
||||
/* select the scan type */
|
||||
if (opt.scanValue == CONNECT_SCAN) {
|
@ -1,4 +1,3 @@
|
||||
@comment $FreeBSD$
|
||||
bin/nmap
|
||||
share/nmap/nmap-os-fingerprints
|
||||
share/nmap/nmap-protocols
|
||||
|
Loading…
Reference in New Issue
Block a user