From patchwork Wed Sep 28 21:08:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 43030 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 DC88727BBEA; Wed, 28 Sep 2022 22:19:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 63BA227BBE9 for ; Wed, 28 Sep 2022 22:19:24 +0100 (BST) Received: from localhost ([::1]:54520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odeSh-0006L4-Eh for patchwork@mira.cbaines.net; Wed, 28 Sep 2022 17:19:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odeJf-00054T-79 for guix-patches@gnu.org; Wed, 28 Sep 2022 17:10:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odeJe-0004yl-QC for guix-patches@gnu.org; Wed, 28 Sep 2022 17:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odeJe-0004X5-Ls for guix-patches@gnu.org; Wed, 28 Sep 2022 17:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58152] [PATCH 3/5]: gnu: Add kronosnet References: In-Reply-To: Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Sep 2022 21:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58152 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58152@debbugs.gnu.org Received: via spool by 58152-submit@debbugs.gnu.org id=B58152.166439934717334 (code B ref 58152); Wed, 28 Sep 2022 21:10:02 +0000 Received: (at 58152) by debbugs.gnu.org; 28 Sep 2022 21:09:07 +0000 Received: from localhost ([127.0.0.1]:34968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeIl-0004VV-Ay for submit@debbugs.gnu.org; Wed, 28 Sep 2022 17:09:07 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:34815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeIj-0004Ut-Ms for 58152@debbugs.gnu.org; Wed, 28 Sep 2022 17:09:06 -0400 Received: by mail-qt1-f178.google.com with SMTP id g12so8783484qts.1 for <58152@debbugs.gnu.org>; Wed, 28 Sep 2022 14:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=ArZ0veKrptgEXkVTmkUOrGPvnZ0BdXeh9k56mdRj648=; b=DFOOvI9mgyrO+OdTX9oXTV694VIL0+U0pbjZoAgsfjNyvS/4VBakrkM8+Kq+DX9UqA iVpfiQlFVQH26v/bIUTjg/Kia9iytlxiBKrRRuJz+oBzfkyIGJqg0Ese7sjM1SpLX0Yy 3sDLMjF00d+xSAidmTNbOB7OP+Keszhzf9iIOdYZADVFCFh1EV0YyoUFYrkAIC/px3bA MrO3/mVY6L24usRT1w/72AT4s0P/bxamE6vom0MGDs3c7hRk+q81N7F+DZK4M4S9vqpA I9S2IYd7DhaBVj2JPZKpIceueV06qr4L/IShGXLd+FYqtcEwQYsZ9e4vuQm7yHDoeoQd ezuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=ArZ0veKrptgEXkVTmkUOrGPvnZ0BdXeh9k56mdRj648=; b=1Odr3kCyBdxs0bhpH/s9dnAvG8hc2X20zQQ2E6a7cQNS/88AZcwlp7a4lrJ6S770MH izcSVJmWM6s5nEl3S/U5MZltNEP2miSoLaQLgibAkM1zZSo8qmm56DSkFjTto4wiBTqa dpXgblXAHEkuioCFMsuSLfpVrgO/HVYPnT7Uu1Q49BXS0FuHpuO0o4OprbmB0RC6XyTN eO6TU7iVrkWo5PbJ2fqhnMC4oG6IpynICVU5UlKpCoOLm+sdlsFZi2hVf6YtrEtwZqKL +8gTWrZaGA8RhLfKuRRgMJV8wXj9LG2wwPUdsEA97PyO2HynmOkJyPKhA6wQy1IPc/hO Uh6g== X-Gm-Message-State: ACrzQf0pTCL1wQ3H4v8H/PJ3uEzVjuVHZsI05tFVdKEjv9BCSH9LkRqy o5ISRbmIUR/mAvwS/bLvZ6UsUT4CFpEbrmM7OKnWd8np X-Google-Smtp-Source: AMsMyM7LT2Xi12izP/I+ZyLNAY6P4NqAbQ1b2XNiT4mRMrykvG1rnwc8LAzoV/JvR0G9gw10PLiVecUTsdE1lo7N7EQ= X-Received: by 2002:a05:622a:590:b0:35d:5201:e081 with SMTP id c16-20020a05622a059000b0035d5201e081mr7095316qtb.672.1664399340354; Wed, 28 Sep 2022 14:09:00 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 22:08:49 +0100 Message-ID: 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 -- … наш разум - превосходная объяснительная машина которая способна найти смысл почти в чем угодно, истолковать любой феномен, но совершенно не в состоянии принять мысль о непредсказуемости. From 441e9a219377d93dd47488b7994b749a69a89382 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 21:37:07 +0100 Subject: [PATCH 3/5] gnu: Add kronosnet * gnu/packages/high-availability.scm (kronosnet): New variable. --- gnu/packages/high-availability.scm | 61 ++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index 46247c4e13..48c371a6db 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm @@ -77,3 +77,64 @@ (define-public libqb APIs that are highly tuned for maximum performance for client-server applications.") (license license:lgpl2.1))) + +(define-public kronosnet + (package + (name "kronosnet") + (version "1.24") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kronosnet/kronosnet") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b8rz7f2h3scrq0xcqz58ckzsvv08g31j5jgy2v4i6w87r9c75lw")))) + (build-system gnu-build-system) + (arguments + ;; XXX: Multiple tests failed. Tests + ;; require very complex environment and for some of them root privileges to + ;; set network configuration. It has it's own CI based on Jenkis + ;; https://ci.kronosnet.org/. + (list #:tests? #f + #:phases #~(modify-phases %standard-phases + (add-before 'bootstrap 'fix-version-gen + (lambda _ + (call-with-output-file ".tarball-version" + (lambda (port) + (display #$version port)))))))) + (native-inputs (list autoconf + automake + doxygen + libtool + net-tools + pkg-config + ;; libgcc_s.so.1 must be installed for pthread_cancel to work + `(,gcc "lib"))) + (inputs (list lksctp-tools + libnl + libqb + libxml2 + lz4 + lzo + nss + nspr + openssl + xz + zlib + `(,zstd "lib"))) + (home-page "https://kronosnet.org/") + (synopsis "Network abstraction layer designed for High Availability") + (description + "Kronosnet, often referred to as @code{knet}, is a network + abstraction layer designed for High Availability use cases, where redundancy, + security, fault tolerance and fast fail-over are the core requirements of + your application. + + Kronosnet is the new underlying network protocol for Linux HA components + (Corosync), that features ability to use multiple links between nodes, + active/active and active/passive link failover policies, automatic link + recovery, FIPS compliant encryption (nss and/or openssl), automatic PMTUd and + in general better performances compared to the old network protocol.") + (license (list license:gpl2+ license:lgpl2.1+)))) -- 2.37.3