git: 8d7e0c5a4544 - stable/13 - pkgbase: Create a FreeBSD-rdma package

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 05 Jan 2022 17:24:13 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=8d7e0c5a45442f0602aa63ca64ee48bbdbeb8fd2

commit 8d7e0c5a45442f0602aa63ca64ee48bbdbeb8fd2
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-09-01 18:23:56 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-01-05 17:23:50 +0000

    pkgbase: Create a FreeBSD-rdma package
    
    Put all the rdma related tools into this package.
    
    Differential Revision:   https://reviews.freebsd.org/D31799
    
    (cherry picked from commit cab6a39d7b343596a5823e65c0f7b426551ec22d)
---
 release/packages/Makefile.package             | 2 ++
 usr.bin/ofed/libibverbs/Makefile              | 2 ++
 usr.bin/ofed/libibverbs/asyncwatch/Makefile   | 1 +
 usr.bin/ofed/libibverbs/devices/Makefile      | 1 +
 usr.bin/ofed/libibverbs/devinfo/Makefile      | 1 +
 usr.bin/ofed/libibverbs/rc_pingpong/Makefile  | 1 +
 usr.bin/ofed/libibverbs/srq_pingpong/Makefile | 1 +
 usr.bin/ofed/libibverbs/uc_pingpong/Makefile  | 1 +
 usr.bin/ofed/libibverbs/ud_pingpong/Makefile  | 1 +
 usr.bin/ofed/librdmacm/mckey/Makefile         | 1 +
 usr.bin/ofed/librdmacm/rping/Makefile         | 1 +
 usr.bin/ofed/librdmacm/ucmatose/Makefile      | 1 +
 usr.bin/ofed/librdmacm/udaddy/Makefile        | 1 +
 13 files changed, 15 insertions(+)

diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 86c128b286b4..70f91bf676c3 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -75,6 +75,8 @@ rc_COMMENT= 		RC Scripts
 rc_DESC= 		RC Scripts
 rcmds_COMMENT= 		Remote Command Utilities
 rcmds_DESC= 		Remote Command Utilities
+rdma_COMMENT=		RDMA Utilities
+rdma_DESC=		RDMA Utilities
 rescue_COMMENT= 	Rescue Utilities
 rescue_DESC= 		Rescue Utilities
 runtime_COMMENT= 	FreeBSD Base System
diff --git a/usr.bin/ofed/libibverbs/Makefile b/usr.bin/ofed/libibverbs/Makefile
index bd164751c9ce..533474368372 100644
--- a/usr.bin/ofed/libibverbs/Makefile
+++ b/usr.bin/ofed/libibverbs/Makefile
@@ -1,5 +1,7 @@
 # $FreeBSD$
 
+PACKAGE=	FreeBSD-rdma
+
 SUBDIR= \
 asyncwatch \
 devinfo \
diff --git a/usr.bin/ofed/libibverbs/asyncwatch/Makefile b/usr.bin/ofed/libibverbs/asyncwatch/Makefile
index c82c0024d577..761b1d223c9d 100644
--- a/usr.bin/ofed/libibverbs/asyncwatch/Makefile
+++ b/usr.bin/ofed/libibverbs/asyncwatch/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	ibv_asyncwatch
 MAN=	ibv_asyncwatch.1
 SRCS=	asyncwatch.c
diff --git a/usr.bin/ofed/libibverbs/devices/Makefile b/usr.bin/ofed/libibverbs/devices/Makefile
index c2440ff40a9c..1cb3a4cf31ee 100644
--- a/usr.bin/ofed/libibverbs/devices/Makefile
+++ b/usr.bin/ofed/libibverbs/devices/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	ibv_devices
 MAN=	ibv_devices.1
 SRCS=	device_list.c
diff --git a/usr.bin/ofed/libibverbs/devinfo/Makefile b/usr.bin/ofed/libibverbs/devinfo/Makefile
index 83a61318faef..d5b55bd6b512 100644
--- a/usr.bin/ofed/libibverbs/devinfo/Makefile
+++ b/usr.bin/ofed/libibverbs/devinfo/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	ibv_devinfo
 MAN=	ibv_devinfo.1
 SRCS=	devinfo.c
