aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>1999-04-03 18:55:35 +0800
committercracauer <cracauer@FreeBSD.org>1999-04-03 18:55:35 +0800
commita328a88a82a7fb4db584f1376daa7fe1088b1b6e (patch)
tree138e7aa093432e5e52fc9aab9d041cc6ce5646c2 /misc
parentc61b19cc2b24d1714fb3e9b38c47b199b85fd638 (diff)
downloadfreebsd-ports-gnome-a328a88a82a7fb4db584f1376daa7fe1088b1b6e.tar.gz
freebsd-ports-gnome-a328a88a82a7fb4db584f1376daa7fe1088b1b6e.tar.zst
freebsd-ports-gnome-a328a88a82a7fb4db584f1376daa7fe1088b1b6e.zip
cstream - dd(1)-like tool, precise bandwidth limiting/reporting, fifo support
Diffstat (limited to 'misc')
-rw-r--r--misc/cstream/Makefile23
-rw-r--r--misc/cstream/distinfo1
-rw-r--r--misc/cstream/pkg-comment1
-rw-r--r--misc/cstream/pkg-descr22
-rw-r--r--misc/cstream/pkg-plist1
5 files changed, 48 insertions, 0 deletions
diff --git a/misc/cstream/Makefile b/misc/cstream/Makefile
new file mode 100644
index 000000000000..c1e6c82a1c02
--- /dev/null
+++ b/misc/cstream/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: cstream
+# Version required: 1.0
+# Date created: 19990304
+# Whom: cracauer@cons.org "Martin Cracauer"
+#
+# $Id$
+#
+
+DISTNAME= cstream-1.0
+CATEGORIES= misc
+MASTER_SITES= http://www.cons.org/cracauer/download/ \
+ http://www2.cons.org/cracauer/download/ \
+ http://www3.cons.org/cracauer/download/ \
+ http://www.hanse.de/~cracauer/homepage-mirror/download/ \
+ http://www.freebsd.org/~cracauer/homepage-mirror/download/
+
+MAINTAINER= cracauer@cons.org
+
+MAN1= cstream.1
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/misc/cstream/distinfo b/misc/cstream/distinfo
new file mode 100644
index 000000000000..f767db4c8d47
--- /dev/null
+++ b/misc/cstream/distinfo
@@ -0,0 +1 @@
+MD5 (cstream-1.0.tar.gz) = c970de5ea0c23dac77f480bdf6622587
diff --git a/misc/cstream/pkg-comment b/misc/cstream/pkg-comment
new file mode 100644
index 000000000000..171505ddab4a
--- /dev/null
+++ b/misc/cstream/pkg-comment
@@ -0,0 +1 @@
+dd(1)-like tool, precise bandwidth limiting/reporting, fifo support
diff --git a/misc/cstream/pkg-descr b/misc/cstream/pkg-descr
new file mode 100644
index 000000000000..d5e432c97874
--- /dev/null
+++ b/misc/cstream/pkg-descr
@@ -0,0 +1,22 @@
+cstream is a general-purpose stream-handling tool like UNIX' dd,
+usually used in commandline-constructed pipes.
+
+- Sane commandline switch syntax.
+- Exact throughput limiting, on the incoming side.
+- Precise throughput reporting. Either at the end of the
+ transmission or everytime SIGUSR1 is received. Quite useful to ask
+ lengthy opertions how much data has been transferred yet, i.e. when
+ writing tapes. Reports are done in bytes/sec and if appropriate in
+ KB/sec or MB/sec, where 1K = 1024.
+- SIGHUP causes a clean shutdown before EOF on input.
+- Build-in support to write its PID to a file.
+- Build-in support for fifos. Example usage is a 'pseudo-device',
+ something that sinks or delivers data at an appropriate rate, but
+ looks like a file, i.e. if you test soundcard software.
+- Built-in data creation and sink, no more redirection of
+ /dev/null and /dev/zero. These special devices speed varies greatly
+ amoung operating systems, redirecting from it isn't appropriate
+ benchmarking and a waste of resources anyway.
+- "gcc -Wall" clean source code, serious effort taken to avoid
+ undefined behavior in ANSI C or POSIX, except long long
+ is required. Limiting and reporting works on data amounts > 4 GB.
diff --git a/misc/cstream/pkg-plist b/misc/cstream/pkg-plist
new file mode 100644
index 000000000000..00e1f2da4e17
--- /dev/null
+++ b/misc/cstream/pkg-plist
@@ -0,0 +1 @@
+bin/cstream