Сравнение libiscsi-1.19.0-r2 с libiscsi-1.19.0_p20230208
/usr/portage/net-libs/libiscsi/libiscsi-1.19.0_p20230208.ebuild 2023-10-09 14:52:34.484368476 +0300 | ||
---|---|---|
9 | 9 |
EGIT_REPO_URI="https://github.com/sahlberg/${PN}.git" |
10 | 10 |
inherit git-r3 |
11 | 11 |
else |
12 |
SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
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" |
|
12 |
if [[ ${PV} == *_p* ]] ; then |
|
13 |
# The S path is too long for the test suite otherwise. |
|
14 |
inherit vcs-snapshot |
|
15 | ||
16 |
MY_COMMIT="22f7b26567760921fa1aad77cca642153123ea8c" |
|
17 |
SRC_URI="https://github.com/sahlberg/libiscsi/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
|
18 |
else |
|
19 |
SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
20 |
fi |
|
21 | ||
22 |
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
15 | 23 |
fi |
16 | 24 | |
17 | 25 |
DESCRIPTION="iscsi client library and utilities" |
... | ... | |
20 | 28 |
LICENSE="GPL-2 LGPL-2" |
21 | 29 |
SLOT="0" |
22 | 30 |
IUSE="rdma test" |
23 |
# test_9000_compareandwrite.sh failure needs investigation |
|
24 |
RESTRICT="!test? ( test ) test" |
|
31 |
RESTRICT="!test? ( test )" |
|
25 | 32 | |
26 | 33 |
RDEPEND=" |
27 | 34 |
dev-libs/libgcrypt:= |
... | ... | |
31 | 38 |
${RDEPEND} |
32 | 39 |
test? ( dev-util/cunit ) |
33 | 40 |
" |
41 |
BDEPEND=" |
|
42 |
test? ( >=sys-block/tgt-1.0.58 ) |
|
43 |
" |
|
34 | 44 | |
35 | 45 |
PATCHES=( |
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 |
|
46 |
"${FILESDIR}"/${PN}-1.19.0_p20230208-fix-rdma-automagic.patch |
|
41 | 47 |
) |
42 | 48 | |
43 | 49 |
src_prepare() { |
44 | 50 |
default |
51 | ||
52 |
# bug #906063 |
|
53 |
rm tests/test_0600_ipv6.sh || die |
|
54 | ||
45 | 55 |
eautoreconf |
46 | 56 |
} |
47 | 57 |