Hello community, here is the log from the commit of package mbuffer for openSUSE:Factory checked in at 2012-05-22 08:16:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mbuffer (Old) and /work/SRC/openSUSE:Factory/.mbuffer.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mbuffer", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/mbuffer/mbuffer.changes 2011-09-23 02:12:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mbuffer.new/mbuffer.changes 2012-05-22 08:16:47.000000000 +0200 @@ -2 +2 @@ -Fri Jun 19 10:35:46 CEST 2009 - [email protected] +Sat May 05 13:40:48 UTC 2012 - [email protected] @@ -4 +4,3 @@ -- disable as-needed for this package as it fails to build with it +- update to 20120505: + * fix: suppress summary on stderr if -q is used with -l + * fix: option -P 100 may lead to hang @@ -7 +9 @@ -Wed Feb 13 14:39:04 CET 2008 - [email protected] +Sun Jul 24 20:21:45 UTC 2011 - [email protected] @@ -9,2 +11,7 @@ -- Update to mbuffer 20080212. - * fixed a race-condition causing incorrectly written last block +- update to 20110724: + * fix: garbage might be written after input error + * enhancement: prompt for additional volumes for argument "-n 0" + * enhancement: prompt for next volume on I/O error if -n is set (some tape + devices incorrectly return -1/EIO instead of 0) + * enhancement: added option to append to output file + * update: remove use of deprecated interface sigignore @@ -13 +20 @@ -Mon Nov 26 13:09:22 CET 2007 - [email protected] +Fri Mar 18 09:47:09 UTC 2011 - [email protected] @@ -15 +22,4 @@ -- Fix open call. +- update to 20110317: + * an option was added to terminate on any kind of error + * a hang when starting mbuffer in the background was fixed + * the displayed dimensions were changed to be compliant to SI standards @@ -18 +28 @@ -Fri Aug 10 13:27:04 CEST 2007 - [email protected] +Thu Jan 20 02:20:27 UTC 2011 - [email protected] @@ -20 +30,3 @@ -- Update to version 20070518. +- update to 20110119: + * fixes an incorrect sanity check for the interaction between hashing and + multiple outputs @@ -23 +35 @@ -Wed Jan 25 21:38:12 CET 2006 - [email protected] +Thu Dec 30 22:21:48 UTC 2010 - [email protected] @@ -25 +37,4 @@ -- converted neededforbuild to BuildRequires +- update to 20101230: + * hash values now are also written to log files + * this release will report the last block number on volume, report time per + volume @@ -28 +43 @@ -Mon Oct 20 16:36:48 CEST 2003 - [email protected] +Fri May 28 21:53:34 UTC 2010 - [email protected] @@ -30 +45,106 @@ -- Initial version. +- update to 20100526: + * fixes an interaction between watermark and rate limitation algorithms that + messed up rate limitation + * fixes a potential deadlock on SIGINT + +------------------------------------------------------------------- +Sat Mar 27 21:01:15 UTC 2010 - [email protected] + +- update to 20100327: + * a problem in which hash calculation was being omitted if no output file is + specified was fixed + * a summary is included in the log file in quiet mode + * some typographical errors in the man page were fixed + +------------------------------------------------------------------- +Mon Dec 28 19:52:33 UTC 2009 - [email protected] + +- update to 20091227: + * rate limitation now uses a monotonic time source if available + * lockup on input error has been fixed + * segfault in quiet mode has been fixed + * cancellation fixes + +------------------------------------------------------------------- +Sun Nov 22 22:34:53 UTC 2009 - [email protected] + +- update to 20091122: + * multiple fixes for assertion failures raised during error situations + +------------------------------------------------------------------- +Wed Nov 11 00:00:00 CET 2009 - [email protected] + +- update to 20091110: + * code is compiled for 64-bit word size by default, if that capability is + available + * a hang which occurred on SIGINT when input is idle was fixed + * fixes were made for the IPv6 code + +------------------------------------------------------------------- +Tue Oct 13 00:00:00 CEST 2009 - [email protected] + +- update to 20091012: + * adds a separate thread for hash calculation + * adds support for libmhash with all provided hash algorithms + * fixes a typo in the examples section + * fixes a potential race condition + * fixes a potential lockup on SIGINT + +------------------------------------------------------------------- +Mon Jun 29 00:00:00 CEST 2009 - [email protected] + +- update to 20090628: + * adds support for IPv6 and service name lookup + * reintegrates a lost fix for libmhash initialization + +------------------------------------------------------------------- +Sun Feb 15 00:00:00 CET 2009 - [email protected] + +- update to 20090215: + * fixes a hang on transfer sizes smaller than blocksize with status display + active + * man page update, summary display update + * libmhash initialization fix + * termination latency with active status display is reduced + * fix for -q suppressing the output of -H + +------------------------------------------------------------------- +Thu Jan 15 00:00:00 CET 2009 - [email protected] + +- update to 20090113: + * a fix for an assertion failure in network mode when compiled for 64-bit + architectures + +------------------------------------------------------------------- +Wed Jan 7 00:00:00 CET 2009 - [email protected] + +- scrapped old %%changelog entries +- update to 20090106 + +------------------------------------------------------------------- +Mon Dec 8 00:00:00 CET 2008 - [email protected] + +- update to 20081207: + * more intelligent TCP buffer tuning plus an undocumented option to manually + set the TCP buffer size + * fixes several typos, and fixes for some message formatting issues + +------------------------------------------------------------------- +Sun Oct 26 00:00:00 CEST 2008 - [email protected] + +- update to 20081023: + * mbuffer should not abort on SIGTERM + * a segv which occurred when an invalid option was given was fixed + * a minor codepath optimization was made + * the status display now waits for the first block to be read + +------------------------------------------------------------------- +Wed Oct 15 00:00:00 CEST 2008 - [email protected] + +- update to 20081015: + * autoloader commands are now prevented from corrupting mbuffer's output + * cancellation issues were fixed + * sendfile should fall back to write + * manpath needs to be created + * support was added for O_DIRECT on systems that provide it + * documentation updates Old: ---- mbuffer-20080212.diff mbuffer-20080212.tgz New: ---- mbuffer-20120505.tgz mbuffer-fix_pointer_cast.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mbuffer.spec ++++++ --- /var/tmp/diff_new_pack.z6C8We/_old 2012-05-22 08:16:48.000000000 +0200 +++ /var/tmp/diff_new_pack.z6C8We/_new 2012-05-22 08:16:48.000000000 +0200 @@ -1,7 +1,6 @@ -# -# spec file for package mbuffer (Version 20080212) -# -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# vim: set ts=4 sw=4 et: + +# Copyright (c) 2012 Pascal Bleser <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,66 +12,52 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - Name: mbuffer -Url: http://www.maier-komor.de/mbuffer.html -License: GPL v2 or later -Group: System/Base -AutoReqProv: on -Version: 20080212 -Release: 45 -Summary: Measuring Buffer -Source: mbuffer-%{version}.tgz -Patch: mbuffer-%{version}.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Version: 20120505 +Release: 0 +Summary: Replacement for "buffer" with many more Features +Source: http://www.maier-komor.de/software/mbuffer/mbuffer-%{version}.tgz +Patch1: mbuffer-fix_pointer_cast.patch +URL: http://www.maier-komor.de/software/mbuffer/ +Group: Productivity/Text/Utilities +License: GPL-3.0+ +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: openssl-devel make gcc glibc-devel glibc-devel mhash-devel +BuildRequires: libtool %description -mbuffer is a replacement for buffer with additional functionality: - +mbuffer is a raplacement for buffer with additional functionality: - display of I/O speed - - optional use of memory mapped I/O for huge buffers - -- multithreaded instead of shared memory IPC - -- multivolume support - +- multithreaded instead of sharedmemory ipc +- multi volume support - autoloader support - -- network support - -- buffer compatible command line options - - - -Authors: --------- - Thomas Maier-Komor <[email protected]> +- networking support +- compatible command-line options %prep -%setup -%patch +%setup -q +%patch1 %build -# This package failed when testing with -Wl,-as-needed being default. -# So we disable it here, if you want to retest, just delete this comment and the line below. -export SUSE_ASNEEDED=0 -./configure CFLAGS="$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir} -make +%configure \ + --enable-md5 \ + --disable-debug + +%__make %{?_smp_flags} SHELL=/bin/sh %install -make install DESTDIR=$RPM_BUILD_ROOT +%__install -D -m 0755 mbuffer "%{buildroot}%{_bindir}/mbuffer" +%__install -D -m 0644 mbuffer.1 "%{buildroot}%{_mandir}/man1/mbuffer.1" %clean -rm -rf $RPM_BUILD_ROOT +%{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) -%doc ChangeLog NEWS README -/usr/bin/mbuffer -%doc %{_mandir}/man1/mbuffer.1.gz +%doc AUTHORS ChangeLog LICENSE NEWS README +%{_bindir}/mbuffer +%doc %{_mandir}/man1/mbuffer.1* %changelog ++++++ mbuffer-20080212.tgz -> mbuffer-20120505.tgz ++++++ ++++ 15808 lines of diff (skipped) ++++++ mbuffer-fix_pointer_cast.patch ++++++ --- mbuffer.c.orig 2010-03-27 22:04:34.000000000 +0100 +++ mbuffer.c 2010-03-27 22:06:14.000000000 +0100 @@ -47,6 +47,7 @@ #include <sys/time.h> #include <termios.h> #include <unistd.h> +#include <stdint.h> #ifdef __FreeBSD__ @@ -1027,7 +1028,7 @@ -static void terminateOutputThread(dest_t *d, int status) +static void terminateOutputThread(dest_t *d, intptr_t status) { int err; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
