1 |
commit: db774dfc6aac428f51c145fa775593f7dd7b134f |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 4 06:04:22 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 4 07:07:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db774dfc |
7 |
|
8 |
dev-libs/raft: drop 0.11.3-r1 |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
dev-libs/raft/Manifest | 1 - |
13 |
.../raft-0.9.25-Always-skip-init-oom-test.patch | 31 ------------ |
14 |
dev-libs/raft/raft-0.11.3-r1.ebuild | 56 ---------------------- |
15 |
3 files changed, 88 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest |
18 |
index 51e7083a198c..f767de429eed 100644 |
19 |
--- a/dev-libs/raft/Manifest |
20 |
+++ b/dev-libs/raft/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST raft-0.11.3.tar.gz 329571 BLAKE2B 08b145bfbcc26b50f69c550599978ed365ccbbd021b9c4699784c08bd7e0f17f366b1709c22df1a467fbdb524668a753f431744419da8f18d57ea52c5b33de38 SHA512 7d1a7455ff8d58ed1f3d259cade1c74fcb22732a55242dcf761cc6554739c0ea1c462aa02591d28d8fa2b343b23e6261a5e15d02e2a31467969b7d9f9f3b5e92 |
23 |
DIST raft-0.13.0.tar.gz 332490 BLAKE2B 8d14e07b12d4f5a7eadb626b72a90b4defffaee26804a982f257ef80f75ff47ccf434a7dc6b62f36177120cd12ce8c772a6f293e9ad48c61df277b10c0df1854 SHA512 1d65f21ac85deb36a6f8681bd506656a34994164ba51f7c23aa523673024dacf5616bbb3f706c0da4df38c0cc1a00b330459209c80d404545686525da2916afa |
24 |
|
25 |
diff --git a/dev-libs/raft/files/raft-0.9.25-Always-skip-init-oom-test.patch b/dev-libs/raft/files/raft-0.9.25-Always-skip-init-oom-test.patch |
26 |
deleted file mode 100644 |
27 |
index 7a22682c2e03..000000000000 |
28 |
--- a/dev-libs/raft/files/raft-0.9.25-Always-skip-init-oom-test.patch |
29 |
+++ /dev/null |
30 |
@@ -1,31 +0,0 @@ |
31 |
-commit e0948518f6eedad85c7705fb3963cfdda3627d8f |
32 |
-Author: Reto Gantenbein <reto.gantenbein@×××××××××.ch> |
33 |
-Date: Thu Oct 22 00:19:31 2020 +0200 |
34 |
- |
35 |
- Always skip init/oom test |
36 |
- |
37 |
- The RPM package build in COPR is being executed on a tmpfs which |
38 |
- always results in a failure of this test: |
39 |
- |
40 |
- init/oom |
41 |
- heap-fault-delay=1, heap-fault-repeat=1 [ ERROR ] |
42 |
- Error: test/integration/test_uv_init.c:156: assertion failed: _rv == 1 (0 == 1) |
43 |
- |
44 |
- Instead only for certain architectures we always skip this test. |
45 |
- For more informations see https://github.com/ganto/copr-lxc4/issues/8 |
46 |
- |
47 |
-diff --git a/test/integration/test_uv_init.c b/test/integration/test_uv_init.c |
48 |
-index 8c9b5f7..57db7f3 100644 |
49 |
---- a/test/integration/test_uv_init.c |
50 |
-+++ b/test/integration/test_uv_init.c |
51 |
-@@ -144,10 +144,8 @@ static MunitParameterEnum oomParams[] = { |
52 |
- TEST(init, oom, setUp, tearDown, 0, oomParams) |
53 |
- { |
54 |
- struct fixture *f = data; |
55 |
--#if defined(__i686__) |
56 |
- /* XXX: tmpfs seems to not support O_DIRECT */ |
57 |
- return MUNIT_SKIP; |
58 |
--#endif |
59 |
- #if defined(__powerpc64__) |
60 |
- /* XXX: fails on ppc64el */ |
61 |
- return MUNIT_SKIP; |
62 |
|
63 |
diff --git a/dev-libs/raft/raft-0.11.3-r1.ebuild b/dev-libs/raft/raft-0.11.3-r1.ebuild |
64 |
deleted file mode 100644 |
65 |
index e0fa1e7d55b7..000000000000 |
66 |
--- a/dev-libs/raft/raft-0.11.3-r1.ebuild |
67 |
+++ /dev/null |
68 |
@@ -1,56 +0,0 @@ |
69 |
-# Copyright 2020-2022 Gentoo Authors |
70 |
-# Distributed under the terms of the GNU General Public License v2 |
71 |
- |
72 |
-EAPI=8 |
73 |
- |
74 |
-inherit autotools |
75 |
- |
76 |
-DESCRIPTION="C implementation of the Raft consensus protocol" |
77 |
-HOMEPAGE="https://github.com/canonical/raft" |
78 |
-SRC_URI="https://github.com/canonical/raft/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
79 |
- |
80 |
-LICENSE="LGPL-3-with-linking-exception" |
81 |
-SLOT="0" |
82 |
-KEYWORDS="amd64 ~arm64 ~x86" |
83 |
-IUSE="lz4 test zfs" |
84 |
-RESTRICT="!test? ( test )" |
85 |
- |
86 |
-DEPEND="dev-libs/libuv:= |
87 |
- lz4? ( app-arch/lz4:= )" |
88 |
-RDEPEND="${DEPEND}" |
89 |
-BDEPEND="virtual/pkgconfig" |
90 |
- |
91 |
-PATCHES=( |
92 |
- "${FILESDIR}"/raft-0.9.25-Always-skip-init-oom-test.patch |
93 |
- "${FILESDIR}"/raft-0.10.0-toggle-zfs.patch |
94 |
- "${FILESDIR}"/raft-0.11.3-disable-automagic-check-for-lz4.patch |
95 |
-) |
96 |
- |
97 |
-src_prepare() { |
98 |
- default |
99 |
- eautoreconf |
100 |
-} |
101 |
- |
102 |
-src_configure() { |
103 |
- local myeconfargs=( |
104 |
- --enable-uv |
105 |
- |
106 |
- --disable-benchmark |
107 |
- --disable-debug |
108 |
- --disable-example |
109 |
- --disable-sanitize |
110 |
- --disable-static |
111 |
- |
112 |
- $(use_enable lz4) |
113 |
- $(use_enable test fixture) |
114 |
- |
115 |
- $(use_with zfs) |
116 |
- ) |
117 |
- |
118 |
- econf "${myeconfargs[@]}" |
119 |
-} |
120 |
- |
121 |
-src_install() { |
122 |
- default |
123 |
- find "${ED}" -name '*.la' -delete || die |
124 |
-} |