mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +02:00
rdma-core: update to 44.0.
libibmad has been merged with this package and obsoleted upstream. Closes: #40866 [via git-merge-pr]
This commit is contained in:
parent
4b2a68b9f7
commit
c6f3bd2032
5 changed files with 51 additions and 36 deletions
1
srcpkgs/libibmad
Symbolic link
1
srcpkgs/libibmad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rdma-core
|
|
@ -1 +1 @@
|
|||
libibmad
|
||||
rdma-core
|
|
@ -1,22 +0,0 @@
|
|||
# Template file for 'libibmad'
|
||||
pkgname=libibmad
|
||||
version=1.3.13
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
makedepends="rdma-core-devel"
|
||||
short_desc="OpenFabrics Alliance InfiniBand diagnostic and management library"
|
||||
maintainer="Rich Gannon <rich@richgannon.net>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://openfabrics.org"
|
||||
distfiles="https://www.openfabrics.org/downloads/management/libibmad-${version}.tar.gz"
|
||||
checksum=17cdd721c81fecefc366601c46c55a4d44c93799980a0a34c271b12bc544520b
|
||||
|
||||
libibmad-devel_package() {
|
||||
depends="libibmad-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
22
srcpkgs/rdma-core/patches/manpages.patch
Normal file
22
srcpkgs/rdma-core/patches/manpages.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
Install manpages not depending on pandoc and rst2man.
|
||||
|
||||
--- a/buildlib/rdma_man.cmake
|
||||
+++ b/buildlib/rdma_man.cmake
|
||||
@@ -68,7 +68,7 @@ endfunction()
|
||||
# filename
|
||||
function(rdma_man_pages)
|
||||
foreach(I ${ARGN})
|
||||
- if ("${I}" MATCHES "\\.md$")
|
||||
+ if ("${I}" MATCHES "\\.md$" AND PANDOC_FOUND)
|
||||
string(REGEX REPLACE "^.+[.](.+)\\.md$" "\\1" MAN_SECT "${I}")
|
||||
string(REGEX REPLACE "^(.+)\\.md$" "\\1" BASE_NAME "${I}")
|
||||
get_filename_component(BASE_NAME "${BASE_NAME}" NAME)
|
||||
@@ -77,7 +77,7 @@ function(rdma_man_pages)
|
||||
"${I}"
|
||||
"${MAN_SECT}"
|
||||
"${BASE_NAME}")
|
||||
- elseif ("${I}" MATCHES "\\.in\\.rst$")
|
||||
+ elseif ("${I}" MATCHES "\\.in\\.rst$" AND RST2MAN_FOUND)
|
||||
string(REGEX REPLACE "^.+[.](.+)\\.in\\.rst$" "\\1" MAN_SECT "${I}")
|
||||
string(REGEX REPLACE "^(.+)\\.in\\.rst$" "\\1" BASE_NAME "${I}")
|
||||
get_filename_component(BASE_NAME "${BASE_NAME}" NAME)
|
|
@ -1,20 +1,22 @@
|
|||
# Template file for 'rdma-core'
|
||||
pkgname=rdma-core
|
||||
version=23.3
|
||||
revision=2
|
||||
version=44.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_VALGRIND=OFF"
|
||||
hostmakedepends="pkg-config python3"
|
||||
configure_args="-DENABLE_VALGRIND=OFF
|
||||
-DCMAKE_INSTALL_MODPROBEDIR=/usr/lib/modprobe.d"
|
||||
hostmakedepends="pkg-config python3 $(vopt_if docs 'pandoc python3-docutils')"
|
||||
makedepends="libnl3-devel eudev-libudev-devel python3-devel"
|
||||
short_desc="RDMA core userspace libraries and daemons"
|
||||
maintainer="Rich G <rich@richgannon.net>"
|
||||
license="GPL-2.0-or-later, BSD-2-Clause, MIT"
|
||||
homepage="https://github.com/linux-rdma/rdma-core"
|
||||
distfiles="https://github.com/linux-rdma/rdma-core/releases/download/v${version}/rdma-core-${version}.tar.gz"
|
||||
checksum=0afb7aa2654ea914c3b5d12e6e8f2fc3f325b0a52da1febf4f66788bf0b2bb14
|
||||
checksum=25d6601e60f27bbcd75e07fe340400cb80e6c3c487679700535385cfc9d9858b
|
||||
build_options="docs"
|
||||
desc_option_docs="Enable documentation"
|
||||
|
||||
conf_files="
|
||||
/etc/iwpmd.conf
|
||||
conf_files="/etc/iwpmd.conf
|
||||
/etc/srp_daemon.conf
|
||||
/etc/rdma/modules/infiniband.conf
|
||||
/etc/rdma/modules/iwarp.conf
|
||||
|
@ -24,13 +26,13 @@ conf_files="
|
|||
/etc/rdma/modules/roce.conf
|
||||
/etc/rdma/modules/srp_daemon.conf"
|
||||
|
||||
post_install() {
|
||||
# Fix path of udev rule
|
||||
mv ${DESTDIR}/etc/udev/rules.d/70-persistent-ipoib.rules \
|
||||
${DESTDIR}/usr/lib/udev/rules.d
|
||||
case "$XBPS_MACHINE" in
|
||||
x86_64*|i686*|ppc64le*|ppc64) build_options_default="docs" ;;
|
||||
esac
|
||||
|
||||
# Fix location of modprobe.d files
|
||||
mv ${DESTDIR}/etc/modprobe.d ${DESTDIR}/usr/lib
|
||||
post_install() {
|
||||
# not needed
|
||||
rm -rf ${DESTDIR}/usr/lib/systemd ${DESTDIR}/etc/init.d
|
||||
|
||||
vlicense COPYING.BSD_FB
|
||||
vlicense COPYING.BSD_MIT
|
||||
|
@ -46,3 +48,15 @@ rdma-core-devel_package() {
|
|||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
libibmad_package() {
|
||||
depends="rdma-core>=${version}_${revision}"
|
||||
short_desc+=" (transitional dummy package)"
|
||||
build_style=meta
|
||||
}
|
||||
|
||||
libibmad-devel_package() {
|
||||
depends="rdma-core-devel>=${version}_${revision}"
|
||||
short_desc+=" - development files (transitional dummy package)"
|
||||
build_style=meta
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue