1 |
commit: c5770d163a136f521cdfba187278aca2958514ba |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 12 19:25:45 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 12 19:26:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5770d16 |
7 |
|
8 |
sys-cluster/kronosnet: add 1.23 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/805359 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/kronosnet/Manifest | 1 + |
14 |
sys-cluster/kronosnet/kronosnet-1.23.ebuild | 53 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 54 insertions(+) |
16 |
|
17 |
diff --git a/sys-cluster/kronosnet/Manifest b/sys-cluster/kronosnet/Manifest |
18 |
index c5eb97255671..99424e262803 100644 |
19 |
--- a/sys-cluster/kronosnet/Manifest |
20 |
+++ b/sys-cluster/kronosnet/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST kronosnet-1.19.tar.xz 461952 BLAKE2B ea6da6c760d73eb3d0b24827d019b479fe2d021f1eea8cb0e0497b390c04b64f99802159e61b1a8b26f38da542cbd52987504cb7c667a9b22ecb53b2fffdf20f SHA512 32b9d7254e9cf5768648aafe5cb019105e247edc1b8a427cc4e655ab4bd9d6a44614f67ba2ac4779f4d11d829d86e6fb8ceb27838dbb44bcefc351db76a41705 |
23 |
+DIST kronosnet-1.23.tar.xz 474048 BLAKE2B 47dd0ddfd59dd25091cffd85950be962747a5f7a6ccecbcdc921f4079a937186a6c3e03f75d8df80bf43441d761420b7d2f9e6fc6dce57f9c61a7ee1c63a2d9c SHA512 b3905affe35e88bed7a4a9e483ad81f46f5514495dd537e14734788933e573c679b8f971f5fef6a023dee852de2bed8250adc34c84e0d70fe4d506dd1782e105 |
24 |
|
25 |
diff --git a/sys-cluster/kronosnet/kronosnet-1.23.ebuild b/sys-cluster/kronosnet/kronosnet-1.23.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..115a30239682 |
28 |
--- /dev/null |
29 |
+++ b/sys-cluster/kronosnet/kronosnet-1.23.ebuild |
30 |
@@ -0,0 +1,53 @@ |
31 |
+# Copyright 2020-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DESCRIPTION="Network abstraction layer designed for High Availability use cases" |
37 |
+HOMEPAGE="https://kronosnet.org" |
38 |
+SRC_URI="https://kronosnet.org/releases/${P}.tar.xz" |
39 |
+ |
40 |
+LICENSE="LGPL-2.1" |
41 |
+SLOT="0/1" |
42 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
43 |
+IUSE="doc nss +openssl lz4 lzo2 test zstd" |
44 |
+RESTRICT="!test? ( test )" |
45 |
+ |
46 |
+DEPEND=">=sys-cluster/libqb-2.0.0:= |
47 |
+ dev-libs/libnl:3 |
48 |
+ sys-libs/zlib:= |
49 |
+ app-arch/bzip2:= |
50 |
+ app-arch/xz-utils |
51 |
+ zstd? ( app-arch/zstd:= ) |
52 |
+ lzo2? ( dev-libs/lzo:2 ) |
53 |
+ lz4? ( app-arch/lz4:= ) |
54 |
+ nss? ( dev-libs/nss ) |
55 |
+ openssl? ( dev-libs/openssl:= )" |
56 |
+RDEPEND="${DEPEND}" |
57 |
+BDEPEND=" |
58 |
+ doc? ( |
59 |
+ >=sys-cluster/libqb-2.0.0 |
60 |
+ app-doc/doxygen[dot] |
61 |
+ )" |
62 |
+ |
63 |
+src_configure() { |
64 |
+ local myeconfargs=( |
65 |
+ $(use_enable doc man) |
66 |
+ |
67 |
+ --enable-libnozzle |
68 |
+ --disable-libknet-sctp |
69 |
+ --enable-compress-zlib |
70 |
+ --enable-compress-bzip2 |
71 |
+ --enable-compress-lzma |
72 |
+ |
73 |
+ $(use_enable nss crypto-nss) |
74 |
+ $(use_enable openssl crypto-openssl) |
75 |
+ $(use_enable zstd compress-zstd) |
76 |
+ $(use_enable lz4 compress-lz4) |
77 |
+ $(use_enable lzo2 compress-lzo2) |
78 |
+ |
79 |
+ $(use_enable test functional-tests) |
80 |
+ ) |
81 |
+ |
82 |
+ econf "${myeconfargs[@]}" |
83 |
+} |