extra/rdma-core to 49.0-1

This commit is contained in:
Kevin Mihelich 2024-01-06 23:10:17 +00:00
parent 2cf63eea06
commit be7bc8bb73
2 changed files with 86 additions and 5 deletions

80
extra/rdma-core/.SRCINFO Normal file
View file

@ -0,0 +1,80 @@
pkgbase = rdma-core
pkgdesc = RDMA core userspace libraries and daemons
pkgver = 49.0
pkgrel = 1
url = https://github.com/linux-rdma/rdma-core
arch = x86_64
license = GPL2
license = custom:OpenIB.org BSD (MIT variant)
makedepends = git
makedepends = cmake
makedepends = systemd
makedepends = ninja
makedepends = pandoc
makedepends = libdrm
makedepends = cython0
makedepends = python
makedepends = python-docutils
makedepends = valgrind
depends = libnl
depends = ethtool
depends = perl
depends = systemd-libs
provides = rdma
provides = ibacm
provides = libiwpm
provides = libibcm
provides = libibumad
provides = libibverbs
provides = librdmacm
provides = libcxgb3
provides = libcxgb4
provides = libmlx4
provides = libmlx5
provides = libmthca
provides = libnes
provides = libocrdma
provides = srptools
provides = infiniband-diags
provides = libibmad
conflicts = rdma
conflicts = ibacm
conflicts = libiwpm
conflicts = libibcm
conflicts = libibumad
conflicts = libibverbs
conflicts = librdmacm
conflicts = libcxgb3
conflicts = libcxgb4
conflicts = libmlx4
conflicts = libmlx5
conflicts = libmthca
conflicts = libnes
conflicts = libocrdma
conflicts = srptools
conflicts = infiniband-diags
conflicts = libibmad
replaces = rdma
replaces = ibacm
replaces = libiwpm
replaces = libibcm
replaces = libibumad
replaces = libibverbs
replaces = librdmacm
replaces = libcxgb3
replaces = libcxgb4
replaces = libmlx4
replaces = libmlx5
replaces = libmthca
replaces = libnes
replaces = libocrdma
replaces = srptools
replaces = infiniband-diags
replaces = libibmad
backup = etc/rdma/rdma.conf
backup = etc/rdma/mlx4.conf
source = https://github.com/linux-rdma/rdma-core/archive/v49.0/rdma-core-49.0.tar.gz
validpgpkeys = 42D25385C1A1C02B8B1B1C6F801BDDB825988F64
sha512sums = 2da35b489d6a82776dceac4b067a7a9f931b6c4737a205f522616fa028c74c10c098195d6843970ffeb22c8b416975bcfcd11d53a60ff855653624673f1d498a
pkgname = rdma-core

View file

@ -6,13 +6,13 @@
pkgname=rdma-core
pkgdesc='RDMA core userspace libraries and daemons'
pkgver=44.0
pkgrel=2
pkgver=49.0
pkgrel=1
arch=('x86_64')
url="https://github.com/linux-rdma/rdma-core"
license=('GPL2' 'custom:OpenIB.org BSD (MIT variant)')
depends=('libnl' 'ethtool' 'perl' 'systemd-libs')
makedepends=('git' 'cmake' 'systemd' 'ninja' 'libdrm' 'cython' 'python' 'python-docutils' 'valgrind')
makedepends=('git' 'cmake' 'systemd' 'ninja' 'libdrm' 'cython0' 'python' 'python-docutils' 'valgrind')
_provides=('rdma' 'ibacm' 'libiwpm' 'libibcm' 'libibumad' 'libibverbs'
'librdmacm' 'libcxgb3' 'libcxgb4' 'libmlx4' 'libmlx5' 'libmthca' 'libnes' 'libocrdma'
'srptools' 'infiniband-diags' 'libibmad')
@ -21,7 +21,7 @@ conflicts=("${_provides[@]}")
replaces=("${_provides[@]}")
backup=(etc/rdma/{rdma.conf,mlx4.conf})
source=("https://github.com/linux-rdma/rdma-core/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('7375bf352a28d8bec2525f518381596c39dec185fa06068a580dc31a386187351d039bbf28b6b1e3779d092ed492cf0ba882dbcd5c3c2290e3edf250e5545f19')
sha512sums=('2da35b489d6a82776dceac4b067a7a9f931b6c4737a205f522616fa028c74c10c098195d6843970ffeb22c8b416975bcfcd11d53a60ff855653624673f1d498a')
validpgpkeys=('42D25385C1A1C02B8B1B1C6F801BDDB825988F64') # nicolas@morey-chaisemartin.com
prepare() {
@ -33,6 +33,8 @@ prepare() {
--expression='s|/usr/sbin|/usr/bin|g' \
--expression='s|/sbin|/usr/bin|g' \
'{}' '+'
sed -e 's|"drm"|"libdrm"|' -i CMakeLists.txt # Fix drm include dir
}
build() {
@ -42,7 +44,6 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_RUNDIR=/run \
-DCMAKE_INSTALL_SBINDIR=/usr/bin \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/rdma \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_PERLDIR=/usr/share/perl5/vendor_perl \