Browse Source

n/tor: Upgraded to tor-0.4.3.5.

current-20200608
parent
commit
54f5bafc77
  1. 2
      n/tor/doinst.sh
  2. 4
      n/tor/rc.tor
  3. 1
      n/tor/tor-0.4.2.5.tar.gz.sha256
  4. 1
      n/tor/tor-0.4.3.5.tar.gz.sha256
  5. 6
      n/tor/tor.SlackBuild

2
n/tor/doinst.sh

@ -20,5 +20,5 @@ if ! grep ^tor: /etc/passwd > /dev/null ; then
/usr/sbin/useradd -u 281 -c Tor -d /var/lib/tor -g tor tor
fi
chown tor:tor var/{lib,log,run}/tor
chown tor:tor var/{lib,log}/tor
chmod 0700 var/lib/tor

4
n/tor/rc.tor

@ -4,6 +4,10 @@ PIDFILE=/var/run/tor/tor.pid
case "$1" in
start)
if [ -d /var/run/tor ]; then
mkdir -p /var/run/tor
chown tor:tor /var/run/tor
fi
/usr/bin/tor
;;

1
n/tor/tor-0.4.2.5.tar.gz.sha256

@ -1 +0,0 @@
4d5975862e7808faebe9960def6235669fafeeac844cb76965501fa7af79d8c2 tor-0.4.2.5.tar.gz

1
n/tor/tor-0.4.3.5.tar.gz.sha256

@ -0,0 +1 @@
616a0e4ae688d0e151d46e3e4258565da4d443d1ddbd316db0b90910e2d5d868 tor-0.4.3.5.tar.gz

6
n/tor/tor.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,7 +26,7 @@
# Source package infos
NAMESRC=${NAMESRC:-tor}
VERSION=${VERSION:-0.4.2.5}
VERSION=${VERSION:-0.4.3.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://dist.torproject.org/$ARCHIVE}
@ -113,7 +113,7 @@ install -m 644 $CWD/torrc $PKG/etc/tor/torrc.new
install -D -m 644 $CWD/tor.logrotate $PKG/etc/logrotate.d/tor
# Create runtime directories
mkdir -p $PKG/var/{lib,log,run}/tor
mkdir -p $PKG/var/{lib,log}/tor
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save