mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
update to nmap/nmapfe version 3.46
PR: 57196 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
This commit is contained in:
parent
da963079f3
commit
431f47f2e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89363
@ -1,4 +1,3 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: nmap
|
||||
# Date created: Tue Aug 04, 1998
|
||||
# Whom: David O'Brien (obrien@NUXI.com)
|
||||
@ -7,36 +6,73 @@
|
||||
#
|
||||
|
||||
PORTNAME?= nmap
|
||||
PORTVERSION= 3.30
|
||||
PORTVERSION= 3.46
|
||||
CATEGORIES= security ipv6
|
||||
MASTER_SITES= http://download.insecure.org/nmap/dist/
|
||||
DISTNAME= nmap-${PORTVERSION:S/.b/BETA/}
|
||||
DISTNAME= nmap-${PORTVERSION}
|
||||
|
||||
MAINTAINER= eikemeier@fillmore-labs.com
|
||||
COMMENT?= Port scanning utility for large networks
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --without-localdirs
|
||||
USE_BZIP2= yes
|
||||
|
||||
MAN1?= nmap.1
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --without-localdirs
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
.if ${OSVERSION} < 300004
|
||||
CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
|
||||
.ifndef BUILD_NMAPFE
|
||||
|
||||
MAN1= nmap.1
|
||||
|
||||
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
||||
|
||||
CONFIGURE_ARGS+= --with-libpcre=${LOCALBASE}
|
||||
|
||||
.ifndef WITHOUT_SSL
|
||||
USE_OPENSSL= yes
|
||||
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-openssl
|
||||
.endif
|
||||
|
||||
CONFIGURE_TARGET= -build=${ARCH}-portbld-freebsd${OSREL}
|
||||
.if ${PORTNAME} == "nmap"
|
||||
CONFIGURE_ARGS+= --without-nmapfe
|
||||
.endif
|
||||
ALL_TARGET?= nmap
|
||||
INSTALL_TARGET?= install-nmap
|
||||
|
||||
.if !target(post-install) && (${PORTNAME} == "nmap")
|
||||
ALL_TARGET= nmap
|
||||
INSTALL_TARGET= install-nmap
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/bin/nmap
|
||||
.ifndef NOPORTDOCS
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@for doc in CHANGELOG HACKING docs/nmap.dtd; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}; \
|
||||
done
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.else
|
||||
|
||||
RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap
|
||||
|
||||
DESCR= ${PKGDIR}/pkg-descr.fe
|
||||
PLIST= ${PKGDIR}/pkg-plist.fe
|
||||
PLIST_SUB= REALPREFIX=${PREFIX}
|
||||
|
||||
MAN1= nmapfe.1
|
||||
MLINKS= nmapfe.1 xnmap.1
|
||||
|
||||
USE_GNOME= gtk12
|
||||
|
||||
CONFIGURE_ARGS+=--without-openssl
|
||||
|
||||
CONFIGURE_ARGS+=--with-nmapfe
|
||||
|
||||
ALL_TARGET= nbase/libnbase.a nmapfe/nmapfe
|
||||
INSTALL_TARGET= install-nmapfe
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/bin/nmapfe
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (nmap-3.30.tar.bz2) = 639fc1c91f48319eca97401e74f9c90e
|
||||
MD5 (nmap-3.46.tar.bz2) = 58974b2d4059752a9f66adc4659f7878
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Makefile.in.orig Fri Mar 9 22:25:19 2001
|
||||
+++ Makefile.in Sun May 27 17:49:17 2001
|
||||
@@ -9,14 +9,14 @@
|
||||
--- Makefile.in.orig Sat Sep 20 11:00:04 2003
|
||||
+++ Makefile.in Wed Sep 24 23:59:42 2003
|
||||
@@ -9,7 +9,7 @@
|
||||
mandir = @mandir@
|
||||
srcdir = @srcdir@
|
||||
nmapdatadir = @datadir@/nmap
|
||||
@ -8,21 +8,12 @@
|
||||
+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)\"
|
||||
NSOCKDIR=@NSOCKDIR@
|
||||
@@ -23,6 +23,7 @@
|
||||
# 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
|
||||
# DEFS += -DMTRACE=1
|
||||
+CPPFLAGS = @CPPFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@ $(CCOPT) $(DEFS) $(INCLS)
|
||||
# CFLAGS = $(CXXFLAGS)
|
||||
# CFLAGS = $(DEFS) $(INCLS)
|
||||
|
@ -1,14 +1,14 @@
|
||||
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
|
||||
incorporates virtually every scanning technique known of.
|
||||
Nmap is a utility for network exploration or security auditing. It
|
||||
supports ping scanning (determine which hosts are up), many port
|
||||
scanning techniques, version detection (determine service protocols
|
||||
and application versions listening behind ports), and TCP/IP
|
||||
fingerprinting (remote host OS or device identification). Nmap also
|
||||
offers flexible target and port specification, decoy/stealth scanning,
|
||||
sunRPC scanning, and more.
|
||||
|
||||
WWW: http://www.insecure.org/nmap/index.html
|
||||
WWW: http://www.insecure.org/nmap/
|
||||
|
||||
See the webpage and the Phrack Magazine article (Volume 7, Issue 51
|
||||
See the web page 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
|
||||
|
@ -1,6 +1,6 @@
|
||||
nmapfe is a GUI front end for the nmap port scanning tool.
|
||||
|
||||
WWW: http://www.insecure.org/nmap/index.html
|
||||
WWW: http://www.insecure.org/nmap/
|
||||
|
||||
-- David
|
||||
obrien@cs.ucdavis.edu
|
@ -1,6 +1,11 @@
|
||||
bin/nmap
|
||||
share/nmap/nmap-os-fingerprints
|
||||
share/nmap/nmap-protocols
|
||||
share/nmap/nmap-services
|
||||
share/nmap/nmap-rpc
|
||||
@dirrm share/nmap
|
||||
%%DATADIR%%/nmap-os-fingerprints
|
||||
%%DATADIR%%/nmap-protocols
|
||||
%%DATADIR%%/nmap-rpc
|
||||
%%DATADIR%%/nmap-service-probes
|
||||
%%DATADIR%%/nmap-services
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HACKING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/nmap.dtd
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
8
security/nmap/pkg-plist.fe
Normal file
8
security/nmap/pkg-plist.fe
Normal file
@ -0,0 +1,8 @@
|
||||
bin/nmapfe
|
||||
bin/xnmap
|
||||
@cwd %%X11BASE%%
|
||||
share/gnome/apps/Utilities/nmapfe.desktop
|
||||
@unexec rmdir %D/share/gnome/apps/Utilities 2>/dev/null || true
|
||||
@unexec rmdir %D/share/gnome/apps 2>/dev/null || true
|
||||
@unexec rmdir %D/share/gnome 2>/dev/null || true
|
||||
@cwd %%REALPREFIX%%
|
@ -1,4 +1,3 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: nmap
|
||||
# Date created: Tue Aug 04, 1998
|
||||
# Whom: David O'Brien (obrien@NUXI.com)
|
||||
@ -10,16 +9,8 @@ PORTNAME= nmapfe
|
||||
|
||||
COMMENT= GUI frontend for the nmap scanning utility
|
||||
|
||||
RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../nmap
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
|
||||
USE_GNOME= gtk12
|
||||
|
||||
MAN1= nmapfe.1 xnmap.1
|
||||
|
||||
ALL_TARGET= nbase/libnbase.a nmapfe/nmapfe
|
||||
INSTALL_TARGET= install-nmapfe
|
||||
BUILD_NMAPFE= yes
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1,5 +0,0 @@
|
||||
bin/nmapfe
|
||||
bin/xnmap
|
||||
@cwd %%X11BASE%%
|
||||
share/gnome/apps/Utilities/nmapfe.desktop
|
||||
@cwd %%LOCALBASE%%
|
@ -1,4 +1,3 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: nmap
|
||||
# Date created: Tue Aug 04, 1998
|
||||
# Whom: David O'Brien (obrien@NUXI.com)
|
||||
@ -10,16 +9,8 @@ PORTNAME= nmapfe
|
||||
|
||||
COMMENT= GUI frontend for the nmap scanning utility
|
||||
|
||||
RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../nmap
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
|
||||
USE_GNOME= gtk12
|
||||
|
||||
MAN1= nmapfe.1 xnmap.1
|
||||
|
||||
ALL_TARGET= nbase/libnbase.a nmapfe/nmapfe
|
||||
INSTALL_TARGET= install-nmapfe
|
||||
BUILD_NMAPFE= yes
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1,6 +0,0 @@
|
||||
nmapfe is a GUI front end for the nmap port scanning tool.
|
||||
|
||||
WWW: http://www.insecure.org/nmap/index.html
|
||||
|
||||
-- David
|
||||
obrien@cs.ucdavis.edu
|
@ -1,5 +0,0 @@
|
||||
bin/nmapfe
|
||||
bin/xnmap
|
||||
@cwd %%X11BASE%%
|
||||
share/gnome/apps/Utilities/nmapfe.desktop
|
||||
@cwd %%LOCALBASE%%
|
Loading…
Reference in New Issue
Block a user