From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B066E15815E for ; Sat, 10 Feb 2024 07:39:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F6F8E2A44; Sat, 10 Feb 2024 07:39:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F8CFE2A44 for ; Sat, 10 Feb 2024 07:39:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88122343174 for ; Sat, 10 Feb 2024 07:39:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E372B118C for ; Sat, 10 Feb 2024 07:39:29 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1707550767.4a1dd2dc7081fd210a50f66b990b10974e7a213a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/raft/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/raft/Manifest dev-libs/raft/raft-0.22.0.ebuild X-VCS-Directories: dev-libs/raft/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 4a1dd2dc7081fd210a50f66b990b10974e7a213a X-VCS-Branch: master Date: Sat, 10 Feb 2024 07:39:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 215c277d-38f6-4059-8f38-2c7685c4303e X-Archives-Hash: 2fa385d1f4433631b269a58852802470 commit: 4a1dd2dc7081fd210a50f66b990b10974e7a213a Author: Joonas Niilola gentoo org> AuthorDate: Sat Feb 10 07:38:15 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Feb 10 07:39:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1dd2dc dev-libs/raft: add 0.22.0 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/raft/Manifest | 1 + dev-libs/raft/raft-0.22.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest index 8ae1fad6294d..25ddffdacd4a 100644 --- a/dev-libs/raft/Manifest +++ b/dev-libs/raft/Manifest @@ -2,3 +2,4 @@ DIST raft-0.18.3.tar.gz 335916 BLAKE2B f8dbf5f5ae89645a2d99e8b4b8c80560f64226deb DIST raft-0.19.1.tar.gz 354736 BLAKE2B cfdb9a1948311debe99b56e0f9c1f19fb858248ab1138648e26a21d965cc488aea504711415ff569d2e80a15414a1f15ca9b34ff9b3de62b03580755cefe30b3 SHA512 4990dca1f61dcda82acaf043a5b81dd9a3b92a0f3e0be9b2c339d764be338220f2fab31ed8bae535153b1d81c86364d447774b52da2c8b90c5daa7b8718d7ae2 DIST raft-0.20.0.tar.gz 360152 BLAKE2B 7eb109b483a298a60c5ea46b1df55a611cb5c40b7b7d14c29d615384ac0b8dd582a521e8da1a616cfe312f675980be55669c77a7d070dabbf1f20a99970097a6 SHA512 d29fd1e610c7e668a0ca25f60a5644b807a24c642993a3e0b54593f9f640a719bb38a6b45f72ded7fbd332817a1137e2d08bdcc74d2afd675e4d0e3dda27358c DIST raft-0.21.0.tar.gz 362922 BLAKE2B c1594ca3aa111882ff5b0442cb4deb7ceec9978429e4e8a8c97251716cb876a9c9444527c90ef70acad2bf6d53378d27fb14a44e1497364c1a1270f01fe712ce SHA512 08e3dfe262ac39f50e990eb0fa65462255a3d6b5e87484fd5a6223d9b54f508e3aa0cd134286b99272b181fcef138bf8035d3c6e3be0aee22d25f2d42295904d +DIST raft-0.22.0.tar.gz 365710 BLAKE2B b5084867ebd7e80f59edebcf5feb83cc7ffbf798deecbf96d3b31c0de7213c8fc1e3e5f558602f5864fb04f8de0326ee2f70d2f6164a08dd444a8db95593c328 SHA512 0ebda5764c866443ee2749c0c8fe798f111ed500b9d59bc9536d01e01ee82a8ed72125fb02e6a0c3bf51e4004520d4c5fdb583220599cb22bb9a8e6dd9d1a54b diff --git a/dev-libs/raft/raft-0.22.0.ebuild b/dev-libs/raft/raft-0.22.0.ebuild new file mode 100644 index 000000000000..4b51fe639271 --- /dev/null +++ b/dev-libs/raft/raft-0.22.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 2020-2024 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" + +# Upstream change from canonical to cowsql resetted SONAME, 3 -> 0. bgo#915960 +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() { + # --disable-hardening: most of these are covered on non-hardened Gentoo already. + local myeconfargs=( + --enable-uv + --enable-v0 + + --disable-backtrace + --disable-benchmark + --disable-debug + --disable-example + --disable-hardening + --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 +}