[New Port] sysutils/ssd_report
Report SSD health by looking at SMART data. Supports `smartctl' from sysutils/smartmontools but prefers `smart' from sysutils/smart. Also supports JSON output upon request. Reviewed by: mat (mentor) Approved by: portmgr (mat), mat (mentor) Sponsored by: Smule, Inc. Differential Revision: https://reviews.freebsd.org/D15876
This commit is contained in:
parent
ae6e479c6f
commit
134c23b64f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472896
4 changed files with 45 additions and 0 deletions
|
@ -1202,6 +1202,7 @@
|
||||||
SUBDIR += spinner
|
SUBDIR += spinner
|
||||||
SUBDIR += spiped
|
SUBDIR += spiped
|
||||||
SUBDIR += squashfs-tools
|
SUBDIR += squashfs-tools
|
||||||
|
SUBDIR += ssd_report
|
||||||
SUBDIR += sshsudo
|
SUBDIR += sshsudo
|
||||||
SUBDIR += ssid
|
SUBDIR += ssid
|
||||||
SUBDIR += ssync
|
SUBDIR += ssync
|
||||||
|
|
36
sysutils/ssd_report/Makefile
Normal file
36
sysutils/ssd_report/Makefile
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= ssd_report
|
||||||
|
DISTVERSION= 0.2
|
||||||
|
CATEGORIES= sysutils
|
||||||
|
|
||||||
|
MAINTAINER= dteske@FreeBSD.org
|
||||||
|
COMMENT= SSD health report
|
||||||
|
|
||||||
|
LICENSE= BSD2CLAUSE
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
|
FLAVORS= smart smartmontools
|
||||||
|
FLAVOR?= ${FLAVORS:[1]}
|
||||||
|
|
||||||
|
smart_RUN_DEPENDS= smart:sysutils/smart
|
||||||
|
smartmontools_RUN_DEPENDS= smartctl:sysutils/smartmontools
|
||||||
|
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= FrauBSD
|
||||||
|
NO_ARCH= yes
|
||||||
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
PLIST_FILES= sbin/ssd_report
|
||||||
|
PORTDOCS= README.md
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_SCRIPT} ${WRKSRC}/ssd_report ${STAGEDIR}${PREFIX}/sbin
|
||||||
|
|
||||||
|
do-install-DOCS-on:
|
||||||
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
sysutils/ssd_report/distinfo
Normal file
3
sysutils/ssd_report/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1529303779
|
||||||
|
SHA256 (FrauBSD-ssd_report-0.2_GH0.tar.gz) = a56a76277dc095ef24dd954447e6ad86140838308e667d6143a84202a8c17f2c
|
||||||
|
SIZE (FrauBSD-ssd_report-0.2_GH0.tar.gz) = 7715
|
5
sysutils/ssd_report/pkg-descr
Normal file
5
sysutils/ssd_report/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Report SSD health by looking at SMART data. Supports `smartctl' from
|
||||||
|
sysutils/smartmontools but prefers `smart' from sysutils/smart. Also
|
||||||
|
supports JSON output upon request.
|
||||||
|
|
||||||
|
WWW: https://fraubsd.org/ssd_report/
|
Loading…
Reference in a new issue