From d99093fb4bb5652015c06274d64083daa2439e4f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Mar 2021 10:28:17 +0000 Subject: gentoo resync : 03.03.2021 --- sys-cluster/rdma-core/Manifest | 4 +- sys-cluster/rdma-core/rdma-core-32.0-r1.ebuild | 104 +++++++++++++++++++++++++ sys-cluster/rdma-core/rdma-core-33.0-r1.ebuild | 103 ++++++++++++++++++++++++ sys-cluster/rdma-core/rdma-core-9999.ebuild | 4 +- 4 files changed, 212 insertions(+), 3 deletions(-) create mode 100644 sys-cluster/rdma-core/rdma-core-32.0-r1.ebuild create mode 100644 sys-cluster/rdma-core/rdma-core-33.0-r1.ebuild (limited to 'sys-cluster/rdma-core') diff --git a/sys-cluster/rdma-core/Manifest b/sys-cluster/rdma-core/Manifest index 1894d42be1e5..ef93c6e356e6 100644 --- a/sys-cluster/rdma-core/Manifest +++ b/sys-cluster/rdma-core/Manifest @@ -8,7 +8,9 @@ DIST rdma-core-32.0.tar.gz 1525119 BLAKE2B 8f754c04be3f13a90a162fde09f96b26d6653 DIST rdma-core-33.0.tar.gz 1549162 BLAKE2B 7b7c8711eaeb9e66159962bcf0f70644cbb4af96df70f3c9ee6e9d9c8c3e4de5d3248666a0b3fe490537f91cc18c5d09448c72b98c45585e0645594deedee071 SHA512 64ace358c6336519131aea858012e22791bf2ab95f06d655a87835361b5822f5ce0c29db8ddb83121a62f4606418d5fa11358e7ad84da4f93f6233fb3947e52c EBUILD rdma-core-30.0-r2.ebuild 2580 BLAKE2B 48ba21b325a0e887eef44e2be0b78a536f70f25987cce89d507dde44a2e242c2b448e09b0706e163ffc13fcc7fab24ddc7332ab9077dffda37b09858350970fd SHA512 d3e651ff08d354627bd915dd70b84217551e8e9e11d7b5b558885e95ee1e8f8e6a72641d2b84da923dc45736e632dcd4de5a05e7853af3f13c900c32dfb4d740 EBUILD rdma-core-31.0.ebuild 2587 BLAKE2B cc2b88904767fd9f50b5487acfbf70c57fa6e1e309c06e6cee1fd4c6398a6776a6bcef4bf3e562ed978f53fb4e059292b8aa51d939aafa3e74c507245f130ab0 SHA512 2b0f0448cf17e1b36b8012210da290c17d3840eedeaba4e4e35eba77b416372ebae2165c482264f84eb55c9296cf206b4154ef22d128b32d2a2f3e6867db5e28 +EBUILD rdma-core-32.0-r1.ebuild 2588 BLAKE2B 0d0de425cc3d07c859fa859773588843b60b1397cff18fe11643a909d914b0aa639d13437aa01f91de5504de233320c1719109edfc4bc250affb577244793bbc SHA512 3526d2f1e9928c8aaa39fd332dcbff0135eb87e47f4b0b108cbe53174a5be4f275f73223191cf32377e761d8d844a61f1fbe440a3abf18c054674bf425e1b3ac EBUILD rdma-core-32.0.ebuild 2587 BLAKE2B cc2b88904767fd9f50b5487acfbf70c57fa6e1e309c06e6cee1fd4c6398a6776a6bcef4bf3e562ed978f53fb4e059292b8aa51d939aafa3e74c507245f130ab0 SHA512 2b0f0448cf17e1b36b8012210da290c17d3840eedeaba4e4e35eba77b416372ebae2165c482264f84eb55c9296cf206b4154ef22d128b32d2a2f3e6867db5e28 +EBUILD rdma-core-33.0-r1.ebuild 2587 BLAKE2B 5600187fb5f18021ec4bd4c1c238b90cd926c6147caff9734b98d62c867e15554caafb97cf793fc3feda8e63fdbe4d96252881724791131d8070181caf66381c SHA512 cf82507223c8516188f657d1c8f411945fe1eb704a6da774c3d314f1165f46384aecdd76fe1636e6e0af2378757160ece84122e4b58dc722c7d1ce151fd41951 EBUILD rdma-core-33.0.ebuild 2587 BLAKE2B 996ef61a699bc53db69ac01c15647d8cea6e5db54c797da99d922d145a6c16099fd4bf7704f945d68f0e7bf2a9ab8ee5e09241f29514bcf6eb6a17f9df8aaa19 SHA512 6106420889b2612df560f11b5ee58765622e04bd81dba1f0a2409557530c3d2f95aaf59ed9b7a443cb48550144fe8718c9f938dcf5c8bfda3dd42dca5aaa2e06 -EBUILD rdma-core-9999.ebuild 2585 BLAKE2B 7410a9d9ab1ef66c5046dfe8b83e688954c90e78396a0e98374edb7df8f2ddf004cab42fb3a0994a9d8cadd1014bc26ccd1d448da9699453e3d86e432c8e3c7b SHA512 0c4d522a800af578ce6b85747779d36c3beb6b22746c491012a6f64b868c8e37d7bab7c8a305445cc059a9891be3834bf88978aa3c2431779509874d60c37b38 +EBUILD rdma-core-9999.ebuild 2586 BLAKE2B f954173777104ec405fa3451b39f48d9d891fa6dbf7b473e825ee895b0e7f6ba414b1fb49dd0472394b91d2cad13c694517cc6e1087714952e17be148dc26bc0 SHA512 c56ff51ef73115ba6b39d51bd73ce23f519cc8007310e7c168b29a22e5eb2dc9bffb7959cd219497c7d768ec091d25eae7f22b1aa37a812ced36847486be2e07 MISC metadata.xml 559 BLAKE2B 1526777511ab5118d4de73361959107221858659ebbc60f52eb09b45d0798d969f847e4f157501ed6e8c85c2cee1c93d0b26989b357141bba45af946e2e5b0a1 SHA512 5d69acf3d0a323c0d2ee66971fd058c6c0ebf59e4fac0d4777b15bfcc7db8f515b67e6059d204346404ce3b26cdd77c2bea21e1132f418498fe1523eb16dccbb diff --git a/sys-cluster/rdma-core/rdma-core-32.0-r1.ebuild b/sys-cluster/rdma-core/rdma-core-32.0-r1.ebuild new file mode 100644 index 000000000000..f8daeb644520 --- /dev/null +++ b/sys-cluster/rdma-core/rdma-core-32.0-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit cmake 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/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~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=" + 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_MULTI_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" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/optional_pandoc.patch ) + +pkg_setup() { + use python && python-single-r1_pkg_setup + +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_INSTALL_RUNDIR=/run + -DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib + -DCMAKE_INSTALL_UDEV_RULESDIR="$(get_udevdir)"/rules.d + -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)" + -DCMAKE_DISABLE_FIND_PACKAGE_pandoc=yes + $(ver_test -ge 25 && echo -DCMAKE_DISABLE_FIND_PACKAGE_rst2man=yes) + -DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex systemd no yes)" + -DENABLE_VALGRIND="$(usex valgrind)" + -DENABLE_RESOLVE_NEIGH="$(usex neigh)" + -DENABLE_STATIC="$(usex static-libs)" + ) + + if use python; then + mycmakeargs+=( -DNO_PYVERBS=OFF ) + else + mycmakeargs+=( -DNO_PYVERBS=ON ) + fi + + cmake_src_configure +} + +src_install() { + cmake_src_install + + udev_dorules "${D}"/etc/udev/rules.d/70-persistent-ipoib.rules + rm -r "${D}"/etc/{udev,init.d} || die + + if use neigh; then + newinitd "${FILESDIR}"/ibacm.init ibacm + newinitd "${FILESDIR}"/iwpmd.init iwpmd + fi + + newinitd "${FILESDIR}"/srpd.init srpd + + use python && python_optimize +} diff --git a/sys-cluster/rdma-core/rdma-core-33.0-r1.ebuild b/sys-cluster/rdma-core/rdma-core-33.0-r1.ebuild new file mode 100644 index 000000000000..d83a2529ce22 --- /dev/null +++ b/sys-cluster/rdma-core/rdma-core-33.0-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit cmake 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/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~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=" + 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_MULTI_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" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/optional_pandoc.patch ) + +pkg_setup() { + use python && python-single-r1_pkg_setup + +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_INSTALL_RUNDIR=/run + -DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib + -DCMAKE_INSTALL_UDEV_RULESDIR="$(get_udevdir)"/rules.d + -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)" + -DCMAKE_DISABLE_FIND_PACKAGE_pandoc=yes + $(ver_test -ge 25 && echo -DCMAKE_DISABLE_FIND_PACKAGE_rst2man=yes) + -DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex systemd no yes)" + -DENABLE_VALGRIND="$(usex valgrind)" + -DENABLE_RESOLVE_NEIGH="$(usex neigh)" + -DENABLE_STATIC="$(usex static-libs)" + ) + + if use python; then + mycmakeargs+=( -DNO_PYVERBS=OFF ) + else + mycmakeargs+=( -DNO_PYVERBS=ON ) + fi + + cmake_src_configure +} + +src_install() { + cmake_src_install + + udev_dorules "${D}"/etc/udev/rules.d/70-persistent-ipoib.rules + rm -r "${D}"/etc/{udev,init.d} || die + + if use neigh; then + newinitd "${FILESDIR}"/ibacm.init ibacm + newinitd "${FILESDIR}"/iwpmd.init iwpmd + fi + newinitd "${FILESDIR}"/srpd.init srpd + + use python && python_optimize +} diff --git a/sys-cluster/rdma-core/rdma-core-9999.ebuild b/sys-cluster/rdma-core/rdma-core-9999.ebuild index 04f071dfb379..22768de9389d 100644 --- a/sys-cluster/rdma-core/rdma-core-9999.ebuild +++ b/sys-cluster/rdma-core/rdma-core-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -95,9 +95,9 @@ src_install() { if use neigh; then newinitd "${FILESDIR}"/ibacm.init ibacm + newinitd "${FILESDIR}"/iwpmd.init iwpmd fi - newinitd "${FILESDIR}"/iwpmd.init iwpmd newinitd "${FILESDIR}"/srpd.init srpd use python && python_optimize -- cgit v1.2.3