Up to [cvs.NetBSD.org] / pkgsrc / misc / mbuffer
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
While configure checks if a compiler option is necessary for C11 support, configure.in has AC_PROG_CC_C99, so return to C99 as the baseline.
Remove bashisms and needless bash dependency Remove needless gsed dependency Declare gnutar dependency, used in test scripts Should fix bulk builds
Upstream took some of our patches -- thanks!
Update misc/mbuffer to v20241007 Add NetBSD support Fix PKG_SYSCONFDIR From upstream's changelog: 20241007: - build fix for -Wincompatible-pointer-types - configure script update to autoconf version 2.71 20240929: - updated default buffer calculation for more sane defaults - minor updates for debug messages 20240818: - fix port range check (Peter Pentchev) - fix ipv6 only mode - enhanced incoming host check to work with IP, hostname, FQHN - enhanced ipv6 hostname parsing 20240707: - fix IPv4 address printing - listen on IPv6 and IPv4 if possible - add debug messages for defaults on address family - build fix for systems without getaddrinfo - gracefully handle empty address infos 20240107: - corrections for documentation and help output (patch by Andreas Hartmann) - added environment variables for auto-loader command 20231216: - changed from `which` to `command` for Debian forward compatibility 20230301: - Fix breaking connections on WAN links: retry on EAGAIN (fix by Nico Schümann) 20220418: - fix handling of filesystem full on stdout 20211018: - fixes related to TCP timeout handling - enhancement: support setting config file via env var MBUFFERRC - documentation update 20211004: - make TCPTimeout=0 disable the TCP timeout - changed default TCP timeout from 10s to 100s - TCP timeout now can be give with suffixes ms,s,min,h - documented option for TCP timeout 20210829: - enhancement: accept IPv6 addresses in square bracket format - enhancement: more detailed warning message for connect failures - work around Solaris default old mercurial and incompatible sed 20210328: - removed cancel after join for reader thread - updated install-sh - mbuffer.1 has outdated version tag 20210209: - fix: hash algos should not suppress stdout 20200929: - enhancement: added option --no-direct to disable use of O_DIRECT - defaults: raised default TCP timeout to 10ms for WAN connections - fix: leave TCP buffer size untouched if not set - enhancement: add option to set TCP timeout - performance optimization: use recv with MSG_WAITALL instead of read - configure fix: look for objdump also with target prefix - testing: make sure to use gtar for testing to avoid unexpected failures - portability: NetBSD compatibility fix - build enhancement: added dependency calculation for make - build enhancement: automatic version string generation 20200505: - configure fix for some powerpc toolchains - update config.sub and config.guess - added option to perform direct I/Os on temporary file 20191016: - autoadjust dependent parameters - human readable buffer size information instead of kiB 20190725: - hashing infrastructure should also be enabled with libdl available - report input file name in message for open failure - fix: don't try to open network output as file after failure - fix: potential issue related to inet6 hosts handling - added complementary cmake based building and testing - some cleanup work 20190127: - fix: erronous empty file generation on network connection failure 20190119: - enhanced default settings for better performance - use O_DIRECT on input and output if possible - option --direct is now deprecated and has no effect - Output Size must be adjusted to Blocksize during initialization - man-page corrections - fixed some messages (typos and formatting) 20190113: - fix for network initialization for systems without getaddrinfo (patch by Peter Pentchev) - support suppressing messages with Verbose=silent and Verbose=none - fix detection of invalid arguments to option -v - Copyright update to 2019 20181119: - consistently use CLOCK_MONOTONIC if available (patch by Peter Pentchev) - handle time standing still or running backward (only relevant on systems without CLOCK_MONOTONIC) - updated INSTALL file to reflect available options - added explanation for lack of MacOS support
*: bump for openssl 3
mbuffer: Skip unnecessary portability test.
all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
*: Recursive revision bump for openssl 1.1.1.
misc/mbuffer: Update to 20180625.
20180625:
- linking of available hash libraries during runtime
20180505:
- fix typo in summary
- fix potential hang with small input size
- testing fix for BSD
- configure enhancement: objdump may be named gobjdump
- fix tape end of file marker may be ignored
- removed obsolete alpha code
20180410:
- build fix for hashing library variants
- support tapetest on systems with name variants of open and write
- run only network tests for supported address families
(patch supplied by Peter Pentchev)
- code update for hashing infrastructure
- make idev tests usable on more platforms
- determine amount of available memory via procfs
- option -d unintentionally consumes an argument
- idev.c should use libc's names
- support use of autoreconf
20180318:
- performance optimized defaults
- stricter arguments checking of mbuffer.rc
- handle FreeBSD's maximum semaphore value transparently
- print base 2 dimensions correctly (ki,Mi,Gi,Ti)
- FreeBSD patches by Eric Borisch
20171011:
- use $(etcdir) consistently for installation
- use AC_COMPILE_IF instead of AC_RUN_IF to support cross-compiling
- remove forward typedef for dest_t to support older compilers
- build fix for Solaris
- updated test infrastructure
- print pid on every message with --pid
- fix: potential hang, when one output fails to open
20170921:
- added jumpbuffer reading mode for inconsistent block sizes
- code separation into more files for enhanced readability
- some cleanup work for global variables
- fixed regression in sanity checks
- fix: option -f should truncate output file
- fix: failed opening of network output should not redirect to stdout
- fix: summary printout should respect quiet options
20170806:
- add support for libgcrypt
- add support for tape aware out-of-space handling
- support setting verbosity in config file
- suppress gcc's unused result warnings - all have been manually
checked
- updated install-sh, config.sub, and config.guess
- exit cleanly if all outputs failed to open but hashers are left
- minor fixes and enhancements
- minor code refactoring for clearer structure
- some code hardening
- build fix for OpenBSD
- work around mhash_get_hash_name_static crashing
20170515:
- fix false warning on comments in config files
- code update for config parsing
- makefile compatibility update
20170514:
- update: configure update for latest cygwin
- fix: detect missing md5.h in configure
- enhancement: adjust some messages to avoid line-wrapping
- enhancement: print status message to log if suppressed on console
- enhancement: also read config files in /etc and ${prefix}/etc
- enhancement: simplified memory conifguration detection scheme
- added an example config file, with documentation of all options
- added parameter StatusInterval
- fix for handling empty lines in config files
- fix: --append rejects existing files
- fix warnings related to thread status return code
20161115:
- enhancement: report percent done, when input size is known (is a
file)
- enhancement: watchdog raises SIGKILL if SIGINT had no effect
- change: start watchdog when parsing option -W or after parsing all
options when activated via defaults file
- fix: use thread-safe mt_usleep instead of sleep(3) for watchdog
timing
- change: adjusted interface of mt_usleep to accept 64bit arguments
20160613:
- fix: fix potential assertion triggered by interrupted system call
- enhancement: ignore EINTR for I/O syscalls
20160228:
- fix: fix listen's backlog argument, which can cause issues on Linux
4.4
Update misc/mbuffer to 20151002 Changes in 20151002: - fix: SegV when argument to -v is missing - fix: potential infinite loop on output error
Update mbuffer to 20150412 20150412: - fix: watchdog cannot do its job if it is cleaned up to early - fix: clear sa_flags and sa_mask before use, although ignored 20141227: - added option --pid to print PID of current process - updated usage to include option -W - man page formatting fixes - configure updates - support compiling on systems that do not define PATH_MAX
Use BROKEN_ON_PLATFORM for "needs sysctl bits".
Import mbuffer-20140310 into pkgsrc, packaged by Brian Bennett. mbuffer is a tool for buffering data streams with a large set of unique features: * direct support for TCP based network targets (IPv4 and IPv6) * ability to send to multiple targets in parallel (distribution mode) * support for multiple volumes * I/O rate limitation * high/low watermark based restart criteria * configurable buffer size * on the fly MD5 hash calculation * highly efficient, multi-threaded implementation It is especially useful, if you are writing backups to fast tape drives or libraries.