include $(TOPDIR)/rules.mk
PKG_NAME:=tor
-PKG_VERSION:=0.2.1.25
+PKG_VERSION:=0.2.1.26
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.torproject.org/dist
-PKG_MD5SUM:=f58540b3c5835ac4f5de1b02bbddc703
+PKG_MD5SUM:=f7b30a144e1da41aa43f496bd47ffba7
PKG_INSTALL:=1
start() {
[ -f $DEFAULT ] && . $DEFAULT
- [ -d $LIB_D ] || mkdir -p $LOG_D
+ [ -d $LOG_D ] || ( mkdir -m 0700 -p $LOG_D && chown $RUN_USER:$RUN_GROUP $LOG_D )
[ -d $LIB_D ] || ( mkdir -m 0700 -p $LIB_D && chown $RUN_USER:$RUN_GROUP $LIB_D )
[ -d $RUN_D ] || mkdir -p $RUN_D
[ -f $PID_F ] || ( touch $PID_F && chown $RUN_USER:$RUN_GROUP $PID_F )