From owner-svn-ports-head@freebsd.org Wed Jun 20 18:31:49 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B88A100307D; Wed, 20 Jun 2018 18:31:49 +0000 (UTC) (envelope-from dteske@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD7956C624; Wed, 20 Jun 2018 18:31:48 +0000 (UTC) (envelope-from dteske@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9E94125F8B; Wed, 20 Jun 2018 18:31:48 +0000 (UTC) (envelope-from dteske@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5KIVmrH026131; Wed, 20 Jun 2018 18:31:48 GMT (envelope-from dteske@FreeBSD.org) Received: (from dteske@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5KIVl4G026127; Wed, 20 Jun 2018 18:31:47 GMT (envelope-from dteske@FreeBSD.org) Message-Id: <201806201831.w5KIVl4G026127@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dteske set sender to dteske@FreeBSD.org using -f From: Devin Teske Date: Wed, 20 Jun 2018 18:31:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472896 - in head/sysutils: . ssd_report X-SVN-Group: ports-head X-SVN-Commit-Author: dteske X-SVN-Commit-Paths: in head/sysutils: . ssd_report X-SVN-Commit-Revision: 472896 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2018 18:31:49 -0000 Author: dteske Date: Wed Jun 20 18:31:47 2018 New Revision: 472896 URL: https://svnweb.freebsd.org/changeset/ports/472896 Log: [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 Added: head/sysutils/ssd_report/ head/sysutils/ssd_report/Makefile (contents, props changed) head/sysutils/ssd_report/distinfo (contents, props changed) head/sysutils/ssd_report/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Wed Jun 20 18:25:02 2018 (r472895) +++ head/sysutils/Makefile Wed Jun 20 18:31:47 2018 (r472896) @@ -1202,6 +1202,7 @@ SUBDIR += spinner SUBDIR += spiped SUBDIR += squashfs-tools + SUBDIR += ssd_report SUBDIR += sshsudo SUBDIR += ssid SUBDIR += ssync Added: head/sysutils/ssd_report/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ssd_report/Makefile Wed Jun 20 18:31:47 2018 (r472896) @@ -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 Added: head/sysutils/ssd_report/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ssd_report/distinfo Wed Jun 20 18:31:47 2018 (r472896) @@ -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 Added: head/sysutils/ssd_report/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ssd_report/pkg-descr Wed Jun 20 18:31:47 2018 (r472896) @@ -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/