summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/tor/Makefile4
-rw-r--r--package/tor/files/tor.init4
-rw-r--r--package/tor/files/torrc2
3 files changed, 5 insertions, 5 deletions
diff --git a/package/tor/Makefile b/package/tor/Makefile
index f7af0bfa6..9e6b6f045 100644
--- a/package/tor/Makefile
+++ b/package/tor/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= tor
-PKG_VERSION:= 0.2.1.24
+PKG_VERSION:= 0.2.1.27
PKG_RELEASE:= 1
-PKG_MD5SUM:= cb5629b2709ada82d34c22fef3ed77a9
+PKG_MD5SUM:= 1719642b3f25a23c3b3843ee99be18fb
PKG_DESCR:= An anonymous Internet communication system
PKG_SECTION:= proxy
PKG_DEPENDS:= libevent libopenssl zlib libpthread
diff --git a/package/tor/files/tor.init b/package/tor/files/tor.init
index fcc8c144b..cbc395726 100644
--- a/package/tor/files/tor.init
+++ b/package/tor/files/tor.init
@@ -12,7 +12,9 @@ autostart)
;;
start)
[ -d /var/log/tor ] || mkdir -p /var/log/tor
- tor
+ [ -d /tmp/.tor ] || mkdir -p /tmp/.tor
+ chown tor:tor /tmp/.tor
+ su - tor -c tor
;;
stop)
pkill tor
diff --git a/package/tor/files/torrc b/package/tor/files/torrc
index e5cf75b6e..3a46e8933 100644
--- a/package/tor/files/torrc
+++ b/package/tor/files/torrc
@@ -131,6 +131,4 @@ RunAsDaemon 1
#ExitPolicy accept *:119 # accept nntp as well as default exit policy
#ExitPolicy reject *:* # middleman only -- no exits allowed
-User tor
-Group tor
PidFile /var/run/tor.pid