From patchwork Tue May 18 19:38:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Reich=C3=B6r?= X-Patchwork-Id: 29403 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4841A27BC81; Tue, 18 May 2021 20:42:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F24CD27BC78 for ; Tue, 18 May 2021 20:42:10 +0100 (BST) Received: from localhost ([::1]:59672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj5bW-0006Zu-3c for patchwork@mira.cbaines.net; Tue, 18 May 2021 15:42:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj5ZT-0003Ra-7g for guix-patches@gnu.org; Tue, 18 May 2021 15:40:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lj5ZS-0002hB-Ho for guix-patches@gnu.org; Tue, 18 May 2021 15:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lj5ZS-0007d1-Da for guix-patches@gnu.org; Tue, 18 May 2021 15:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48505] [PATCH] gnu: Add mbuffer. Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 May 2021 19:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48505@debbugs.gnu.org Cc: Stefan =?utf-8?q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162136675629263 (code B ref -1); Tue, 18 May 2021 19:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2021 19:39:16 +0000 Received: from localhost ([127.0.0.1]:57344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj5Yc-0007bm-Da for submit@debbugs.gnu.org; Tue, 18 May 2021 15:39:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:54732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj5YX-0007bc-Ee for submit@debbugs.gnu.org; Tue, 18 May 2021 15:39:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj5YX-0001ye-1P for guix-patches@gnu.org; Tue, 18 May 2021 15:39:05 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:48452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj5YT-00022T-J7 for guix-patches@gnu.org; Tue, 18 May 2021 15:39:03 -0400 Received: from localhost (217-149-167-109.nat.highway.telekom.at [217.149.167.109]) by dd3624.kasserver.com (Postfix) with ESMTPA id CB1195D400E6; Tue, 18 May 2021 21:38:54 +0200 (CEST) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Tue, 18 May 2021 21:38:48 +0200 Message-Id: <20210518193848.72880-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; 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 @@ -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")