From 4f7e152b349ce0ee21a4ef30187aec834476518c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 28 May 2013 22:22:58 +0200 Subject: gnu: Add torsocks. * gnu/packages/tor.scm (torsocks): New variable. --- gnu/packages/tor.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm index 7be5dc1eda..6d4b84092d 100644 --- a/gnu/packages/tor.scm +++ b/gnu/packages/tor.scm @@ -17,7 +17,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages tor) - #:use-module ((guix licenses) #:select (bsd-3)) + #:use-module ((guix licenses) #:select (bsd-3 gpl2+)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -41,6 +41,9 @@ `(("zlib" ,zlib) ("openssl" ,openssl) ("libevent" ,libevent))) + + ;; TODO: Recommend `torsocks' since `torify' needs it. + (home-page "http://www.torproject.org/") (synopsis "An anonymous network router to improve privacy on the Internet") (description @@ -52,3 +55,23 @@ location. Tor works with many of your existing applications, including web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol.") (license bsd-3))) + +(define-public torsocks + (package + (name "torsocks") + (version "1.2") + (source (origin + (method url-fetch) + (uri (string-append "http://torsocks.googlecode.com/files/torsocks-" + version ".tar.gz")) + (sha256 + (base32 + "1m0is5q24sf7jjlkl0icfkdc0m53nbkg0q72s57p48yp4hv7v9dy")))) + (build-system gnu-build-system) + (home-page "http://code.google.com/p/torsocks/") + (synopsis "Use socks-friendly applications with Tor") + (description + "Torsocks allows you to use most socks-friendly applications in a safe +way with Tor. It ensures that DNS requests are handled safely and explicitly +rejects UDP traffic from the application you're using.") + (license gpl2+))) -- cgit v1.2.3