summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorIain R. Learmonth <irl@debian.org>2016-07-25 19:36:56 +0100
committerIain R. Learmonth <irl@debian.org>2016-07-25 19:36:56 +0100
commit4a877760a5e1e714be53d158064465ef95ad2f8c (patch)
tree788d53ebf9b02766d3e15556b2b9a048387a000d /debian
parent10fa65184e6e73ecaa9220232859a3a748c2da59 (diff)
Add a patch to disable phoning home
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/07-disable-reporting.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/07-disable-reporting.patch b/debian/patches/07-disable-reporting.patch
new file mode 100644
index 0000000..368372b
--- /dev/null
+++ b/debian/patches/07-disable-reporting.patch
@@ -0,0 +1,19 @@
+Description: Disables all reporting
+ Prevent chirp from "phoning home" without informed consent. This also
+ has the nice side-effect of disabling the update nag screen, as chirp no
+ longer has a concept of releases upstream.
+Author: Iain R. Learmonth <irl@debian.org>
+Bug-Debian: https://bugs.debian.org/829494
+Last-Update: 2016-07-25
+
+--- chirp-20160717.orig/chirp/ui/reporting.py
++++ chirp-20160717/chirp/ui/reporting.py
+@@ -33,7 +33,7 @@ import logging
+ from chirp import CHIRP_VERSION, platform
+
+ REPORT_URL = "http://chirp.danplanet.com/report/report.php?do_report"
+-ENABLED = True
++ENABLED = False
+ THREAD_SEM = threading.Semaphore(10) # Maximum number of outstanding threads
+ LAST = 0
+ LAST_TYPE = None
diff --git a/debian/patches/series b/debian/patches/series
index 547b3d6..6e329c9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
04-remove-redundant-license.patch
05-manpage-updates.patch
06-open-with-desktop.patch
+07-disable-reporting.patch