Diff libiscsi-1.18.0 with a libiscsi-1.19.0-r2

/usr/portage/net-libs/libiscsi/libiscsi-1.19.0-r2.ebuild 2023-10-09 14:52:34.484368476 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit autotools
7 7

  
......
10 10
	inherit git-r3
11 11
else
12 12
	SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
13
	KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
13
	SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-remove-ld-iscsi.patch.bz2"
14
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
14 15
fi
15 16

  
16 17
DESCRIPTION="iscsi client library and utilities"
17 18
HOMEPAGE="https://github.com/sahlberg/libiscsi"
18 19

  
19
SLOT="0"
20 20
LICENSE="GPL-2 LGPL-2"
21

  
22
RDEPEND="dev-libs/libgcrypt:0="
23
DEPEND="${RDEPEND}"
21
SLOT="0"
22
IUSE="rdma test"
23
# test_9000_compareandwrite.sh failure needs investigation
24
RESTRICT="!test? ( test ) test"
25

  
26
RDEPEND="
27
	dev-libs/libgcrypt:=
28
	rdma? ( sys-cluster/rdma-core )
29
"
30
DEPEND="
31
	${RDEPEND}
32
	test? ( dev-util/cunit )
33
"
24 34

  
25 35
PATCHES=(
26
	"${FILESDIR}"/${P}-fno-common.patch
27
	"${FILESDIR}"/${P}-fno-common-2.patch
28
	"${FILESDIR}"/${P}-fno-common-3.patch
36
	"${FILESDIR}"/${PN}-1.18.0-fno-common.patch
37
	"${FILESDIR}"/${PN}-1.18.0-fno-common-2.patch
38
	"${FILESDIR}"/${PN}-1.18.0-fno-common-3.patch
39
	"${FILESDIR}"/${PN}-1.19.0-fix-rdma-automagic.patch
40
	"${WORKDIR}"/${P}-remove-ld-iscsi.patch
29 41
)
30 42

  
31 43
src_prepare() {
......
36 48
src_configure() {
37 49
	econf \
38 50
		--enable-manpages \
39
		--disable-static \
40
		--disable-werror
51
		$(use_with rdma) \
52
		--disable-werror \
53
		$(use_enable test tests)
54
}
55

  
56
src_test() {
57
	emake -C tests test
41 58
}
42 59

  
43 60
src_install() {
Thank you!