[Pkg-privacy-commits] [onionshare] 31/33: Prefer port 9151, which is more likely to work on Debian.
Ximin Luo
infinity0 at debian.org
Mon Oct 19 14:15:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository onionshare.
commit cdf3f650cf68bdb36d23c899e413e3df4f09c61a
Author: Ximin Luo <infinity0 at debian.org>
Date: Mon Oct 19 16:00:40 2015 +0200
Prefer port 9151, which is more likely to work on Debian.
---
debian/patches/prefer-torbrowser-port.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/prefer-torbrowser-port.patch b/debian/patches/prefer-torbrowser-port.patch
new file mode 100644
index 0000000..feb9be2
--- /dev/null
+++ b/debian/patches/prefer-torbrowser-port.patch
@@ -0,0 +1,19 @@
+Description: Prefer port 9151 to port 9051
+ Port 9151 is more likely to a tor process that has rw access to
+ /tmp/onionshare. The Debian tor uses port 9051 and does not have rw access
+ to that directory, causing onionshare to fail with a crypto stem error.
+Author: Ximin Luo <infinity0 at debian.org>
+Bug: https://github.com/micahflee/onionshare/issues/215
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/onionshare/onionshare.py
++++ b/onionshare/onionshare.py
+@@ -155,7 +155,7 @@
+
+ # connect to the tor controlport
+ self.controller = None
+- tor_control_ports = [9051, 9151]
++ tor_control_ports = [9151, 9051]
+ for tor_control_port in tor_control_ports:
+ try:
+ self.controller = Controller.from_port(port=tor_control_port)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..07f283f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+prefer-torbrowser-port.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git
More information about the Pkg-privacy-commits
mailing list