aboutsummaryrefslogtreecommitdiff
path: root/security/tor/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-05 09:04:07 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-05 09:04:07 +0000
commit67f206cc254b7aea22b25b24d348f09cec6badc3 (patch)
tree624e9da7e6cbe5eefe46ae3dd88227ff837602d4 /security/tor/files
parent2c9cdf042625d63e740b0ee088cbb286d01e54ce (diff)
downloadports-67f206cc254b7aea22b25b24d348f09cec6badc3.tar.gz
ports-67f206cc254b7aea22b25b24d348f09cec6badc3.zip
Notes
Diffstat (limited to 'security/tor/files')
-rw-r--r--security/tor/files/patch-src+or+config.c11
-rw-r--r--security/tor/files/tor.in2
2 files changed, 12 insertions, 1 deletions
diff --git a/security/tor/files/patch-src+or+config.c b/security/tor/files/patch-src+or+config.c
new file mode 100644
index 000000000000..285dd1fbe834
--- /dev/null
+++ b/security/tor/files/patch-src+or+config.c
@@ -0,0 +1,11 @@
+--- src/or/config.c.orig Mon May 28 13:11:12 2007
++++ src/or/config.c Mon May 28 13:12:04 2007
+@@ -3901,7 +3901,7 @@
+ #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+ if (server && version < LE_13B) {
+ thread_unsafe = 1;
+- sad_os = "BSD variants"
++ sad_os = "BSD variants";
+ }
+ #elif defined(__APPLE__) || defined(__darwin__)
+ if (server && version < LE_13B) {
diff --git a/security/tor/files/tor.in b/security/tor/files/tor.in
index 81cc72e9161c..093fd47b32ef 100644
--- a/security/tor/files/tor.in
+++ b/security/tor/files/tor.in
@@ -39,7 +39,7 @@ 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} --user ${tor_user} --group ${tor_group} --log \"notice file ${tor_logfile}\""
+command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --User ${tor_user} --Group ${tor_group} --Log \"notice file ${tor_logfile}\""
extra_commands="log"
log_cmd="${name}_log"