1
0
forked from ports/contrib

tor: fix tor.rc file paths for moved configuration

This commit is contained in:
Danny Rawlins 2008-03-05 02:43:50 +11:00
parent e28f1ff497
commit 4fcad144af
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
name=tor
version=0.2.0.21-rc
release=1
release=2
source=(http://tor.eff.org/dist/tor-$version.tar.gz \
tor.rc)

View File

@ -8,8 +8,8 @@ DAEMON=tor
RUN_AS_USER=_tor
# Check for configuration files
[ -f /etc/tor/tor-tsocks.conf ] || exit 0
[ -f /etc/tor/torrc ] || exit 0
[ -f /usr/etc/tor/tor-tsocks.conf ] || exit 1
[ -f /usr/etc/tor/torrc ] || exit 1
# If you have to edit this section for this or any other
# port useage let me know, with a patch or added lines,