diff options
Diffstat (limited to 'misc/cstream')
-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 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 |