From e98118097aca0316cb80bcf81e061178410fcaa8 Mon Sep 17 00:00:00 2001 From: brad Date: Fri, 12 Mar 1999 17:29:12 +0000 Subject: [PATCH] add strobe port --- security/strobe/Makefile | 14 +++++++++ security/strobe/files/md5 | 3 ++ security/strobe/patches/patch-aa | 51 ++++++++++++++++++++++++++++++++ security/strobe/pkg/COMMENT | 1 + security/strobe/pkg/DESCR | 10 +++++++ security/strobe/pkg/PLIST | 2 ++ 6 files changed, 81 insertions(+) create mode 100644 security/strobe/Makefile create mode 100644 security/strobe/files/md5 create mode 100644 security/strobe/patches/patch-aa create mode 100644 security/strobe/pkg/COMMENT create mode 100644 security/strobe/pkg/DESCR create mode 100644 security/strobe/pkg/PLIST diff --git a/security/strobe/Makefile b/security/strobe/Makefile new file mode 100644 index 00000000000..cd756d2e679 --- /dev/null +++ b/security/strobe/Makefile @@ -0,0 +1,14 @@ +# $OpenBSD: Makefile,v 1.1.1.1 1999/03/12 17:29:12 brad Exp $ +# $FreeBSD: Makefile,v 1.5 1999/03/09 00:16:14 jseger Exp $ + +DISTNAME= strobe-1.05 +CATEGORIES= security net +MASTER_SITES= ftp://ftp.win.ne.jp/pub/network/misc/ + +MAINTAINER= brad@openbsd.org + +WRKSRC= ${WRKDIR}/strobe +ALL_TARGET= strobe +MAN1= strobe.1 + +.include diff --git a/security/strobe/files/md5 b/security/strobe/files/md5 new file mode 100644 index 00000000000..6c911d145ba --- /dev/null +++ b/security/strobe/files/md5 @@ -0,0 +1,3 @@ +MD5 (strobe-1.05.tar.gz) = 2e85127fbfce50b297b122431628c05d +RMD160 (strobe-1.05.tar.gz) = e8024959376d295fefcf9a27c2bbaed9a27a978b +SHA1 (strobe-1.05.tar.gz) = cf04b822addd97448393e3c8547d75f414de4487 diff --git a/security/strobe/patches/patch-aa b/security/strobe/patches/patch-aa new file mode 100644 index 00000000000..358253d2919 --- /dev/null +++ b/security/strobe/patches/patch-aa @@ -0,0 +1,51 @@ +--- Makefile.orig Thu Jul 3 04:48:00 1997 ++++ Makefile Tue Dec 29 11:15:04 1998 +@@ -3,15 +3,16 @@ + + # Modify the below to suit your filesystem + +-INSTALLDIR=/usr/local/bin +-LIBDIR=/usr/local/lib +-MANDIR=/usr/local/man/man1 ++PREFIX?=/usr/local ++INSTALLDIR=${PREFIX}/bin ++LIBDIR=${PREFIX}/lib ++MANDIR=${PREFIX}/man/man1 + +-#CC=cc +-CC=gcc ++CC?=cc ++#CC=gcc + + #FLAGS=-O -nointl # SCO +-FLAGS= -O -g -Wall ++FLAGS= -O -Wall + + #LIBS= -lnsl -lsocket # SYSVR4 / SOLARIS + #LIBS= -lsocket -lmalloc -lc_s # SCO +@@ -31,7 +32,7 @@ + -DSTROBE_SERVICES='"$(DATA)"'\ + -DETC_SERVICES='"$(ETC_SERVICES)"' + +-CFLAGS=$(FLAGS) $(DEFS) ++CFLAGS+=$(DEFS) + + $(BIN): $(OBJS) + $(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LIBS) +@@ -40,13 +41,13 @@ + $(MAN): + $(INSTALLDIR)/$(BIN): $(BIN) + -rm -f $(INSTALLDIR)/$(BIN) +- install -m 755 -s $(BIN) $(INSTALLDIR)/$(BIN) ++ install -c -o bin -g bin -m 755 -s $(BIN) $(INSTALLDIR)/$(BIN) + $(LIBDIR)/$(DATA): $(DATA) + -rm -f $(LIBDIR)/$(DATA) +- install -m 644 $(DATA) $(LIBDIR)/$(DATA) ++ install -c -o bin -g bin -m 644 $(DATA) $(LIBDIR)/$(DATA) + $(MANDIR)/$(MAN): $(MAN) + -rm -f $(MANDIR)/$(MAN) +- install -m 644 $(MAN) $(MANDIR)/$(MAN) ++ install -c -o bin -g bin -m 644 $(MAN) $(MANDIR)/$(MAN) + install: $(INSTALLDIR)/$(BIN) $(LIBDIR)/$(DATA) $(MANDIR)/$(MAN) + strobe.man : $(MAN) + nroff -man -Tascii $(MAN) > strobe.man diff --git a/security/strobe/pkg/COMMENT b/security/strobe/pkg/COMMENT new file mode 100644 index 00000000000..2e87b16dc81 --- /dev/null +++ b/security/strobe/pkg/COMMENT @@ -0,0 +1 @@ +Fast scatter/gather TCP port scanner diff --git a/security/strobe/pkg/DESCR b/security/strobe/pkg/DESCR new file mode 100644 index 00000000000..e90e8cc4778 --- /dev/null +++ b/security/strobe/pkg/DESCR @@ -0,0 +1,10 @@ +strobe is a network/security tool that locates and +describes all listening tcp ports on a (remote) host or on +many hosts in a bandwidth utilisation maximising, and pro- +cess resource minimizing manner. + +strobe approximates a parallel finite state machine inter- +nally. In non-linear multi-host mode it attempts to appor- +tion bandwidth and sockets amoung the hosts very effi- +ciently. This can reap appreciable gains in speed for +multiple distinct hosts/routes. diff --git a/security/strobe/pkg/PLIST b/security/strobe/pkg/PLIST new file mode 100644 index 00000000000..3d720887fdb --- /dev/null +++ b/security/strobe/pkg/PLIST @@ -0,0 +1,2 @@ +bin/strobe +lib/strobe.services