mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
smart: Connect contrib/smart to build
Reviewed by: fuz, jrm Relnotes: yes Differential Revision: https://reviews.freebsd.org/D56638
This commit is contained in:
@@ -66,6 +66,7 @@ SUBDIR= blocklist \
|
|||||||
resolvconf \
|
resolvconf \
|
||||||
rip \
|
rip \
|
||||||
runtime \
|
runtime \
|
||||||
|
smart \
|
||||||
smbutils \
|
smbutils \
|
||||||
syslogd \
|
syslogd \
|
||||||
tcpd \
|
tcpd \
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
WORLDPACKAGE= smart
|
||||||
|
|
||||||
|
.include <bsd.pkg.mk>
|
||||||
|
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
|
||||||
@@ -81,6 +81,7 @@ SUBDIR= adduser \
|
|||||||
setfib \
|
setfib \
|
||||||
setfmac \
|
setfmac \
|
||||||
setpmac \
|
setpmac \
|
||||||
|
smart \
|
||||||
smbmsg \
|
smbmsg \
|
||||||
snapinfo \
|
snapinfo \
|
||||||
spi \
|
spi \
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
.include <src.opts.mk>
|
||||||
|
|
||||||
|
SMARTDIR=${SRCTOP}/contrib/smart
|
||||||
|
.PATH: ${SMARTDIR}
|
||||||
|
|
||||||
|
PACKAGE= smart
|
||||||
|
|
||||||
|
.include "${SMARTDIR}/Makefile"
|
||||||
Reference in New Issue
Block a user