cstream - dd(1)-like tool, precise bandwidth limiting/reporting, fifo support

This commit is contained in:
Martin Cracauer 1999-04-03 10:55:35 +00:00
parent d13e2f4ad1
commit cc56ab2d33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17620
5 changed files with 48 additions and 0 deletions

23
misc/cstream/Makefile Normal file
View File

@ -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>

1
misc/cstream/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (cstream-1.0.tar.gz) = c970de5ea0c23dac77f480bdf6622587

1
misc/cstream/pkg-comment Normal file
View File

@ -0,0 +1 @@
dd(1)-like tool, precise bandwidth limiting/reporting, fifo support

22
misc/cstream/pkg-descr Normal file
View File

@ -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.

1
misc/cstream/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/cstream