svn commit: r307280 - head/misc/cstream
Pawel Pekala
pawel at FreeBSD.org
Sat Nov 10 14:24:55 UTC 2012
Author: pawel
Date: Sat Nov 10 14:24:54 2012
New Revision: 307280
URL: http://svnweb.freebsd.org/changeset/ports/307280
Log:
Update to version 3.0.0
PR: ports/172035
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Feature safe: yes
Modified:
head/misc/cstream/Makefile
head/misc/cstream/distinfo
head/misc/cstream/pkg-descr
Modified: head/misc/cstream/Makefile
==============================================================================
--- head/misc/cstream/Makefile Sat Nov 10 14:07:11 2012 (r307279)
+++ head/misc/cstream/Makefile Sat Nov 10 14:24:54 2012 (r307280)
@@ -1,23 +1,25 @@
-# New ports collection makefile for: cstream
-# Date created: 19990304
-# Whom: cracauer at cons.org "Martin Cracauer"
-#
+# Created by: cracauer at 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 at 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>
Modified: head/misc/cstream/distinfo
==============================================================================
--- head/misc/cstream/distinfo Sat Nov 10 14:07:11 2012 (r307279)
+++ head/misc/cstream/distinfo Sat Nov 10 14:24:54 2012 (r307280)
@@ -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
Modified: head/misc/cstream/pkg-descr
==============================================================================
--- head/misc/cstream/pkg-descr Sat Nov 10 14:07:11 2012 (r307279)
+++ head/misc/cstream/pkg-descr Sat Nov 10 14:24:54 2012 (r307280)
@@ -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
More information about the svn-ports-all
mailing list