Subject: bug#48505: closed (Re: bug#48505: [PATCH] gnu: Add mbuffer.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 28 May 2021 20:25:02 +0000

Your bug report

#48505: [PATCH] gnu: Add mbuffer.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
48505: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48505
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#48505: [PATCH] gnu: Add mbuffer.
From: Ludovic Courtès <[email-masked]>
To: Stefan Reichör <[email-masked]>
Cc: [email-masked]
Date: Fri, 28 May 2021 22:23:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Stefan,

Stefan Reichör <[email-masked]> skribis:

> * gnu/packages/networking.scm (mbuffer): New variable.

Applied, thanks!

Ludo’.

Subject: [PATCH] gnu: Add mbuffer.
From: Stefan Reichör <[email-masked]>
To: [email-masked]
Cc: Stefan Reichör <[email-masked]>
Date: Tue, 18 May 2021 21:38:48 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/networking.scm (mbuffer): New variable.
---
 gnu/packages/networking.scm | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 561b295b1e..c74307ab9b 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2014, 2017, 2018 Ludovic Courtès <[email-masked]>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2020 Ricardo Wurmus <[email-masked]>
 ;;; Copyright © 2015 Mark H Weaver <[email-masked]>
-;;; Copyright © 2015, 2016, 2017 Stefan Reichör <[email-masked]>
+;;; Copyright © 2015, 2016, 2017, 2021 Stefan Reichör <[email-masked]>
 ;;; Copyright © 2016 Raimon Grau <[email-masked]>
 ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2016 John Darrington <[email-masked]>
@@ -908,6 +908,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")
-- 
2.25.1