Archived
1
0
Fork 0

gnu: torsocks: Update to 2.4.0.

* gnu/packages/tor.scm (torsocks): Update to 2.4.0.
[native-inputs]: Add autoconf, automake, libtool because torsocks releases
no longer pre-run autogen.sh.
[synopsis, description]: Clarify that applications do not need to be
socks-aware to be used with torsocks.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Jim Newsome 2022-08-09 09:38:40 -05:00 committed by Mathieu Othacehe
parent 6b2d29a6f5
commit ae549cf48f
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -12,6 +12,7 @@
;;; Copyright © 2020 André Batista <nandre@riseup.net> ;;; Copyright © 2020 André Batista <nandre@riseup.net>
;;; Copyright © 2021-2022 Danial Behzadi <dani.behzi@ubuntu.com> ;;; Copyright © 2021-2022 Danial Behzadi <dani.behzi@ubuntu.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -160,17 +161,19 @@ This package only provides a client to the Tor Network.")))
(define-public torsocks (define-public torsocks
(package (package
(name "torsocks") (name "torsocks")
(version "2.3.0") (version "2.4.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://people.torproject.org/~dgoulet/" (uri (string-append "https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v"
"torsocks/torsocks-" version ".tar.xz")) version "/torsocks-v" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"08inrkap29gikb6sdmb58z43hw4abwrfw7ny40c4xzdkss0vkwdr")))) "1a7k3njdhp7dz603knhisna1zvxw35j3g213p6dvczv9bcjy7cjl"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
(list libcap)) (list libcap))
(native-inputs
(list autoconf automake libtool))
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(add-after 'build 'absolutize (add-after 'build 'absolutize
@ -180,11 +183,11 @@ This package only provides a client to the Tor Network.")))
(string-append "getcap=" (which "getcap") "\n"))) (string-append "getcap=" (which "getcap") "\n")))
#t))))) #t)))))
(home-page "https://www.torproject.org/") (home-page "https://www.torproject.org/")
(synopsis "Use socks-friendly applications with Tor") (synopsis "Transparently route an application's traffic through Tor.")
(description (description
"Torsocks allows you to use most socks-friendly applications in a safe "Torsocks allows you to use most applications in a safe way with Tor. It
way with Tor. It ensures that DNS requests are handled safely and explicitly ensures that DNS requests are handled safely and explicitly rejects UDP
rejects UDP traffic from the application you're using.") traffic from the application you're using.")
;; All the files explicitly say "version 2 only". ;; All the files explicitly say "version 2 only".
(license license:gpl2))) (license license:gpl2)))