public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/
Date: Tue, 21 Mar 2023 20:12:49 +0000 (UTC)	[thread overview]
Message-ID: <1679429562.7edade2579b58f332baf72592576ecb47b0c2878.flow@gentoo> (raw)

commit:     7edade2579b58f332baf72592576ecb47b0c2878
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 20:11:52 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 20:12:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7edade25

sys-cluster/rdma-core: add 45.0

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-cluster/rdma-core/Manifest              |   1 +
 sys-cluster/rdma-core/rdma-core-45.0.ebuild | 103 ++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/sys-cluster/rdma-core/Manifest b/sys-cluster/rdma-core/Manifest
index a0e7cbcf53aa..6ff428df46c2 100644
--- a/sys-cluster/rdma-core/Manifest
+++ b/sys-cluster/rdma-core/Manifest
@@ -1 +1,2 @@
 DIST rdma-core-43.0.tar.gz 1905196 BLAKE2B 96003e32de43e3f72a28c5d2d9bc670a709b25caba6ff25a36dedc003daa315b0fbfba1a25084160e659a1f0f7aa8fe32b63b0eb29103624a9499c05ebba0a87 SHA512 d5c48cfe10af40bc1caaed48fd6f82acfee5a22e1bfcc6955098ff328c1833e5455140e8f39cd5ceaa03f0aaa2bc627d56b2c1d3af8f2f505dda8a58ea70b597
+DIST rdma-core-45.0.tar.gz 1939646 BLAKE2B e2bcc7c993e220326884df1964c73156b123b10c16bd159798fc0440cc58cd1fd32348da667778bec9627c3f3f742061917bbebb37c33a784d946c5c59f394d4 SHA512 3a6728990065867d6fd2abe2a13e3275df513a491da6e3c07a75ec79e8f9ad7fe30f6cbbf04951d0976f1318bf45e0d562c260e9d633c96e4c167d0f9fa71d1b

diff --git a/sys-cluster/rdma-core/rdma-core-45.0.ebuild b/sys-cluster/rdma-core/rdma-core-45.0.ebuild
new file mode 100644
index 000000000000..29eafd00fa1c
--- /dev/null
+++ b/sys-cluster/rdma-core/rdma-core-45.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="|| ( GPL-2 ( CC0-1.0 MIT BSD BSD-with-attribution ) )"
+SLOT="0"
+IUSE="neigh python static-libs systemd valgrind"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMON_DEPEND="
+	dev-lang/perl
+	virtual/libudev:=
+	neigh? ( dev-libs/libnl:3 )
+	systemd? ( sys-apps/systemd:= )
+	valgrind? ( dev-util/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_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_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:[~2023-03-21 20:12 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21 20:12 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-09  6:22 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/ 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-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=1679429562.7edade2579b58f332baf72592576ecb47b0c2878.flow@gentoo \
    --to=flow@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