From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/raft/
Date: Wed, 18 Oct 2023 16:39:29 +0000 (UTC) [thread overview]
Message-ID: <1697647166.52cc74d381d9f73203673290b1d36c73a11ed666.juippis@gentoo> (raw)
commit: 52cc74d381d9f73203673290b1d36c73a11ed666
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 16:37:18 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 16:39:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52cc74d3
dev-libs/raft: add 0.18.1
- switch upstream away from Canonical. This is a 100 % compatible change for
now at least, but our main focus will be incus in the long run so it makes
sense to follow the community-maintained libraries as well. See bgo#915960
for details.
Closes: https://bugs.gentoo.org/915960
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/raft/Manifest | 1 +
dev-libs/raft/metadata.xml | 2 +-
dev-libs/raft/raft-0.18.1.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 57 insertions(+), 1 deletion(-)
diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest
index fc9b6fd7c5b3..f40d74a80036 100644
--- a/dev-libs/raft/Manifest
+++ b/dev-libs/raft/Manifest
@@ -1,2 +1,3 @@
DIST raft-0.17.1.tar.gz 354331 BLAKE2B d1be3eb4139422dab8126879d2ba0782e8635a60ce9752f4389f79dd2238021d9679d3b5f799c9627921c954a4395cdff139ff41f8145ebc43190f2c4aa3e5a7 SHA512 20e2b4a144a597b77bcb31e8b22355725142b14fb50e20b33509e7b0dd10aa20d08501b66e836c659e9aa492184db71ea9e53a45fe4b908b1464eb94431154db
DIST raft-0.18.0.tar.gz 365558 BLAKE2B 57fc8c144a45eb101f53c8dd3a1eb896c733b7c5c369300852bea1474b8178b46c943c29e81107758bfa527d8fc1a9c80c4ca1bfc599dfc5ace090a18c693f11 SHA512 c6ab125a4841c5241310ea9785bb6ae3860c0a2ff39487499c2caa0b387729f7f7e54fa0de3aad3a99bdf5ec7d4a12c68a69244c6d8b8dcdf846c1cdfeb11b3b
+DIST raft-0.18.1.tar.gz 334308 BLAKE2B 6518914435129573fe03368bb653b42bb6424cfe6d96ea47164bb77c62ab229dcc977c59ad8004d269d7a44fdfec3a852b4dc0309129ccff7fcfc1fe425806f9 SHA512 73f8a7eb4d38e02ec888bc1062a8b8c419b17f87a09d9bdffac5c015077a42c28d92c285571a5c49d2a1d8ddd6b972469a7baa0f19a839faf6c17a02968f805a
diff --git a/dev-libs/raft/metadata.xml b/dev-libs/raft/metadata.xml
index fc7c392c0349..94076382bb1e 100644
--- a/dev-libs/raft/metadata.xml
+++ b/dev-libs/raft/metadata.xml
@@ -20,6 +20,6 @@
snapshots).
</longdescription>
<upstream>
- <remote-id type="github">canonical/raft</remote-id>
+ <remote-id type="github">cowsql/raft</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-libs/raft/raft-0.18.1.ebuild b/dev-libs/raft/raft-0.18.1.ebuild
new file mode 100644
index 000000000000..d6bad82ee93e
--- /dev/null
+++ b/dev-libs/raft/raft-0.18.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="C implementation of the Raft consensus protocol"
+HOMEPAGE="https://github.com/cowsql/raft"
+SRC_URI="https://github.com/cowsql/raft/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0/0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="lz4 test zfs"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/libuv:=
+ lz4? ( app-arch/lz4:= )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/raft-0.10.0-toggle-zfs.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-uv
+
+ --disable-backtrace
+ --disable-benchmark
+ --disable-debug
+ --disable-example
+ --disable-sanitize
+ --disable-static
+
+ $(use_enable test fixture)
+
+ $(use_with lz4)
+ $(use_with zfs)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
next reply other threads:[~2023-10-18 16:39 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 16:39 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-01 8:37 [gentoo-commits] repo/gentoo:master commit in: dev-libs/raft/ Joonas Niilola
2024-05-05 6:28 Joonas Niilola
2024-04-01 6:47 Joonas Niilola
2024-04-01 6:47 Joonas Niilola
2024-03-18 5:50 Joonas Niilola
2024-02-10 7:39 Joonas Niilola
2024-02-10 7:39 Joonas Niilola
2024-02-06 15:01 Joonas Niilola
2024-02-03 8:17 Joonas Niilola
2024-01-28 7:17 Joonas Niilola
2024-01-20 14:05 Joonas Niilola
2024-01-06 9:56 Joonas Niilola
2024-01-06 9:32 Joonas Niilola
2023-12-16 7:22 Joonas Niilola
2023-12-16 7:22 Joonas Niilola
2023-11-16 8:19 Joonas Niilola
2023-11-09 6:32 Joonas Niilola
2023-11-01 13:17 Joonas Niilola
2023-10-23 5:55 Joonas Niilola
2023-10-18 16:46 Joonas Niilola
2023-09-22 6:09 Joonas Niilola
2023-02-22 7:14 Joonas Niilola
2023-02-20 8:06 Joonas Niilola
2023-01-19 15:10 Joonas Niilola
2023-01-09 12:51 Joonas Niilola
2023-01-04 13:51 Joonas Niilola
2023-01-04 13:51 Joonas Niilola
2022-11-19 7:30 Joonas Niilola
2022-10-10 12:20 Joonas Niilola
2022-09-24 13:57 Joonas Niilola
2022-08-24 7:02 Joonas Niilola
2022-08-24 7:02 Joonas Niilola
2022-07-30 7:05 Joonas Niilola
2022-06-28 7:14 Joonas Niilola
2022-05-16 14:26 Joonas Niilola
2022-04-14 11:51 Joonas Niilola
2022-04-09 12:20 Joonas Niilola
2022-03-20 6:22 Joonas Niilola
2022-02-16 6:59 Joonas Niilola
2021-10-04 5:40 Joonas Niilola
2021-09-10 5:42 Joonas Niilola
2021-09-09 11:30 Joonas Niilola
2021-09-09 11:30 Joonas Niilola
2021-08-09 14:26 Joonas Niilola
2021-07-19 11:15 Joonas Niilola
2021-07-10 14:45 Joonas Niilola
2021-06-08 5:26 Joonas Niilola
2021-06-08 5:26 Joonas Niilola
2021-06-03 5:02 Joonas Niilola
2021-06-01 8:43 Joonas Niilola
2021-06-01 8:43 Joonas Niilola
2021-04-30 7:01 Joonas Niilola
2021-04-28 5:57 Joonas Niilola
2021-04-23 5:55 Joonas Niilola
2020-12-09 8:04 Joonas Niilola
2020-11-15 14:59 Luca Barbato
2020-10-23 9:25 David Seifert
2020-10-23 8:06 Joonas Niilola
2020-10-23 7: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=1697647166.52cc74d381d9f73203673290b1d36c73a11ed666.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