Tor: update to 0.4.5.8

Message ID 7ebdf3e3-a758-463b-6d73-c80a2e924353@ipfire.org
State Accepted
Commit bab8ae1157efc0e9af9d835ddf3cc3687c4a575a
Headers
Series Tor: update to 0.4.5.8 |

Commit Message

Peter Müller May 14, 2021, 9:11 p.m. UTC
  Full changelog as per https://gitweb.torproject.org/tor.git/plain/ChangeLog?h=tor-0.4.5.8:

Changes in version 0.4.5.8 - 2021-05-10
  Tor 0.4.5.8 fixes several bugs in earlier version, backporting fixes
  from the 0.4.6.x series.

  o Minor features (compatibility, Linux seccomp sandbox, backport from 0.4.6.3-rc):
    - Add a workaround to enable the Linux sandbox to work correctly
      with Glibc 2.33. This version of Glibc has started using the
      fstatat() system call, which previously our sandbox did not allow.
      Closes ticket 40382; see the ticket for a discussion of trade-offs.

  o Minor features (compilation, backport from 0.4.6.3-rc):
    - Make the autoconf script build correctly with autoconf versions
      2.70 and later. Closes part of ticket 40335.

  o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
    - Regenerate the list of fallback directories to contain a new set
      of 200 relays. Closes ticket 40265.

  o Minor features (geoip data):
    - Update the geoip files to match the IPFire Location Database, as
      retrieved on 2021/05/07.

  o Minor features (onion services):
    - Add warning message when connecting to now deprecated v2 onion
      services. As announced, Tor 0.4.5.x is the last series that will
      support v2 onions. Closes ticket 40373.

  o Minor bugfixes (bridge, pluggable transport, backport from 0.4.6.2-alpha):
    - Fix a regression that made it impossible start Tor using a bridge
      line with a transport name and no fingerprint. Fixes bug 40360;
      bugfix on 0.4.5.4-rc.

  o Minor bugfixes (build, cross-compilation, backport from 0.4.6.3-rc):
    - Allow a custom "ar" for cross-compilation. Our previous build
      script had used the $AR environment variable in most places, but
      it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.

  o Minor bugfixes (channel, DoS, backport from 0.4.6.2-alpha):
    - Fix a non-fatal BUG() message due to a too-early free of a string,
      when listing a client connection from the DoS defenses subsystem.
      Fixes bug 40345; bugfix on 0.4.3.4-rc.

  o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
    - Fix an indentation problem that led to a warning from GCC 11.1.1.
      Fixes bug 40380; bugfix on 0.3.0.1-alpha.

  o Minor bugfixes (controller, backport from 0.4.6.1-alpha):
    - Fix a "BUG" warning that would appear when a controller chooses
      the first hop for a circuit, and that circuit completes. Fixes bug
      40285; bugfix on 0.3.2.1-alpha.

  o Minor bugfixes (onion service, client, memory leak, backport from 0.4.6.3-rc):
    - Fix a bug where an expired cached descriptor could get overwritten
      with a new one without freeing it, leading to a memory leak. Fixes
      bug 40356; bugfix on 0.3.5.1-alpha.

  o Minor bugfixes (testing, BSD, backport from 0.4.6.2-alpha):
    - Fix pattern-matching errors when patterns expand to invalid paths
      on BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
      Daniel Pinto.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 lfs/tor | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Adolf Belka May 15, 2021, 8:31 a.m. UTC | #1
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>

