View | Details | Raw Unified | Return to bug 172035
Collapse All | Expand All

(-)misc/cstream/Makefile (-10 / +12 lines)
Lines 1-23 Link Here
1
# New ports collection makefile for: cstream
1
# Created by: cracauer@cons.org "Martin Cracauer"
2
# Date created:         19990304
3
# Whom:                 cracauer@cons.org "Martin Cracauer"
4
#
5
# $FreeBSD: ports/misc/cstream/Makefile,v 1.28 2012/08/15 19:07:31 tabthorpe Exp $
2
# $FreeBSD: ports/misc/cstream/Makefile,v 1.28 2012/08/15 19:07:31 tabthorpe Exp $
6
#
7
3
8
PORTNAME=	cstream
4
PORTNAME=	cstream
9
PORTVERSION=	2.7.6
5
PORTVERSION=	3.0.0
10
CATEGORIES=	misc
6
CATEGORIES=	misc
11
MASTER_SITES=	http://www.cons.org/cracauer/download/ \
7
MASTER_SITES=	http://www.cons.org/cracauer/download/
12
		http://www2.cons.org/freebsd-distfiles/ \
13
		http://www3.cons.org/freebsd-distfiles/
14
8
15
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Like dd(1) tool, precise bandwidth limiting/reporting, fifo, TCP
10
COMMENT=	Like dd(1) tool, precise bandwidth limiting/reporting, fifo, TCP
17
11
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/COPYRIGHT
14
15
GNU_CONFIGURE=	yes
16
MAKE_JOBS_SAFE=	yes
17
18
MAN1=		cstream.1
18
MAN1=		cstream.1
19
PLIST_FILES=	bin/cstream
19
PLIST_FILES=	bin/cstream
20
20
21
GNU_CONFIGURE=	yes
21
post-patch:
22
	@${REINPLACE_CMD} -e \
23
		'/^if \[/s| $$CFLAGS | "$$CFLAGS" |' ${WRKSRC}/configure
22
24
23
.include <bsd.port.mk>
25
.include <bsd.port.mk>
(-)misc/cstream/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (cstream-2.7.6.tar.gz) = f8c33be315e29e4fb20918ad379c5924f5d6f8e665204c49a2c06fa46cd4674a
1
SHA256 (cstream-3.0.0.tar.gz) = 3261202434d22256bb55fbcbafdfda5fac84c9c1e5589ba2c4ded45d3dad9bfc
2
SIZE (cstream-2.7.6.tar.gz) = 92056
2
SIZE (cstream-3.0.0.tar.gz) = 98286
(-)misc/cstream/pkg-descr (-24 / +6 lines)
Lines 1-27 Link Here
1
cstream is a general-purpose stream-handling tool like UNIX' dd,
1
Cstream filters data streams, much like the UNIX tool dd(1). It has a more
2
usually used in commandline-constructed pipes.
2
traditional commandline syntax, support for precise bandwidth limiting and
3
reporting and support for FIFOs. Data limits and throughput rate
4
calculation will work for files > 4 GB.
3
5
4
- Sane commandline switch syntax.
6
Cstream reads from the standard input and writes to the standard output, if
5
- Exact throughput limiting, on the incoming side.
7
no filenames are given. It will also 'generate' or 'sink' data if desired.
6
- Precise throughput reporting. Either at the end of the
7
  transmission or everytime SIGUSR1 is received. Quite useful to ask
8
  lengthy operations how much data has been transferred yet, i.e. when
9
  writing tapes. Reports are done in bytes/sec and if appropriate in
10
  KB/sec or MB/sec, where 1K = 1024.
11
- SIGHUP causes a clean shutdown before EOF on input.
12
- Build-in support to write its PID to a file.
13
- Build-in support for fifos. Example usage is a 'pseudo-device',
14
  something that sinks or delivers data at an appropriate rate, but
15
  looks like a file, i.e. if you test soundcard software.
16
- Built-in data creation and sink, no more redirection of
17
  /dev/null and /dev/zero. These special devices speed varies greatly
18
  among operating systems, redirecting from it isn't appropriate
19
  benchmarking and a waste of resources anyway.
20
-  "gcc -Wall" clean source code, serious effort taken to avoid
21
  undefined behavior in ANSI C or POSIX, except long long
22
  is required. Limiting and reporting works on data amounts > 4 GB.
23
- Audio support: input/output-files can be switched to Audi CD quality mode
24
- TCP support: input-output streams can be TCP connections, either
25
  connecting to other hosts or waiting for a host to connect
26
8
27
WWW: http://www.cons.org/cracauer/cstream.html
9
WWW: http://www.cons.org/cracauer/cstream.html

Return to bug 172035