summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-03 02:20:28 +0100
committerSam James <sam@gentoo.org>2023-06-03 02:20:28 +0100
commitdcdeb88be8722e256c394b2691d862cd3d660db6 (patch)
treee049425a45c2fcabd0db8b9bc130e46de5fc0fbb /sys-cluster/kronosnet
parentsci-geosciences/opencpn: add dep on virtual/libusb:0 (diff)
downloadgentoo-dcdeb88be8722e256c394b2691d862cd3d660db6.tar.gz
gentoo-dcdeb88be8722e256c394b2691d862cd3d660db6.tar.bz2
gentoo-dcdeb88be8722e256c394b2691d862cd3d660db6.zip
sys-cluster/kronosnet: add 1.25
Bug: https://bugs.gentoo.org/907721 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-cluster/kronosnet')
-rw-r--r--sys-cluster/kronosnet/Manifest1
-rw-r--r--sys-cluster/kronosnet/kronosnet-1.25.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/sys-cluster/kronosnet/Manifest b/sys-cluster/kronosnet/Manifest
index 99424e262803..849ace865709 100644
--- a/sys-cluster/kronosnet/Manifest
+++ b/sys-cluster/kronosnet/Manifest
@@ -1,2 +1,3 @@
DIST kronosnet-1.19.tar.xz 461952 BLAKE2B ea6da6c760d73eb3d0b24827d019b479fe2d021f1eea8cb0e0497b390c04b64f99802159e61b1a8b26f38da542cbd52987504cb7c667a9b22ecb53b2fffdf20f SHA512 32b9d7254e9cf5768648aafe5cb019105e247edc1b8a427cc4e655ab4bd9d6a44614f67ba2ac4779f4d11d829d86e6fb8ceb27838dbb44bcefc351db76a41705
DIST kronosnet-1.23.tar.xz 474048 BLAKE2B 47dd0ddfd59dd25091cffd85950be962747a5f7a6ccecbcdc921f4079a937186a6c3e03f75d8df80bf43441d761420b7d2f9e6fc6dce57f9c61a7ee1c63a2d9c SHA512 b3905affe35e88bed7a4a9e483ad81f46f5514495dd537e14734788933e573c679b8f971f5fef6a023dee852de2bed8250adc34c84e0d70fe4d506dd1782e105
+DIST kronosnet-1.25.tar.xz 482292 BLAKE2B cf6b91f63d4f5193c9370f8bc07d3a76f9fa31c95117011a33800cf01b9e15c9f6bc879be3cfa08b0adc3f0008b4b804ed4597432846ea630f77af1a168add6d SHA512 03e0fd69e66ccefce778e02edfed253b201c325ca4d94e687f468395f0a05cbe48f658c6cb98e7eb2d067ee04c4d89a34ac8c213cce38698593a7ff5ba93416b
diff --git a/sys-cluster/kronosnet/kronosnet-1.25.ebuild b/sys-cluster/kronosnet/kronosnet-1.25.ebuild
new file mode 100644
index 000000000000..c10fbb4c506e
--- /dev/null
+++ b/sys-cluster/kronosnet/kronosnet-1.25.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Network abstraction layer designed for High Availability use cases"
+HOMEPAGE="https://kronosnet.org"
+SRC_URI="https://kronosnet.org/releases/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="doc nss +openssl lz4 lzo2 test zstd"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=sys-cluster/libqb-2.0.0:=
+ dev-libs/libnl:3
+ sys-libs/zlib:=
+ app-arch/bzip2:=
+ app-arch/xz-utils
+ zstd? ( app-arch/zstd:= )
+ lzo2? ( dev-libs/lzo:2 )
+ lz4? ( app-arch/lz4:= )
+ nss? ( dev-libs/nss )
+ openssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ doc? (
+ >=sys-cluster/libqb-2.0.0
+ app-doc/doxygen[dot]
+ )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.19-no-Werror.patch
+ "${FILESDIR}"/${PN}-1.23-no-extra-fortify-source.patch
+)
+
+src_prepare() {
+ default
+
+ # For our patches
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable doc man)
+
+ --enable-libnozzle
+ --disable-libknet-sctp
+ --enable-compress-zlib
+ --enable-compress-bzip2
+ --enable-compress-lzma
+
+ $(use_enable nss crypto-nss)
+ $(use_enable openssl crypto-openssl)
+ $(use_enable zstd compress-zstd)
+ $(use_enable lz4 compress-lz4)
+ $(use_enable lzo2 compress-lzo2)
+
+ $(use_enable test functional-tests)
+ )
+
+ econf "${myeconfargs[@]}"
+}