Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2000 11:46:07 +1000 (EST)
From:      benno@netizen.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18476: New port - net/sting
Message-ID:  <200005100146.LAA06399@rat-thing.netizen.com.au>

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

>Number:         18476
>Category:       ports
>Synopsis:       New port - net/sting
>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 May 09 18:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Benno Rice
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Netizen Pty Ltd
>Environment:

FreeBSD rat-thing.netizen.com.au 5.0-CURRENT FreeBSD 5.0-CURRENT #14: Mon May  8 10:20:55 EST 2000     benno@rat-thing.netizen.com.au:/usr/src/sys/compile/RATTHING  i386

>Description:

Port of sting, a network performance measurement tool.

>How-To-Repeat:

N/A.

>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:
#
#	sting
#	sting/Makefile
#	sting/pkg
#	sting/pkg/COMMENT
#	sting/pkg/DESCR
#	sting/pkg/PLIST
#	sting/files
#	sting/files/md5
#	sting/patches
#	sting/patches/patch-ab
#	sting/patches/patch-ac
#	sting/patches/patch-aa
#
echo c - sting
mkdir -p sting > /dev/null 2>&1
echo x - sting/Makefile
sed 's/^X//' >sting/Makefile << 'END-of-sting/Makefile'
X# New ports collection makefile for:   sting
X# Date created:        10 May 2000
X# Whom:                benno@netizen.com.au
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sting
XPORTVERSION=	0.7
XDISTNAME=	sting
XCATEGORIES=	net
XMASTER_SITES=	http://www.cs.washington.edu/homes/savage/sting/
X
XMAINTAINER=	ports@FreeBSD.org
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/sting ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.sting
X.endif
X
X.include <bsd.port.mk>
END-of-sting/Makefile
echo c - sting/pkg
mkdir -p sting/pkg > /dev/null 2>&1
echo x - sting/pkg/COMMENT
sed 's/^X//' >sting/pkg/COMMENT << 'END-of-sting/pkg/COMMENT'
XA tool that measures end-to-end TCP connection characteristics
END-of-sting/pkg/COMMENT
echo x - sting/pkg/DESCR
sed 's/^X//' >sting/pkg/DESCR << 'END-of-sting/pkg/DESCR'
Xsting is a TCP-based network measurement tool that measures end-to-end
Xnetwork path characteristics. sting is unique because it can estimate
Xone-way properties, such as loss rate, through careful manipulation and
Xobservation of TCP behavior. In addition, using TCP allows sting to
Xleverage the existing Internet infrastructure -- any TCP server can be
Xused as a de facto measurement service -- and it avoids increasing
Xproblems with ICMP-based network measurement (blocking, spoofing, rate
Xlimiting, etc).
X
XWWW: http://www.cs.washington.edu/homes/savage/sting/
END-of-sting/pkg/DESCR
echo x - sting/pkg/PLIST
sed 's/^X//' >sting/pkg/PLIST << 'END-of-sting/pkg/PLIST'
Xbin/sting
Xshare/doc/README.sting
END-of-sting/pkg/PLIST
echo c - sting/files
mkdir -p sting/files > /dev/null 2>&1
echo x - sting/files/md5
sed 's/^X//' >sting/files/md5 << 'END-of-sting/files/md5'
XMD5 (sting.tar.gz) = 7b0d22f96bbde22f94ed5eb0f4a39e29
END-of-sting/files/md5
echo c - sting/patches
mkdir -p sting/patches > /dev/null 2>&1
echo x - sting/patches/patch-ab
sed 's/^X//' >sting/patches/patch-ab << 'END-of-sting/patches/patch-ab'
X--- gmt2local.c Fri Nov  5 06:00:22 1999
X+++ gmt2local.c.new     Wed May 10 11:10:05 2000
X@@ -32,7 +32,7 @@
X #include <time.h>
X #endif
X 
X-#include "gnuc.h"
X+/* #include "gnuc.h" */
X #ifdef HAVE_OS_PROTO_H
X #include "os-proto.h"
X #endif
END-of-sting/patches/patch-ab
echo x - sting/patches/patch-ac
sed 's/^X//' >sting/patches/patch-ac << 'END-of-sting/patches/patch-ac'
X--- setsignal.c	Fri Nov  5 06:00:22 1999
X+++ setsignal.c.new	Wed May 10 11:10:59 2000
X@@ -34,7 +34,7 @@
X #include <string.h>
X #endif
X 
X-#include "gnuc.h"
X+/* #include "gnuc.h" */
X #ifdef HAVE_OS_PROTO_H
X #include "os-proto.h"
X #endif
END-of-sting/patches/patch-ac
echo x - sting/patches/patch-aa
sed 's/^X//' >sting/patches/patch-aa << 'END-of-sting/patches/patch-aa'
X--- Makefile	Fri Nov  5 06:00:22 1999
X+++ Makefile.new	Wed May 10 11:11:23 2000
X@@ -42,7 +42,7 @@
X INCLS = -I. -I$(LIBPCAP)
X DEFS = -DRETSIGTYPE=void -DHAVE_SIGACTION=1 
X CFLAGS =  -Wall $(CCOPT) $(DEFS) $(INCLS)
X-LIBS = -lm $(LIBPCAP)/libpcap.a
X+LIBS = -lm -lpcap
X 
X all: sting
X 
END-of-sting/patches/patch-aa
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?200005100146.LAA06399>