[or-cvs] And make the debian package build with CVS again

Peter Palfrader weasel at seul.org
Sun Dec 11 15:45:01 UTC 2005


Update of /home/or/cvsroot/tor/debian/patches
In directory moria:/tmp/cvs-serv6032/patches

Modified Files:
	07_log_to_file_by_default.dpatch 
Log Message:
And make the debian package build with CVS again

Index: 07_log_to_file_by_default.dpatch
===================================================================
RCS file: /home/or/cvsroot/tor/debian/patches/07_log_to_file_by_default.dpatch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- 07_log_to_file_by_default.dpatch	12 Aug 2005 15:04:22 -0000	1.4
+++ 07_log_to_file_by_default.dpatch	11 Dec 2005 15:44:59 -0000	1.5
@@ -28,8 +28,8 @@
 +++ /tmp/dpep.YwfNhI/tor-0.1.1.5/src/or/config.c
 @@ -1548,7 +1548,7 @@
  
-   /* Special case if no options are given. */
-   if (!options->Logs) {
+   /* Special case on first boot if no Log options are given. */
+   if (!old_options && !options->Logs) {
 -    config_line_append(&options->Logs, "Log", "notice stdout");
 +    config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log");
    }



More information about the tor-commits mailing list