pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/hw-probe
Module Name: pkgsrc
Committed By: vins
Date: Sat Jul 8 22:15:42 UTC 2023
Added Files:
pkgsrc/sysutils/hw-probe: DESCR Makefile PLIST distinfo
Log Message:
sysutils/hw-probe: import package from wip.
Originally packaged by author Andrey Ponomarenko
<andrew.v.ponomarenko%gmail.com@localhost>. Revised and updated by @vins.
hw-probe is a tool to probe for hardware, check operability and find
drivers with the help of 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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/hw-probe/DESCR \
pkgsrc/sysutils/hw-probe/Makefile pkgsrc/sysutils/hw-probe/PLIST \
pkgsrc/sysutils/hw-probe/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/hw-probe/DESCR
diff -u /dev/null pkgsrc/sysutils/hw-probe/DESCR:1.1
--- /dev/null Sat Jul 8 22:15:42 2023
+++ pkgsrc/sysutils/hw-probe/DESCR Sat Jul 8 22:15:42 2023
@@ -0,0 +1,16 @@
+A tool to probe for hardware, check operability and find drivers
+with the help of 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 (requires superuser privileges) in the console to check
+your hardware and collect all the system logs at once:
+
+ # hw-probe -all -upload
+
+By creating probes you also contribute to the HDD/SSD reliability
+test study (https://github.com/bsdhw/SMART).
Index: pkgsrc/sysutils/hw-probe/Makefile
diff -u /dev/null pkgsrc/sysutils/hw-probe/Makefile:1.1
--- /dev/null Sat Jul 8 22:15:42 2023
+++ pkgsrc/sysutils/hw-probe/Makefile Sat Jul 8 22:15:42 2023
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1 2023/07/08 22:15:42 vins Exp $
+
+DISTNAME= hw-probe
+PKGNAME= hw-probe-1.6
+CATEGORIES= sysutils perl5
+MASTER_SITES= http://bsd-hardware.info/
+DIST_SUBDIR= ${PKGNAME_NOREV}
+EXTRACT_SUFX= # empty
+
+MAINTAINER= vins%NetBSD.org@localhost
+HOMEPAGE= https://bsd-hardware.info/
+COMMENT= Check operability of computer hardware and find drivers
+LICENSE= gnu-lgpl-v2.1 OR original-bsd
+
+ONLY_FOR_PLATFORM+= FreeBSD-*-* OpenBSD-*-* NetBSD-*-* DragonFly-*-*
+
+DEPENDS+= curl-[0-9]*:../../www/curl
+DEPENDS+= usbutil-[0-9]*:../../sysutils/usbutil
+DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
+DEPENDS+= smartmontools-[0-9]*:../../sysutils/smartmontools
+
+USE_TOOLS+= perl:run
+
+REPLACE_PERL+= hw-probe
+
+USE_TOOLS+= perl:run
+
+INSTALLATION_DIRS+= bin
+
+NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "aarch64")
+DEPENDS+= dmidecode-[0-9]*:../../sysutils/dmidecode
+.endif
+
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64")
+. if ${OPSYS} == "NetBSD"
+DEPENDS+= cpuid-[0-9]*:../../sysutils/cpuid
+. else
+DEPENDS+= lscpu-[0-9]*:../../sysutils/lscpu
+. endif
+.endif
+
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/hw-probe ${DESTDIR}${PREFIX}/bin/hw-probe
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/hw-probe/PLIST
diff -u /dev/null pkgsrc/sysutils/hw-probe/PLIST:1.1
--- /dev/null Sat Jul 8 22:15:42 2023
+++ pkgsrc/sysutils/hw-probe/PLIST Sat Jul 8 22:15:42 2023
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2023/07/08 22:15:42 vins Exp $
+bin/hw-probe
Index: pkgsrc/sysutils/hw-probe/distinfo
diff -u /dev/null pkgsrc/sysutils/hw-probe/distinfo:1.1
--- /dev/null Sat Jul 8 22:15:42 2023
+++ pkgsrc/sysutils/hw-probe/distinfo Sat Jul 8 22:15:42 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/07/08 22:15:42 vins Exp $
+
+BLAKE2s (hw-probe-1.6/hw-probe) = 635ebfd03db6d806aa8c54396a07ec6c3ec83b0ee9ca04197f0623249226a331
+SHA512 (hw-probe-1.6/hw-probe) = f811d34297f1cca048cd02929d2c962a36f593c8f15385578082671dd0d2e1cc0aef7de991559adfeca98abf1cad88b97be0dd0e6094194103323fdd8d35b177
+Size (hw-probe-1.6/hw-probe) = 551369 bytes
Home |
Main Index |
Thread Index |
Old Index