From patchwork Wed Sep 28 21:07:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 43031 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 B887927BBEA; Wed, 28 Sep 2022 22:26:17 +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 0EEF827BBE9 for ; Wed, 28 Sep 2022 22:26:17 +0100 (BST) Received: from localhost ([::1]:57510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odeZM-0006NZ-6N for patchwork@mira.cbaines.net; Wed, 28 Sep 2022 17:26:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odeHi-0002sk-28 for guix-patches@gnu.org; Wed, 28 Sep 2022 17:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odeHh-0004eE-QQ for guix-patches@gnu.org; Wed, 28 Sep 2022 17:08:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odeHh-0004TM-Lu for guix-patches@gnu.org; Wed, 28 Sep 2022 17:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58152] [PATCH 1/5]: Move libqb to high-availability 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:08:01 +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.166439927117177 (code B ref 58152); Wed, 28 Sep 2022 21:08:01 +0000 Received: (at 58152) by debbugs.gnu.org; 28 Sep 2022 21:07:51 +0000 Received: from localhost ([127.0.0.1]:34960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeHX-0004Sx-7K for submit@debbugs.gnu.org; Wed, 28 Sep 2022 17:07:51 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:42500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeHU-0004Sd-Ag for 58152@debbugs.gnu.org; Wed, 28 Sep 2022 17:07:49 -0400 Received: by mail-qt1-f170.google.com with SMTP id w2so8741268qtv.9 for <58152@debbugs.gnu.org>; Wed, 28 Sep 2022 14:07:48 -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=iwZdyCmKH6+EsFsvv91E8dJzgAWgu7z06OUgyC5ERfg=; b=lBhZY6Rr7OzKpUFA5XMLKFAqAVgcgzbiQSaF4IBnUneRcS+pP7h3JwhdK6wrpfTFXN XbaiAS3em0GGLxSLn0o1GvhLXtU+b2tavWpmSEWGVz7ldWleiIMmVrfgX4daAMcu7n8L W5/q1as+BErZz4tEkP/nsZBWeL2YMJy3SE/9a+MhH3R2cUQvh4WFLNfw2tb2J3OC5aBU eVZ5rI2OM/VCN8slivAFdy3/7n2VavP0CaznnSpY5wOIK52GdxMmiGHsZDWJFkf0wwKJ xjHaWyp8Hc+zhXt2bSWQzCAxWAtkvk8n4USbk2JtkTuHtepr/doGGHXsU0WI3w9ETxBQ OJlA== 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=iwZdyCmKH6+EsFsvv91E8dJzgAWgu7z06OUgyC5ERfg=; b=oIiefNAce1/H+3XcQTR3rRMu+84UmQVGHvrw4NwxqXtDQcbeenmZLE1e+wMUNtpJeo VO7ZnTcBY3Wxut8pHT4KMpIONC9wqNkalFkLSjp68SgSbVgeeQlMuimBApsazk5aHvX+ kFjW3JS0OYf9fxbwWzXw7xI78yv2lqDom8izAjq83TlAygjblMwQjgdecGHyUrZNgaJg KdIOdfAu6ej+2dwaJfjtSPxyvxH6f3RkbUgk4KBIxTyqKudUK8OOUEwn/uBUATFzPIEg rLZLzY1pRYIgQjf6at1CSUZgY27r/+JuWphbSzrR6LXwQzb7dpRKLR9odygUl2Qm+QnZ lIHA== X-Gm-Message-State: ACrzQf1R8zlYgazL/3QQ0OC+EUF4JUklNEIyr4E0uv79e9p8yBVPJ4GR V3l9me0pWHURkzC3f31lzC2WVIjA9hNrHYxhC6gGnIq/ X-Google-Smtp-Source: AMsMyM5Hf0x0YnZeigb10YVtn1FquNukR63IzNj3EfvM4XkNSDqVlaFAz8zvQCKpfjT38UYVg1F0ujsb6RxaMaVkUtA= X-Received: by 2002:a05:622a:587:b0:35d:5123:17d9 with SMTP id c7-20020a05622a058700b0035d512317d9mr7666362qtb.230.1664399262827; Wed, 28 Sep 2022 14:07:42 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 22:07:31 +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 d9e4033f1fb9c9944c3c1e97aa1e19396b2cb1e3 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 21:20:05 +0100 Subject: [PATCH 1/5] gnu: Move libqb to high-availability * gnu/packages/hardware.scm (libqb): Move to high-availability.scm. * gnu/packages/high-availability.scm: New file. * gnu/local.mk: Add high-availability.scm to GNU_SYSTEM_MODULES list. --- gnu/local.mk | 1 + gnu/packages/hardware.scm | 27 ---------- gnu/packages/high-availability.scm | 80 ++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 27 deletions(-) create mode 100644 gnu/packages/high-availability.scm diff --git a/gnu/local.mk b/gnu/local.mk index 0134fb53d8..373b6bc398 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -309,6 +309,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/haxe.scm \ %D%/packages/heads.scm \ %D%/packages/hexedit.scm \ + %D%/packages/high-availability.scm \ %D%/packages/hugs.scm \ %D%/packages/hunspell.scm \ %D%/packages/hurd.scm \ diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index d47be7a55d..41c38746c5 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1117,33 +1117,6 @@ (define-public rkdeveloptool as the Pinebook Pro.") (license license:gpl2+)))) -(define-public libqb - (package - (name "libqb") - ;; NOTE: We are using a Release Candidate version (for 2.0) here because - ;; of the linker issues with the previous release. - (version "1.9.1") - (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/ClusterLabs/libqb/releases/download/v" - version "/libqb-" version ".tar.xz")) - (sha256 - (base32 - "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn")))) - (build-system gnu-build-system) - (native-inputs - (list pkg-config libxml2)) - (home-page "https://clusterlabs.github.io/libqb/") - (synopsis "Library providing high performance logging, tracing, ipc, and poll") - (description "Libqb is a library with the primary purpose of providing -high-performance, reusable features for client-server architecture, such as -logging, tracing, inter-process communication (IPC), and polling. Libqb is -not intended to be an all-encompassing library, but instead provide focused -APIs that are highly tuned for maximum performance for client-server -applications.") - (license license:lgpl2.1))) - (define-public usbguard (package (name "usbguard") diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm new file mode 100644 index 0000000000..1a8c348020 --- /dev/null +++ b/gnu/packages/high-availability.scm @@ -0,0 +1,80 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2022 Sharlatan Hellseher +;;; +;;; This file is part of GNU Guix. +;;; +;;; This program is free software: you can redistribute it and/or modify +;;; it under the terms of the GNU General Public License as published by +;;; the Free Software Foundation, either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; This program is distributed in the hope that it will be useful, +;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with this program. If not, see . + +;;; Commentary: + +;; This module provides package definitions related for High Availability (HA) +;; software, which come as foundation to create clusterization and load +;; balancing of services. + +;;; Code: + +(define-module (gnu packages high-availability) + #:use-module (gnu packages autotools) + #:use-module (gnu packages check) + #:use-module (gnu packages compression) + #:use-module (gnu packages documentation) + #:use-module (gnu packages gcc) + #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) + #:use-module (gnu packages hardware) + #:use-module (gnu packages linux) + #:use-module (gnu packages networking) + #:use-module (gnu packages nss) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages rsync) + #:use-module (gnu packages tls) + #:use-module (gnu packages valgrind) + #:use-module (gnu packages version-control) + #:use-module (gnu packages xml) + #:use-module (gnu packages) + #:use-module (guix build-system gnu) + #:use-module (guix gexp) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module ((guix licenses) + #:prefix license:)) + +(define-public libqb + (package + (name "libqb") + ;; NOTE: We are using a Release Candidate version (for 2.0) here because + ;; of the linker issues with the previous release. + (version "1.9.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ClusterLabs/libqb/releases/download/v" + version "/libqb-" version ".tar.xz")) + (sha256 + (base32 + "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn")))) + (build-system gnu-build-system) + (native-inputs + (list pkg-config libxml2)) + (home-page "https://clusterlabs.github.io/libqb/") + (synopsis "Library providing high performance logging, tracing, ipc, and poll") + (description "Libqb is a library with the primary purpose of providing +high-performance, reusable features for client-server architecture, such as +logging, tracing, inter-process communication (IPC), and polling. Libqb is +not intended to be an all-encompassing library, but instead provide focused +APIs that are highly tuned for maximum performance for client-server +applications.") + (license license:lgpl2.1))) -- 2.37.3 From patchwork Wed Sep 28 21:08:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 43029 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 64B7827BBEA; Wed, 28 Sep 2022 22:18:42 +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 DA7F127BBE9 for ; Wed, 28 Sep 2022 22:18:41 +0100 (BST) Received: from localhost ([::1]:33200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odeS0-0005bI-Q2 for patchwork@mira.cbaines.net; Wed, 28 Sep 2022 17:18:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odeIm-0004JM-M7 for guix-patches@gnu.org; Wed, 28 Sep 2022 17:09:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odeIg-0004oT-8H for guix-patches@gnu.org; Wed, 28 Sep 2022 17:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odeIg-0004V3-2w for guix-patches@gnu.org; Wed, 28 Sep 2022 17:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58152] [PATCH 2/5]: gnu: libqb: Update to 2.0.6 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:09: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.166439931117257 (code B ref 58152); Wed, 28 Sep 2022 21:09:02 +0000 Received: (at 58152) by debbugs.gnu.org; 28 Sep 2022 21:08:31 +0000 Received: from localhost ([127.0.0.1]:34964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeIA-0004UH-RR for submit@debbugs.gnu.org; Wed, 28 Sep 2022 17:08:31 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]:38490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeI9-0004U4-QC for 58152@debbugs.gnu.org; Wed, 28 Sep 2022 17:08:30 -0400 Received: by mail-qk1-f169.google.com with SMTP id 3so8681220qka.5 for <58152@debbugs.gnu.org>; Wed, 28 Sep 2022 14:08:29 -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=vVuQDHK0FkrHabhG1HYO1VFCjIwRpC7/rYDv1ZrKprA=; b=MBFu55RP+jt9W2LFGr4GJrSefqPNlkdhr6YJoi4knqaPgXncbLoiZufHtAW4RPQriW +xHa/EibB7wDuTso7GSpB97Oeay0vEQo8dSSxjZ0X9DE+bu6Bb/BL3UTyJstavbAzjZE OxWaRWwWKiH8d+Xmz1xSpXYkUlKkBVHrEpoydYOoXinEjJu61jzw5/yYWZd9FGYZ0BaP l1Obb5jdQitHK/b5MOb02GouDFaapEHsFsHuOYx30jvETzi2QJsMei5mpoNxpspkjVhC TVxDGWDTBuLLrbYf/ncAdkzX5PHUjEEtK2B6/fVO6Za4P5OdO7YE+zNAoZzIoujsbgF6 379Q== 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=vVuQDHK0FkrHabhG1HYO1VFCjIwRpC7/rYDv1ZrKprA=; b=1fcUcaXCt+Saz9IWj36fdvkQ5zQEnbcEzaxi2WnfCwW3paUa+1KY26AXpDiFy1DTa0 FmICZk2U2Sk1bZ+iYBeSPNCodxwgIVJpAqDtSqz7kGFi6gE2aQ1nbCveQCDyVXCd04Ze HirbU+rkQ4F/a2UaBXYlxbefy/LBQROKhMb14EwQW+mWKpXcHphhG1uoNJPPBtk1UT7Z rZZIclUtwaE0aAKtmy1lnF15zUtlyWXLBKu57B01E/0fyB5WTgNwrTA/Ja0nqR7E8+b2 PAl4uq7DIsaSzHGzbS4atzUsRXW264jeLLZolySCHXwrzV7/QxwcEMKGSX02okfyCVMI M0vw== X-Gm-Message-State: ACrzQf3qO1UTE+E+LdFlSqQ9yCOjUxPmtbQtUg+5JC9Ayz00wBqwK/2o 3SyRjmaJt7MyVqNwwLDLwZ2CMxRu3W8pTslqzV/IJ9iv X-Google-Smtp-Source: AMsMyM4eL/JIuV3nk0tybFbu6PFRtTA1Qe7DXQ/2FXixJMGX576b4Qpc60meCZ/psfK/H0paySjHPNbNZkrF0mZxQ1w= X-Received: by 2002:a37:503:0:b0:6ce:8a8e:7625 with SMTP id 3-20020a370503000000b006ce8a8e7625mr19307qkf.288.1664399304325; Wed, 28 Sep 2022 14:08:24 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 22:08:13 +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 c869314cf7fe6c7c916b1fa995ace8f90c0ea0b6 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 21:26:44 +0100 Subject: [PATCH 2/5] gnu: libqb: Update to 2.0.6 * gnu/packages/high-availability.scm (libqb): Update to 2.0.6. Run `guix style' over the package. [native-inputs]: Add autoconf, automake, libtools to fix configure and build phases. --- gnu/packages/high-availability.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index 1a8c348020..46247c4e13 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm @@ -55,9 +55,7 @@ (define-module (gnu packages high-availability) (define-public libqb (package (name "libqb") - ;; NOTE: We are using a Release Candidate version (for 2.0) here because - ;; of the linker issues with the previous release. - (version "1.9.1") + (version "2.0.6") (source (origin (method url-fetch) (uri (string-append @@ -65,13 +63,14 @@ (define-public libqb version "/libqb-" version ".tar.xz")) (sha256 (base32 - "008vvw504kh40br5v2xkqavnp9vpmjvf768faqzv1d00fd53ingn")))) + "071k916vz9ppyb69rpk792fzjs3nf3chakn10i496scgiqh49rzi")))) (build-system gnu-build-system) - (native-inputs - (list pkg-config libxml2)) + (native-inputs (list autoconf automake libtool libxml2 pkg-config)) (home-page "https://clusterlabs.github.io/libqb/") - (synopsis "Library providing high performance logging, tracing, ipc, and poll") - (description "Libqb is a library with the primary purpose of providing + (synopsis + "Library providing high performance logging, tracing, ipc, and poll") + (description + "Libqb is a library with the primary purpose of providing high-performance, reusable features for client-server architecture, such as logging, tracing, inter-process communication (IPC), and polling. Libqb is not intended to be an all-encompassing library, but instead provide focused -- 2.37.3 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 From patchwork Wed Sep 28 21:09:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 43032 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 D2D6127BBEA; Wed, 28 Sep 2022 22:29:13 +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 B3BD027BBE9 for ; Wed, 28 Sep 2022 22:29:12 +0100 (BST) Received: from localhost ([::1]:43392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odecB-0001Ml-FU for patchwork@mira.cbaines.net; Wed, 28 Sep 2022 17:29:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odeJf-00054U-Gq for guix-patches@gnu.org; Wed, 28 Sep 2022 17:10:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odeJf-000532-8P for guix-patches@gnu.org; Wed, 28 Sep 2022 17:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odeJf-0004XC-3d for guix-patches@gnu.org; Wed, 28 Sep 2022 17:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58152] [PATCH 4/5]: gnu: Add corosync 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:03 +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.166439939517400 (code B ref 58152); Wed, 28 Sep 2022 21:10:03 +0000 Received: (at 58152) by debbugs.gnu.org; 28 Sep 2022 21:09:55 +0000 Received: from localhost ([127.0.0.1]:34973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeJW-0004Wa-Rt for submit@debbugs.gnu.org; Wed, 28 Sep 2022 17:09:55 -0400 Received: from mail-qv1-f41.google.com ([209.85.219.41]:46910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeJU-0004WN-Su for 58152@debbugs.gnu.org; Wed, 28 Sep 2022 17:09:53 -0400 Received: by mail-qv1-f41.google.com with SMTP id j8so8889173qvt.13 for <58152@debbugs.gnu.org>; Wed, 28 Sep 2022 14:09:52 -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=FNmPFIx7MAM8a599pRWNhebKX7i1xIX3uPXtCd5FA7M=; b=Ue2XCi54+Ra3zSjCpGNw+NdSLkK2b9pTN83Y2KBe7bhkzAbU/dZoJ/4lKOrBwCwAAV QKxGXDaNl2VOb3FfajV64tXUNlqzm2GbxcIwqiwLqgQsgIIqkT1pBZP2Q1E5yJzUasef PNtlWtVuiIrgKe18u/leG2gKnjaA9lE3yrLLd6fFA9YISHNh3lr+Lsv1oNtqeS1mpWAV QgiMOTKM4AJAaeXgWe8stLaPBDxornepKRGBn2E4tXm3YS5/K/nfy0+R0OTEz5O6gwHa fKt9m/iYHvVzlGJZxYFZ8odmjkIxvQFh8Vb0Nq/NYVurQheEXZu9xwhhoCqAgq+69BuG px6g== 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=FNmPFIx7MAM8a599pRWNhebKX7i1xIX3uPXtCd5FA7M=; b=Nhf2O8nvpSoCOQxXLCOo67XgD79O6D32A54Bkur4wCJuxV3g2HHMwacVjH1idvenuV GYmXEb33rvnoB4hN0kB7MWbzSTwWAY3hzyapu8hJaVjOMs/yySlWih0JtHnNicahKagI 7gGzKUOV1tgSjOozqHbK7p+zTPvokD4bpugQYHHnxcHwB2LVNL/glIbApVmSYcUjrq1E BAkubhlwvWhRBfm0s70bAWfwdl+kOgVkxDS3X2a0OUOOgU8p5lfzFXyTDXmhft2ZTAl0 2lwLxPso0qvgV242WN6ApQGzkKArhoXU+T/oMn8PdALPc11FIOOBzWXih2TqDRMbu38i jDyQ== X-Gm-Message-State: ACrzQf2vnvw2Q7IF22lWhfQjFCPuK9IrUdU/iA54Y/ek2FtttNHuOvC1 8T6yeSDNWfMmBDBBqyp0VzrnxYzONZXKbU9v+FBMpSBc X-Google-Smtp-Source: AMsMyM5vdcnzs7QPHvPd7acz7pkKL5LKUFQkln/ZU+1kUF+GRk5LX0gvbRAAleom4OKrmLUrgFaKejNeheTC3ndritg= X-Received: by 2002:a0c:cc0b:0:b0:499:212:73cf with SMTP id r11-20020a0ccc0b000000b00499021273cfmr27554416qvk.99.1664399387478; Wed, 28 Sep 2022 14:09:47 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 22:09:36 +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 5b18749fc520bd4eb30c17b043402dd5c256061a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 21:43:31 +0100 Subject: [PATCH 4/5] gnu: Add corosync * gnu/packages/high-availability.scm (corosync): New variable. --- gnu/packages/high-availability.scm | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index 48c371a6db..488ac5a3b0 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm @@ -138,3 +138,51 @@ (define-public kronosnet 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+)))) + +(define-public corosync + (package + (name "corosync") + (version "3.1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/corosync/corosync") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "03g3qnm5acmk7jry6kspvkssbiv8k39749bic2f0cj3ckkwy2li4")))) + (build-system gnu-build-system) + (arguments + (list #: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 libtool pkg-config)) + (inputs (list kronosnet libqb)) + (home-page "https://corosync.github.io/corosync/") + (synopsis + "Group communication system for implementing High Availability in applications") + (description + "The Corosync Cluster Engine is a Group Communication System with additional +features for implementing high availability within applications. The project +provides four C Application Programming Interface features: + +@itemize + +@item A closed process group communication model with extended virtual synchrony +guarantees for creating replicated state machines. + +@item A simple availability manager that restarts the application process when +it has failed. + +@item A configuration and statistics in-memory database that provide the ability +to set, retrieve, and receive change notifications of information. + +@item A quorum system that notifies applications when quorum is achieved or +lost. + +@end itemize") + (license (list license:bsd-0 license:gpl3)))) -- 2.37.3 From patchwork Wed Sep 28 21:10:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 43034 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 812BF27BBEA; Wed, 28 Sep 2022 22:40:21 +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 022EF27BBE9 for ; Wed, 28 Sep 2022 22:40:21 +0100 (BST) Received: from localhost ([::1]:39604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odemy-00023M-5o for patchwork@mira.cbaines.net; Wed, 28 Sep 2022 17:40:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odeKc-0006RZ-2F for guix-patches@gnu.org; Wed, 28 Sep 2022 17:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odeKb-00058v-Oq for guix-patches@gnu.org; Wed, 28 Sep 2022 17:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odeKb-0004ZB-Hq for guix-patches@gnu.org; Wed, 28 Sep 2022 17:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58152] [PATCH 5/5]: gnu: Add pacemaker 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:11:01 +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.166439943117518 (code B ref 58152); Wed, 28 Sep 2022 21:11:01 +0000 Received: (at 58152) by debbugs.gnu.org; 28 Sep 2022 21:10:31 +0000 Received: from localhost ([127.0.0.1]:34980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeK7-0004YU-Aj for submit@debbugs.gnu.org; Wed, 28 Sep 2022 17:10:31 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:38624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odeK5-0004Y9-Ng for 58152@debbugs.gnu.org; Wed, 28 Sep 2022 17:10:30 -0400 Received: by mail-qk1-f170.google.com with SMTP id 3so8684125qka.5 for <58152@debbugs.gnu.org>; Wed, 28 Sep 2022 14:10:29 -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=ZAkLA+AQwwgX7SCWId6DXoq1UL6GfEv8Zzvb9mVgEwA=; b=lIRCSJnjxzfIRdg5h7eLK4JpwwRjiw3If2MzgxRxwF6tftS+nlU/IwL/BQluQ2lC++ 3yuzXca1Ek1A7tZNfiQEYEyt/ICnxxC6tH0kL5PQv4b5tL78kywQA/I62o+uNQHMiBVr aVcgPDMR3VCMPDGJUBqq/5gdz7+xjy1LnJGWNEedGyBigU0So2szgbpqwm5ofhWl318d R1eUn6xozHVCP8LpcWKcPMsKJoXP3160vOFq2PcMxC8Mx9vnXdgY5hHtcbJSAuK8MWTh KjUt0VqsFgnRNjMlJJAug5aSbTDDpge7MwikMUwINoMhMiooLPFFAdPAFrVFrpoagEDj Sv5g== 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=ZAkLA+AQwwgX7SCWId6DXoq1UL6GfEv8Zzvb9mVgEwA=; b=XLqBQUznXdSsvPTOG+itI8R5WFCve8QsN9wDvSWAUe377NzQ1Ssg6cLYgVte1WG5yb w77AOJ5gV7A4PhwH8mmVqIccLXYgoCxRfBrmwnXRTuB8DKlqQKZTRromOfmT7oJ1ZYuw NSDNXUHQeZ5Xttn7szaCkgr0OCd0+TcYkTw3gINRv4y7WRUTwkt0hPBU0VKkmD9RaujM sBY783MQ0ErDNyXc7xlDDLxOZvY0SpiQ8yiW7Ic3eM5cw01SQPOc7JfWNAUxP5bCYwxy E9Ch+y0z9EAvBF3z40cH7TvQRJvl3qITYGgdjR87wffXvzYjoG51iwjmZbX9vsC42JwJ OPaQ== X-Gm-Message-State: ACrzQf0vMcdT5UR+TwLD7uC005Vmln+lDdAnsbPe2dcI3jbn1NX0G2Nw QqXyeBBlG5ASB6te63AF0bDZUGelV1QscwhH0VRbBq3j X-Google-Smtp-Source: AMsMyM6yMf0RXlugzJbtnvSM6JfcevoKvf2QFh7OSkmrdXzy32eZLc9vJb+uLve1pIMj6YutIhYHQyPOAho5zAkZxZY= X-Received: by 2002:a05:620a:167a:b0:6cd:eec3:1785 with SMTP id d26-20020a05620a167a00b006cdeec31785mr22589842qko.211.1664399424393; Wed, 28 Sep 2022 14:10:24 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 22:10:13 +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 dfb3eaa8b6aa5a428e493008e8c293f47ef10b1f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 28 Sep 2022 21:49:20 +0100 Subject: [PATCH 5/5] gnu: Add pacemaker * gnu/pacemaker/high-availability.scm (pacemaker): New variable. --- gnu/packages/high-availability.scm | 54 ++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index 488ac5a3b0..f699dbad20 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm @@ -186,3 +186,57 @@ (define-public corosync @end itemize") (license (list license:bsd-0 license:gpl3)))) + +(define-public pacemaker + (package + (name "pacemaker") + (version "2.1.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ClusterLabs/pacemaker") + (commit (string-append "Pacemaker-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04gfd7i3w0zbzv7vi7728lgbyjq7cbqpr7jsp501piwg3z5j4mvb")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags #~(list "--with-corosync" + (string-append "--with-initdir=" + #$output "/etc/init.d") + (string-append "--with-ocfdir=" + #$output "/lib")))) + (native-inputs (list autoconf + automake + cmocka + gettext-minimal + libtool + pkg-config + rsync + util-linux + valgrind)) + (inputs (list dbus + corosync + glib + gnutls + libqb + libxml2 + libxslt + python + `(,util-linux "lib"))) + (home-page "https://www.clusterlabs.org/pacemaker/") + (synopsis "Scalable High-Availability cluster resource manager") + (description + "Pacemaker is a high-availability cluster resource manager. + +It achieves maximum availability for your cluster services (a.k.a. resources) by +detecting and recovering from node- and resource-level failures by making use of +the messaging and membership capabilities provided by Corosync. + +It can do this for clusters of practically any size and comes with a powerful +dependency model that allows the administrator to accurately express the +relationships (both ordering and location) between the cluster resources. + +Virtually anything that can be scripted can be managed as part of a Pacemaker cluster.") + (license (list license:cc-by4.0 license:gpl2+ license:lgpl2.1+)))) -- 2.37.3