public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/raft/
Date: Fri, 23 Oct 2020 07:37:02 +0000 (UTC)	[thread overview]
Message-ID: <1603438613.652e2b134c419aae993915caf26cd7d8e27d5250.juippis@gentoo> (raw)

commit:     652e2b134c419aae993915caf26cd7d8e27d5250
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 23 05:57:39 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 23 07:36:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652e2b13

dev-libs/raft: new package

 - C implementation of the Raft consensus protocol,
 - dep of lxd.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/raft/Manifest           |  1 +
 dev-libs/raft/metadata.xml       | 19 +++++++++++++++++
 dev-libs/raft/raft-0.9.25.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 64 insertions(+)

diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest
new file mode 100644
index 00000000000..244ae96fe1f
--- /dev/null
+++ b/dev-libs/raft/Manifest
@@ -0,0 +1 @@
+DIST raft-0.9.25.tar.gz 313444 BLAKE2B a2a15287cef28b03b012ea372d83e7d0b70bc561f5996eb36fb5ef898261188ee8dfef1aa1619333ada2c8f20a37aa1af3f68a1d97c11919d521544c89629e55 SHA512 8709a909c527b7062072165356dcc012cf7af6cf85e3a3be515220ea4a863637dd06e7c4376af4284006bce65034002d1639ca52ac1ce108be2efa0725a82b70

diff --git a/dev-libs/raft/metadata.xml b/dev-libs/raft/metadata.xml
new file mode 100644
index 00000000000..c96395f9024
--- /dev/null
+++ b/dev-libs/raft/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>juippis@gentoo.org</email>
+    <name>Joonas Niilola</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>virtualization@gentoo.org</email>
+    <name>Gentoo Virtualization Project</name>
+  </maintainer>
+  <longdescription>
+    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).
+  </longdescription>
+</pkgmetadata>

diff --git a/dev-libs/raft/raft-0.9.25.ebuild b/dev-libs/raft/raft-0.9.25.ebuild
new file mode 100644
index 00000000000..7bf600d3ba3
--- /dev/null
+++ b/dev-libs/raft/raft-0.9.25.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="C implementation of the Raft consensus protocol"
+HOMEPAGE="https://github.com/canonical/raft"
+SRC_URI="https://github.com/canonical/raft/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/libuv"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+
+	# ACCESS DENIED issue, #723208
+	sed -i 's#zfs version 2>/dev/null | cut -f 2 -d - | head -1#< /sys/module/zfs/version cut -f 1#' configure.ac || die
+
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--enable-uv
+
+		--disable-benchmark
+		--disable-debug
+		--disable-example
+		--disable-sanitize
+
+		$(use_enable test fixture)
+	)
+
+	econf "${myeconfargs[@]}"
+}


             reply	other threads:[~2020-10-23  7:37 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-23  7:37 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-23  8:06 [gentoo-commits] repo/gentoo:master commit in: dev-libs/raft/ Joonas Niilola
2020-10-23  9:25 David Seifert
2020-11-15 14:59 Luca Barbato
2020-12-09  8:04 Joonas Niilola
2021-04-23  5:55 Joonas Niilola
2021-04-28  5:57 Joonas Niilola
2021-04-30  7:01 Joonas Niilola
2021-06-01  8:43 Joonas Niilola
2021-06-01  8:43 Joonas Niilola
2021-06-03  5:02 Joonas Niilola
2021-06-08  5:26 Joonas Niilola
2021-06-08  5:26 Joonas Niilola
2021-07-10 14:45 Joonas Niilola
2021-07-19 11:15 Joonas Niilola
2021-08-09 14:26 Joonas Niilola
2021-09-09 11:30 Joonas Niilola
2021-09-09 11:30 Joonas Niilola
2021-09-10  5:42 Joonas Niilola
2021-10-04  5:40 Joonas Niilola
2022-02-16  6:59 Joonas Niilola
2022-03-20  6:22 Joonas Niilola
2022-04-09 12:20 Joonas Niilola
2022-04-14 11:51 Joonas Niilola
2022-05-16 14:26 Joonas Niilola
2022-06-28  7:14 Joonas Niilola
2022-07-30  7:05 Joonas Niilola
2022-08-24  7:02 Joonas Niilola
2022-08-24  7:02 Joonas Niilola
2022-09-24 13:57 Joonas Niilola
2022-10-10 12:20 Joonas Niilola
2022-11-19  7:30 Joonas Niilola
2023-01-04 13:51 Joonas Niilola
2023-01-04 13:51 Joonas Niilola
2023-01-09 12:51 Joonas Niilola
2023-01-19 15:10 Joonas Niilola
2023-02-20  8:06 Joonas Niilola
2023-02-22  7:14 Joonas Niilola
2023-09-22  6:09 Joonas Niilola
2023-10-18 16:39 Joonas Niilola
2023-10-18 16:46 Joonas Niilola
2023-10-23  5:55 Joonas Niilola
2023-11-01 13:17 Joonas Niilola
2023-11-09  6:32 Joonas Niilola
2023-11-16  8:19 Joonas Niilola
2023-12-16  7:22 Joonas Niilola
2023-12-16  7:22 Joonas Niilola
2024-01-06  9:32 Joonas Niilola
2024-01-06  9:56 Joonas Niilola
2024-01-20 14:05 Joonas Niilola
2024-01-28  7:17 Joonas Niilola
2024-02-03  8:17 Joonas Niilola
2024-02-06 15:01 Joonas Niilola
2024-02-10  7:39 Joonas Niilola
2024-02-10  7:39 Joonas Niilola
2024-03-18  5:50 Joonas Niilola
2024-04-01  6:47 Joonas Niilola
2024-04-01  6:47 Joonas Niilola
2024-05-05  6:28 Joonas Niilola
2024-06-01  8:37 Joonas Niilola

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=1603438613.652e2b134c419aae993915caf26cd7d8e27d5250.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox