summaryrefslogtreecommitdiff
path: root/dev-libs/raft
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /dev-libs/raft
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'dev-libs/raft')
-rw-r--r--dev-libs/raft/Manifest1
-rw-r--r--dev-libs/raft/files/raft-0.10.0-toggle-zfs.patch21
-rw-r--r--dev-libs/raft/metadata.xml23
-rw-r--r--dev-libs/raft/raft-0.22.1.ebuild60
4 files changed, 0 insertions, 105 deletions
diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest
deleted file mode 100644
index c390ca568bfe..000000000000
--- a/dev-libs/raft/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST raft-0.22.1.tar.gz 362393 BLAKE2B b6fc8f8e9dc6801ac8ad1b9d94f984b249b83def00a08776292500b079bb777330e8a83cf40153bfb1baae921105788d758c9f61a021d5519d5c27048b6be8b9 SHA512 fb4ea98321336daaa605e1c3cd55f672860fc8894d479fdff4e1862a4eb5622dbaf7a943e030dd2bcdaa14cc639e7e11ac43d71f00bdbd27f12c6b67653b70e4
diff --git a/dev-libs/raft/files/raft-0.10.0-toggle-zfs.patch b/dev-libs/raft/files/raft-0.10.0-toggle-zfs.patch
deleted file mode 100644
index f31b599b6101..000000000000
--- a/dev-libs/raft/files/raft-0.10.0-toggle-zfs.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur a/configure.ac b/configure.ac
---- a/configure.ac 2021-03-16 14:45:58.000000000 +0200
-+++ b/configure.ac 2021-03-23 07:45:06.875557286 +0200
-@@ -47,13 +47,10 @@
- # Checks for header files.
- AC_CHECK_HEADERS([stdlib.h string.h stdio.h assert.h unistd.h linux/io_uring.h linux/aio_abi.h])
-
--# Check if zfs >= 0.8.0 is available (for direct I/O support).
--AC_CHECK_PROG(have_zfs, zfs, yes)
--AS_IF([test x"$have_zfs" = x"yes"],
-- [AX_COMPARE_VERSION($(cat /sys/module/zfs/version | cut -f 1 -d -), [ge], [0.8.0],
-- [AC_DEFINE(RAFT_HAVE_ZFS_WITH_DIRECT_IO)], [])
-- ],
-- [])
-+# zfs support. We have 0.8.6 as stable in Gentoo, which is plenty above the required minimum.
-+AC_ARG_WITH([zfs], AS_HELP_STRING([--with-zfs], [Build with zfs support (default: disabled)]))
-+AS_IF([test "x$with_zfs" = "xyes"],
-+ [AC_DEFINE(RAFT_HAVE_ZFS_WITH_DIRECT_IO)], [])
-
- # Checks for typedefs, structures, and compiler characteristics.
- AC_TYPE_SIZE_T
diff --git a/dev-libs/raft/metadata.xml b/dev-libs/raft/metadata.xml
deleted file mode 100644
index 26725d27eaee..000000000000
--- a/dev-libs/raft/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>juippis@gentoo.org</email>
- <name>Joonas Niilola</name>
- </maintainer>
- <maintainer type="project">
- <email>virtualization@gentoo.org</email>
- <name>Gentoo Virtualization Project</name>
- </maintainer>
- <use>
- <flag name="zfs">ZFS support</flag>
- </use>
- <longdescription>
- The library has modular design: its core part implements only the core
- Raft algorithm logic, in a fully platform independent way. On top of that,
- a pluggable interface defines the I/O implementation for networking
- (send/receive RPC messages) and disk persistence (store log entries and
- snapshots).
- </longdescription>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>
diff --git a/dev-libs/raft/raft-0.22.1.ebuild b/dev-libs/raft/raft-0.22.1.ebuild
deleted file mode 100644
index 39daa1268bef..000000000000
--- a/dev-libs/raft/raft-0.22.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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
-}