Friday, February 13, 2026

Re: Update sysutils/hw-probe port to version 1.6.6

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 13 Feb 2026 21:43:26 -0000
@@ -3,9 +3,9 @@ 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>
+MAINTAINER = David Uhden <daviduhden@gmail.com>

# BSD-4 or LGPLv2.1+
PERMIT_PACKAGE = Yes
@@ -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 13 Feb 2026 21:43:43 -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;
- }
>
> So this is an OK from me - but David also agreed to update the
> maintainer line to point to him. Would you please send a new
> patch with that change? I added Stuart to the CC list as he was
> the last committer for an hw-probe update.
>

Sure, here is the updated patch, in which I add myself as the new
maintainer.

No comments:

Post a Comment