From 02f6144344d34ce24a821a6f6ab5e3c9e4bd2e7d Mon Sep 17 00:00:00 2001 From: Stefan Reichör Date: Tue, 18 May 2021 21:38:48 +0200 Subject: gnu: Add mbuffer. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/networking.scm (mbuffer): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/networking.scm | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 3da10a2990..f65c8a7f13 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2014, 2017, 2018 Ludovic Courtès ;;; Copyright © 2015, 2016, 2017, 2018, 2020 Ricardo Wurmus ;;; Copyright © 2015 Mark H Weaver -;;; Copyright © 2015, 2016, 2017 Stefan Reichör +;;; Copyright © 2015, 2016, 2017, 2021 Stefan Reichör ;;; Copyright © 2016 Raimon Grau ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice ;;; Copyright © 2016 John Darrington @@ -909,6 +909,38 @@ establish a relatively secure environment (su and chroot) for running client or server shell scripts with network connections.") (license license:gpl2))) +(define-public mbuffer + (package + (name "mbuffer") + (version "20210328") + (source (origin + (method url-fetch) + (uri (string-append + "http://www.maier-komor.de/software/mbuffer/mbuffer-" + version ".tgz")) + (sha256 + (base32 + "0pfw9xw4ph18yss07fl6w8fbqiwy1w9r1knzw5gsb4c993cbidai")))) + (build-system gnu-build-system) + (inputs `(("openssl" ,openssl))) + (home-page "http://www.maier-komor.de/mbuffer.html") + (synopsis + "Swiss army knife for data stream buffering (network aware)") + (description + "mbuffer is a tool for buffering data streams with a large set of features: + +@itemize +@item direct support for TCP based network targets (IPv4 and IPv6) +@item ability to send to multiple targets in parallel (distribution mode) +@item support for multiple volumes +@item I/O rate limitation +@item high/low watermark based restart criteria +@item configurable buffer size +@item on the fly MD5 hash calculation +@item highly efficient, multi-threaded implementation +@end itemize") + (license license:gpl3+))) + (define-public tcp-wrappers (package (name "tcp-wrappers") -- cgit 1.4.1