aboutsummaryrefslogtreecommitdiff
path: root/misc/cstream
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-11-10 14:24:54 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-11-10 14:24:54 +0000
commitb2080298d1ad76a141a9ece90e61f54bcfc7b208 (patch)
treea321f8bde53bd97d83a5f5e31a7304189be40c21 /misc/cstream
parent6717f8f0aac7e151321f2f211252443b44c97c01 (diff)
downloadports-b2080298d1ad76a141a9ece90e61f54bcfc7b208.tar.gz
ports-b2080298d1ad76a141a9ece90e61f54bcfc7b208.zip
Update to version 3.0.0
PR: ports/172035 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
Notes
Notes: svn path=/head/; revision=307280
Diffstat (limited to 'misc/cstream')
-rw-r--r--misc/cstream/Makefile22
-rw-r--r--misc/cstream/distinfo4
-rw-r--r--misc/cstream/pkg-descr30
3 files changed, 20 insertions, 36 deletions
diff --git a/misc/cstream/Makefile b/misc/cstream/Makefile
index 2f941ab9476a..e030ba190271 100644
--- a/misc/cstream/Makefile
+++ b/misc/cstream/Makefile
@@ -1,23 +1,25 @@
-# New ports collection makefile for: cstream
-# Date created: 19990304
-# Whom: cracauer@cons.org "Martin Cracauer"
-#
+# Created by: cracauer@cons.org "Martin Cracauer"
# $FreeBSD$
-#
PORTNAME= cstream
-PORTVERSION= 2.7.6
+PORTVERSION= 3.0.0
CATEGORIES= misc
-MASTER_SITES= http://www.cons.org/cracauer/download/ \
- http://www2.cons.org/freebsd-distfiles/ \
- http://www3.cons.org/freebsd-distfiles/
+MASTER_SITES= http://www.cons.org/cracauer/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Like dd(1) tool, precise bandwidth limiting/reporting, fifo, TCP
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+
+GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
+
MAN1= cstream.1
PLIST_FILES= bin/cstream
-GNU_CONFIGURE= yes
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/^if \[/s| $$CFLAGS | "$$CFLAGS" |' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/misc/cstream/distinfo b/misc/cstream/distinfo
index 4aba34d9efed..ae01ce31f46c 100644
--- a/misc/cstream/distinfo
+++ b/misc/cstream/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cstream-2.7.6.tar.gz) = f8c33be315e29e4fb20918ad379c5924f5d6f8e665204c49a2c06fa46cd4674a
-SIZE (cstream-2.7.6.tar.gz) = 92056
+SHA256 (cstream-3.0.0.tar.gz) = 3261202434d22256bb55fbcbafdfda5fac84c9c1e5589ba2c4ded45d3dad9bfc
+SIZE (cstream-3.0.0.tar.gz) = 98286
diff --git a/misc/cstream/pkg-descr b/misc/cstream/pkg-descr
index dd82b452e21e..4b1ff4475d92 100644
--- a/misc/cstream/pkg-descr
+++ b/misc/cstream/pkg-descr
@@ -1,27 +1,9 @@
-cstream is a general-purpose stream-handling tool like UNIX' dd,
-usually used in commandline-constructed pipes.
+Cstream filters data streams, much like the UNIX tool dd(1). It has a more
+traditional commandline syntax, support for precise bandwidth limiting and
+reporting and support for FIFOs. Data limits and throughput rate
+calculation will work for files > 4 GB.
-- 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 operations 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
- among 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.
-- Audio support: input/output-files can be switched to Audi CD quality mode
-- TCP support: input-output streams can be TCP connections, either
- connecting to other hosts or waiting for a host to connect
+Cstream reads from the standard input and writes to the standard output, if
+no filenames are given. It will also 'generate' or 'sink' data if desired.
WWW: http://www.cons.org/cracauer/cstream.html