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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F34DC139368 for ; Mon, 9 Aug 2021 14:26:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3F5AE0867; Mon, 9 Aug 2021 14:26:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3C30E0867 for ; Mon, 9 Aug 2021 14:26:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 793F3340A5C for ; Mon, 9 Aug 2021 14:26:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0AC186E for ; Mon, 9 Aug 2021 14:26:34 +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: <1628519124.09692b16b174e7f3952afe1bda98622e72a45b4e.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.11.2.ebuild X-VCS-Directories: dev-libs/raft/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 09692b16b174e7f3952afe1bda98622e72a45b4e X-VCS-Branch: master Date: Mon, 9 Aug 2021 14:26:34 +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: 8e0564f6-6776-44ee-8f8b-98045ce8213d X-Archives-Hash: 454fdad82f37faeecb32b014ecec5bae commit: 09692b16b174e7f3952afe1bda98622e72a45b4e Author: Joonas Niilola gentoo org> AuthorDate: Mon Aug 9 14:17:32 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Aug 9 14:25:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09692b16 dev-libs/raft: add 0.11.2 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/raft/Manifest | 1 + dev-libs/raft/raft-0.11.2.ebuild | 54 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest index ceff883b0aa..8fdb14ce642 100644 --- a/dev-libs/raft/Manifest +++ b/dev-libs/raft/Manifest @@ -1 +1,2 @@ DIST raft-0.11.1.tar.gz 324285 BLAKE2B 10e62a392bdbb98f262068ad2bcfbcd24488918fbb7d4c3b13101c3d771ff8b9d592bad31bfe69cfcb4d6e9c93e1d38da24d11a3167d37208906af4e354c9280 SHA512 5afbf0f7e325ed242c5a37a39038818395c1b39184e2440bf89db6662dee73b9abaa8fac0efc28dbc3478267aa66fd94e908e320a061fb5b343735e111dbea86 +DIST raft-0.11.2.tar.gz 325098 BLAKE2B d9366547440b431edec75a22bca3a50bb6d714b5d950c061723f0585c5ad33704d23c32f2e325dc566ebeab71e15e10f07932c854657837e190901b52c9b4950 SHA512 8be47270cf3b888ff6adeeec2480ccd5065b45c3c546da089cbb326cf429f0bcd4396001e20fbf52587c00d5757337812c834ec5064fafa4815a978a7cf0c35f diff --git a/dev-libs/raft/raft-0.11.2.ebuild b/dev-libs/raft/raft-0.11.2.ebuild new file mode 100644 index 00000000000..38fd31b339b --- /dev/null +++ b/dev-libs/raft/raft-0.11.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 2020-2021 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/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 ~arm64" +IUSE="lz4 test zfs" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/libuv + lz4? ( app-arch/lz4 )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/raft-0.9.25-Always-skip-init-oom-test.patch + "${FILESDIR}"/raft-0.10.0-toggle-zfs.patch + ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-uv + + --disable-benchmark + --disable-debug + --disable-example + --disable-sanitize + --disable-static + + $(use_enable lz4) + $(use_enable test fixture) + + $(use_with zfs) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}