diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-19 17:59:37 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-19 17:59:37 +0000 |
commit | 150a86a9cb006b4800d6517d58532b8a556fec1e (patch) | |
tree | 0cea769c7bef669c4dfe19e7805593f6f34033fb /dev-libs/raft | |
parent | 1cb0dd91756f77b25d6cc22318dc85187ed084cb (diff) |
gentoo auto-resync : 19:01:2023 - 17:59:37
Diffstat (limited to 'dev-libs/raft')
-rw-r--r-- | dev-libs/raft/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/raft/raft-0.17.1.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest index 725fddee590a..ea7a1472cb7d 100644 --- a/dev-libs/raft/Manifest +++ b/dev-libs/raft/Manifest @@ -1,5 +1,7 @@ AUX raft-0.10.0-toggle-zfs.patch 955 BLAKE2B bb9f351a6b7d0b7d95b7cdb6cf89db8963d46c44bd2613c69c7f3bd2c910cc185c8409cd80d218cab1569fe4729f649ac922ad1eb2b5652e5eeba441642e9588 SHA512 907f50fd1dc907d2a9aa1a89601064205c26d48956ddf56389a843e8c81b00acbc461125cbea5caef315be4a4a1d3a8f9bfd0a45ff0dedbeef1e0851e899b277 AUX raft-0.11.3-disable-automagic-check-for-lz4.patch 2819 BLAKE2B 132e07bd4dc447bb67b2521c89e06c697dce9554d1f2b737aa460a22be9f7a2999f39ebd1b25f81863ebd764ef127856dceeadcb2a12aecdb01cf01f1cc22bc0 SHA512 9de7af38c778366e63e03991fa147844695dd0b4cd2e62559c5f82a0a2e914abf1bab5b905ad3cf26512d6d48670bfdb40a0683ef7dd1383eb0229f6718a70a4 DIST raft-0.16.0.tar.gz 347565 BLAKE2B 8452feed5bffefcc8087e62cdd48bda05be6a4068fbffcb0621779ab349902015be9095f252a253d6584faf4bfc6c8daefd97a130e7a9f8ef682ca03efd70dc0 SHA512 cee4a2f6fd9a0a16b591d46aa9df2104a50f2b62068eb27017e3347fc28a6b3cd3aef6bfabe3acc7e72844406b4b71aff1d1e088d08e83d6d2f5744876a681c8 +DIST raft-0.17.1.tar.gz 354331 BLAKE2B d1be3eb4139422dab8126879d2ba0782e8635a60ce9752f4389f79dd2238021d9679d3b5f799c9627921c954a4395cdff139ff41f8145ebc43190f2c4aa3e5a7 SHA512 20e2b4a144a597b77bcb31e8b22355725142b14fb50e20b33509e7b0dd10aa20d08501b66e836c659e9aa492184db71ea9e53a45fe4b908b1464eb94431154db EBUILD raft-0.16.0.ebuild 1036 BLAKE2B 841f95e61a6152ad3708bdec09e3a4f2f0a1f231c6a40c961015dd731e3fd6cb33ca843a9db23289d976c7692f6d175b9f6a61b2ada076d759ff6bfcc02036a9 SHA512 819040ba8cd1b93d1c3736ffbab16161ea9fc82ed15e05eaeb1144704b19876fc821187a8237a5a66f81557cb2721425279827c7e47ad3a85fe46eb8466d97f5 +EBUILD raft-0.17.1.ebuild 1061 BLAKE2B 47946da5a1f46a6cee42155fc751d2825914a0a4f19ec24886c209d0b99e0e63d3ff920712efc27b49756dbe450a78e6230377e5c399306949e772e5b04c35ad SHA512 a33c0def3de404a3cc2053b21c23f72f00953f62354d8a45b8a8b9e3872920ac600f6d9f6f7c53d7ede66bfe58926aea7662d6e39c25aedb0608b03a7258077a MISC metadata.xml 897 BLAKE2B 13bfe9b6f1bb195f93437b02134626657f8879afb8a70cc81e328a4a1851cd3fdf5b361d95d8eb913fcd446d3723d1261c3844987b24d300a7b38d4bec538b87 SHA512 cd4f8adf74cf8e6e29f661348549e4c20f44cdb8d10f7181703796f4f4fb8d2e9eccf8b9097d1e4c553efab638e2db7c0619a07b7432edc9d5f28878381aba33 diff --git a/dev-libs/raft/raft-0.17.1.ebuild b/dev-libs/raft/raft-0.17.1.ebuild new file mode 100644 index 000000000000..a106fc2d4c91 --- /dev/null +++ b/dev-libs/raft/raft-0.17.1.ebuild @@ -0,0 +1,56 @@ +# 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/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/3" +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 + "${FILESDIR}"/raft-0.11.3-disable-automagic-check-for-lz4.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 lz4) + $(use_enable test fixture) + + $(use_with zfs) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |