From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 58152@debbugs.gnu.org
Subject: [bug#58152] [PATCH 4/5]: gnu: Add corosync
Date: Wed, 28 Sep 2022 22:09:36 +0100 [thread overview]
Message-ID: <CAO+9K5rRehmOUkHfS-CpGfiXoN=FhgE7n34SMXcAKo9K9GuFkg@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5qfLh4ZyWzaeTou8gco2LOfaxptHdskkGiFrDwy4d4vew@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
--
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
[-- Attachment #2: 0004-gnu-Add-corosync.patch --]
[-- Type: text/x-patch, Size: 2768 bytes --]
From 5b18749fc520bd4eb30c17b043402dd5c256061a Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
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
next prev parent reply other threads:[~2022-09-28 21:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 21:05 [bug#58152] [PATCH 0/5]: gnu Add pacemaker Sharlatan Hellseher
2022-09-28 21:07 ` [bug#58152] [PATCH 1/5]: Move libqb to high-availability Sharlatan Hellseher
2022-09-28 21:08 ` [bug#58152] [PATCH 2/5]: gnu: libqb: Update to 2.0.6 Sharlatan Hellseher
2022-09-28 21:08 ` [bug#58152] [PATCH 3/5]: gnu: Add kronosnet Sharlatan Hellseher
2022-10-10 9:04 ` [bug#58152] [PATCH 0/5]: gnu Add pacemaker Ludovic Courtès
2022-09-28 21:09 ` Sharlatan Hellseher [this message]
2022-10-10 9:06 ` Ludovic Courtès
2022-09-28 21:10 ` [bug#58152] [PATCH 5/5]: gnu: " Sharlatan Hellseher
2022-10-10 9:23 ` bug#58152: [PATCH 0/5]: gnu " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO+9K5rRehmOUkHfS-CpGfiXoN=FhgE7n34SMXcAKo9K9GuFkg@mail.gmail.com' \
--to=sharlatanus@gmail.com \
--cc=58152@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.