Date: Fri, 23 Feb 2001 17:51:03 +0200 (IST) From: roman@xpert.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/25315: [NEW PORT] security/nmap-devel Message-ID: <200102231551.f1NFp3h45931@alchemy.oven.org>
next in thread | raw e-mail | index | archive | help
>Number: 25315 >Category: ports >Synopsis: [NEW PORT] security/nmap-devel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 23 11:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Roman Shterenzon >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: >Description: A port of development release of a popular network scanner. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # nmap-devel # nmap-devel/Makefile # nmap-devel/files # nmap-devel/files/patch-aa # nmap-devel/files/patch-ab # nmap-devel/files/patch-ac # nmap-devel/files/patch-ad # nmap-devel/pkg-comment # nmap-devel/distinfo # nmap-devel/pkg-descr # nmap-devel/pkg-plist # echo c - nmap-devel mkdir -p nmap-devel > /dev/null 2>&1 echo x - nmap-devel/Makefile sed 's/^X//' >nmap-devel/Makefile << 'END-of-nmap-devel/Makefile' X# Ports collection makefile for: nmap-devel X# Date created: Thu Feb 22, 2001 X# Whom: Roman Shterenzon <roman@xpert.com> X# X# $FreeBSD$ X# X XPORTNAME= nmap-devel XPORTVERSION= 2.54b7 XCATEGORIES= security XMASTER_SITES= http://www.insecure.org/nmap/dist/ \ X ftp://nuxi.ucdavis.edu/pub/misc/ \ X http://www.mobis.com/ajax/projects/ XDISTNAME= nmap-${PORTVERSION:S/b/BETA/} XEXTRACT_SUFX= .tgz X XMAINTAINER= roman@xpert.com X X.include <bsd.port.pre.mk> X XGNU_CONFIGURE= yes XALL_TARGET= X.if ${OSVERSION} < 300004 XCFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h> X.endif XMAN1= nmap-devel.1 X Xpost-extract: X @${RM} -rf ${WRKSRC}/libpcap* X X.include <bsd.port.post.mk> END-of-nmap-devel/Makefile echo c - nmap-devel/files mkdir -p nmap-devel/files > /dev/null 2>&1 echo x - nmap-devel/files/patch-aa sed 's/^X//' >nmap-devel/files/patch-aa << 'END-of-nmap-devel/files/patch-aa' X--- Makefile.in.orig Mon Oct 9 02:36:52 2000 X+++ Makefile.in Thu Feb 22 22:27:05 2001 X@@ -8,16 +8,16 @@ X sbindir = @sbindir@ X mandir = @mandir@ X srcdir = @srcdir@ X-nmapdatadir = @datadir@/nmap X+nmapdatadir = @datadir@/nmap-devel X deskdir = $(prefix)/share/gnome/apps/Utilities X X NBASEDIR=@NBASEDIR@ X CC = @CC@ X CCOPT = X LIBPCAPDIR = @libpcapdir@ X-INCLS = -I$(LIBPCAPDIR) X+INCLS = X DEFS = @DEFS@ -DNMAP_VERSION=\"$(NMAP_VERSION)\" -DNMAP_NAME=\"$(NMAP_NAME)\" -DNMAP_URL=\"$(NMAP_URL)\" -DNMAP_PLATFORM=\"$(NMAP_PLATFORM)\" -DNMAPDATADIR=\"$(nmapdatadir)\" X-CFLAGS = -g @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS) X+CFLAGS = @CFLAGS@ $(CCOPT) $(DEFS) $(INCLS) X # CFLAGS = -g -Wall $(DEFS) $(INCLS) X STATIC = X LDFLAGS = @LDFLAGS@ $(STATIC) X@@ -38,7 +38,7 @@ X X DEPS = nmap.h error.h targets.h osscan.h output.h scan_engine.h timing.h tcpip.h utils.h global_structures.h charpool.h services.h protocols.h rpc.h portlist.h X X-all: $(TARGET) nmapfe/nmapfe X+all: $(TARGET) X X $(TARGET): $(DEPS) @PCAP_DEPENDS@ $(NBASEDIR)/libnbase.a $(OBJS) X @echo Compiling nmap X@@ -150,11 +150,11 @@ X $(MAKEDEPEND) $(INCLS) -s "# DO NOT DELETE" -- $(DEFS) -- $(SRCS) X X install: $(TARGET) X- $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir) $(deskdir) X- $(INSTALL) -c -m 755 nmap $(bindir)/nmap X+ $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(mandir)/man1 $(nmapdatadir) X+ $(INSTALL) -c -s -m 755 nmap $(bindir)/nmap-devel X @echo "If the next command fails -- you cannot use the X front end" X -test -f nmapfe/nmapfe && $(INSTALL) -c -m 755 nmapfe/nmapfe $(bindir)/nmapfe && $(SHTOOL) mkln -f -s $(bindir)/nmapfe $(bindir)/xnmap && $(INSTALL) -c -m 644 nmapfe.desktop $(deskdir)/nmapfe.desktop && $(INSTALL) -c -m 644 docs/nmapfe.1 $(mandir)/man1/nmapfe.1 && $(INSTALL) -c -m 644 docs/xnmap.1 $(mandir)/man1/xnmap.1 X- $(INSTALL) -c -m 644 docs/$(TARGET).1 $(mandir)/man1/$(TARGET).1 X+ $(INSTALL) -c -m 644 docs/$(TARGET).1 $(mandir)/man1/$(TARGET)-devel.1 X $(INSTALL) -c -m 644 nmap-os-fingerprints $(nmapdatadir)/nmap-os-fingerprints X $(INSTALL) -c -m 644 nmap-services $(nmapdatadir)/nmap-services X $(INSTALL) -c -m 644 nmap-protocols $(nmapdatadir)/nmap-protocols END-of-nmap-devel/files/patch-aa echo x - nmap-devel/files/patch-ab sed 's/^X//' >nmap-devel/files/patch-ab << 'END-of-nmap-devel/files/patch-ab' X--- nmap-services.orig Thu Feb 22 19:35:41 2001 X+++ nmap-services Thu Feb 22 19:37:02 2001 X@@ -1785,7 +1785,7 @@ X deslogind 3006/tcp # X cfs 3049/tcp # cryptographic file system (nfs) (proposed) X cfs 3049/udp # cryptographic file system (nfs) X-distrib-net-proxy 3064/tcp # Stupid closed source distributed.net project proxy port X+distrib-net-proxy 3064/tcp # distributed.net proxy server port X sj3 3086/tcp # SJ3 (kanji input) X squid-http 3128/tcp # X squid-ipc 3130/udp # END-of-nmap-devel/files/patch-ab echo x - nmap-devel/files/patch-ac sed 's/^X//' >nmap-devel/files/patch-ac << 'END-of-nmap-devel/files/patch-ac' X--- configure.orig Thu Feb 22 21:31:27 2001 X+++ configure Thu Feb 22 21:31:43 2001 X@@ -530,7 +530,7 @@ X LDFLAGS="$LDFLAGS -L/usr/local/lib" X fi X if test -d /usr/local/include; then X- CFLAGS="$CLFAGS -I/usr/local/include" X+ CFLAGS="$CFLAGS -I/usr/local/include" X fi X X libpcapdir=libpcap-possiblymodified END-of-nmap-devel/files/patch-ac echo x - nmap-devel/files/patch-ad sed 's/^X//' >nmap-devel/files/patch-ad << 'END-of-nmap-devel/files/patch-ad' X--- nbase/configure.orig Thu Feb 22 22:26:04 2001 X+++ nbase/configure Thu Feb 22 22:26:13 2001 X@@ -526,7 +526,7 @@ X LDFLAGS="$LDFLAGS -L/usr/local/lib" X fi X if test -d /usr/local/include; then X- CFLAGS="$CLFAGS -I/usr/local/include" X+ CFLAGS="$CFLAGS -I/usr/local/include" X fi X X END-of-nmap-devel/files/patch-ad echo x - nmap-devel/pkg-comment sed 's/^X//' >nmap-devel/pkg-comment << 'END-of-nmap-devel/pkg-comment' XPort scanning utility for large networks END-of-nmap-devel/pkg-comment echo x - nmap-devel/distinfo sed 's/^X//' >nmap-devel/distinfo << 'END-of-nmap-devel/distinfo' XMD5 (nmap-2.54BETA7.tgz) = d7fd8b79d2a8268a9cb32421dea02975 END-of-nmap-devel/distinfo echo x - nmap-devel/pkg-descr sed 's/^X//' >nmap-devel/pkg-descr << 'END-of-nmap-devel/pkg-descr' Xnmap is a utility for port scanning large networks, although it works fine Xfor single hosts. The guiding philosophy for the creation of nmap was TMTOWTDI X(There's More Than One Way To Do It). Sometimes you need speed, other times Xyou may need stealth. In some cases, bypassing firewalls may be required. Not Xto mention the fact that you may want to scan different protocols (UDP, TCP, XICMP, etc.). You just can't do all this with one scanning mode. Thus nmap Xincorporates virtually every scanning technique known of. X XWWW: http://www.insecure.org/nmap/index.html X XSee the webpage and the Phrack Magazine article (Volume 7, Issue 51 XSeptember 01, 1997, article 11 of 17) http://www.insecure.org/nmap/p51-11.txt X X* This is a development release of nmap X XRoman Shterenzon <roman@xpert.com> END-of-nmap-devel/pkg-descr echo x - nmap-devel/pkg-plist sed 's/^X//' >nmap-devel/pkg-plist << 'END-of-nmap-devel/pkg-plist' Xbin/nmap-devel Xshare/nmap-devel/nmap-os-fingerprints Xshare/nmap-devel/nmap-services Xshare/nmap-devel/nmap-protocols Xshare/nmap-devel/nmap-rpc X@dirrm share/nmap-devel END-of-nmap-devel/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102231551.f1NFp3h45931>