aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-05 21:25:37 +0800
committerwill <will@FreeBSD.org>2000-06-05 21:25:37 +0800
commitd295c1a5f15323c5770d6201f1bf3a4510aa2f5e (patch)
tree16f7e942fa62d7700d27e252e08233579d6181fe
parent540d2668f6ebf81f4cf2f148d5bb602ce75f5f78 (diff)
downloadfreebsd-ports-gnome-d295c1a5f15323c5770d6201f1bf3a4510aa2f5e.tar.gz
freebsd-ports-gnome-d295c1a5f15323c5770d6201f1bf3a4510aa2f5e.tar.zst
freebsd-ports-gnome-d295c1a5f15323c5770d6201f1bf3a4510aa2f5e.zip
Add tmetric, a raw tool to aid in determining available bandwidth between
two hosts. PR: 19017 Submitted by: Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/tmetric/Makefile18
-rw-r--r--benchmarks/tmetric/distinfo1
-rw-r--r--benchmarks/tmetric/files/patch-aa17
-rw-r--r--benchmarks/tmetric/pkg-comment1
-rw-r--r--benchmarks/tmetric/pkg-descr12
-rw-r--r--benchmarks/tmetric/pkg-plist1
7 files changed, 51 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 1fc6d5f00500..f20ac25b0a53 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -14,6 +14,7 @@
SUBDIR += postmark
SUBDIR += rawio
SUBDIR += tcpblast
+ SUBDIR += tmetric
SUBDIR += xengine
.include <bsd.port.subdir.mk>
diff --git a/benchmarks/tmetric/Makefile b/benchmarks/tmetric/Makefile
new file mode 100644
index 000000000000..a6a7e13d5d7f
--- /dev/null
+++ b/benchmarks/tmetric/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: tmetric
+# Date created: June 5th 2000
+# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tmetric
+PORTVERSION= v0.2
+CATEGORIES= benchmarks net
+MASTER_SITES= http://netgraft.com/projects/tmetric/
+
+MAINTAINER= leeym@cae.ce.ntu.edu.tw
+
+HAS_CONFIGURE= yes
+MAN8= tmetric.8
+
+.include <bsd.port.mk>
diff --git a/benchmarks/tmetric/distinfo b/benchmarks/tmetric/distinfo
new file mode 100644
index 000000000000..54fbbc18ba5d
--- /dev/null
+++ b/benchmarks/tmetric/distinfo
@@ -0,0 +1 @@
+MD5 (tmetric-v0.2.tar.gz) = 79dbfc3b9c98a6cab08e5074121e2684
diff --git a/benchmarks/tmetric/files/patch-aa b/benchmarks/tmetric/files/patch-aa
new file mode 100644
index 000000000000..4b602edee368
--- /dev/null
+++ b/benchmarks/tmetric/files/patch-aa
@@ -0,0 +1,17 @@
+--- Makefile.in.orig Thu Apr 20 09:34:21 2000
++++ Makefile.in Mon Jun 5 20:54:52 2000
+@@ -10,11 +10,13 @@
+ MANDIR = /usr/local/man/man8
+ MANPAGE = tmetric.8
+
++all: $(OUTPUT)
++
+ $(OUTPUT): $(OBJ)
+ $(CC) $(LIBS) $(LDFLAGS) $(OBJ) -o $(OUTPUT)
+
+ install: $(OUTPUT)
+- $(INSTALL) $(OUTPUT) $(BINDIR)
++ $(INSTALL) -m 4755 $(OUTPUT) $(BINDIR)
+ $(INSTALL) $(MANPAGE) $(MANDIR)
+
+ clean:
diff --git a/benchmarks/tmetric/pkg-comment b/benchmarks/tmetric/pkg-comment
new file mode 100644
index 000000000000..b1242cb30385
--- /dev/null
+++ b/benchmarks/tmetric/pkg-comment
@@ -0,0 +1 @@
+Tmetric is a raw tool to aid in finding available bandwidth on a given pipe
diff --git a/benchmarks/tmetric/pkg-descr b/benchmarks/tmetric/pkg-descr
new file mode 100644
index 000000000000..6a18a26b7410
--- /dev/null
+++ b/benchmarks/tmetric/pkg-descr
@@ -0,0 +1,12 @@
+Tmetric is a (still raw) tool to aid in determining the available bandwidth
+from one host to another. It is inspired by the (closed source) pathchar
+utility. Please do not assume that this program works exactly like pathchar
+does. It only attempts to report the bandwidth between 2 hosts, and not the
+bandwidth available at every hop on a route along the way.
+
+I've only tried compiling this on FreeBSD and Linux. There is some strange
+behavior if your system has an outdated or limited FPU. My (oldassed) sparc
+(this web server), for example, doesn't handle the floating point precision
+types correctly for my tests. Oh well.
+
+Michael Bacarella <mbac@nyct.net>
diff --git a/benchmarks/tmetric/pkg-plist b/benchmarks/tmetric/pkg-plist
new file mode 100644
index 000000000000..d30e59106475
--- /dev/null
+++ b/benchmarks/tmetric/pkg-plist
@@ -0,0 +1 @@
+sbin/tmetric