aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tor.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-05-28 22:22:58 +0200
committerLudovic Courtès <ludo@gnu.org>2013-05-29 00:03:12 +0200
commit4f7e152b349ce0ee21a4ef30187aec834476518c (patch)
tree18632cb3443a2a6b0d45eb819de71f2a6f173537 /gnu/packages/tor.scm
parent842ded334fdf4019e04d08d2bd5a272327d256bf (diff)
downloadguix-4f7e152b349ce0ee21a4ef30187aec834476518c.tar
guix-4f7e152b349ce0ee21a4ef30187aec834476518c.tar.gz
gnu: Add torsocks.
* gnu/packages/tor.scm (torsocks): New variable.
Diffstat (limited to 'gnu/packages/tor.scm')
-rw-r--r--gnu/packages/tor.scm25
1 files changed, 24 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
(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+)))