guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: tor: Update to 0.4.4.7 [mitigates DoSes].


From: guix-commits
Subject: 02/02: gnu: tor: Update to 0.4.4.7 [mitigates DoSes].
Date: Thu, 4 Feb 2021 16:19:15 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit a8487d4df8f0df2161305c8971c3cd0f2eb393d7
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Feb 3 20:16:13 2021 +0100

    gnu: tor: Update to 0.4.4.7 [mitigates DoSes].
    
    * gnu/packages/tor.scm (tor): Update to 0.4.4.7.
    [arguments]: Add a ‘skip-practracker’ phase.
---
 gnu/packages/tor.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 1ce53a9..677d31e 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -54,19 +54,26 @@
 (define-public tor
   (package
     (name "tor")
-    (version "0.4.4.6")
+    (version "0.4.4.7")
     (source (origin
              (method url-fetch)
              (uri (string-append "https://dist.torproject.org/tor-";
                                  version ".tar.gz"))
              (sha256
               (base32
-               "1p0zpqmbskygx0wmiijhprg8r45n2wqbbjl7kv4gbb83b0alq5az"))))
+               "1vh5kdx7s74il8a6gr7jydbpv0an01nla4y2r8w7h33z2wk2jv9j"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
        (list "--enable-lzma"
-             "--enable-zstd")))
+             "--enable-zstd")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'skip-practracker
+           ;; This is a style linter.  It doesn't get to throw fatal errors.
+           (lambda _
+             (setenv "TOR_DISABLE_PRACTRACKER" "set")
+             #t)))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("python" ,python)))             ; for tests



reply via email to

[Prev in Thread] Current Thread [Next in Thread]