On 14/05/2021 23:11, Peter Müller wrote:
> Full changelog as per https://gitweb.torproject.org/tor.git/plain/ChangeLog?h=tor-0.4.5.8:
>
> Changes in version 0.4.5.8 - 2021-05-10
>    Tor 0.4.5.8 fixes several bugs in earlier version, backporting fixes
>    from the 0.4.6.x series.
>
>    o Minor features (compatibility, Linux seccomp sandbox, backport from 0.4.6.3-rc):
>      - Add a workaround to enable the Linux sandbox to work correctly
>        with Glibc 2.33. This version of Glibc has started using the
>        fstatat() system call, which previously our sandbox did not allow.
>        Closes ticket 40382; see the ticket for a discussion of trade-offs.
>
>    o Minor features (compilation, backport from 0.4.6.3-rc):
>      - Make the autoconf script build correctly with autoconf versions
>        2.70 and later. Closes part of ticket 40335.
>
>    o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
>      - Regenerate the list of fallback directories to contain a new set
>        of 200 relays. Closes ticket 40265.
>
>    o Minor features (geoip data):
>      - Update the geoip files to match the IPFire Location Database, as
>        retrieved on 2021/05/07.
>
>    o Minor features (onion services):
>      - Add warning message when connecting to now deprecated v2 onion
>        services. As announced, Tor 0.4.5.x is the last series that will
>        support v2 onions. Closes ticket 40373.
>
>    o Minor bugfixes (bridge, pluggable transport, backport from 0.4.6.2-alpha):
>      - Fix a regression that made it impossible start Tor using a bridge
>        line with a transport name and no fingerprint. Fixes bug 40360;
>        bugfix on 0.4.5.4-rc.
>
>    o Minor bugfixes (build, cross-compilation, backport from 0.4.6.3-rc):
>      - Allow a custom "ar" for cross-compilation. Our previous build
>        script had used the $AR environment variable in most places, but
>        it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.
>
>    o Minor bugfixes (channel, DoS, backport from 0.4.6.2-alpha):
>      - Fix a non-fatal BUG() message due to a too-early free of a string,
>        when listing a client connection from the DoS defenses subsystem.
>        Fixes bug 40345; bugfix on 0.4.3.4-rc.
>
>    o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
>      - Fix an indentation problem that led to a warning from GCC 11.1.1.
>        Fixes bug 40380; bugfix on 0.3.0.1-alpha.
>
>    o Minor bugfixes (controller, backport from 0.4.6.1-alpha):
>      - Fix a "BUG" warning that would appear when a controller chooses
>        the first hop for a circuit, and that circuit completes. Fixes bug
>        40285; bugfix on 0.3.2.1-alpha.
>
>    o Minor bugfixes (onion service, client, memory leak, backport from 0.4.6.3-rc):
>      - Fix a bug where an expired cached descriptor could get overwritten
>        with a new one without freeing it, leading to a memory leak. Fixes
>        bug 40356; bugfix on 0.3.5.1-alpha.
>
>    o Minor bugfixes (testing, BSD, backport from 0.4.6.2-alpha):
>      - Fix pattern-matching errors when patterns expand to invalid paths
>        on BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
>        Daniel Pinto.
>
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
>   lfs/tor | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lfs/tor b/lfs/tor
> index 34e3b3ffb..9d40be1ce 100644
> --- a/lfs/tor
> +++ b/lfs/tor
> @@ -24,7 +24,7 @@
>   
>   include Config
>   
> -VER        = 0.4.5.7
> +VER        = 0.4.5.8
>   
>   THISAPP    = tor-$(VER)
>   DL_FILE    = $(THISAPP).tar.gz
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>   DIR_APP    = $(DIR_SRC)/$(THISAPP)
>   TARGET     = $(DIR_INFO)/$(THISAPP)
>   PROG       = tor
> -PAK_VER    = 59
> +PAK_VER    = 60
>   
>   DEPS       = libseccomp
>   
> @@ -44,7 +44,7 @@ objects = $(DL_FILE)
>   
>   $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>   
> -$(DL_FILE)_MD5 = 3a1800592293a8d4122823eab9233739
> +$(DL_FILE)_MD5 = a39d9b930a19936b57f097051c0ad509
>   
>   install : $(TARGET)
>
  

Patch

diff --git a/lfs/tor b/lfs/tor
index 34e3b3ffb..9d40be1ce 100644
--- a/lfs/tor
+++ b/lfs/tor
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 0.4.5.7
+VER        = 0.4.5.8
 
 THISAPP    = tor-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = tor
-PAK_VER    = 59
+PAK_VER    = 60
 
 DEPS       = libseccomp
 
@@ -44,7 +44,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 3a1800592293a8d4122823eab9233739
+$(DL_FILE)_MD5 = a39d9b930a19936b57f097051c0ad509
 
 install : $(TARGET)