diff options
Diffstat (limited to 'debian/patches/06_add_compile_time_defaults.dpatch')
-rwxr-xr-x | debian/patches/06_add_compile_time_defaults.dpatch | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/debian/patches/06_add_compile_time_defaults.dpatch b/debian/patches/06_add_compile_time_defaults.dpatch index 6fd89ce033..84da66fa88 100755 --- a/debian/patches/06_add_compile_time_defaults.dpatch +++ b/debian/patches/06_add_compile_time_defaults.dpatch @@ -23,30 +23,33 @@ esac exit 0 @DPATCH@ -diff -urNad tor-0.1.0.0-alpha-cvs/src/or/config.c /tmp/dpep.Xv4cHn/tor-0.1.0.0-alpha-cvs/src/or/config.c ---- tor-0.1.0.0-alpha-cvs/src/or/config.c 2005-01-12 16:32:45.000000000 +0100 -+++ /tmp/dpep.Xv4cHn/tor-0.1.0.0-alpha-cvs/src/or/config.c 2005-01-13 03:50:33.815693540 +0100 -@@ -103,7 +103,7 @@ +diff -urNad tor-0.1.1.5/src/or/config.c /tmp/dpep.Xv4cHn/tor-0.1.1.5/src/or/config.c +--- tor-0.1.1.5/src/or/config.c 2005-01-12 16:32:45.000000000 +0100 ++++ /tmp/dpep.Xv4cHn/tor-0.1.1.5/src/or/config.c 2005-01-13 03:50:33.815693540 +0100 +@@ -108,7 +108,7 @@ + VAR("ContactInfo", STRING, ContactInfo, NULL), VAR("ControlPort", UINT, ControlPort, "0"), VAR("CookieAuthentication",BOOL, CookieAuthentication, "0"), - VAR("DebugLogFile", STRING, DebugLogFile, NULL), - VAR("DataDirectory", STRING, DataDirectory, NULL), + VAR("DataDirectory", STRING, DataDirectory, "/var/lib/tor"), + VAR("DebugLogFile", STRING, DebugLogFile, NULL), VAR("DirAllowPrivateAddresses",BOOL, DirAllowPrivateAddresses, NULL), - VAR("DirPort", UINT, DirPort, "0"), VAR("DirBindAddress", LINELIST, DirBindAddress, NULL), -@@ -149,12 +149,12 @@ +@@ -159,7 +159,7 @@ VAR("ORPort", UINT, ORPort, "0"), - VAR("ORBindAddress", LINELIST, ORBindAddress, NULL), VAR("OutboundBindAddress", STRING, OutboundBindAddress, NULL), + VAR("PathlenCoinWeight", DOUBLE, PathlenCoinWeight, "0.3"), - VAR("PidFile", STRING, PidFile, NULL), + VAR("PidFile", STRING, PidFile, "/var/run/tor/tor.pid"), - VAR("LongLivedPorts", CSV, LongLivedPorts, "21,22,706,1863,5050,5190,5222,5223,6667,8300,8888"), - VAR("PathlenCoinWeight", DOUBLE, PathlenCoinWeight, "0.3"), + VAR("RecommendedVersions", LINELIST, RecommendedVersions, NULL), VAR("RedirectExit", LINELIST, RedirectExit, NULL), + VAR("RendExcludeNodes", STRING, RendExcludeNodes, NULL), +@@ -167,7 +167,7 @@ + VAR("RendPostPeriod", INTERVAL, RendPostPeriod, "20 minutes"), + VAR("RephistTrackTime", INTERVAL, RephistTrackTime, "24 hours"), OBSOLETE("RouterFile"), - VAR("RunAsDaemon", BOOL, RunAsDaemon, "0"), + VAR("RunAsDaemon", BOOL, RunAsDaemon, "1"), VAR("RunTesting", BOOL, RunTesting, "0"), - VAR("RecommendedVersions", LINELIST, RecommendedVersions, NULL), - VAR("RendNodes", STRING, RendNodes, NULL), + VAR("SafeLogging", BOOL, SafeLogging, "1"), + VAR("ShutdownWaitLength", INTERVAL, ShutdownWaitLength, "30 seconds"), |