[packages] tor: update to 0.2.1.26, fix log directory
authorswalker <swalker@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 15 May 2010 11:08:00 +0000 (11:08 +0000)
committerswalker <swalker@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 15 May 2010 11:08:00 +0000 (11:08 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21450 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/tor/Makefile
net/tor/files/tor.init

index 684bd25..5265558 100644 (file)
@@ -8,12 +8,12 @@
 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
 
index c19d2f2..2b62945 100644 (file)
@@ -13,7 +13,7 @@ RUN_GROUP=$BIN
 
 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 )