From ddcaaaec485fcf5238dfbabb6df62a11e95a1f26 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Jan 2024 12:57:12 +0000 Subject: gentoo auto-resync : 28:01:2024 - 12:57:11 --- dev-libs/raft/Manifest | 2 ++ dev-libs/raft/raft-0.20.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-libs/raft/raft-0.20.0.ebuild (limited to 'dev-libs/raft') diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest index aa5005e9e9e2..70116060be83 100644 --- a/dev-libs/raft/Manifest +++ b/dev-libs/raft/Manifest @@ -2,7 +2,9 @@ AUX raft-0.10.0-toggle-zfs.patch 955 BLAKE2B bb9f351a6b7d0b7d95b7cdb6cf89db8963d DIST raft-0.18.2.tar.gz 335089 BLAKE2B 5e6221f3977a28b7c2bbc8b80e047b455b586b0c8dd3cb9dc31f43c48d745d017f8a7220f3b3072a7aabacb86751ea4ad02f7c00d9d9c59a419354416cca65b3 SHA512 bac167aaf02f121f6d5de9103b366591bdb0a40ee08bc20b9f4fadae4606631b1a8dec514009596601a79a91c63373c524ba59710a167a1259f1d3802fb1e341 DIST raft-0.18.3.tar.gz 335916 BLAKE2B f8dbf5f5ae89645a2d99e8b4b8c80560f64226deb2ac10e683f337c98f458fc5db7898b1e0fd9754f14ded07aa058daf88e03003a037729bdafdab3539b8ca46 SHA512 0ba0ea71b70d2769da22482cfeac5c59a17f4fa75d582075108411d633db75c7d6f6e817ce14768c15bd5c977987650e813019808932bafcac5753478c672916 DIST raft-0.19.1.tar.gz 354736 BLAKE2B cfdb9a1948311debe99b56e0f9c1f19fb858248ab1138648e26a21d965cc488aea504711415ff569d2e80a15414a1f15ca9b34ff9b3de62b03580755cefe30b3 SHA512 4990dca1f61dcda82acaf043a5b81dd9a3b92a0f3e0be9b2c339d764be338220f2fab31ed8bae535153b1d81c86364d447774b52da2c8b90c5daa7b8718d7ae2 +DIST raft-0.20.0.tar.gz 360152 BLAKE2B 7eb109b483a298a60c5ea46b1df55a611cb5c40b7b7d14c29d615384ac0b8dd582a521e8da1a616cfe312f675980be55669c77a7d070dabbf1f20a99970097a6 SHA512 d29fd1e610c7e668a0ca25f60a5644b807a24c642993a3e0b54593f9f640a719bb38a6b45f72ded7fbd332817a1137e2d08bdcc74d2afd675e4d0e3dda27358c EBUILD raft-0.18.2.ebuild 1067 BLAKE2B b8ee496b06d50494b7b82da20209084e6ed978c3c36a173b0b2ce66a649e8ff88ad511120076a97419df5e0bc397cc152f5b55e05f3516565db9aa5356b28759 SHA512 1332be6d041c267a1720a616bec7e037cc1ad4f91d20f0c1c3d1e75a866cfa4e787129b7ee6d57ece4b566ce36c0b2e9f5152c28b4dfe803ff938da7501610cc EBUILD raft-0.18.3.ebuild 1067 BLAKE2B 3b28ce9f2a80d80c6315102100b63a0c074d9c688cf1e054ee2d8fd66466fd574f0c6caadaefbc3262375a2ad3bd2ae87445e1e8c9fda836bd02bdca2bef8f99 SHA512 f50a665dee4984bf8db8c006207ae46220cf2fa8724c77b66a9116fd730a488011013d17e77b8c838b4a33f56de6b69f6de0bec6eecfc8bd615a0b36a2c93f7a EBUILD raft-0.19.1.ebuild 1172 BLAKE2B 5e1f55ea0a8adeb2ad42dd0e0d68c25c91f1ea0b03c0b6160665a9930c4d0876b590a7d4d8ab3da7d8701da0f72964f7cc35b1df092b6c9d30339b103de19153 SHA512 6c98b36be4a6bee7ae1825f5f401524f9bf7d53a1edbc86dffdf2a626ef709794d4ee0d05b08f1697115f414e732f67e397b9ecb1b3c9b9db1d336db471f3ea7 +EBUILD raft-0.20.0.ebuild 1186 BLAKE2B b5995cd8926a3ec74c8dfd4560a3612e180885cd602c3a830b1d80866540364a79e084bedf1da8896a21a6b39dd47214951ae306727c64575c57f3b4ca38e40b SHA512 f517a90a7bc2cafe5cad0bb32fa928a24d1d8eae80cbcd702b6277e1173a779ecbe6b791661fae85a6d54b6f2387bf9cc2ab4afc83b6c0fed89a9f94235ac20c MISC metadata.xml 894 BLAKE2B f5f18621f9238af58d307f4e7ab675efc2da37172c395362c0a15f4595fcd67bb67eaedbdb789396e5bd515ca1d10ef466bc80b5f5d07d8835d83700ec451930 SHA512 8a8b1021d4b9d3007c47d20471a90fbf9fc25a4fe7123717bc6a74742b3eae54bc779326776f0fd6e2126bf05d7be0d2d47e458b0bd99adc87298c51deeea8cc diff --git a/dev-libs/raft/raft-0.20.0.ebuild b/dev-libs/raft/raft-0.20.0.ebuild new file mode 100644 index 000000000000..4b51fe639271 --- /dev/null +++ b/dev-libs/raft/raft-0.20.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 +} -- cgit v1.2.3