ports/172035: misc/cstream: Update to version 3.0.0
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:10:35 UTC 2012
>Number: 172035
>Category: ports
>Synopsis: misc/cstream: Update to version 3.0.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 25 18:10:35 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 3.0.0
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/misc/cstream/Makefile misc/cstream/Makefile
--- /usr/ports/misc/cstream/Makefile 2012-08-16 04:07:31.000000000 +0900
+++ misc/cstream/Makefile 2012-09-25 03:37:59.000000000 +0900
@@ -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: ports/misc/cstream/Makefile,v 1.28 2012/08/15 19:07:31 tabthorpe Exp $
-#
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>
diff -urN /usr/ports/misc/cstream/distinfo misc/cstream/distinfo
--- /usr/ports/misc/cstream/distinfo 2011-06-05 14:01:41.000000000 +0900
+++ misc/cstream/distinfo 2012-09-10 17:54:51.000000000 +0900
@@ -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 -urN /usr/ports/misc/cstream/pkg-descr misc/cstream/pkg-descr
--- /usr/ports/misc/cstream/pkg-descr 2001-07-26 22:57:18.000000000 +0900
+++ misc/cstream/pkg-descr 2012-09-10 17:52:42.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list