diff --git a/usr.bin/ofed/libibverbs/rc_pingpong/Makefile b/usr.bin/ofed/libibverbs/rc_pingpong/Makefile
index 4145967dd0a3..12d847e9e238 100644
--- a/usr.bin/ofed/libibverbs/rc_pingpong/Makefile
+++ b/usr.bin/ofed/libibverbs/rc_pingpong/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	ibv_rc_pingpong
 MAN=	ibv_rc_pingpong.1
 SRCS=	rc_pingpong.c pingpong.c
diff --git a/usr.bin/ofed/libibverbs/srq_pingpong/Makefile b/usr.bin/ofed/libibverbs/srq_pingpong/Makefile
index ee2a6e07daca..405625476c6d 100644
--- a/usr.bin/ofed/libibverbs/srq_pingpong/Makefile
+++ b/usr.bin/ofed/libibverbs/srq_pingpong/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	ibv_srq_pingpong
 MAN=	ibv_srq_pingpong.1
 SRCS=	srq_pingpong.c pingpong.c
diff --git a/usr.bin/ofed/libibverbs/uc_pingpong/Makefile b/usr.bin/ofed/libibverbs/uc_pingpong/Makefile
index 8740e7062977..55f3709e5664 100644
--- a/usr.bin/ofed/libibverbs/uc_pingpong/Makefile
+++ b/usr.bin/ofed/libibverbs/uc_pingpong/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	ibv_uc_pingpong
 MAN=	ibv_uc_pingpong.1
 SRCS=	uc_pingpong.c pingpong.c
diff --git a/usr.bin/ofed/libibverbs/ud_pingpong/Makefile b/usr.bin/ofed/libibverbs/ud_pingpong/Makefile
index 7a153f5395a8..dc2ed672c712 100644
--- a/usr.bin/ofed/libibverbs/ud_pingpong/Makefile
+++ b/usr.bin/ofed/libibverbs/ud_pingpong/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	ibv_ud_pingpong
 MAN=	ibv_ud_pingpong.1
 SRCS=	ud_pingpong.c pingpong.c
diff --git a/usr.bin/ofed/librdmacm/mckey/Makefile b/usr.bin/ofed/librdmacm/mckey/Makefile
index f0dd7f023fed..b9d9f8deeb46 100644
--- a/usr.bin/ofed/librdmacm/mckey/Makefile
+++ b/usr.bin/ofed/librdmacm/mckey/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	mckey
 MAN=	mckey.1
 SRCS=	mckey.c
diff --git a/usr.bin/ofed/librdmacm/rping/Makefile b/usr.bin/ofed/librdmacm/rping/Makefile
index 1112357558f8..99881c73682b 100644
--- a/usr.bin/ofed/librdmacm/rping/Makefile
+++ b/usr.bin/ofed/librdmacm/rping/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	rping
 MAN=	rping.1
 SRCS=	rping.c common.c
diff --git a/usr.bin/ofed/librdmacm/ucmatose/Makefile b/usr.bin/ofed/librdmacm/ucmatose/Makefile
index 9f984a8a49a8..4a5e00854ff0 100644
--- a/usr.bin/ofed/librdmacm/ucmatose/Makefile
+++ b/usr.bin/ofed/librdmacm/ucmatose/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	ucmatose
 MAN=	ucmatose.1
 SRCS=	cmatose.c common.c
diff --git a/usr.bin/ofed/librdmacm/udaddy/Makefile b/usr.bin/ofed/librdmacm/udaddy/Makefile
index df8f86de428f..afcf3c6ea74f 100644
--- a/usr.bin/ofed/librdmacm/udaddy/Makefile
+++ b/usr.bin/ofed/librdmacm/udaddy/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	rdma
 PROG=	udaddy
 MAN=	udaddy.1
 SRCS=	udaddy.c common.c