[packages] tor: update to 0.2.1.26, fix log directory

git-svn-id: svn://svn.openwrt.org/openwrt/packages@21450 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker 2010-05-15 11:08:00 +00:00
parent f09ff069e5
commit 0311111af9
2 changed files with 3 additions and 3 deletions

View 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

View 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 )