1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages tor)
20 #:use-module ((guix licenses) #:select (bsd-3 gpl2+))
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages libevent)
25 #:use-module (gnu packages compression)
26 #:use-module (gnu packages openssl)
27 #:use-module (gnu packages pcre)
28 #:use-module (gnu packages autotools)
29 #:use-module (gnu packages w3m))
37 (uri (string-append "https://www.torproject.org/dist/tor-"
41 "183n667zgmp37brxl4qna1ciw6dz8d0ihd3fgv9i2gpk6q8nybdv"))))
42 (build-system gnu-build-system)
46 ("libevent" ,libevent)))
48 ;; TODO: Recommend `torsocks' since `torify' needs it.
50 (home-page "http://www.torproject.org/")
51 (synopsis "An anonymous network router to improve privacy on the Internet")
53 "Tor protects you by bouncing your communications around a distributed
54 network of relays run by volunteers all around the world: it prevents
55 somebody watching your Internet connection from learning what sites you
56 visit, and it prevents the sites you visit from learning your physical
57 location. Tor works with many of your existing applications, including
58 web browsers, instant messaging clients, remote login, and other
59 applications based on the TCP protocol.")
62 (define-public torsocks
68 (uri (string-append "http://torsocks.googlecode.com/files/torsocks-"
72 "1m0is5q24sf7jjlkl0icfkdc0m53nbkg0q72s57p48yp4hv7v9dy"))))
73 (build-system gnu-build-system)
74 (home-page "http://code.google.com/p/torsocks/")
75 (synopsis "Use socks-friendly applications with Tor")
77 "Torsocks allows you to use most socks-friendly applications in a safe
78 way with Tor. It ensures that DNS requests are handled safely and explicitly
79 rejects UDP traffic from the application you're using.")
82 (define-public privoxy
88 (uri (string-append "mirror://sourceforge/ijbswa/Sources/"
89 version "%20%28stable%29/privoxy-"
90 version "-stable-src.tar.gz"))
93 "1f6xb7aa47p90c26vqaw74y6drs9gpnhxsgby3mx0awdjh0ydisy"))))
94 (build-system gnu-build-system)
96 '(#:phases (alist-cons-before
99 ;; Unfortunately, this is not a tarball produced by
101 (zero? (system* "autoreconf" "-vfi")))
108 ("autoconf" ,autoconf)
109 ("automake" ,automake)))
110 (home-page "http://www.privoxy.org")
111 (synopsis "Web proxy with advanced filtering capabilities for enhancing privacy")
113 "Privoxy is a non-caching web proxy with advanced filtering capabilities
114 for enhancing privacy, modifying web page data and HTTP headers, controlling
115 access, and removing ads and other obnoxious Internet junk. Privoxy has a
116 flexible configuration and can be customized to suit individual needs and
117 tastes. It has application for both stand-alone systems and multi-user