Date: Mon, 11 May 2026 22:21:20 +0000 From: Chuck Tuffli <chuck@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 25942dddc8a8 - main - smart: Connect contrib/smart to build Message-ID: <6a025660.37fa7.6a3f7fc0@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by chuck: URL: https://cgit.FreeBSD.org/src/commit/?id=25942dddc8a81a338d4615db99b8e7cbb8550449 commit 25942dddc8a81a338d4615db99b8e7cbb8550449 Author: Chuck Tuffli <chuck@FreeBSD.org> AuthorDate: 2026-04-28 16:55:50 +0000 Commit: Chuck Tuffli <chuck@FreeBSD.org> CommitDate: 2026-05-11 22:18:52 +0000 smart: Connect contrib/smart to build Reviewed by: fuz, jrm Relnotes: yes Differential Revision: https://reviews.freebsd.org/D56638 --- packages/Makefile | 1 + packages/smart/Makefile | 4 ++++ packages/smart/smart.ucl | 30 ++++++++++++++++++++++++++++++ usr.sbin/Makefile | 1 + usr.sbin/smart/Makefile | 8 ++++++++ 5 files changed, 44 insertions(+) diff --git a/packages/Makefile b/packages/Makefile index 79bdab9f1abd..71a49d6d06ea 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -66,6 +66,7 @@ SUBDIR= blocklist \ resolvconf \ rip \ runtime \ + smart \ smbutils \ syslogd \ tcpd \ diff --git a/packages/smart/Makefile b/packages/smart/Makefile new file mode 100644 index 000000000000..2cc04493da57 --- /dev/null +++ b/packages/smart/Makefile @@ -0,0 +1,4 @@ +WORLDPACKAGE= smart + +.include <bsd.pkg.mk> + diff --git a/packages/smart/smart.ucl b/packages/smart/smart.ucl new file mode 100644 index 000000000000..e861f61a08ab --- /dev/null +++ b/packages/smart/smart.ucl @@ -0,0 +1,30 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2026 Chuck Tuffli <chuck@FreeBSD.org> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +comment = "SMART monitoring" + +desc = <<EOD +smart(8) allows the user to monitor the various information reported +by Self-Monitoring, Analysis and Reporting Technology (SMART) present +on most ATA, SCSI, and NVMe storage media. +EOD + +annotations { + set = "optional,optional-jail" +} + diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 3d3a8443a7cf..9e885d5d45c5 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -81,6 +81,7 @@ SUBDIR= adduser \ setfib \ setfmac \ setpmac \ + smart \ smbmsg \ snapinfo \ spi \ diff --git a/usr.sbin/smart/Makefile b/usr.sbin/smart/Makefile new file mode 100644 index 000000000000..924b06d3ebcb --- /dev/null +++ b/usr.sbin/smart/Makefile @@ -0,0 +1,8 @@ +.include <src.opts.mk> + +SMARTDIR=${SRCTOP}/contrib/smart +.PATH: ${SMARTDIR} + +PACKAGE= smart + +.include "${SMARTDIR}/Makefile"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a025660.37fa7.6a3f7fc0>
