Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ntirpc/
Date: Tue, 04 Jan 2022 10:30:55
Message-Id: 1641292238.c129f7783450a2b7b9a0b5ece7b3d180b51bc77b.polynomial-c@gentoo
1 commit: c129f7783450a2b7b9a0b5ece7b3d180b51bc77b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 4 10:30:02 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 4 10:30:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c129f778
7
8 net-libs/ntirpc: Bump to version 4.0
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 net-libs/ntirpc/Manifest | 1 +
13 net-libs/ntirpc/ntirpc-4.0.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/net-libs/ntirpc/Manifest b/net-libs/ntirpc/Manifest
17 index a777910ea00d..96ba317c4d81 100644
18 --- a/net-libs/ntirpc/Manifest
19 +++ b/net-libs/ntirpc/Manifest
20 @@ -1 +1,2 @@
21 DIST ntirpc-3.4.tar.gz 387376 BLAKE2B db4d0fd22f1ea46da6e40a613848f9fd396bd85cf01968f5ab976627ab787e8d1bc2a57a8bb87f2ffcaf63b8e59c6ea41145ed9ccafc66d4ba420a15c9a78901 SHA512 913bc9f3208ddb667a7fab6e06585ba15ac3dd1979a15846f49114f54a270c2174a00afc3009d6158851aed779046743dd1ea704227122079164c07b394c01ad
22 +DIST ntirpc-4.0.tar.gz 388389 BLAKE2B b997430a119c900cfd8792af530d7baec629d7afa076838ca22b83631a461df2f267c6b786582bbefc98db870d054f37c9e9c0c3201f9a130f3f3806168043c1 SHA512 7bafad650bcebbf53a9958abdcacb8dfa9ac46c9798ac39e82c2ae3215b3e5b5a6b916bb95e3c70e7bc1a09b26a46b00bad236b2400538e9695b1c347f0672d9
23
24 diff --git a/net-libs/ntirpc/ntirpc-4.0.ebuild b/net-libs/ntirpc/ntirpc-4.0.ebuild
25 new file mode 100644
26 index 000000000000..8688e4cc9382
27 --- /dev/null
28 +++ b/net-libs/ntirpc/ntirpc-4.0.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit cmake
36 +
37 +DESCRIPTION="Transport Independent RPC library for nfs-ganesha"
38 +HOMEPAGE="https://github.com/nfs-ganesha/ntirpc"
39 +SRC_URI="https://github.com/nfs-ganesha/ntirpc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="BSD"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="gssapi rdma"
45 +
46 +# Since the GSS option only controls some extra files to be enabled,
47 +# there's nothing to list in the depend string for it.
48 +RDEPEND="
49 + dev-libs/userspace-rcu
50 + rdma? ( sys-fabric/librdmacm )
51 +"
52 +DEPEND="
53 + ${RDEPEND}
54 +"
55 +
56 +src_configure() {
57 + local mycmakeargs=(
58 + -DUSE_GSS="$(usex gssapi)"
59 + -DUSE_RPC_RDMA="$(usex rdma)"
60 + )
61 + cmake_src_configure
62 +}