Browse Source

And make the debian package build with CVS again

svn:r5572
Peter Palfrader 18 years ago
parent
commit
60f6247356
2 changed files with 9 additions and 2 deletions
  1. 7 0
      debian/changelog
  2. 2 2
      debian/patches/07_log_to_file_by_default.dpatch

+ 7 - 0
debian/changelog

@@ -1,3 +1,10 @@
+tor (0.1.1.10-alpha-cvs-1) experimental; urgency=low
+
+  * CVS snapshot
+  * forward port patches/07_log_to_file_by_default.
+
+ -- Peter Palfrader <weasel@debian.org>  Sun, 11 Dec 2005 14:06:03 +0100
+
 tor (0.1.1.10-alpha-1) experimental; urgency=low
 
   * New upstream version.

+ 2 - 2
debian/patches/07_log_to_file_by_default.dpatch

@@ -28,8 +28,8 @@ diff -urNad tor-0.1.1.5/src/or/config.c /tmp/dpep.YwfNhI/tor-0.1.1.5/src/or/conf
 +++ /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");
    }