aboutsummaryrefslogtreecommitdiff
path: root/net/tor/patches
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-09-14 14:18:29 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2014-09-14 15:58:24 +0200
commitb801586d408b634c2ac5f1e042c78cc4e4e84063 (patch)
tree29bf4461eacaf82e53cbf8e3dd9e7c64e29d5fc5 /net/tor/patches
parentd013ed39e6756dafab784246a5ad130a0775f94e (diff)
tor: add from oldpackages
This adds tor from old packages and updates it to version 0.2.4.23. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'net/tor/patches')
-rw-r--r--net/tor/patches/001-torrc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/tor/patches/001-torrc.patch b/net/tor/patches/001-torrc.patch
new file mode 100644
index 000000000..988cb8e5a
--- /dev/null
+++ b/net/tor/patches/001-torrc.patch
@@ -0,0 +1,21 @@
+--- a/src/config/torrc.sample.in
++++ b/src/config/torrc.sample.in
+@@ -45,11 +45,11 @@
+ ## Uncomment this to start the process in the background... or use
+ ## --runasdaemon 1 on the command line. This is ignored on Windows;
+ ## see the FAQ entry if you want Tor to run as an NT service.
+-#RunAsDaemon 1
++RunAsDaemon 1
+
+ ## The directory for keeping all the keys/etc. By default, we store
+ ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
+-#DataDirectory @LOCALSTATEDIR@/lib/tor
++DataDirectory @LOCALSTATEDIR@/lib/tor
+
+ ## The port on which Tor will listen for local connections from Tor
+ ## controller applications, as documented in control-spec.txt.
+@@ -187,3 +187,4 @@
+ ## address manually to your friends, uncomment this line:
+ #PublishServerDescriptor 0
+
++User tor