public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/
Date: Tue, 08 Jul 2025 10:00:42 +0000 (UTC)	[thread overview]
Message-ID: <1751968840.f64cfc85c5a4f6db4dfe7442939f1b4f7beccbd1.patrick@gentoo> (raw)

commit:     f64cfc85c5a4f6db4dfe7442939f1b4f7beccbd1
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  8 09:59:39 2025 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Jul  8 10:00:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f64cfc85

sys-cluster/rdma-core: add 58.0

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sys-cluster/rdma-core/Manifest              |   1 +
 sys-cluster/rdma-core/rdma-core-58.0.ebuild | 119 ++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sys-cluster/rdma-core/Manifest b/sys-cluster/rdma-core/Manifest
index 727212f95b1a..d674f7c9d0af 100644
--- a/sys-cluster/rdma-core/Manifest
+++ b/sys-cluster/rdma-core/Manifest
@@ -4,3 +4,4 @@ DIST rdma-core-54.2.tar.gz 2171835 BLAKE2B feb454682b16a3476cb8c987f9966c556e0bc
 DIST rdma-core-55.1.tar.gz 2183721 BLAKE2B c05dd5e1d3341df28f5fb8b16a664ddc0a955ceb8d12f8500abfea32ead1d210008e712cb429966629defc757d131b78b7d8fe96551c45ed17cc7d57729b47ae SHA512 b1afee1fcf1959b5a33cf82ff1d17347e2e0a5f25c1d8d3e30eebcffbcb96a03652af5e971cbc2cb8b21558d8b9feb5a600d28d9dbac7298619480df14920874
 DIST rdma-core-56.1.tar.gz 2192894 BLAKE2B 7fb97f1a01ef9f67e35083274ea4f87e11154ffa3e5cd579be4831cb8974613714ca6ca69f790eb9bfbeb3a32f5c1d7bad13f168d809d6e801f3116a07352ab4 SHA512 742c65bc541aa5b0fa2920492197fce55cd4d5df9c7bd240d6702d509e59b459183f189f9968f8bebae9896ae32d40afdda5604da8899c50b51da4d03ba39e79
 DIST rdma-core-57.0.tar.gz 2020448 BLAKE2B 4808103af76e3314ce68b4fc3607d217d7b58c833758eda8c1b4da6251c82e18786e4d148d8947cf92f914894359b60d075b4c5b0b72b4f04fca2fb8e26ee82f SHA512 4a904d34af6863655545fe720cc25a8800684f63c51cebb67be2058363949217903957dc925c69d41294362ccff75fb0d37f3bc31cd6f6f252a804d6713f62cf
+DIST rdma-core-58.0.tar.gz 2024798 BLAKE2B 84514a444977c4cba4639106d5e39f9a110a94d485d0d8d1fafc3b63ae57c259010f21d97d26244534ea446d856bfd5bd3bd79b36dbc789222a8639fdb0c9725 SHA512 458f99045ced236cd87f234e9ec21743ad665de80dd2ee3cf7392b56801fbb14f09b421c1514a08f4401313c1b809164c49a5167f86a63b152139a03fcd80e34

