git: a4e8cac9189f - stable/13 - pkgbase: Create a mlx-tools package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jan 2022 17:24:08 UTC
The branch stable/13 has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=a4e8cac9189f2e14267b00221404df5159ba455c
commit a4e8cac9189f2e14267b00221404df5159ba455c
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-09-01 17:12:09 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-01-05 17:23:49 +0000
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)
---
release/packages/Makefile.package | 2 ++
usr.sbin/mlx5tool/Makefile | 2 ++
usr.sbin/mlxcontrol/Makefile | 2 ++
3 files changed, 6 insertions(+)
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