From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A5671584AD for ; Sat, 10 May 2025 08:36:52 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0358C342FE0 for ; Sat, 10 May 2025 08:36:52 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 07BC411036F; Sat, 10 May 2025 08:36:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 00B1611036F for ; Sat, 10 May 2025 08:36:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A255E342FE0 for ; Sat, 10 May 2025 08:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 102F020FB for ; Sat, 10 May 2025 08:36:49 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1746866206.0331194b0bf45adcbf349d69daeefcb22c67166f.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/rdma-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/rdma-core/Manifest sys-cluster/rdma-core/rdma-core-57.0.ebuild X-VCS-Directories: sys-cluster/rdma-core/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 0331194b0bf45adcbf349d69daeefcb22c67166f X-VCS-Branch: master Date: Sat, 10 May 2025 08:36:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f03d2981-56c4-4f01-a2cb-11c64e699feb X-Archives-Hash: 9f38fe143ef52ed60aec98708ac5504d commit: 0331194b0bf45adcbf349d69daeefcb22c67166f Author: Patrick Lauer gentoo org> AuthorDate: Sat May 10 08:35:22 2025 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sat May 10 08:36:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0331194b sys-cluster/rdma-core: add 57.0 Signed-off-by: Patrick Lauer gentoo.org> sys-cluster/rdma-core/Manifest | 1 + sys-cluster/rdma-core/rdma-core-57.0.ebuild | 119 ++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/sys-cluster/rdma-core/Manifest b/sys-cluster/rdma-core/Manifest index 3c54e1162a63..2827cc7bacef 100644 --- a/sys-cluster/rdma-core/Manifest +++ b/sys-cluster/rdma-core/Manifest @@ -4,3 +4,4 @@ DIST rdma-core-53.3.tar.gz 2167557 BLAKE2B c4866ed8849b072ed47bcb74a4d440ffd3722 DIST rdma-core-54.2.tar.gz 2171835 BLAKE2B feb454682b16a3476cb8c987f9966c556e0bc4dd5b3200645fe6f1c38d8905513d95a5037b057ab5d7c969b6507c4172e5c675da7069faddadd84251d2737df3 SHA512 fdeb7edd91c1ef131585b724dd4526752abc027f23da56523d94abb0beef29e8c5aecc0a55b7ad41cd8b0766c0631cbd4e01b6d4984de8c18f14762f0544fb36 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 diff --git a/sys-cluster/rdma-core/rdma-core-57.0.ebuild b/sys-cluster/rdma-core/rdma-core-57.0.ebuild new file mode 100644 index 000000000000..436707f6c472 --- /dev/null +++ b/sys-cluster/rdma-core/rdma-core-57.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 +}