svn commit: r536978 - head/sysutils/hw-probe
Alexey Dokuchaev
danfe at FreeBSD.org
Fri May 29 15:22:00 UTC 2020
Author: danfe
Date: Fri May 29 15:21:59 2020
New Revision: 536978
URL: https://svnweb.freebsd.org/changeset/ports/536978
Log:
- Update to 1.6-beta2 (upstream reused the previous tag, so point
GH_TAGNAME to the particular commit) and augment CATEGORIES
- Now dual licensed under LGPL-2.1-or-later or BSD-4-clause
- Conditionally depend on ports which are only available on x86,
to make it usable on e.g. PowerPC (tested on Mac mini G4)
- Remove references to Linux and sudo(8) from the port description
per request from the upstream author
Modified:
head/sysutils/hw-probe/Makefile
head/sysutils/hw-probe/distinfo
head/sysutils/hw-probe/pkg-descr
Modified: head/sysutils/hw-probe/Makefile
==============================================================================
--- head/sysutils/hw-probe/Makefile Fri May 29 15:20:44 2020 (r536977)
+++ head/sysutils/hw-probe/Makefile Fri May 29 15:21:59 2020 (r536978)
@@ -2,22 +2,22 @@
# $FreeBSD$
PORTNAME= hw-probe
-DISTVERSION= 1.6-beta
-CATEGORIES= sysutils
+DISTVERSION= 1.6-beta2
+CATEGORIES= sysutils perl5
MAINTAINER= danfe at FreeBSD.org
COMMENT= Probe for hardware, check operability, and find drivers
-LICENSE= LGPL21+
+LICENSE= LGPL21+ BSD4CLAUSE
+LICENSE_COMB= dual
RUN_DEPENDS= curl:ftp/curl \
- dmidecode:sysutils/dmidecode \
hwstat:sysutils/hwstat \
- lscpu:sysutils/lscpu \
smartctl:sysutils/smartmontools
USE_GITHUB= yes
GH_ACCOUNT= linuxhw
+GH_TAGNAME= d1de28b
USES= perl5
USE_PERL5= run
@@ -29,8 +29,15 @@ OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= NEWS.md README.md
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == i386 || ${ARCH} == amd64
+RUN_DEPENDS+= dmidecode:sysutils/dmidecode \
+ lscpu:sysutils/lscpu
+.endif
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Modified: head/sysutils/hw-probe/distinfo
==============================================================================
--- head/sysutils/hw-probe/distinfo Fri May 29 15:20:44 2020 (r536977)
+++ head/sysutils/hw-probe/distinfo Fri May 29 15:21:59 2020 (r536978)
@@ -1,3 +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
+TIMESTAMP = 1590737484
+SHA256 (linuxhw-hw-probe-1.6-beta2-d1de28b_GH0.tar.gz) = 3a313ecf60f117a7bc453dc712c8a0d0c1bcefd7ee1dee50966397a1a80ebb2f
+SIZE (linuxhw-hw-probe-1.6-beta2-d1de28b_GH0.tar.gz) = 143598
Modified: head/sysutils/hw-probe/pkg-descr
==============================================================================
--- head/sysutils/hw-probe/pkg-descr Fri May 29 15:20:44 2020 (r536977)
+++ head/sysutils/hw-probe/pkg-descr Fri May 29 15:21:59 2020 (r536978)
@@ -1,5 +1,5 @@
A tool to check operability of computer hardware and upload result
-to the Linux/*BSD hardware database.
+to the online hardware database.
Probe is a snapshot of your computer hardware state and system
logs. The tool checks operability of devices by analysis of logs
@@ -7,12 +7,12 @@ and returns a permanent URL to view the probe of the c
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:
+command (requires superuser privileges) in the console to check
+your hardware and collect all the system logs at once:
- sudo -E hw-probe -all -upload
+ # hw-probe -all -upload
-By creating probes you contribute to the HDD/SSD Desktop-Class
-Reliability Test study: https://github.com/linuxhw/SMART
+By creating probes you also contribute to the HDD/SSD reliability
+test study (https://github.com/bsdhw/SMART).
WWW: https://bsd-hardware.info/
More information about the svn-ports-head
mailing list