UmVirt LFS Package info

DB commit: 34a83c7a68a930f721bd7a7f9cb2c2ac41e76ba8
APP commit: 0bd167a48557b5a14ac68d0229893245aacc7f12
[ BASH | XML | JSON ]

tor

Tor is free and open-source software for enabling anonymous communication. The name is derived from an acronym for the original software project name "The Onion Router".

Package info

Template:
Codename: tor
Source file: tor-0.4.8.20.tar.gz
Source directory: tor-0.4.8.20
Package URL: tor-0.4.8.20.tar.gz
Package md5-checksum URL: tor-0.4.8.20.tar.gz.md5sum
Dependances: libevent.
Dependance of: *** NO PACKAGES FOUND ***
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
./configure --prefix=/usr --sysconfdir=/etc --with-tor-user=tor --with-tor-group=tor --localstatedir=/var --enable-systemd

Build script:
make

Install script:
#add group
groupadd -fg 135 tor &&

#add user
useradd -c "Tor Daemon Owner" -d /var/run/tor -u 135 \
        -g tor -s /bin/false tor

#install files
make install

#install service
cat > /usr/lib/systemd/system/tor.service << "EOF"
[Unit]
Description=Anonymizing Overlay Network
After=network.target

[Service]
Type=simple
User=tor
ExecStart=/usr/bin/tor
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
RuntimeDirectory=tor
[Install]
WantedBy=multi-user.target

EOF