debian/0000755000000000000000000000000011724074111007164 5ustar debian/patches/0000755000000000000000000000000011724065152010620 5ustar debian/patches/README0000644000000000000000000000021111027015441011462 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/1001_fix_manpage_speling_errors.patch0000644000000000000000000001453211724065152017702 0ustar Description: Fix some speling errors in cstream.1 manpage Author: A. Costa Origin: vendor, http://bugs.debian.org/422938#5 Bug-Debian: http://bugs.debian.org/422938 Last-Update: 2008-06-23 --- a/cstream.1 +++ b/cstream.1 @@ -27,7 +27,7 @@ .Nm Cstream filters data streams, much like the UNIX tool .Xr dd 1 . -It has a more traditional commandline syntax, support for precise +It has a more traditional command line syntax, support for precise bandwidth limiting and reporting and support for FIFOs. Data limits and throughput rate calculation will work for files > 4 GB. .Pp @@ -46,9 +46,9 @@ .Ar num bytes before writing. The default is the blocksize. It is an error to set this to anything below the blocksize. Useful when writing tapes -and simlilar that prefer few large writes of many small. +and similar that prefer few large writes of many small. .It Fl c Ar num -Concurrent operation. Use a seperate process for outout. This is +Concurrent operation. Use a separate process for output. This is especially useful in combination with the -B option. .Bl -tag -compact -width " " .It 0 = use one process only (default) @@ -56,13 +56,13 @@ .It 2 = write process will buffer .It 3 = both processes will buffer. In combination with a large buffer size this will often load your memory -heavily, everytime the reader transfers the buffer it collected to the +heavily, every time the reader transfers the buffer it collected to the writer. If you use -c 3 and have a buffer size of 128 Megabytes 256 MB of memory will be touched at once. .El .It Fl i Ar num .It Fl o Ar num -Set the file names to use for input or output, respectivly. If the +Set the file names to use for input or output, respectively. If the output file name is "-", data will just be discarded. If the input file name is "-", data will be generated 'out of the void'. If these options aren't given, stdin/stout will be used. If you need to give @@ -81,12 +81,12 @@ has other network filters, anyone will be able to connect. .It Fl I Ar string .It Fl O Ar string -Specify the type of input and output file, respectivly. +Specify the type of input and output file, respectively. .Bl -tag -compact -width " " .It If string includes 'f', a fifo will be created. .It If string -includes 'a', the file will be assumed to be a opensound-compatible +includes 'a', the file will be assumed to be an opensound-compatible audio device and will be switched to CD-like settings. .It If string includes 't', a copy of the stream will be sent to file descriptor 3. @@ -109,7 +109,7 @@ .It Fl p Ar filename Write the process id of cstream to .Ar filename . -If cstream uses a seperate writer process (option -c), this is the pid +If cstream uses a separate writer process (option -c), this is the pid of the parent (reader) process. .It Fl t Ar num Limit the throughput of the data stream to @@ -132,7 +132,7 @@ and throughput will be displayed at the end of program run. A value of 2 means the transfer rate since the end of the first read/write pair will also be reported (useful when there is an initial delay). A value -of 3 means there will also be seperate measurements for read and +of 3 means there will also be separate measurements for read and write. This option is resource-consuming and currently isn't implemented. A value of 4 means that notices about each single read/write will be displayed. High values include all message types of @@ -144,13 +144,13 @@ be used as input file if -i has not been used. .It Ic SIGUSR1 .It Ic SIGINFO -Sending SIGUSR1 (or SIGINFO, which is usually mappend to Control-T on +Sending SIGUSR1 (or SIGINFO, which is usually mapped to Control-T on you keyboard) to cstream causes it to display throughput rates to -stderr. The stream will continue as if nothing happend. +stderr. The stream will continue as if nothing happened. .It Ic SIGUSR2 Exit and report throughput rates, if requested. .It Ic SIGHUP -I found myself sending SIGHUP accidentially too often. But ignoring or +I found myself sending SIGHUP accidentally too often. But ignoring or misusing SIGHUP is not an option for me. Thus, when .Nm cstream received @@ -194,7 +194,7 @@ for CD quality stero play. .It Ic "cstream -i myaudiofile.raw -o :17324" This will open a TCP server on port 17324 and waits until someone -connects (for example, the commandline from the previous +connects (for example, the command line from the previous example). Then it will send the contents of myaudiofile.raw down the TCP stream (for the previous audio example, typically a CD audiotrack like you get from the tosha or cdparanoia utilities). @@ -203,7 +203,7 @@ Write to file myfile with O_DIRECT. That usually means that the filesystem buffer cache will not try to cache this file. You can use that to prevent copying operations from eating up physical memory. -Note that when cstream encouters a write error it will switch the +Note that when cstream encounters a write error it will switch the output file from O_DIRECT to a normal file and write all further blocks without O_DIRECT if writes without O_DIRECT succeed. In practice that usually means that your last block, if not a multiple of @@ -222,7 +222,7 @@ you want to ensure that O_DIRECT stays in effect, you need a buffer between the TCP stream and the O_DIRECT stream. Since cstream does not yet support different input and output block sizes, dd is -suitable here. Note that this is only neccessary if the OS requires +suitable here. Note that this is only necessary if the OS requires multiples of the filesystem block size for O_DIRECT. At the time of this writing this construct is needed on Linux for using TCP streams with O_DIRECT, but it is not needed on FreeBSD. @@ -237,7 +237,7 @@ .Sh ERRORS .Bl -tag -width "-l num " .It Exit code 0 means success. -.It Exit code 1 means a commandline syntax usage error. +.It Exit code 1 means a command line syntax usage error. .It Exit code 2 means other errors, especially system errors. .El .Sh Bugs @@ -252,7 +252,7 @@ blocksize to whatever the filesystem of the output file is in) and page alignment requirements (I/O will happen from a page-aligned buffer). However, the combination of concurrent read/writes (-c options) and -O_DIRECT has not been tested bejond basic verification that it gets +O_DIRECT has not been tested beyond basic verification that it gets some tests right. .Sh SEE ALSO .Xr dd 1 , debian/patches/series0000644000000000000000000000004611030011475012022 0ustar 1001_fix_manpage_speling_errors.patch debian/control0000644000000000000000000000407111724072271010576 0ustar Source: cstream Section: utils Priority: optional Maintainer: Jonas Smedegaard Build-Depends: cdbs, automake1.11, autoconf, debhelper, dh-buildinfo Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/cstream Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/cstream.git Homepage: http://www.cons.org/cracauer/cstream.html Package: cstream Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: general-purpose stream-handling tool similar to dd cstream is a general-purpose stream-handling tool like UNIX' dd, usually used in commandline-constructed pipes. . Features: - Sane commandline switch syntax. - Exact throughput limiting, on the incoming side. Timing variance in previous reads are counterbalanced in the following reads. - 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. - SIGUSR2 causes a clean shutdown before EOF on input, timing information is displayed. - Build-in support to write its PID to a file, for painless sending of these signals. - 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. See the manpage for examples. - 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. - Accepts 'k', 'm' and 'g' character after number for "kilo, mega, giga" bytes for overall data size limit. - "gcc -Wall" clean source code, serious effort taken to avoid undefined behaviour in ANSI C or POSIX, except long long is required. Limiting and reporting works on data amounts > 4 GB. debian/source/0000755000000000000000000000000011724064205010467 5ustar debian/source/format0000644000000000000000000000001411316654760011705 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002133311724074111011040 0ustar cstream (3.0.0-1) unstable; urgency=low * New upstream release. Closes: bug#620129. * Modernize CDBS usage: Drop local snippets (all included in cdbs package). * Use dpkg source format 3.0 (quilt). Stop including quilt make snippet. Stop mentioning quilt in README.source. * Git-ignore .pc dir, to ease using git-buildpackage. * Refresh patches with shortening options -pab --no-timestamps --no-index. * Add DEP3 header to patch 1001. * Bump debhelper compat level to 7. * Drop unneeded uupdate option in watch file. * Rewrite copyright file using copyright format 1.0. * Shorten Vcs-Git field in control file, and use anonscm.debian.org in Vcs-Browser field. * Avoid optional build-dependencies to ease backporting. * Autogenerate autotools. * Update package relations: + Relax build-depend unversioned on cdbs, debhelper and dh-buildinfo (needed versions satisfied even in oldstable). + Drop build-depending on quilt and patchutils: Superceded by dpkg source version 3.0 (quilt). + Drop build-depending on devscripts: Suppressed to ease backporting. + Build-depend on automake1.11 and autoconf: Needed to autogenerate autotools. -- Jonas Smedegaard Fri, 02 Mar 2012 08:35:10 +0100 cstream (2.7.6-1) unstable; urgency=low * New upstream release. * Stop build-depending on autotools-dev (config.{guess,sub} no longer used so no longer needs overriding). * Bump debhelper to compat level 6. Tighten build-dependency on debhelper to version 6 or newer. * Add README.source. Drop custom hints about CDBS. * Add git-buildpackage configfile, enabling signed tags pristine-tar. * Update local CDBS snippets: + Move dependency cleanup to new local snippet package-relations.mk. + Restructure copyright-check.mk hint output to use machine-readable draft DEP5 format. + Several minor improvements to upstream-tarball.mk. + Compact simple licenses (those without ' or later') in copyright-check.mk + Fix use underscore (not dash) in internal variable * Add proper licensing header to debian/rules. * Rewrite debian/copyright: + use draft DEP5 machine-readable format + include licensing of automade files and Debian packaging (GPL-2+) * Add DEB_MAINTAINER_MODE in debian/rules (thanks to Romain Beauxis). * Bump policy compliance to standards-version 3.8.2. * Enable regression tests. -- Jonas Smedegaard Tue, 11 Aug 2009 10:46:54 +0200 cstream (2.7.4-3) unstable; urgency=low * Add patch 1001 to fix some speling errors in cstream.1 manpage. Closes: bug#422938, thanks to A. Costa. * Packaging moved to collab-maint Git at Alioth. Update VCS-* hints. * Update local cdbs snippets: + Update copyright-check.mk to parse licensecheck output using perl: + No longer randomly drops newlines + More compact hint file (and ordered more like wiki-proposed new copyright syntax). + No longer ignore files without copyright. + Drop wget options broken with recent versions of wget in update-tarball.mk. + Relax copyright-check to only warn about its discoveries. Closes: bug#487059, thanks to Lucas Nussbaum. + Cosmetic updates to README.cdbs-tweaks. * Update debian/copyright-hints. * Semi-auto-update debian/control to update build-dependencies: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean -- Jonas Smedegaard Mon, 23 Jun 2008 23:01:27 +0200 cstream (2.7.4-2) unstable; urgency=low * Add Vcs-* fields to debian/control (and drop XS-Cvs-* pseudo-fields). * Update local cdbs snippets: + Major improvements to update-tarball (but none of them affecting this current packaging). + Major improvements to copyright-check, including new versioned build-dependency on devscripts. Update debian/copyright_hints. + Drop buildcore.mk override. Set DEB_AUTO_UPDATE_DEBIAN_CONTROL directly instead when needed. + Update debian/README.cdbs-tweaks to no longer mention buildcore.mk override. * Bump up standards-version to 3.7.3 (no additional changes needed). * Bump dephelper compatibility level to 5. * Semi-auto-update debian/control to update build-dependencies: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean -- Jonas Smedegaard Wed, 20 Feb 2008 22:30:48 +0100 cstream (2.7.4-1) unstable; urgency=low * New upstream release. * Add XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control. * Move Homepage to own field (from pseudo-field in long description). * Update CDBS tweaks: + Add upstream-tarball.mk to implement get-orig-source target. + Check copyright strings in pre-build target (not clean target) to fix race condition. + Have buildinfo.mk depend on buildcore.mk. + Update README.cdbs-tweaks. * Update copyright_hints (only autotools-related changes). * Cleanup duplicate build-dependencies in debian/rules, and semi-auto- update debian/control: DEB_BUILD_OPTIONS=cdbs-autoupdate fakeroot debian/rules pre-build -- Jonas Smedegaard Sat, 29 Sep 2007 12:18:51 +0200 cstream (2.7.3-1) unstable; urgency=low * New upstream release. * Update local cdbs snippets, and add debian/README.cdbs-tweaks to source package. -- Jonas Smedegaard Mon, 25 Sep 2006 15:47:00 +0200 cstream (2.7.2-1) unstable; urgency=low * New upstream release. * Add new local cdbs snippet auto-update.mk, replacing auto-update routine in debian/rules itself. * Add local cdbs snippet copyright-check.mk. * Minor update to existing cdbs snippet buildinfo (better namespace). * Update local cdbs snippet copyright-check.mk: + Broaden scan to also look for "(c)" by default. + Make egrep options configurable. * Bump up standards-version to 3.7.2 (no changes needed). * Use indented " Homepage:" (not "Website:") in long description. * Fix a couple of spelling mistakes in long description. Closes: bug#363217 (thanks to Simon Waters ). -- Jonas Smedegaard Mon, 29 May 2006 02:59:31 +0200 cstream (2.6.0-1) unstable; urgency=low * New upstream release. -- Jonas Smedegaard Wed, 14 Sep 2005 12:55:35 +0200 cstream (2.5.2-1) unstable; urgency=low * New upstream release. * Raise to standards version 3.6.2 (no changes needed). * Only se cdbs debian/control auto-build when environment includes DEB_BUILD_OPTIONS=update. * Auto-update build-dependencies (and manually rip out build-essential buggily sneaking in). -- Jonas Smedegaard Wed, 13 Jul 2005 17:17:17 +0200 cstream (2.5.1-1) unstable; urgency=low * New upstream release. * Use cdbs auto-update feature. * Rearrange long description as workaround for bug#301607. -- Jonas Smedegaard Sun, 27 Mar 2005 04:52:13 +0200 cstream (2.5-1) unstable; urgency=high * New upstream release: + Fix 4 GB limitation on 32 bit machines. * Use generic (but unofficial) buildinfo cdbs snippet. * Set urgency=high to hopefully get this into sarge in time (the changes are small but valuable). -- Jonas Smedegaard Wed, 3 Nov 2004 21:15:16 +0100 cstream (2.4.1b-1) unstable; urgency=low * New upstream release. * Website URL added to long description. * Add usage hints to watch file. -- Jonas Smedegaard Thu, 23 Sep 2004 22:40:37 +0200 cstream (2.4.0-1) unstable; urgency=low * New upstream release. + Upstream changelog not updated, but only change seems to be an additional feature to set a strict upper limit for each read/write operation, instead of (as was the only possibility earlier) an average limit for the whole transfer. * Changed debian/copyright to not include info also contained in debian/changelog. -- Jonas Smedegaard Tue, 4 May 2004 16:53:14 +0200 cstream (2.3.1-1) unstable; urgency=low * New upstream release. * Correct non-utf8 typo in debian/changelog. * Change to section utils. * Add copyright info in (ultra-tiny) debian/rules. -- Jonas Smedegaard Mon, 26 Jan 2004 17:17:16 +0100 cstream (2.3final-2) unstable; urgency=low * Add comma between dependencies. Closes: Bug#211580. * Standards-Version 3.6.1 (no changes required). * Change to section utils. * Add watch file. * Add dh-buildinfo to build rules. -- Jonas Smedegaard Thu, 18 Sep 2003 21:53:58 +0200 cstream (2.3final-1) unstable; urgency=low * New upstream release. * Switch from cbs to cdbs. * Standards-Version 3.5.10 (no changes needed). -- Jonas Smedegaard Fri, 30 May 2003 11:57:45 +0200 cstream (2.3b3-1) unstable; urgency=low * Initial Release. -- Jonas Smedegaard Sun, 27 Apr 2003 23:58:54 +0200 debian/README.source0000644000000000000000000000361311706100767011355 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/compat0000644000000000000000000000000211724065203010364 0ustar 7 debian/watch0000644000000000000000000000021511724065346010225 0ustar # Run the "uscan" command to check for upstream updates and more. version=2 http://www.cons.org/cracauer/download/cstream-(.*).tar.gz debian debian/copyright_hints0000644000000000000000000000446011724067326012342 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: CHANGES INSTALLATION README TODO auxdir/mkinstalldirs configure.in debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/patches/1001_fix_manpage_speling_errors.patch debian/patches/README debian/patches/series debian/source/format debian/watch tests/Makefile.am tests/test1.log1 tests/test1.log2 tests/test1.log3 tests/test1.log4 tests/test1.sh tests/vars.sh Copyright: *No copyright* License: UNKNOWN FIXME Files: auxdir/depcomp auxdir/missing Copyright: 1996-1997, Free Software Foundation, Inc 1999-2000, Free Software Foundation, Inc License: GPL-2+ FIXME Files: auxdir/Makefile.in tests/Makefile.in Copyright: 1994-2002 License: UNKNOWN FIXME Files: cstream.1 cstream.c Copyright: 1998-1999, Martin Cracauer 1998-2001, Martin Cracauer in the distribution package for copying terms License: UNKNOWN FIXME Files: debian/rules Copyright: 2003-2009, Jonas Smedegaard License: GPL-2+ FIXME Files: COPYRIGHT Copyright: 1998-1999, Martin Cracauer License: MIT/X11 (BSD like) FIXME Files: configure Copyright: (ISLOWER ? 'A' + ( - 'a') : ) (ISLOWER ? ( | 0x40) : ) 1992-1996, 1998-2001, 2009, Free Software Foundation, Inc License: UNKNOWN FIXME Files: aclocal.m4 Copyright: 1996-1997, 2000-2001, 2003, 2005, 2008 1996-2004, 1997, 1999-2001, 2003-2005, 2008 1997, 2000-2001, 2003-2006, 2008 1999-2005, 2008 1999-2006, 2009 2001, 2003, 2005, 2008 Free Software Foundation, Inc 2001, 2003, 2005, Free Software Foundation, Inc 2001-2003, 2005, 2008, Free Software Foundation, Inc 2001-2003, 2005, 2009, Free Software Foundation, Inc 2002-2003, 2005-2008, Free Software Foundation, Inc 2003, 2005 Free Software Foundation, Inc 2003-2006, Free Software Foundation, Inc 2004-2005, Free Software Foundation, Inc 2006, 2008 Free Software Foundation, Inc License: UNKNOWN FIXME Files: Makefile.in Copyright: 1994-2002, INSTALLATION cstream.1 License: UNKNOWN FIXME Files: Makefile.am Copyright: INSTALLATION cstream.1 License: UNKNOWN FIXME Files: auxdir/install-sh Copyright: 1991, the Massachusetts Institute of Technology License: UNKNOWN FIXME debian/copyright0000644000000000000000000000772511724066733011145 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: cstream Upstream-Contact: Martin Cracauer Source: http://www.cons.org/cracauer/cstream.html Files: * Copyright: 1998-2001, Martin Cracauer License: Expat Files: Makefile.in Copyright: 1994-2002, Free Software Foundation, Inc License: GAP~Makefile.in Files: auxdir/missing Copyright: 1996-1997, Free Software Foundation, Inc License: GPL-2+ Files: auxdir/depcomp Copyright: 1999-2000, Free Software Foundation, Inc License: GPL-2+ with Autoconf exception As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. Files: ./configure Copyright: 1992-1996, 1998-2006, Free Software Foundation, Inc License: GAP~configure Files: auxdir/install-sh Copyright: 1991, by the Massachusetts Institute of Technology License: MIT Files: aclocal.m4 Copyright: 1996-2006, Free Software Foundation, Inc License: GAP Files: Makefile.am Copyright: INSTALLATION cstream.1 License: UNKNOWN Files: debian/* Copyright: 2004-2008, Jonas Smedegaard License: GPL-2+ License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . License: GAP This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. License: GAP~Makefile.in This Makefile.in is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. License: GAP~configure This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. License: MIT Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. debian/gbp.conf0000644000000000000000000000014611240012671010600 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000365511724074047010265 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2003-2009 Jonas Smedegaard # Description: Main Debian packaging script for cstream # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA # 02111-1307 USA. DEB_AUTO_UPDATE_AUTOCONF = 2.68 DEB_AUTO_UPDATE_ACLOCAL = 1.11 DEB_AUTO_UPDATE_AUTOMAKE = 1.11 -include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk # Avoid optional build-dependencies to ease backporting CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = DEB_UPSTREAM_URL = http://www.cons.org/cracauer/download DEB_UPSTREAM_TARBALL_MD5 = 00e9d6932051bd744d61972c7a38c3d7 # put aside upstream-shipped temp files during build but after copyright-check upstreamtmpfiles = Makefile.in auxdir/Makefile.in tests/Makefile.in aclocal.m4 configure pre-build:: debian/stamp-upstreamtmpstuff debian/stamp-upstreamtmpstuff: debian/stamp-copyright-check for file in $(upstreamtmpfiles); do \ [ ! -e $$file ] || [ -e $$file.upstream ] || cp -a $$file $$file.upstream; \ done touch $@ clean:: for file in $(upstreamtmpfiles); do \ [ ! -e $$file.upstream ] || mv -f $$file.upstream $$file; \ done rm -f debian/stamp-upstreamtmpstuff debian/control.in0000644000000000000000000000400611724067051011201 0ustar Source: cstream Section: utils Priority: optional Maintainer: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/cstream Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/cstream.git Homepage: http://www.cons.org/cracauer/cstream.html Package: cstream Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: general-purpose stream-handling tool similar to dd cstream is a general-purpose stream-handling tool like UNIX' dd, usually used in commandline-constructed pipes. . Features: - Sane commandline switch syntax. - Exact throughput limiting, on the incoming side. Timing variance in previous reads are counterbalanced in the following reads. - 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. - SIGUSR2 causes a clean shutdown before EOF on input, timing information is displayed. - Build-in support to write its PID to a file, for painless sending of these signals. - 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. See the manpage for examples. - 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. - Accepts 'k', 'm' and 'g' character after number for "kilo, mega, giga" bytes for overall data size limit. - "gcc -Wall" clean source code, serious effort taken to avoid undefined behaviour in ANSI C or POSIX, except long long is required. Limiting and reporting works on data amounts > 4 GB.