From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 19 19:50:28 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B260316A41F for ; Wed, 19 Oct 2005 19:50:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6025043D7E for ; Wed, 19 Oct 2005 19:50:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9JJoE2L063092 for ; Wed, 19 Oct 2005 19:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9JJoE3f063091; Wed, 19 Oct 2005 19:50:14 GMT (envelope-from gnats) Resent-Date: Wed, 19 Oct 2005 19:50:14 GMT Resent-Message-Id: <200510191950.j9JJoE3f063091@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, stanislav shalunov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52A7816A421 for ; Wed, 19 Oct 2005 19:40:00 +0000 (GMT) (envelope-from shalunov@internet2.edu) Received: from basie.internet2.edu (basie.internet2.edu [207.75.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A7143D64 for ; Wed, 19 Oct 2005 19:39:59 +0000 (GMT) (envelope-from shalunov@internet2.edu) Received: from localhost (unknown [127.0.0.1]) by basie.internet2.edu (Postfix) with ESMTP id 0CE961CD575 for ; Wed, 19 Oct 2005 15:39:59 -0400 (EDT) Received: from basie.internet2.edu ([127.0.0.1]) by localhost (basie.internet2.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10768-01 for ; Wed, 19 Oct 2005 15:39:58 -0400 (EDT) Received: from localhost (unknown [127.0.0.1]) by basie.internet2.edu (Postfix) with ESMTP id AC9AC1CD54E for ; Wed, 19 Oct 2005 15:39:58 -0400 (EDT) Message-Id: <20051019194000.D898A2E083@localhost> Date: Wed, 19 Oct 2005 15:40:00 -0400 (EDT) From: stanislav shalunov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/87683: New port: benchmarks/thrulay: network capacity tester X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stanislav shalunov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 19:50:28 -0000 >Number: 87683 >Category: ports >Synopsis: New port: benchmarks/thrulay: network capacity tester >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 19 19:50:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Stanislav Shalunov >Release: FreeBSD 5.1-RELEASE i386 >Organization: Internet2 >Environment: System: FreeBSD abel.internet2.edu 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Wed Nov 24 13:24:56 EST 2004 root@abel.internet2.edu:/usr/src/sys/i386/compile/IBM-T30 i386 >Description: The program thrulay is used to measure the capacity, delay, and other performance metrics of a network by sending a bulk TCP or UDP stream over it. Special features of thrulay include: * For TCP, ability to measure round-trip delay along with throughput * For UDP, ability to measure - one-way delay, with quantiles - packet loss - packet duplication - reordering * For UDP, the ability to send precisely positioned true Poisson streams (microsecond errors in sending times) * Human- and machine-readable output (ready to be fed to gnuplot) WWW: http://www.internet2.edu/~shalunov/thrulay/ >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: # # thrulay # thrulay/Makefile # thrulay/pkg-descr # thrulay/pkg-plist # thrulay/distinfo # thrulay/files # thrulay/files/thrulayd.sh.sample # thrulay/pkg-message # echo c - thrulay mkdir -p thrulay > /dev/null 2>&1 echo x - thrulay/Makefile sed 's/^X//' >thrulay/Makefile << 'END-of-thrulay/Makefile' X# New ports collection makefile for: thrulay X# Date created: 2005-10-19 X# Whom: shalunov X# X# $FreeBSD$ X XPORTNAME= thrulay XPORTVERSION= 0.8 XCATEGORIES= benchmarks net ipv6 XMASTER_SITES= http://unc.dl.sourceforge.net/sourceforge/thrulay/ \ X http://internap.dl.sourceforge.net/sourceforge/thrulay/ \ X http://www.internet2.edu/~shalunov/thrulay/ X XMAINTAINER= shalunov@internet2.edu XCOMMENT= Network capacity tester X XMAN1= thrulay.1 XMAN8= thrulayd.8 XMANCOMPRESSED= no XHAS_CONFIGURE= yes XUSE_GMAKE= yes X Xpost-install: X ${INSTALL_SCRIPT} ${FILESDIR}/thrulayd.sh.sample ${PREFIX}/etc/rc.d/ X @if [ ! -f ${PREFIX}/etc/rc.d/thrulayd.sh ]; then \ X ${CP} -p ${PREFIX}/etc/rc.d/thrulayd.sh.sample \ X ${PREFIX}/etc/rc.d/thrulayd.sh ; \ X fi X X.include END-of-thrulay/Makefile echo x - thrulay/pkg-descr sed 's/^X//' >thrulay/pkg-descr << 'END-of-thrulay/pkg-descr' XThe program thrulay is used to measure the capacity, delay, and Xother performance metrics of a network by sending a bulk TCP or UDP Xstream over it. X XSpecial features of thrulay include: X* For TCP, ability to measure round-trip delay along with throughput X* For UDP, ability to measure X - one-way delay, with quantiles X - packet loss X - packet duplication X - reordering X* For UDP, the ability to send precisely positioned true Poisson streams X (microsecond errors in sending times) X* Human- and machine-readable output (ready to be fed to gnuplot) X XWWW: http://www.internet2.edu/~shalunov/thrulay/ END-of-thrulay/pkg-descr echo x - thrulay/pkg-plist sed 's/^X//' >thrulay/pkg-plist << 'END-of-thrulay/pkg-plist' Xbin/thrulay Xsbin/thrulayd X@unexec if cmp -s %D/etc/rc.d/thrulayd.sh.sample %D/etc/rc.d/thrulayd.sh; then rm -f %D/etc/rc.d/thrulayd.sh; fi Xetc/rc.d/thrulayd.sh.sample X@exec if [ ! -f %D/etc/rc.d/thrulayd.sh ] ; then cp -p %D/%F %B/thrulayd.sh; fi END-of-thrulay/pkg-plist echo x - thrulay/distinfo sed 's/^X//' >thrulay/distinfo << 'END-of-thrulay/distinfo' XMD5 (thrulay-0.8.tar.gz) = 725fb13344608a652e818bcd16fe9ef6 END-of-thrulay/distinfo echo c - thrulay/files mkdir -p thrulay/files > /dev/null 2>&1 echo x - thrulay/files/thrulayd.sh.sample sed 's/^X//' >thrulay/files/thrulayd.sh.sample << 'END-of-thrulay/files/thrulayd.sh.sample' X#!/bin/sh X Xthrulayd=/usr/local/sbin/thrulayd X Xcase "$1" in Xstart) X [ -x $thrulayd ] && $thrulayd && echo -n ' thrulayd' X ;; X*) X echo "Usage: `basename $0` {start}" >&2 X ;; Xesac X Xexit 0 END-of-thrulay/files/thrulayd.sh.sample echo x - thrulay/pkg-message sed 's/^X//' >thrulay/pkg-message << 'END-of-thrulay/pkg-message' XThe thrulay client is usable immediately. The thrulayd deamon needs to be Xstarted, which will happen automatically in the next boot cycle. You may Xalso start it manually by entering /usr/local/sbin/thrulayd as root. END-of-thrulay/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted: