From dbe994aba120a176479cc90a362c8253c602b422 Mon Sep 17 00:00:00 2001 From: Marco Bonetti Date: Tue, 12 Jul 2011 05:16:43 -0400 Subject: network/tor: Updated rc.tor to remove hardcoded values, other fixes. See README.SLACKWARE for more info. Signed-off-by: dsomero --- network/tor/README.SLACKWARE | 37 ++++++++++--------------------------- 1 file changed, 10 insertions(+), 27 deletions(-) (limited to 'network/tor/README.SLACKWARE') diff --git a/network/tor/README.SLACKWARE b/network/tor/README.SLACKWARE index 9e88ce90ed..82413547f5 100644 --- a/network/tor/README.SLACKWARE +++ b/network/tor/README.SLACKWARE @@ -1,27 +1,10 @@ -Tor is a toolset for a wide range of organizations and people that want -to improve their safety and security on the Internet. Using Tor can help -you anonymize web browsing and publishing, instant messaging, IRC, -SSH, and other applications that use the TCP protocol. Tor also -provides a platform on which software developers can build new -applications with built-in anonymity, safety, and privacy features. - -This script requires a 'tor' user/group to exist before running. -The recommended UID/GID is 220. You can create these like so: - groupadd -g 220 tor - useradd -u 220 -g 220 -c "The Onion Router" -d /dev/null -s /bin/false tor - -You can pass another user/group to the script; this is however, less safe: - TOR_USER=nobody TOR_GROUP=nogroup sh tor.SlackBuild - -The following can be used to start/stop tor automatically: -/etc/rc.d/rc.local - if [ -x /etc/rc.d/rc.tor ]; then - /etc/rc.d/rc.tor start - fi - -/etc/rc.d/rc.local_shutdown - if [ -x /etc/rc.d/rc.tor ]; then - /etc/rc.d/rc.tor stop - fi - -Tor requires libevent. +As of tor-0.2.1.30-2 and later, I've updated Tor rc.tor init script to get rid +of hardcoded values present inside torctl command script. To successfully use +the newer script be sure to check changes to both /etc/rc.d/rc.tor.new and +/etc/tor/torrc.new as some configurations values are now required and no +longer passed on the command line. The original TorProject.org torrc +configuration is always available as /etc/tor/torrc.sample. + +Also, there has been a recent libevent upgrade from 1.4.13 to 2.0.10 in +SlackBuilds.org 13.37 tree, remember to rebuild Tor when such major upgrades +happen. -- cgit v1.2.3