This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via fa7de475fe745004b207eea07ba178b61197fe5e (commit)
from 5d65813aa31685e8e70b0a2e796c9abbeae60f55 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fa7de475fe745004b207eea07ba178b61197fe5e
Author: Peter Müller <peter.mueller(a)ipfire.org>
Date: Mon Jun 10 19:02:00 2019 +0000
Tor: fix permissions after updating, too
Fixes #12088
Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
Reported-by: Erik Kapfer <ummeegge(a)ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
lfs/tor | 2 +-
src/paks/tor/install.sh | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
Difference in files:
diff --git a/lfs/tor b/lfs/tor
index 1e8c3889d..d918910d4 100644
--- a/lfs/tor
+++ b/lfs/tor
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = tor
-PAK_VER = 39
+PAK_VER = 40
DEPS = "libseccomp"
diff --git a/src/paks/tor/install.sh b/src/paks/tor/install.sh
index 268bccecd..1659871b6 100644
--- a/src/paks/tor/install.sh
+++ b/src/paks/tor/install.sh
@@ -32,9 +32,10 @@ if ! getent passwd tor; then
useradd -u 119 -g tor -c "Tor daemon user" -d /var/empty -s /bin/false tor
fi
+extract_files
+restore_backup ${NAME}
+
# Adjust some folder permission for new UID/GID
chown -R tor:tor /var/lib/tor /var/ipfire/tor
-extract_files
-restore_backup ${NAME}
start_service --background ${NAME}
hooks/post-receive
--
IPFire 2.x development tree