diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sys-cluster/kronosnet/kronosnet-1.23.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sys-cluster/kronosnet/kronosnet-1.23.ebuild')
-rw-r--r-- | sys-cluster/kronosnet/kronosnet-1.23.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/sys-cluster/kronosnet/kronosnet-1.23.ebuild b/sys-cluster/kronosnet/kronosnet-1.23.ebuild new file mode 100644 index 000000000000..355e4941778f --- /dev/null +++ b/sys-cluster/kronosnet/kronosnet-1.23.ebuild @@ -0,0 +1,58 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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_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[@]}" +} |