diff options
author | cracauer <cracauer@FreeBSD.org> | 1999-04-03 10:55:35 +0000 |
---|---|---|
committer | cracauer <cracauer@FreeBSD.org> | 1999-04-03 10:55:35 +0000 |
commit | a328a88a82a7fb4db584f1376daa7fe1088b1b6e (patch) | |
tree | 138e7aa093432e5e52fc9aab9d041cc6ce5646c2 /misc | |
parent | c61b19cc2b24d1714fb3e9b38c47b199b85fd638 (diff) | |
download | FreeBSD-ports-a328a88a82a7fb4db584f1376daa7fe1088b1b6e.zip FreeBSD-ports-a328a88a82a7fb4db584f1376daa7fe1088b1b6e.tar.gz |
cstream - dd(1)-like tool, precise bandwidth limiting/reporting, fifo support
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cstream/Makefile | 23 | ||||
-rw-r--r-- | misc/cstream/distinfo | 1 | ||||
-rw-r--r-- | misc/cstream/pkg-comment | 1 | ||||
-rw-r--r-- | misc/cstream/pkg-descr | 22 | ||||
-rw-r--r-- | misc/cstream/pkg-plist | 1 |
5 files changed, 48 insertions, 0 deletions
diff --git a/misc/cstream/Makefile b/misc/cstream/Makefile new file mode 100644 index 0000000..c1e6c82 --- /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 0000000..f767db4 --- /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 0000000..171505d --- /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 0000000..d5e432c --- /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 0000000..00e1f2d --- /dev/null +++ b/misc/cstream/pkg-plist @@ -0,0 +1 @@ +bin/cstream |