gnu: tor: Enable directory protocol compression.

* gnu/packages/tor.scm (tor)[native-inputs]: Add pkg-config.
[inputs]: Add xz and zstd.
This commit is contained in:
Tobias Geerinckx-Rice 2017-10-03 14:49:37 +02:00
parent b519d46269
commit 6c97f17fa1
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 2 deletions

View File

@ -35,6 +35,7 @@
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages pcre) #:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
@ -57,12 +58,15 @@
`(#:configure-flags (list "--enable-gcc-hardening" `(#:configure-flags (list "--enable-gcc-hardening"
"--enable-linker-hardening"))) "--enable-linker-hardening")))
(native-inputs (native-inputs
`(("python" ,python-2))) ; for tests `(("pkg-config" ,pkg-config)
("python" ,python-2))) ; for tests
(inputs (inputs
`(("zlib" ,zlib) `(("zlib" ,zlib)
("openssl" ,openssl) ("openssl" ,openssl)
("libevent" ,libevent) ("libevent" ,libevent)
("libseccomp" ,libseccomp))) ("libseccomp" ,libseccomp)
("xz" ,xz)
("zstd" ,zstd)))
(home-page "https://www.torproject.org/") (home-page "https://www.torproject.org/")
(synopsis "Anonymous network router to improve privacy on the Internet") (synopsis "Anonymous network router to improve privacy on the Internet")
(description (description