aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-09-01 17:12:09 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2022-01-05 17:23:49 +0000
commita4e8cac9189f2e14267b00221404df5159ba455c (patch)
treee24104984eccda20e8b3b3989b12590ae1410fcc
parent8fe89b718ab817aafd6301cd8a105b8e90bbc8d6 (diff)
downloadsrc-a4e8cac9189f2e14267b00221404df5159ba455c.tar.gz
src-a4e8cac9189f2e14267b00221404df5159ba455c.zip
pkgbase: Create a mlx-tools package
mlx* are only useful for users who have a Mellanox card. Create a package for it so users that don't have this card can avoid having this program. Differential Revision: https://reviews.freebsd.org/D31795 (cherry picked from commit 80645e1ce5574ce4d63f0a1cad287949440384da)
-rw-r--r--release/packages/Makefile.package2
-rw-r--r--usr.sbin/mlx5tool/Makefile2
-rw-r--r--usr.sbin/mlxcontrol/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 9fe9e08aabcc..243291e33d14 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -63,6 +63,8 @@ kernel_COMMENT= FreeBSD Kernel
kernel_DESC= FreeBSD Kernel
manuals_COMMENT= Manual Pages
manuals_DESC= Manual Pages
+mlx-tools_COMMENT= Mellanox Utilities
+mlx-tools_DESC= Mellanox Utilities
nfs_COMMENT= NFS Utilities
nfs_DESC= NFS Utilities
openssl_COMMENT= OpenSSL Library and Utility
diff --git a/usr.sbin/mlx5tool/Makefile b/usr.sbin/mlx5tool/Makefile
index 43b725516d2a..c8d0277c541d 100644
--- a/usr.sbin/mlx5tool/Makefile
+++ b/usr.sbin/mlx5tool/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+PACKAGE= mlx-tools
+
PROG= mlx5tool
MAN= mlx5tool.8
diff --git a/usr.sbin/mlxcontrol/Makefile b/usr.sbin/mlxcontrol/Makefile
index 5a425fd003da..3f2755bda929 100644
--- a/usr.sbin/mlxcontrol/Makefile
+++ b/usr.sbin/mlxcontrol/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+PACKAGE= mlx-tools
+
PROG= mlxcontrol
MAN= mlxcontrol.8
SRCS= command.c config.c interface.c util.c