From owner-svn-ports-all@freebsd.org Tue May 26 09:00:01 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D58602F5E65; Tue, 26 May 2020 09:00:01 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49WSb558Vpz3T8h; Tue, 26 May 2020 09:00:01 +0000 (UTC) (envelope-from danfe@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 A79E420BEA; Tue, 26 May 2020 09:00:01 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04Q901dd007024; Tue, 26 May 2020 09:00:01 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04Q900i1007017; Tue, 26 May 2020 09:00:00 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202005260900.04Q900i1007017@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 26 May 2020 09:00:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536595 - in head/sysutils: . hw-probe X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/sysutils: . hw-probe X-SVN-Commit-Revision: 536595 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2020 09:00:01 -0000 Author: danfe Date: Tue May 26 09:00:00 2020 New Revision: 536595 URL: https://svnweb.freebsd.org/changeset/ports/536595 Log: Add a tool to probe for hardware, check operability, and find drivers. WWW: https://bsd-hardware.info/ Added: head/sysutils/hw-probe/ head/sysutils/hw-probe/Makefile (contents, props changed) head/sysutils/hw-probe/distinfo (contents, props changed) head/sysutils/hw-probe/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Tue May 26 08:52:41 2020 (r536594) +++ head/sysutils/Makefile Tue May 26 09:00:00 2020 (r536595) @@ -479,6 +479,7 @@ SUBDIR += hstr SUBDIR += htop SUBDIR += httplog + SUBDIR += hw-probe SUBDIR += hwstat SUBDIR += i2c-tools SUBDIR += i7z Added: head/sysutils/hw-probe/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/hw-probe/Makefile Tue May 26 09:00:00 2020 (r536595) @@ -0,0 +1,36 @@ +# Created by: Alexey Dokuchaev +# $FreeBSD$ + +PORTNAME= hw-probe +DISTVERSION= 1.6-beta +CATEGORIES= sysutils + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Probe for hardware, check operability, and find drivers + +LICENSE= LGPL21+ + +RUN_DEPENDS= curl:ftp/curl \ + dmidecode:sysutils/dmidecode \ + hwstat:sysutils/hwstat \ + lscpu:sysutils/lscpu \ + smartctl:sysutils/smartmontools + +USE_GITHUB= yes +GH_ACCOUNT= linuxhw + +USES= perl5 +USE_PERL5= run +MAKE_ARGS= prefix=${PREFIX} +NO_BUILD= yes + +OPTIONS_DEFINE= DOCS + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= NEWS.md README.md + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include Added: head/sysutils/hw-probe/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/hw-probe/distinfo Tue May 26 09:00:00 2020 (r536595) @@ -0,0 +1,3 @@ +TIMESTAMP = 1590003831 +SHA256 (linuxhw-hw-probe-1.6-beta_GH0.tar.gz) = 87a17cdcb241d2d068b1acbf5bb9380db3f84ae8ade3c546366975f761e6a9a6 +SIZE (linuxhw-hw-probe-1.6-beta_GH0.tar.gz) = 139901 Added: head/sysutils/hw-probe/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/hw-probe/pkg-descr Tue May 26 09:00:00 2020 (r536595) @@ -0,0 +1,18 @@ +A tool to check operability of computer hardware and upload result +to the Linux/*BSD hardware database. + +Probe is a snapshot of your computer hardware state and system +logs. The tool checks operability of devices by analysis of logs +and returns a permanent URL to view the probe of the computer. + +The tool is intended to simplify collecting of logs necessary for +investigating hardware related problems. Just run one simple +command in the console to check your hardware and collect all the +system logs at once: + + sudo -E hw-probe -all -upload + +By creating probes you contribute to the HDD/SSD Desktop-Class +Reliability Test study: https://github.com/linuxhw/SMART + +WWW: https://bsd-hardware.info/