From 86599b9c74d4595216678a109ec333c3985c8950 Mon Sep 17 00:00:00 2001 From: Stephen Walker Date: Sat, 15 May 2010 11:08:00 +0000 Subject: [PATCH] tor: update to 0.2.1.26, fix log directory SVN-Revision: 21450 --- 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 684bd2597..526555875 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.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 diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init index c19d2f24a..2b6294542 100644 --- a/net/tor/files/tor.init +++ b/net/tor/files/tor.init @@ -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 ) -- 2.30.2