From owner-freebsd-ports Tue Aug 11 14:40:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10474 for freebsd-ports-outgoing; Tue, 11 Aug 1998 14:40:08 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA10417 for ; Tue, 11 Aug 1998 14:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA00789; Tue, 11 Aug 1998 14:40:01 -0700 (PDT) Received: from jade.chc-chimes.com (jade.chc-chimes.com [206.67.97.83]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09441 for ; Tue, 11 Aug 1998 14:33:48 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: (from billf@localhost) by jade.chc-chimes.com (8.8.8/8.8.8) id RAA04122; Tue, 11 Aug 1998 17:31:22 -0400 (EDT) (envelope-from billf) Message-Id: <199808112131.RAA04122@jade.chc-chimes.com> Date: Tue, 11 Aug 1998 17:31:22 -0400 (EDT) From: Bill Fumerola Reply-To: billf@jade.chc-chimes.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7582: new port: net/portscanner Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 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 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