From da5eed337ab4d6dbd0c193d60de50f3f95080071 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Mon, 22 May 2000 08:35:10 +0000 Subject: Add STING, a TCP-based network measurement tool that measures end-to-end network path characteristics. sting is unique because it can estimate one-way properties, such as loss rate, through careful manipulation and observation of TCP behavior. Since Benno submitted the port first, and since the patches are nearly identical, Benno will get credit for creating the port. However, since Kelly offered to maintain it, he will get the job. PRs: 18476, 18508 Submitted by: Benno Rice , Kelly Yancey --- net-mgmt/sting/Makefile | 24 ++++++++++++++++++++++++ net-mgmt/sting/distinfo | 1 + net-mgmt/sting/files/patch-aa | 11 +++++++++++ net-mgmt/sting/files/patch-ab | 11 +++++++++++ net-mgmt/sting/files/patch-ac | 11 +++++++++++ net-mgmt/sting/pkg-comment | 1 + net-mgmt/sting/pkg-descr | 10 ++++++++++ net-mgmt/sting/pkg-plist | 2 ++ 8 files changed, 71 insertions(+) create mode 100644 net-mgmt/sting/Makefile create mode 100644 net-mgmt/sting/distinfo create mode 100644 net-mgmt/sting/files/patch-aa create mode 100644 net-mgmt/sting/files/patch-ab create mode 100644 net-mgmt/sting/files/patch-ac create mode 100644 net-mgmt/sting/pkg-comment create mode 100644 net-mgmt/sting/pkg-descr create mode 100644 net-mgmt/sting/pkg-plist (limited to 'net-mgmt/sting') diff --git a/net-mgmt/sting/Makefile b/net-mgmt/sting/Makefile new file mode 100644 index 000000000000..3f70effc3bc7 --- /dev/null +++ b/net-mgmt/sting/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: sting +# Date created: 10 May 2000 +# Whom: benno@netizen.com.au +# +# $FreeBSD$ +# + +PORTNAME= sting +PORTVERSION= 0.7 +CATEGORIES= net +MASTER_SITES= http://www.cs.washington.edu/homes/savage/sting/ +DISTNAME= sting + +MAINTAINER= kbyanc@posi.net + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/sting ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.sting +.endif + +.include diff --git a/net-mgmt/sting/distinfo b/net-mgmt/sting/distinfo new file mode 100644 index 000000000000..a5ae317e5f3b --- /dev/null +++ b/net-mgmt/sting/distinfo @@ -0,0 +1 @@ +MD5 (sting.tar.gz) = 7b0d22f96bbde22f94ed5eb0f4a39e29 diff --git a/net-mgmt/sting/files/patch-aa b/net-mgmt/sting/files/patch-aa new file mode 100644 index 000000000000..87417fd343fa --- /dev/null +++ b/net-mgmt/sting/files/patch-aa @@ -0,0 +1,11 @@ +--- Makefile Fri Nov 5 06:00:22 1999 ++++ Makefile.new Wed May 10 11:11:23 2000 +@@ -42,7 +42,7 @@ + INCLS = -I. -I$(LIBPCAP) + DEFS = -DRETSIGTYPE=void -DHAVE_SIGACTION=1 + CFLAGS = -Wall $(CCOPT) $(DEFS) $(INCLS) +-LIBS = -lm $(LIBPCAP)/libpcap.a ++LIBS = -lm -lpcap + + all: sting + diff --git a/net-mgmt/sting/files/patch-ab b/net-mgmt/sting/files/patch-ab new file mode 100644 index 000000000000..11ec20827f7b --- /dev/null +++ b/net-mgmt/sting/files/patch-ab @@ -0,0 +1,11 @@ +--- gmt2local.c Fri Nov 5 06:00:22 1999 ++++ gmt2local.c.new Wed May 10 11:10:05 2000 +@@ -32,7 +32,7 @@ + #include + #endif + +-#include "gnuc.h" ++/* #include "gnuc.h" */ + #ifdef HAVE_OS_PROTO_H + #include "os-proto.h" + #endif diff --git a/net-mgmt/sting/files/patch-ac b/net-mgmt/sting/files/patch-ac new file mode 100644 index 000000000000..346d2c9cb3ef --- /dev/null +++ b/net-mgmt/sting/files/patch-ac @@ -0,0 +1,11 @@ +--- setsignal.c Fri Nov 5 06:00:22 1999 ++++ setsignal.c.new Wed May 10 11:10:59 2000 +@@ -34,7 +34,7 @@ + #include + #endif + +-#include "gnuc.h" ++/* #include "gnuc.h" */ + #ifdef HAVE_OS_PROTO_H + #include "os-proto.h" + #endif diff --git a/net-mgmt/sting/pkg-comment b/net-mgmt/sting/pkg-comment new file mode 100644 index 000000000000..d1050a3c894e --- /dev/null +++ b/net-mgmt/sting/pkg-comment @@ -0,0 +1 @@ +A tool that measures end-to-end TCP connection characteristics diff --git a/net-mgmt/sting/pkg-descr b/net-mgmt/sting/pkg-descr new file mode 100644 index 000000000000..a989bbf4db19 --- /dev/null +++ b/net-mgmt/sting/pkg-descr @@ -0,0 +1,10 @@ +sting is a TCP-based network measurement tool that measures end-to-end +network path characteristics. sting is unique because it can estimate +one-way properties, such as loss rate, through careful manipulation and +observation of TCP behavior. In addition, using TCP allows sting to +leverage the existing Internet infrastructure -- any TCP server can be +used as a de facto measurement service -- and it avoids increasing +problems with ICMP-based network measurement (blocking, spoofing, rate +limiting, etc). + +WWW: http://www.cs.washington.edu/homes/savage/sting/ diff --git a/net-mgmt/sting/pkg-plist b/net-mgmt/sting/pkg-plist new file mode 100644 index 000000000000..8fb50dd64617 --- /dev/null +++ b/net-mgmt/sting/pkg-plist @@ -0,0 +1,2 @@ +bin/sting +share/doc/README.sting -- cgit v1.2.3