Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tor for openSUSE:Factory checked in 
at 2021-06-18 10:13:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tor (Old)
 and      /work/SRC/openSUSE:Factory/.tor.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tor"

Fri Jun 18 10:13:52 2021 rev:96 rq:900467 version:0.4.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/tor/tor.changes  2021-06-15 16:38:17.565792802 
+0200
+++ /work/SRC/openSUSE:Factory/.tor.new.2625/tor.changes        2021-06-18 
10:14:06.570019881 +0200
@@ -1,0 +2,17 @@
+Wed Jun 16 20:32:43 UTC 2021 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- tor 0.4.6.5
+  * Add controller support for creating v3 onion services with
+    client auth
+  * When voting on a relay with a Sybil-like appearance, add the
+    Sybil flag when clearing out the other flags. This lets a relay
+    operator know why their relay hasn't been included in the
+    consensus
+  * Relays now report how overloaded they are
+  * Add a new DoS subsystem to control the rate of client
+    connections for relays
+  * Relays now publish statistics about v3 onions services
+  * Improve circuit timeout algorithm for client performance
+- add tor-0.4.6.5-gcc7.patch to fix build with gcc7
+
+-------------------------------------------------------------------

Old:
----
  tor-0.4.5.9.tar.gz
  tor-0.4.5.9.tar.gz.asc

New:
----
  tor-0.4.6.5-gcc7.patch
  tor-0.4.6.5.tar.gz
  tor-0.4.6.5.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tor.spec ++++++
--- /var/tmp/diff_new_pack.rpf7qc/_old  2021-06-18 10:14:07.178020685 +0200
+++ /var/tmp/diff_new_pack.rpf7qc/_new  2021-06-18 10:14:07.182020690 +0200
@@ -20,7 +20,7 @@
 %define torgroup %{name}
 %define home_dir %{_localstatedir}/lib/empty
 Name:           tor
-Version:        0.4.5.9
+Version:        0.4.6.5
 Release:        0
 Summary:        Anonymizing overlay network for TCP (The onion router)
 License:        BSD-3-Clause
@@ -35,6 +35,7 @@
 Source6:        tor-master.service
 Patch0:         tor-0.2.5.x-logrotate.patch
 Patch1:         fix-test.patch
+Patch2:         tor-0.4.6.5-gcc7.patch
 BuildRequires:  openssl-devel >= 1.0.1
 BuildRequires:  pkgconfig >= 0.9.0
 BuildRequires:  pwdutils

++++++ tor-0.4.6.5-gcc7.patch ++++++
Author: Andreas Stieger
Date: 2021-06-16

Without this patch, compilation failed on gcc7
 In file included from ./src/core/or/or.h:50:0,
                  from src/feature/dirclient/dirclient.c:13:
 src/feature/dirclient/dirclient.c: In function 
'dir_client_decompress_response_body':
 ./src/lib/log/ratelim.h:55:27: error: initializer element is not constant
  #define RATELIM_INIT(r) { (r), 0, 0, 0 }
                            ^
 src/feature/dirclient/dirclient.c:1877:38: note: in expansion of macro 
'RATELIM_INIT'
      static ratelim_t warning_limit = RATELIM_INIT(LOG_INTERVAL);
                                       ^~~~~~~~~~~~
 ./src/lib/log/ratelim.h:55:27: note: (near initialization for 
'warning_limit.rate')
  #define RATELIM_INIT(r) { (r), 0, 0, 0 }
                            ^
 src/feature/dirclient/dirclient.c:1877:38: note: in expansion of macro 
'RATELIM_INIT'
      static ratelim_t warning_limit = RATELIM_INIT(LOG_INTERVAL);
                                       ^~~~~~~~~~~~

Index: tor-0.4.6.5/src/feature/dirclient/dirclient.c
===================================================================
--- tor-0.4.6.5.orig/src/feature/dirclient/dirclient.c
+++ tor-0.4.6.5/src/feature/dirclient/dirclient.c
@@ -1873,8 +1873,7 @@ dir_client_decompress_response_body(char
   /* If we're pretty sure that we have a compressed directory, and
    * we didn't manage to uncompress it, then warn and bail. */
   if (!plausible && !new_body) {
-    const int LOG_INTERVAL = 3600;
-    static ratelim_t warning_limit = RATELIM_INIT(LOG_INTERVAL);
+    static ratelim_t warning_limit = RATELIM_INIT(60 * 60);
     log_fn_ratelim(&warning_limit, LOG_WARN, LD_HTTP,
            "Unable to decompress HTTP body (tried %s%s%s, on %s).",
            description1,
++++++ tor-0.4.5.9.tar.gz -> tor-0.4.6.5.tar.gz ++++++
/work/SRC/openSUSE:Factory/tor/tor-0.4.5.9.tar.gz 
/work/SRC/openSUSE:Factory/.tor.new.2625/tor-0.4.6.5.tar.gz differ: char 35, 
line 1

Reply via email to