Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2020 09:00:00 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536595 - in head/sysutils: . hw-probe
Message-ID:  <202005260900.04Q900i1007017@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <danfe@FreeBSD.org>
+# $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 <bsd.port.mk>

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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005260900.04Q900i1007017>