From 80645e1ce5574ce4d63f0a1cad287949440384da Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 1 Sep 2021 19:12:09 +0200 Subject: [PATCH] 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 --- 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 da89352eaa7..b5957f8d5b5 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 43b725516d2..c8d0277c541 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 5a425fd003d..3f2755bda92 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 -- 2.45.2