summaryrefslogtreecommitdiff
path: root/sys-apps/hw-probe/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
commitf70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch)
treee907cb121b30e3c1df1710719c0ddf4029597a47 /sys-apps/hw-probe/files
parentdb063b515939ab15261136b24e4bc44386335c0c (diff)
gentoo resync : 30.09.2020
Diffstat (limited to 'sys-apps/hw-probe/files')
-rw-r--r--sys-apps/hw-probe/files/README.gentoo6
-rw-r--r--sys-apps/hw-probe/files/hw-probe-1.5-disable-automatic-upload.patch36
2 files changed, 39 insertions, 3 deletions
diff --git a/sys-apps/hw-probe/files/README.gentoo b/sys-apps/hw-probe/files/README.gentoo
index 521f7f4aaaaf..61786ade26bb 100644
--- a/sys-apps/hw-probe/files/README.gentoo
+++ b/sys-apps/hw-probe/files/README.gentoo
@@ -1,6 +1,6 @@
-Please keep in mind, that all results are being uploaded
-by default directly to the Linux Hardware Database
-and can be read by everyone in public.
+Please keep in mind, that all results, as they are
+being uploaded directly to the Linux Hardware Database,
+can be read by everyone in public.
In order to identify unique computers and hard drives,
a 32-byte prefix of a salted SHA512 hash from
diff --git a/sys-apps/hw-probe/files/hw-probe-1.5-disable-automatic-upload.patch b/sys-apps/hw-probe/files/hw-probe-1.5-disable-automatic-upload.patch
new file mode 100644
index 000000000000..4f16c0d87fae
--- /dev/null
+++ b/sys-apps/hw-probe/files/hw-probe-1.5-disable-automatic-upload.patch
@@ -0,0 +1,36 @@
+From 6a211f965c21f1aa2e8612bcd7e2966ce8e8c607 Mon Sep 17 00:00:00 2001
+From: Conrad Kostecki <conikost@gentoo.org>
+Date: Wed, 23 Sep 2020 22:26:45 +0200
+Subject: [PATCH] hw-probe.pl: disable automatic upload
+
+Due security concerns, running 'hw-probe.pl' without any parameters
+shouldn't upload directly by default all data. Instead, the user should
+add '-upload' if he really wants that.
+
+Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
+---
+ hw-probe.pl | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/hw-probe.pl b/hw-probe.pl
+index b71f250..1bceb0e 100644
+--- a/hw-probe.pl
++++ b/hw-probe.pl
+@@ -217,15 +217,13 @@
+
+ if($#ARGV_COPY==-1)
+ { # Run from STDIN
+- print "Executing hw-probe -all -upload\n\n";
++ print "Executing hw-probe -all\n\n";
+ $Opt{"All"} = 1;
+- $Opt{"Upload"} = 1;
+ }
+ elsif($#ARGV_COPY==0 and grep { $ARGV_COPY[0] eq $_ } ("-snap", "-flatpak"))
+ { # Run by desktop file
+- print "Executing hw-probe -all -upload\n\n";
++ print "Executing hw-probe -all\n\n";
+ $Opt{"All"} = 1;
+- $Opt{"Upload"} = 1;
+
+ if($SNAP_DESKTOP or $FLATPAK_DESKTOP)
+ { # Desktop