Diff kronosnet-1.19-r1 with a kronosnet-1.23
| /usr/portage/sys-cluster/kronosnet/kronosnet-1.23.ebuild 2024-07-02 13:51:49.405851594 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 2020-2024 Gentoo Authors |
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 5 | ||
| 6 |
inherit autotools |
|
| 4 |
EAPI=8 |
|
| 7 | 5 | |
| 8 | 6 |
DESCRIPTION="Network abstraction layer designed for High Availability use cases" |
| 9 | 7 |
HOMEPAGE="https://kronosnet.org" |
| ... | ... | |
| 11 | 9 | |
| 12 | 10 |
LICENSE="LGPL-2.1" |
| 13 | 11 |
SLOT="0/1" |
| 14 |
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 x86" |
|
| 15 |
IUSE="doc nss +openssl zstd lz4 lzo2" |
|
| 12 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
|
| 13 |
IUSE="doc nss +openssl lz4 lzo2 test zstd" |
|
| 14 |
RESTRICT="!test? ( test )" |
|
| 16 | 15 | |
| 17 | 16 |
DEPEND=">=sys-cluster/libqb-2.0.0:= |
| 18 | 17 |
dev-libs/libnl:3 |
| ... | ... | |
| 31 | 30 |
app-text/doxygen[dot] |
| 32 | 31 |
)" |
| 33 | 32 | |
| 34 |
PATCHES=( "${FILESDIR}/${P}-no-Werror.patch" )
|
|
| 35 | ||
| 36 |
src_prepare() {
|
|
| 37 |
default |
|
| 38 |
eautoreconf |
|
| 39 |
} |
|
| 33 |
PATCHES=( |
|
| 34 |
"${FILESDIR}"/${PN}-1.19-no-Werror.patch
|
|
| 35 |
"${FILESDIR}"/${PN}-1.23-no-extra-fortify-source.patch
|
|
| 36 |
) |
|
| 40 | 37 | |
| 41 | 38 |
src_configure() {
|
| 42 |
econf_opts=( |
|
| 43 |
$(use_enable doc man) \ |
|
| 44 |
--disable-static \ |
|
| 45 |
--enable-libnozzle \ |
|
| 46 |
--disable-libknet-sctp \ |
|
| 47 |
--enable-compress-zlib \ |
|
| 48 |
--enable-compress-bzip2 \ |
|
| 49 |
--enable-compress-lzma \ |
|
| 50 |
$(use_enable nss crypto-nss) \ |
|
| 51 |
$(use_enable openssl crypto-openssl) \ |
|
| 52 |
$(use_enable zstd compress-zstd) \ |
|
| 53 |
$(use_enable lz4 compress-lz4) \ |
|
| 39 |
local myeconfargs=( |
|
| 40 |
$(use_enable doc man) |
|
| 41 | ||
| 42 |
--enable-libnozzle |
|
| 43 |
--disable-libknet-sctp |
|
| 44 |
--enable-compress-zlib |
|
| 45 |
--enable-compress-bzip2 |
|
| 46 |
--enable-compress-lzma |
|
| 47 | ||
| 48 |
$(use_enable nss crypto-nss) |
|
| 49 |
$(use_enable openssl crypto-openssl) |
|
| 50 |
$(use_enable zstd compress-zstd) |
|
| 51 |
$(use_enable lz4 compress-lz4) |
|
| 54 | 52 |
$(use_enable lzo2 compress-lzo2) |
| 53 | ||
| 54 |
$(use_enable test functional-tests) |
|
| 55 | 55 |
) |
| 56 |
econf "${econf_opts[@]}"
|
|
| 56 | ||
| 57 |
econf "${myeconfargs[@]}"
|
|
| 57 | 58 |
} |