The NetBSD Project

CVS log for pkgsrc/misc/mbuffer/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / misc / mbuffer

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jun 12 11:50:29 2025 UTC (17 months ago) by hauke
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
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.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jun 12 10:59:31 2025 UTC (17 months ago) by hauke
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -3 lines
Remove bashisms and needless bash dependency

Remove needless gsed dependency

Declare gnutar dependency, used in test scripts

Should fix bulk builds

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Apr 30 13:10:04 2025 UTC (18 months, 2 weeks ago) by hauke
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Upstream took some of our patches -- thanks!

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Apr 28 11:38:37 2025 UTC (18 months, 2 weeks ago) by hauke
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -7 lines
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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Oct 24 22:10:03 2023 UTC (3 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
*: bump for openssl 3

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Mar 30 19:02:32 2020 UTC (6 years, 7 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1 lines
mbuffer: Skip unnecessary portability test.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jan 26 17:31:44 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
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.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 18 21:50:02 2020 UTC (6 years, 9 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
*: Recursive revision bump for openssl 1.1.1.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Sep 18 09:49:29 2018 UTC (8 years, 2 months ago) by fhajny
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +16 -2 lines
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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 26 00:27:23 2015 UTC (10 years, 11 months ago) by wiedi
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Update misc/mbuffer to 20151002

Changes in 20151002:
	- fix: SegV when argument to -v is missing
	- fix: potential infinite loop on output error

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jun 5 11:36:40 2015 UTC (11 years, 5 months ago) by wiedi
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 4 03:39:57 2015 UTC (11 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Use BROKEN_ON_PLATFORM for "needs sysctl bits".

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu May 8 11:21:24 2014 UTC (12 years, 6 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>