aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-09-01 17:12:09 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-09-07 08:20:16 +0000
commit80645e1ce5574ce4d63f0a1cad287949440384da (patch)
treeda2f86ab2180014909538ad42be58581d9cc591b
parentb8876cac2d230098b902e7f927ef170312a06c03 (diff)
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
-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 da89352eaa78..b5957f8d5b53 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