Index | Thread | Search

From:
David Uhden Collado <daviduhden@gmail.com>
Subject:
Update sysutils/hw-probe port to version 1.6.6
To:
ports@openbsd.org
Cc:
david+bsd@dahlberg.cologne
Date:
Wed, 28 Jan 2026 00:01:00 +0000

Download raw body.

Thread
Hello all,

Attached to this email is a patch that updates the sysutils/hw-probe 
port from version 1.6.0 to 1.6.6

I have tested this update on the amd64 platform and everything appears 
to work correctly overall. The mainstream has not released official 
notes because it has not published the changes made as releases, but has 
simply created branches with the new versions in the repository. 
However, it appears that there have been quite a few changes.

Best regards,
David.
Index: sysutils/hw-probe/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/hw-probe/Makefile,v
diff -u -p -u -p -r1.5 Makefile
--- sysutils/hw-probe/Makefile	11 Mar 2022 19:57:32 -0000	1.5
+++ sysutils/hw-probe/Makefile	27 Jan 2026 23:53:32 -0000
@@ -3,7 +3,7 @@ CATEGORIES =	sysutils
 
 GH_ACCOUNT =	linuxhw
 GH_PROJECT =	hw-probe
-GH_TAGNAME =	1.6
+GH_TAGNAME =	1.6.6
 
 MAINTAINER =	David Dahlberg <david+bsd@dahlberg.cologne>
 
@@ -15,7 +15,8 @@ RUN_DEPENDS =	net/curl \
 		sysutils/pciutils \
 		sysutils/smartmontools \
 		sysutils/usbutil \
-		sysutils/usbutils
+		sysutils/usbutils \
+		www/p5-Test-LWP-UserAgent
 
 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
 RUN_DEPENDS +=	sysutils/dmidecode
Index: sysutils/hw-probe/distinfo
===================================================================
RCS file: /cvs/ports/sysutils/hw-probe/distinfo,v
diff -u -p -u -p -r1.2 distinfo
--- sysutils/hw-probe/distinfo	8 Feb 2022 16:18:54 -0000	1.2
+++ sysutils/hw-probe/distinfo	27 Jan 2026 23:53:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (hw-probe-1.6.tar.gz) = 3gSL5q7zV9MULJ4jJ9b3nSBaQqozlq04HtMZEV0cmiI=
-SIZE (hw-probe-1.6.tar.gz) = 158879
+SHA256 (hw-probe-1.6.6.tar.gz) = 2NMe2XgJXQvSynr1HP7ouXyX9xaN20ikeaFjLhr4THs=
+SIZE (hw-probe-1.6.6.tar.gz) = 170004
Index: sysutils/hw-probe/patches/patch-hw-probe_pl
===================================================================
RCS file: sysutils/hw-probe/patches/patch-hw-probe_pl
diff -N sysutils/hw-probe/patches/patch-hw-probe_pl
--- sysutils/hw-probe/patches/patch-hw-probe_pl	11 Mar 2022 19:57:32 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
-Index: hw-probe.pl
---- hw-probe.pl.orig
-+++ hw-probe.pl
-@@ -2129,6 +2129,7 @@ sub hideDmesg($)
-     $Content=~s/(Serial Number).+/$1.../g;
-     $Content=~s/(\s+s\/n\s+)[^\s]+/$1.../g;
-     $Content=~s/(serial\s*=\s*)[^\s]+/$1.../g;
-+    $Content=~s/ (serial\s+)[^\s]+/ $1.../g; # BSD
-     $Content=~s/(removable serial\.).+/$1.../g;
-     $Content=~s/( SN ).+?( MFG )/$1...$2/g;
-     
-@@ -5088,7 +5089,7 @@ sub probeHW()
-         $Sysctl=~s/((kern\.hostname|serialno|-serial|-asset-tag)\s*[:=]\s*).+/$1.../g;
-         $Sysctl=~s/ ([^\s]+) (login|syslogd)/ ... $2/g;
-         $Sysctl=~s/(Serial Number\s+)(.+)/$1.../g;
--        $Sysctl=~s/(sernum=)[^\s]+/$1.../g;
-+        $Sysctl=~s/((sernum|soiikey)=)[^\s]+/$1.../g;
-         foreach my $Hide ("kern.msgbuf", "kern.geom.confxml", "kern.geom.confdot", "kern.geom.conftxt") {
-             $Sysctl=~s/(\Q$Hide\E:).+?(\skern\.)/$1 ...$2/gs;
-         }