mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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.
This commit is contained in:
parent
81763bc101
commit
a8487d4df8
1 changed files with 10 additions and 3 deletions
|
@ -54,19 +54,26 @@ (define-module (gnu packages tor)
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue