diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-10 02:01:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-10 02:01:16 +0000 |
commit | 59437d191de3ff33f9bfa37f8656d849184fcaf0 (patch) | |
tree | 7d5e645c0aac6d8b71229a0e53d7a93136f83781 /sys-cluster | |
parent | 1a95f960273f276a4fdefb824336b073d83bcb5e (diff) |
gentoo auto-resync : 10:12:2024 - 02:01:16
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/Manifest.gz | bin | 11713 -> 11719 bytes | |||
-rw-r--r-- | sys-cluster/rdma-core/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/rdma-core/rdma-core-53.1.ebuild | 119 |
3 files changed, 121 insertions, 0 deletions
diff --git a/sys-cluster/Manifest.gz b/sys-cluster/Manifest.gz Binary files differindex 0bba6d62bee0..12e952faad99 100644 --- a/sys-cluster/Manifest.gz +++ b/sys-cluster/Manifest.gz diff --git a/sys-cluster/rdma-core/Manifest b/sys-cluster/rdma-core/Manifest index f8bb89d96eab..77adfcb875a5 100644 --- a/sys-cluster/rdma-core/Manifest +++ b/sys-cluster/rdma-core/Manifest @@ -4,7 +4,9 @@ AUX rdma-core-39.0-RDMA_BuildType.patch 314 BLAKE2B 86a44ca599ad3e02908640d46950 AUX rdma-core-50.0-use-posix-version-of-basename.patch 2155 BLAKE2B 55686cf10798f3bec0dbe21e50075476b6f0732c4483a4d06d97185c2b7982afcbaa9f60c5a20815c8c7eb037c66992a0ce246d9b9ea1bd21228bf2751144cb5 SHA512 f4a7c8d207255428723da1d6fbf56ca90b07fad46d3ba42fc9e7cdb42411a70c83bf47dcee650536dd22aacdc18b7ddc0f463459de06c24883f500e6129494f9 AUX srpd.init 535 BLAKE2B 71b1c00f804ad2d5d5919044eda7dfd5ca273a8bbb2debe31cf7759b6122007f5dca5da521eca882a4c48011a9cf78433c7a0fbda4a9d7d39ab89fb6f72b44f7 SHA512 3fdeb9cf5cddcf9a9fcb516c757eb82aee6eb3651e43b8579ed4a909f9b90863400e1a1bde46bb3a3ce6aeb477c40709c828739c87b3fa80d2bd8d179fcd295d DIST rdma-core-50.0.tar.gz 1961247 BLAKE2B e17857eae1cebea7f82d061a41905577088c553f18f7aacfc7901e13e890a0b5bb2a776140e603b41c8a45d6690e27852f291bd0cc0b839c469c2caeb0854bb3 SHA512 0d341300dde2a8756ab0e80bf8d316627c997e85661d50b51897aa03e1b7326f4ca7a6f24e370354779482a2d9455e58dbb07e6292ed8b511e7f195e4e2d1850 +DIST rdma-core-53.1.tar.gz 2170895 BLAKE2B d4ab2785aa9e3f3d349bfeeb0ed3354f44c43f730c5988ca8de6489ee41de9c6fa57d157931b424031fba85ec6cc7a4b3befcf9a10ed7d302f26a95d22478f16 SHA512 d786c6854093fbc1b876aec068ea87d0e5cc2a217c19e515cf48ba2fb7018f3da60b9cd6f204b6f04c1b295fec47ddafdca330cb734a0df7b6d7631d77cca0a9 EBUILD rdma-core-50.0-r1.ebuild 2969 BLAKE2B 457f5a45123341bfe5365fe42fda80f06326e50655a7fc72fb375bb3241d0b463450c0621cdf8aee54d83fe87814a806a8b6bb432bb7ccdd8fc443d61e6b9581 SHA512 505c83bbef23d322571208d215e3ef30013a37d4707ec288c3a617b21a00c6fce7a157ec470b0b64e1de7a771628a67333eb119ed647e0d8be2d5d0c59a50352 EBUILD rdma-core-50.0.ebuild 2907 BLAKE2B 3de64171b455cacb15f9675c378c475d2e3b52c354b07806691f21583b8e1a482b7b78162cc5ab058c8f42127704980f93e916cd265c326351302994dabbc260 SHA512 7a1f25f538d7176de6cc096bc9b530673d6371f7ebfbf926511c7b230bcd1e0b8bc55dc70cbd95bdd937a1e9926c1b62f8bf9e7f65a0d71b570fafa2f8f789f8 +EBUILD rdma-core-53.1.ebuild 2907 BLAKE2B 3de64171b455cacb15f9675c378c475d2e3b52c354b07806691f21583b8e1a482b7b78162cc5ab058c8f42127704980f93e916cd265c326351302994dabbc260 SHA512 7a1f25f538d7176de6cc096bc9b530673d6371f7ebfbf926511c7b230bcd1e0b8bc55dc70cbd95bdd937a1e9926c1b62f8bf9e7f65a0d71b570fafa2f8f789f8 EBUILD rdma-core-9999.ebuild 2711 BLAKE2B f51858224e037c905a98649fb3fd322f92cb72998fd8f44a71a466d84754078ec9e811205a63a660669a2bbe7bffe9efb578b246620e7c921a4b16e04f10ff62 SHA512 ecc7d2ab7c49429335f24b2f63b4d89af91c696a7ad666731699efbaede83560a3086f944cd1318ba94833b5d30fbec4ca34ee00ff50711f4520b75dd2e6a1be MISC metadata.xml 523 BLAKE2B 31562c17af5b7350935fdaa623ba3dafede153fb374176f1896e16fd628f8f4e33e2f0fbc0a70bb94e11c90ba04f7e702d0d6de0d8999d20e09155a02d7b6bf9 SHA512 4c818b0ac56251d93463e3681245661c32b1df370ac563013ee0907038ca4084a722ceab89cfdaddef7d632d5862ac2c4365ff57133fcdc087ca19660e64c041 diff --git a/sys-cluster/rdma-core/rdma-core-53.1.ebuild b/sys-cluster/rdma-core/rdma-core-53.1.ebuild new file mode 100644 index 000000000000..2763cb3b564b --- /dev/null +++ b/sys-cluster/rdma-core/rdma-core-53.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +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 +} |