From f1d000c3cc36386ec460bf523c91b6ab1cfad319 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 22 Dec 2009 12:28:06 +0000 Subject: [PATCH] [packages] tor: update to v0.2.1.21 (#6391) SVN-Revision: 18888 --- net/tor/Makefile | 4 ++-- net/tor/files/tor.init | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/tor/Makefile b/net/tor/Makefile index 3436852797..99c80f6aa5 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 4bc8e78ad9..c19d2f24a6 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 -- 2.30.2