diff --git a/sys-cluster/rdma-core/rdma-core-58.0.ebuild b/sys-cluster/rdma-core/rdma-core-58.0.ebuild
new file mode 100644
index 000000000000..436707f6c472
--- /dev/null
+++ b/sys-cluster/rdma-core/rdma-core-58.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit cmake perl-functions python-single-r1 udev systemd
+
+DESCRIPTION="Userspace components for the Linux Kernel's drivers/infiniband subsystem"
+HOMEPAGE="https://github.com/linux-rdma/rdma-core"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/linux-rdma/rdma-core"
+else
+	SRC_URI="https://github.com/linux-rdma/rdma-core/releases/download/v${PV}/${P}.tar.gz"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="|| ( GPL-2 ( CC0-1.0 MIT BSD BSD-with-attribution ) )"
+SLOT="0"
+IUSE="lttng neigh python static-libs systemd valgrind"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMON_DEPEND="
+	dev-lang/perl:=
+	virtual/libudev:=
+	lttng? ( dev-util/lttng-ust:= )
+	neigh? ( dev-libs/libnl:3 )
+	systemd? ( sys-apps/systemd:= )
+	valgrind? ( dev-debug/valgrind )
+	python? ( ${PYTHON_DEPS} )
+"
+DEPEND="
+	${COMMON_DEPEND}
+	python? (
+		$(python_gen_cond_dep '
+			dev-python/cython[${PYTHON_USEDEP}]
+		')
+	)
+"
+RDEPEND="${COMMON_DEPEND}
+	!sys-fabric/infiniband-diags
+	!sys-fabric/libibverbs
+	!sys-fabric/librdmacm
+	!sys-fabric/libibumad
+	!sys-fabric/ibacm
+	!sys-fabric/libibmad
+	!sys-fabric/srptools
+	!sys-fabric/infinipath-psm
+	!sys-fabric/libcxgb3
+	!sys-fabric/libcxgb4
+	!sys-fabric/libmthca
+	!sys-fabric/libmlx4
+	!sys-fabric/libmlx5
+	!sys-fabric/libocrdma
+	!sys-fabric/libnes
+"
+# python is required unconditionally at build-time
+BDEPEND="
+	${PYTHON_DEPS}
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-39.0-RDMA_BuildType.patch
+)
+
+src_prepare() {
+	# DEFINED is true even if the value is false, which makes lttng unconditional
+	sed -i -e 's/if (DEFINED ENABLE_LTTNG)/if (ENABLE_LTTNG)/' CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	perl_set_version
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc
+		-DCMAKE_INSTALL_RUNDIR=/run
+		-DCMAKE_INSTALL_SHAREDSTATEDIR="${EPREFIX}"/var/lib
+		-DCMAKE_INSTALL_PERLDIR="${VENDOR_LIB}"
+		-DCMAKE_INSTALL_UDEV_RULESDIR="${EPREFIX}$(get_udevdir)"/rules.d
+		-DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)"
+		-DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex !systemd)"
+		-DENABLE_LTTNG="$(usex lttng)"
+		-DENABLE_VALGRIND="$(usex valgrind)"
+		-DENABLE_RESOLVE_NEIGH="$(usex neigh)"
+		-DENABLE_STATIC="$(usex static-libs)"
+		-DNO_PYVERBS="$(usex !python)"
+		-DNO_MAN_PAGES=1
+		-DPYTHON_EXECUTABLE="${PYTHON}"
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	udev_dorules "${ED}"/usr/share/doc/${PF}/70-persistent-ipoib.rules
+
+	if use neigh; then
+		newinitd "${FILESDIR}"/ibacm.init ibacm
+		newinitd "${FILESDIR}"/iwpmd.init iwpmd
+	fi
+
+	newinitd "${FILESDIR}"/srpd.init srpd
+
+	use python && python_optimize
+}
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}


             reply	other threads:[~2025-07-08 10:02 UTC|newest]

