From unknown Sat Jul 26 21:31:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37307 <37307@debbugs.gnu.org> To: bug#37307 <37307@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add libraft Reply-To: bug#37307 <37307@debbugs.gnu.org> Date: Sun, 27 Jul 2025 04:31:02 +0000 retitle 37307 [PATCH] gnu: Add libraft reassign 37307 guix-patches submitter 37307 Andrew Miloradovsky severity 37307 normal tag 37307 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 05 05:31:48 2019 Received: (at submit) by debbugs.gnu.org; 5 Sep 2019 09:31:48 +0000 Received: from localhost ([127.0.0.1]:34832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5o7I-0002TJ-1g for submit@debbugs.gnu.org; Thu, 05 Sep 2019 05:31:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:44705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5o7G-0002TC-MO for submit@debbugs.gnu.org; Thu, 05 Sep 2019 05:31:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46100) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5o7D-0006Gs-VY for guix-patches@gnu.org; Thu, 05 Sep 2019 05:31:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5o7B-0001Os-BK for guix-patches@gnu.org; Thu, 05 Sep 2019 05:31:43 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:37345) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5o7B-0001O0-5c for guix-patches@gnu.org; Thu, 05 Sep 2019 05:31:41 -0400 X-Originating-IP: 195.209.34.147 Received: from localhost.localdomain (unknown [195.209.34.147]) (Authenticated sender: andrew@interpretmath.pw) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id DF16BFF802; Thu, 5 Sep 2019 09:31:37 +0000 (UTC) From: Andrew Miloradovsky To: guix-patches@gnu.org Subject: [PATCH] gnu: Add libraft Date: Thu, 5 Sep 2019 12:30:44 +0300 Message-Id: <20190905093044.28901-1-andrew@interpretmath.pw> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.199 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Andrew Miloradovsky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * gnu/packages/cluster.scm (libraft): New variable. --- gnu/packages/cluster.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/cluster.scm b/gnu/packages/cluster.scm index 3608d67bed..43fd472dc3 100644 --- a/gnu/packages/cluster.scm +++ b/gnu/packages/cluster.scm @@ -22,6 +22,8 @@ #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module (guix packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages gettext) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages sphinx) @@ -79,3 +81,34 @@ Server (@dfn{IPVS}) kernel module. High availability is achieved by the Virtual Redundancy Routing Protocol (@dfn{VRRP}). Each Keepalived framework can be used independently or together to provide resilient infrastructures.") (license license:gpl2+))) + +(define-public libraft + (package + (name "libraft") + (version "0.9.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/canonical/raft/archive/v" + version ".tar.gz")) + (sha256 + (base32 + "0zd8nnmsszvsrwvybcg783y705z4xik9pi0mb6gb6ii58qq2b3hz")))) + (arguments '(#:configure-flags '("--disable-uv"))) + ;; The uv plugin tests fail, if libuv (or the example) is enabled, + ;; because setting up the environment requires too much privileges. + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gettext-minimal) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (build-system gnu-build-system) + (home-page "https://github.com/canonical/raft") + (synopsis "C implementation of the Raft consensus protocol") + (description "The library has modular design: its core part implements only +the core Raft algorithm logic, in a fully platform independent way. On top of +that, a pluggable interface defines the I/O implementation for networking +(send/receive RPC messages) and disk persistence (store log entries and +snapshots).") + (license license:asl2.0))) -- 2.23.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 08 08:20:54 2019 Received: (at 37307-done) by debbugs.gnu.org; 8 Sep 2019 12:20:54 +0000 Received: from localhost ([127.0.0.1]:38485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6wBa-0003Ci-B4 for submit@debbugs.gnu.org; Sun, 08 Sep 2019 08:20:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i6wBY-0003CW-QK for 37307-done@debbugs.gnu.org; Sun, 08 Sep 2019 08:20:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i6wBT-0001cz-0r; Sun, 08 Sep 2019 08:20:47 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44264 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i6wBS-0004wf-Gt; Sun, 08 Sep 2019 08:20:46 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andrew Miloradovsky Subject: Re: [bug#37307] [PATCH] gnu: Add libraft References: <20190905093044.28901-1-andrew@interpretmath.pw> Date: Sun, 08 Sep 2019 14:20:44 +0200 In-Reply-To: <20190905093044.28901-1-andrew@interpretmath.pw> (Andrew Miloradovsky's message of "Thu, 5 Sep 2019 12:30:44 +0300") Message-ID: <87r24r9dyb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37307-done Cc: 37307-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Andrew, Andrew Miloradovsky skribis: > * gnu/packages/cluster.scm (libraft): New variable. I added a copyright line for you and committed. In a followup commit, I changed the source to use =E2=80=98git-fetch=E2=80= =99, as reported by the =E2=80=98guix lint=E2=80=99 warning about =E2=80=9Cautogene= rated source tarballs=E2=80=9D. Thank you, Ludo=E2=80=99. From unknown Sat Jul 26 21:31:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 07 Oct 2019 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator