From owner-svn-ports-head@FreeBSD.ORG Sat Nov 10 14:24:55 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6337C958; Sat, 10 Nov 2012 14:24:55 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 491CE8FC08; Sat, 10 Nov 2012 14:24:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAAEOttm030407; Sat, 10 Nov 2012 14:24:55 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAAEOt80030404; Sat, 10 Nov 2012 14:24:55 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201211101424.qAAEOt80030404@svn.freebsd.org> From: Pawel Pekala Date: Sat, 10 Nov 2012 14:24:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307280 - head/misc/cstream X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 14:24:55 -0000 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 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@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 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