Thread overview: 133+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-08 10:00 Patrick Lauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-19 14:40 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/ Patrick Lauer
2025-09-19 14:40 Patrick Lauer
2025-09-19 14:40 Patrick Lauer
2025-06-23  1:44 Sam James
2025-06-23  1:44 Sam James
2025-06-22 17:06 Sam James
2025-05-10  8:36 Patrick Lauer
2025-05-10  8:36 Patrick Lauer
2025-05-04  5:02 Sam James
2025-05-04  5:02 Sam James
2025-05-04  4:59 Sam James
2025-05-03  5:22 Patrick Lauer
2025-05-02  9:20 Patrick Lauer
2024-12-09  6:22 Patrick Lauer
2024-11-02  9:43 Arthur Zamarin
2024-11-01 20:42 Sam James
2024-11-01 20:42 Sam James
2024-11-01 17:38 Arthur Zamarin
2024-11-01 17:38 Arthur Zamarin
2024-11-01 17:38 Arthur Zamarin
2024-03-10 14:49 Sam James
2024-03-03 19:03 Michał Górny
2024-03-03  0:25 Sam James
2024-03-01 16:46 Sam James
2024-03-01 16:46 Sam James
2024-02-29 22:23 Sam James
2024-02-29 22:17 Sam James
2024-02-29  8:04 Sam James
2024-02-29  8:02 Sam James
2023-10-12  6:50 罗百科
2023-10-11 16:43 Florian Schmaus
2023-10-11  9:03 Florian Schmaus
2023-10-11  9:03 Florian Schmaus
2023-10-11  9:03 Florian Schmaus
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-09-08 18:24 Sam James
2023-07-17 20:31 Sam James
2023-07-07 19:46 Arthur Zamarin
2023-07-05  0:41 Sam James
2023-07-04 22:32 Sam James
2023-07-04 22:23 Sam James
2023-07-04 22:14 Sam James
2023-07-04 22:13 Sam James
2023-05-14 17:11 Sam James
2023-03-21 20:12 Florian Schmaus
2023-02-21 13:42 David Seifert
2023-02-20 21:58 Arthur Zamarin
2023-02-20 19:51 Arthur Zamarin
2023-02-20 19:39 Arthur Zamarin
2023-02-20 19:32 Arthur Zamarin
2023-02-20 19:12 Arthur Zamarin
2023-02-20 19:09 Arthur Zamarin
2022-11-16 23:18 Sam James
2022-11-16  7:58 Arthur Zamarin
2022-11-15  8:46 Sam James
2022-11-15  8:46 Sam James
2022-11-15  6:46 Arthur Zamarin
2022-11-15  6:46 Arthur Zamarin
2022-11-12 19:53 Florian Schmaus
2022-11-12 19:53 Florian Schmaus
2022-11-12 19:29 Florian Schmaus
2022-10-12 22:39 Sam James
2022-10-12 22:39 Sam James
2022-08-12 12:07 David Seifert
2022-08-12 11:55 Agostino Sarubbo
2022-08-10 10:56 Arthur Zamarin
2022-08-08 12:39 Agostino Sarubbo
2022-08-08 12:37 Agostino Sarubbo
2022-08-08 12:35 Agostino Sarubbo
2022-08-08 12:34 Agostino Sarubbo
2022-06-25 21:04 David Seifert
2022-02-04 18:40 Michał Górny
2022-01-29  8:49 Agostino Sarubbo
2022-01-29  7:14 Arthur Zamarin
2022-01-29  7:02 Arthur Zamarin
2022-01-29  6:57 Arthur Zamarin
2022-01-29  3:51 Sam James
2022-01-29  2:48 Sam James
2022-01-29  2:48 Sam James
2021-11-19 16:27 Guilherme Amadio
2021-11-19 16:27 Guilherme Amadio
2021-09-01  5:09 罗百科
2021-08-31 14:09 Mikle Kolyada
2021-07-27 13:49 Marek Szuba
2021-07-17 18:18 David Seifert
2021-03-28 13:13 Mikle Kolyada
2021-03-01 15:25 罗百科
2021-01-07 11:08 Mikle Kolyada
2020-11-08  0:32 Sam James
2020-11-08  0:32 Sam James
2020-11-07 20:37 Sergei Trofimovich
2020-11-07 20:34 Sergei Trofimovich
2020-11-07 20:22 Sergei Trofimovich
2020-11-07 20:10 Sergei Trofimovich
2020-11-04 12:39 Mikle Kolyada
2020-09-01  8:38 Mikle Kolyada
2020-08-29  8:21 Mikle Kolyada
2020-08-14 12:41 Mikle Kolyada
2020-08-14 12:41 Mikle Kolyada
2020-08-14 12:41 Mikle Kolyada
2020-07-14 13:55 Sam James
2020-07-10 19:51 Mikle Kolyada
2020-07-10 19:45 Mikle Kolyada
2020-07-10 19:41 Mikle Kolyada
2020-07-10 19:39 Mikle Kolyada
2020-07-09 17:32 Mikle Kolyada
2020-06-26 20:21 Thomas Deutschmann
2020-06-25 10:54 Mikle Kolyada
2020-06-25 10:53 Mikle Kolyada
2020-05-11  6:23 Mart Raudsepp
2020-04-18 13:15 Mikle Kolyada
2020-03-18  0:18 Matt Turner
2020-03-02 18:26 Sergei Trofimovich
2020-02-29 10:25 Sergei Trofimovich
2020-02-23  8:51 Mikle Kolyada
2020-02-09 16:42 Michał Górny
2020-02-06 16:19 Mikle Kolyada
2020-02-06  9:02 Sergei Trofimovich
2020-02-06  8:34 Sergei Trofimovich
2020-02-06  8:23 Sergei Trofimovich
2020-01-20 13:36 Jeroen Roovers
2020-01-20 13:30 Jeroen Roovers
2019-12-28 20:41 Mikle Kolyada
2019-11-27 11:03 Mikle Kolyada
2019-11-27 11:03 Mikle Kolyada
2019-11-27 11:03 Mikle Kolyada
2019-10-05 19:00 Mikle Kolyada
2019-09-08 11:12 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1751968840.f64cfc85c5a4f6db4dfe7442939f1b4f7beccbd1.patrick@gentoo \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox