mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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-public tor
|
(define-public tor
|
||||||
(package
|
(package
|
||||||
(name "tor")
|
(name "tor")
|
||||||
(version "0.4.4.6")
|
(version "0.4.4.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://dist.torproject.org/tor-"
|
(uri (string-append "https://dist.torproject.org/tor-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1p0zpqmbskygx0wmiijhprg8r45n2wqbbjl7kv4gbb83b0alq5az"))))
|
"1vh5kdx7s74il8a6gr7jydbpv0an01nla4y2r8w7h33z2wk2jv9j"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "--enable-lzma"
|
(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
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("python" ,python))) ; for tests
|
("python" ,python))) ; for tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue