diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile index 6f84e0998b57..be8f3acffa80 100644 --- a/security/tor-devel/Makefile +++ b/security/tor-devel/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= tor -DISTVERSION= 0.2.4.14-alpha +DISTVERSION= 0.2.4.15-rc CATEGORIES= security net ipv6 MASTER_SITES= https://www.torproject.org/dist/ \ ftp://ftp.bit.nl/mirror/tor/ \ @@ -87,7 +87,7 @@ MAN1= tor.1 tor-resolve.1 torify.1 tor-gencert.1 .include .if ${PORT_OPTIONS:MGMAKE} -USE_GMAKE= yes +USES+= gmake .else MAKE_JOBS_UNSAFE= yes .endif diff --git a/security/tor-devel/distinfo b/security/tor-devel/distinfo index 5d9ed397278f..4754394ca3e1 100644 --- a/security/tor-devel/distinfo +++ b/security/tor-devel/distinfo @@ -1,2 +1,2 @@ -SHA256 (tor-0.2.4.14-alpha.tar.gz) = 2b32f87f1fa14032ebfcc56c4dce49cb5e4f6b5ba8e1bbacdedc8d25bd16f094 -SIZE (tor-0.2.4.14-alpha.tar.gz) = 2832944 +SHA256 (tor-0.2.4.15-rc.tar.gz) = 3221ee1aec84d8ea3c5af9fc915152ea22d8ca7d87b422cc339533c374986559 +SIZE (tor-0.2.4.15-rc.tar.gz) = 2820553 diff --git a/security/tor-devel/files/tor.in b/security/tor-devel/files/tor.in index bf5b9098772a..a3f60ce24fbd 100644 --- a/security/tor-devel/files/tor.in +++ b/security/tor-devel/files/tor.in @@ -10,13 +10,13 @@ # All these options will overide any settings in your local torrc as # they are command line options. # -# tor_enable (bool): Set to "NO" by default -# Set it to "YES" to enable tor -# tor_conf (str): Points to your tor conf file +# tor_enable (bool): Set it to "YES" to enable tor. Default: NO +# tor_conf (str): Points to your torrc file. # Default: %%PREFIX%%/etc/tor/torrc -# tor_user (str): Tor Daemon user. Default _tor -# tor_datadir (str): Tor DataDir. Defaults /var/db/tor -# tor_logfile (str): Tor Log File. Defaults /var/log/tor +# tor_user (str): Tor daemon user. Default: _tor +# tor_datadir (str): Tor datadir. Default: /var/db/tor +# tor_logfile (str): Tor log file. Default: /var/log/tor +# tor_loglevel (str): Tor log severity level. Default: notice # . /etc/rc.subr @@ -31,13 +31,14 @@ load_rc_config ${name} : ${tor_user="_tor"} : ${tor_pidfile="/var/run/tor/tor.pid"} : ${tor_logfile="/var/log/tor"} +: ${tor_loglevel="notice"} : ${tor_datadir="/var/db/tor"} required_files=${tor_conf} required_dirs=${tor_datadir} pidfile=${tor_pidfile} command="%%PREFIX%%/bin/${name}" -command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --+Log notice\ file\ ${tor_logfile}" +command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --+Log ${tor_loglevel}\ file\ ${tor_logfile}" extra_commands="log" log_cmd="${name}_log"