From: Jo-Philipp Wich Date: Tue, 22 Dec 2009 12:28:06 +0000 (+0000) Subject: tor: update to v0.2.1.21 (#6391) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a75cab8ccc8bd59324df44b149a78faa8db5f664;p=openwrt%2Fsvn-archive%2Fpackages.git tor: update to v0.2.1.21 (#6391) SVN-Revision: 18888 --- diff --git a/net/tor/Makefile b/net/tor/Makefile index 343685279..99c80f6aa 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tor -PKG_VERSION:=0.2.1.20 +PKG_VERSION:=0.2.1.21 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.torproject.org/dist/ -PKG_MD5SUM:=0d62ee2332fdd95de43debac7435df19 +PKG_MD5SUM:=54f7a801d824cd9c13ce672d483926d6 include $(INCLUDE_DIR)/package.mk diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init index 4bc8e78ad..c19d2f24a 100644 --- a/net/tor/files/tor.init +++ b/net/tor/files/tor.init @@ -14,7 +14,7 @@ RUN_GROUP=$BIN start() { [ -f $DEFAULT ] && . $DEFAULT [ -d $LIB_D ] || mkdir -p $LOG_D - [ -d $LIB_D ] || ( mkdir -p $LIB_D && chown $RUN_USER:$RUN_GROUP $LIB_D && chmod 0700 $LIB_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 ) $BIN $OPTIONS