[Pkg-mozext-commits] [torbirdy] 07/08: add socks_port patch

Jacob Appelbaum error at moszumanska.debian.org
Fri Oct 24 17:18:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

error pushed a commit to branch master
in repository torbirdy.

commit 5e9f7ca28dd84400c5911fa155e10ff58f947b53
Author: Jacob Appelbaum <jacob at appelbaum.net>
Date:   Fri Oct 24 17:10:37 2014 +0000

    add socks_port patch
---
 debian/patches/series     |  1 +
 debian/patches/socks_port | 50 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..71d3d8e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+socks_port
diff --git a/debian/patches/socks_port b/debian/patches/socks_port
new file mode 100644
index 0000000..b4bbc31
--- /dev/null
+++ b/debian/patches/socks_port
@@ -0,0 +1,50 @@
+Description: Configure SOCKS port to be 9050
+ The default port is 9150, we want to use the system Tor port of 9050.
+ .
+ torbirdy (0.1.3-1) UNRELEASED; urgency=low
+ .
+   * New upstream release
+   * Add dependency on Tor daemon
+   * Patch TorBirdy to use 9050 (Closes: #756054)
+Author: Jacob Appelbaum <jacob at appelbaum.net>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Bug-Debian: http://bugs.debian.org/756054
+Reviewed-By: Jacob Appelbaum <jacob at appelbaum.net>
+Last-Update: 2014-10-24
+
+--- torbirdy-0.1.3.orig/components/torbirdy.js
++++ torbirdy-0.1.3/components/torbirdy.js
+@@ -43,7 +43,7 @@ const TorBirdyPrefs = {
+ 
+   // Configure Thunderbird to use the SOCKS5 proxy.
+   "network.proxy.socks": "127.0.0.1",
+-  "network.proxy.socks_port": 9150,
++  "network.proxy.socks_port": 9050,
+   "network.proxy.socks_version": 5,
+ 
+   // Set DNS proxying through SOCKS5.
+--- torbirdy-0.1.3.orig/chrome/content/preferences.js
++++ torbirdy-0.1.3/chrome/content/preferences.js
+@@ -25,7 +25,7 @@ if (!org.torbirdy.prefs) org.torbirdy.pr
+ 
+   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");
+@@ -494,7 +494,7 @@ if (!org.torbirdy.prefs) org.torbirdy.pr
+     // Tor.
+     if (anonService === 0) {
+       pub.socksHost.value = '127.0.0.1';
+-      pub.socksPort.value = '9150';
++      pub.socksPort.value = '9050';
+     }
+ 
+     // JonDo/Whonix.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/torbirdy.git



More information about the Pkg-mozext-commits mailing list