aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ssd_report
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2018-06-20 18:31:47 +0000
committerDevin Teske <dteske@FreeBSD.org>2018-06-20 18:31:47 +0000
commit134c23b64f9457cbb95f8151109ff8b4de6db462 (patch)
tree268e2bb11a2e45a0ee25335e1285571a65095fa7 /sysutils/ssd_report
parentae6e479c6f1ff84272b96e47d22eed68ad0a2004 (diff)
downloadports-134c23b64f9457cbb95f8151109ff8b4de6db462.tar.gz
ports-134c23b64f9457cbb95f8151109ff8b4de6db462.zip
Notes
Diffstat (limited to 'sysutils/ssd_report')
-rw-r--r--sysutils/ssd_report/Makefile36
-rw-r--r--sysutils/ssd_report/distinfo3
-rw-r--r--sysutils/ssd_report/pkg-descr5
3 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/ssd_report/Makefile b/sysutils/ssd_report/Makefile
new file mode 100644
index 000000000000..a1fa12c860b7
--- /dev/null
+++ b/sysutils/ssd_report/Makefile
@@ -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>
diff --git a/sysutils/ssd_report/distinfo b/sysutils/ssd_report/distinfo
new file mode 100644
index 000000000000..9e52e1b7e5f2
--- /dev/null
+++ b/sysutils/ssd_report/distinfo
@@ -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
diff --git a/sysutils/ssd_report/pkg-descr b/sysutils/ssd_report/pkg-descr
new file mode 100644
index 000000000000..f5c962798d58
--- /dev/null
+++ b/sysutils/ssd_report/pkg-descr
@@ -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/