Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 17:31:22 -0400 (EDT)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7582: new port: net/portscanner
Message-ID:  <199808112131.RAA04122@jade.chc-chimes.com>

next in thread | raw e-mail | index | archive | help

>Number:         7582
>Category:       ports
>Synopsis:       new port: net/portscanner
>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:   Tue Aug 11 14:40:00 PDT 1998
>Last-Modified:
>Originator:     Bill Fumerola
>Organization:
Computer Horizons Corp
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:


>Description:

this is like strobe, but much simpler, quicker, dirtier. I plan
on using this in some of my inhouse monitoring stuff, and I think that
other may too. bb would do well to have code this quick.

BTW - this port will not win the 'complex port of the year' award.

>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:
#
#	.
#	./Makefile
#	./files
#	./files/md5
#	./pkg
#	./pkg/PLIST
#	./pkg/COMMENT
#	./pkg/DESCR
#	./patches
#	./patches/patch-aa
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   portscanner
X# Version required:    1.0
X# Date created:        11 August 1998
X# Whom:                Bill Fumerola <billf@chc-chimes.com>
X#
X# $Id: $
X#
X
XDISTNAME=	PortScanner-1.0
XPKGNAME=	portscanner-1.0
XCATEGORIES=	net
XMASTER_SITES=	http://www.ameth.org/~veilleux/
X
XMAINTAINER=	billf@chc-chimes.com
X
XWRKSRC=		${WRKDIR}
X
Xdo-build:
X
X	${CC} -o ${WRKSRC}/portscanner ${WRKSRC}/portscanner.c
X
Xdo-install:
X
X	${INSTALL} -g bin -o bin -m 755 ${WRKSRC}/portscanner ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (PortScanner-1.0.tar.gz) = 633e77b3cd66872d7baef0b14bbbf13e
END-of-./files/md5
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/portscanner
END-of-./pkg/PLIST
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
Xa simple and easy to use TCP port scanner
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XPortScanner is a simple and easy to use TCP port scanner. It is usually used to
Xlog the running servers on a remote machine for security purposes and to help
Xpeople find services.
X
Xhttp://www.ameth.org/~veilleux/
X
XBill Fumerola <billf@chc-chimes.com>
END-of-./pkg/DESCR
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X--- portscanner.c.old	Tue Aug 11 17:11:20 1998
X+++ portscanner.c	Tue Aug 11 17:11:27 1998
X@@ -35,7 +35,7 @@
X int sock = -1;
X struct sockaddr_in address;
X int result;
X-extern char *sys_errlist[];
X+/* extern char *sys_errlist[]; */
X extern int errno;
X int current_port = 0; 
X u_short base_port = 0;
END-of-./patches/patch-aa
exit

	
>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?199808112131.RAA04122>