Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/hw-probe/Makefile,v
retrieving revision 1.3
diff -u -p -u -r1.3 Makefile
--- Makefile 22 Nov 2020 13:41:11 -0000 1.3
+++ Makefile 17 Jan 2022 07:34:28 -0000
@@ -3,12 +3,11 @@
COMMENT = hardware probe tool
CATEGORIES = sysutils
-PKGNAME = hw-probe-1.6beta
-REVISION = 1
+PKGNAME = hw-probe-1.6release
GH_ACCOUNT = linuxhw
GH_PROJECT = hw-probe
-GH_TAGNAME = 1.6-beta
+GH_TAGNAME = 1.6
MAINTAINER = David Dahlberg <david+bsd@dahlberg.cologne>
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/hw-probe/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo 11 Aug 2020 14:54:11 -0000 1.1.1.1
+++ distinfo 17 Jan 2022 07:34:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (hw-probe-1.6-beta.tar.gz) = HiNGTldxe0aeBsmlHzqG/Ha9CTiM3ILEy4sNTNHVyuc=
-SIZE (hw-probe-1.6-beta.tar.gz) = 143569
+SHA256 (hw-probe-1.6.tar.gz) = 3gSL5q7zV9MULJ4jJ9b3nSBaQqozlq04HtMZEV0cmiI=
+SIZE (hw-probe-1.6.tar.gz) = 158879
Index: patches/patch-hw-probe_pl
===================================================================
RCS file: patches/patch-hw-probe_pl
diff -N patches/patch-hw-probe_pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-hw-probe_pl 17 Jan 2022 07:34:28 -0000
@@ -0,0 +1,22 @@
+$OpenBSD$
+
+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;
+ }
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/sysutils/hw-probe/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 DESCR
--- pkg/DESCR 11 Aug 2020 14:54:11 -0000 1.1.1.1
+++ pkg/DESCR 17 Jan 2022 07:34:28 -0000
@@ -3,6 +3,7 @@ with the help of Linux hardware database
For BSD users: https://bsd-hardware.info
-Please be aware that running hw-probe without parameters implies
-"-all -upload" and will upload a lot of information about your
-current OS and hardware configuration to the online database.
+Please be aware that running hw-probe with parameter "-upload" will
+upload a lot of information about your current OS and hardware
+configuration informationto the online database. This might include
+identifiable information like UIDs and hardware serial numbers.
Find attached an update of hw-probe-1.6beta to 1.6release. I hope the
naming convention is alright.
Noteworthy changes:
- hw-probe does not upload DATA by default any more, but shows
usage info instead.
- A couple of identifiers that leaked on OpenBSD are sanatized now
Identifier sanatization happened only after the 1.6 release, so I
included those patches in the port.
No comments:
Post a Comment