[Pkg-privacy-commits] [torbirdy] 01/02: Socks port preference patch to use system tor port 9050.
Ulrike Uhlig
u-guest at moszumanska.debian.org
Tue Jul 5 18:19:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch debian/sid
in repository torbirdy.
commit d607461536d519deaeb0922f8d4c6e6ee07e7cd3
Author: Ulrike Uhlig <u at 451f.org>
Date: Tue Jul 5 20:16:42 2016 +0200
Socks port preference patch to use system tor port 9050.
---
debian/patches/series | 1 +
debian/patches/socks_port_preferences | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 9e96065..b6695b0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
socks_port
socks_port_enigmail
+socks_port_preferences
diff --git a/debian/patches/socks_port_preferences b/debian/patches/socks_port_preferences
new file mode 100644
index 0000000..dfd0781
--- /dev/null
+++ b/debian/patches/socks_port_preferences
@@ -0,0 +1,25 @@
+Description: Configure SOCKS port preferences using system tor port 9050
+Author: Ulrike Uhlig <u at 451f.org>
+Last-Update: 2016-07-02
+Bug-Debian: http://bugs.debian.org/756054
+
+--- a/chrome/content/preferences.js
++++ b/chrome/content/preferences.js
+@@ -25,7 +25,7 @@
+
+ pub.setDefaultPrefs = function() {
+ pub.prefs.setCharPref("network.proxy.socks", "127.0.0.1");
+- pub.prefs.setIntPref("network.proxy.socks_port", 9150);
++ pub.prefs.setIntPref("network.proxy.socks_port", 9050);
+ pub.prefs.clearUserPref("network.proxy.http");
+ pub.prefs.clearUserPref("network.proxy.http_port");
+ pub.prefs.clearUserPref("network.proxy.ssl");
+@@ -41,7 +41,7 @@
+ if (pub.prefs.getBoolPref("extensions.torbirdy.enigmail.throwkeyid")) {
+ opts += "--throw-keyids ";
+ }
+- var proxy = "socks5h://127.0.0.1:9150";
++ var proxy = "socks5h://127.0.0.1:9050";
+ if (anonService === "jondo") {
+ proxy = "http://127.0.0.1:4001";
+ }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbirdy.git
More information about the Pkg-privacy-commits
mailing list