2013-01-20 22:21:04 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-03-26 15:38:16 +00:00
|
|
|
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
2015-02-27 16:53:06 +00:00
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2020-02-05 12:03:47 +00:00
|
|
|
;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
|
Correct name and email address for ng0.
* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi,
doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm,
gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm,
gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm,
gnu/packages/language.scm, gnu/packages/libcanberra.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm:
Correct name and email address for ng0.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-03-14 09:33:38 +00:00
|
|
|
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
2020-03-18 16:48:43 +00:00
|
|
|
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-08-14 03:34:57 +00:00
|
|
|
;;; Copyright © 2017, 2018, 2019 Eric Bavier <bavier@member.fsf.org>
|
2017-06-16 11:15:17 +00:00
|
|
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
2018-11-11 12:10:56 +00:00
|
|
|
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
|
2020-03-30 20:21:08 +00:00
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2013-01-20 22:21:04 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages tor)
|
2017-01-29 13:00:55 +00:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-20 22:21:04 +00:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2015-11-10 17:38:04 +00:00
|
|
|
#:use-module (guix git-download)
|
2013-01-20 22:21:04 +00:00
|
|
|
#:use-module (guix build-system gnu)
|
2016-09-18 20:27:36 +00:00
|
|
|
#:use-module (guix build-system python)
|
2015-11-10 17:38:04 +00:00
|
|
|
#:use-module (gnu packages)
|
2017-04-07 13:49:43 +00:00
|
|
|
#:use-module (gnu packages base)
|
2013-01-20 22:21:04 +00:00
|
|
|
#:use-module (gnu packages libevent)
|
2017-04-07 13:49:43 +00:00
|
|
|
#:use-module (gnu packages linux)
|
gnu: Move testing packages from python.scm to check.scm.
* gnu/packages/python.scm (python-behave-web-api, python2-behave-web-api,
python-mock, python2-mock, python-mock-2, python-nose, python2-nose,
python-nose2, python2-nose2, python-unittest2, python2-unittest2,
python-pytest, python2-pytest, python-pytest-3.0, python2-pytest-3.0,
python-pytest-cov, python2-pytest-cov, python-pytest-runner,
python2-pytest-runner, python-pytest-mock, python2-pytest-mock,
python-pytest-xdist, python2-pytest-xdist, python-scripttest,
python2-scripttest, python-testtools, python2-testtools, python-testscenarios,
python2-testscenarios, python-testresources, python2-testresources,
python-subunit, python2-subunit, python-fixtures, python2-fixtures,
python-testrepository, python2-testrepository, python-coverage,
python2-coverage, python-cov-core, python2-cov-core, python-testpath,
python2-testpath, python-testlib, python2-testlib, python-pytest-cache,
python2-pytest-cache, python-pytest-localserver, python-pytest-xprocess,
python-pytest-subtesthack, python2-pytest-subtesthack, python-hypothesis,
python2-hypothesis, python-lit, python2-lit, python-pytest-pep8,
python2-pytest-pep8, python-pytest-flakes, python2-pytest-flakes,
python2-coverage-test-runner, python-pylint, python2-pylint,
python-paramunittest, python2-python-paramunittest, python-pytest-warnings,
python2-pytest-warnings, python-pytest-capturelog, python2-pytest-capturelog,
python-pytest-catchlog, python2-pytest-catchlog, python-nosexcover,
python2-nosexcover, python-discover, python2-discover, behave, python-rednose,
python2-rednose, python-nose-randomly, python2-nose-randomly,
python-nose-timer, python2-nose-timer): Move from here...
* gnu/packages/check.scm: ...to here.
* gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/backup.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm,
gnu/packages/dav.scm,
gnu/packages/django.scm,
gnu/packages/freedesktop.scm,
gnu/packages/haskell.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/ldc.scm,
gnu/packages/libffi.scm,
gnu/packages/mail.scm,
gnu/packages/mpd.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/rdf.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm: Adjust accordingly.
2017-11-17 20:42:23 +00:00
|
|
|
#:use-module (gnu packages check)
|
2013-01-20 22:21:04 +00:00
|
|
|
#:use-module (gnu packages compression)
|
2013-06-06 22:02:48 +00:00
|
|
|
#:use-module (gnu packages pcre)
|
2017-10-03 12:49:37 +00:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-06-06 04:47:34 +00:00
|
|
|
#:use-module (gnu packages python)
|
2019-08-14 03:34:57 +00:00
|
|
|
#:use-module (gnu packages python-crypto)
|
gnu: Move web packages from python to python-web.
This is in part to address <https://bugs.gnu.org/27284>.
* gnu/packages/python.scm (python-httplib2, python2-httplib2)
(python-sockjs-tornado, python2-sockjs-tornado)
(python-flask-babel, python2-flask-babel)
(python-html5lib, python2-html5lib)
(python-html5lib-0.9, python2-html5lib-0.9)
(python-html5-parser, python2-html5-parser)
(python-webencodings, python2-webencodings)
(python-openid, python2-openid, python-cssutils, python2-cssutils)
(python-cssselect, python2-cssutils)
(python-openid-cla, python2-openid-cla)
(python-openid-teams, python2-openid-teams)
(python-tornado, python2-tornado)
(python-tornado-http-auth, python-terminado, python2-terminado)
(python-webob, python2-webob, python-zope-event, python2-zope-event)
(python-zope-interface, python2-zope-interface)
(python-zope-exceptions, python2-zope-exceptions)
(python-zope-testing, python2-zope-testing)
(python-zope-testrunner, python2-zope-testrunner)
(python-zope-i18nmessageid, python2-zope-i18nmessageid)
(python-zope-schema, python2-zope-schema)
(python-zope-configuration, python2-zope-configuration)
(python-zope-proxy, python2-zope-proxy)
(python-zope-location, python2-zope-location)
(python-zope-security, python2-zope-security)
(python-zope-component, python2-zope-component)
(python-ndg-httpsclient, python2-ndg-httpsclient)
(python-websocket-client, python2-websocket-client)
(python-requests-toolbelt, python2-requests-toolbelt)
(python-rauth, python2-rauth, python-urllib3, python2-urllib3)
(awscli, python-wsgiproxy2, python2-wsgiproxy2)
(python-pastedeploy, python2-pastedeploy)
(python-webtest, python2-webtest, python-flask, python2-flask)
(python-flast-wtf, python2-flask-wtf)
(python-flask-multistatic, python2-flask-multistatic)
(python-cookies, python2-cookies)
(python-responses, python2-responses)
(python-geventhttpclient, python2-geventhttpclient)
(python-requests-oauthlib, python2-requests-oauthlib)
(python-url, python2-url, python-cachecontrol, python2-cachecontrol)
(python-betamax, python2-betamax)
(python-betamax-matchers, python2-betamax-matchers)
(python-s3transfer, python2-s3transfer)
(python-flask-restful, python-flask-basicauth)
(python-flask-sqlalchemy, python-flask-restplus)
(python-flask-restful-swagger, python-htmlmin, python2-htmlmin)
(python-flask-htmlmin, python2-flask-htmlmin)
(python-flask-login, python2-flask-login)
(python-oauth2client, python-flask-oidc)
(python-webassets, python-cssmin, python2-cssmin)
(python-elasticsearch, python2-elasticsearch)
(python-flask-script, python2-flask-script)
(python-flask-migrate, python2-flask-migrate)
(python-genshi, python2-genshi)
(python-flask-principal, python2-flask-principal)
(python-flask-httpauth, python2-flask-httpauth)
(python-uritemplate, python2-uritemplate): Move to...
* gnu/packages/python-web.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/dav.scm, gnu/packages/django.scm,
gnu/packages/docker.scm, gnu/packages/ebook.scm,
gnu/packages/logging.scm, gnu/packages/mail.scm,
gnu/packages/music.scm, gnu/packages/openstack.scm,
gnu/packages/package-management.scm, gnu/packages/rdf.scm,
gnu/packages/tls.scm, gnu/packages/tor.scm,
gnu/packages/tryton.scm, gnu/packages/version-control.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm: Adjust accordingly.
2017-11-13 22:24:11 +00:00
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 13:21:30 +00:00
|
|
|
#:use-module (gnu packages python-xyz)
|
2016-09-11 18:43:06 +00:00
|
|
|
#:use-module (gnu packages qt)
|
2013-06-06 22:02:48 +00:00
|
|
|
#:use-module (gnu packages autotools)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 16:27:24 +00:00
|
|
|
#:use-module (gnu packages tls)
|
2013-06-06 22:02:48 +00:00
|
|
|
#:use-module (gnu packages w3m))
|
2013-01-20 22:21:04 +00:00
|
|
|
|
|
|
|
(define-public tor
|
|
|
|
(package
|
|
|
|
(name "tor")
|
2020-03-18 16:48:43 +00:00
|
|
|
(version "0.4.2.7")
|
2013-01-20 22:21:04 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2016-09-24 19:26:30 +00:00
|
|
|
(uri (string-append "https://dist.torproject.org/tor-"
|
2013-01-20 22:21:04 +00:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-03-18 16:48:43 +00:00
|
|
|
"0v82ngwwmmcb7i9563bgsmrjy6xp83xyhqhaljygd0pkvlsxi886"))))
|
2013-01-20 22:21:04 +00:00
|
|
|
(build-system gnu-build-system)
|
2015-06-06 04:47:34 +00:00
|
|
|
(native-inputs
|
2017-10-03 12:49:37 +00:00
|
|
|
`(("pkg-config" ,pkg-config)
|
2018-09-10 20:53:28 +00:00
|
|
|
("python" ,python-2))) ; for tests
|
2013-01-20 22:21:04 +00:00
|
|
|
(inputs
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
("openssl" ,openssl)
|
2017-06-16 11:15:17 +00:00
|
|
|
("libevent" ,libevent)
|
2017-10-03 12:49:37 +00:00
|
|
|
("libseccomp" ,libseccomp)
|
|
|
|
("xz" ,xz)
|
2019-07-22 12:53:12 +00:00
|
|
|
("zstd" ,zstd "lib")))
|
2016-09-24 19:26:30 +00:00
|
|
|
(home-page "https://www.torproject.org/")
|
2014-09-13 13:50:30 +00:00
|
|
|
(synopsis "Anonymous network router to improve privacy on the Internet")
|
2013-01-20 22:21:04 +00:00
|
|
|
(description
|
|
|
|
"Tor protects you by bouncing your communications around a distributed
|
|
|
|
network of relays run by volunteers all around the world: it prevents
|
|
|
|
somebody watching your Internet connection from learning what sites you
|
|
|
|
visit, and it prevents the sites you visit from learning your physical
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
location. Tor works with many of your existing applications, including
|
2013-01-20 22:21:04 +00:00
|
|
|
web browsers, instant messaging clients, remote login, and other
|
2016-12-15 10:37:21 +00:00
|
|
|
applications based on the TCP protocol.
|
2016-12-17 21:13:31 +00:00
|
|
|
|
2016-12-15 10:37:21 +00:00
|
|
|
To @code{torify} applications (to take measures to ensure that an application,
|
|
|
|
which has not been designed for use with Tor such as ssh, will use only Tor for
|
|
|
|
internet connectivity, and also ensures that there are no leaks from DNS, UDP or
|
|
|
|
the application layer) you need to install @code{torsocks}.")
|
2017-01-29 13:00:55 +00:00
|
|
|
(license license:bsd-3)))
|
2013-05-28 20:22:58 +00:00
|
|
|
|
|
|
|
(define-public torsocks
|
|
|
|
(package
|
|
|
|
(name "torsocks")
|
2019-02-08 12:00:37 +00:00
|
|
|
(version "2.3.0")
|
2013-05-28 20:22:58 +00:00
|
|
|
(source (origin
|
2016-10-18 18:15:55 +00:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://people.torproject.org/~dgoulet/"
|
2018-12-23 02:58:07 +00:00
|
|
|
"torsocks/torsocks-" version ".tar.xz"))
|
2015-11-10 17:38:04 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-08 12:00:37 +00:00
|
|
|
"08inrkap29gikb6sdmb58z43hw4abwrfw7ny40c4xzdkss0vkwdr"))))
|
2013-05-28 20:22:58 +00:00
|
|
|
(build-system gnu-build-system)
|
2017-04-07 13:49:43 +00:00
|
|
|
(inputs
|
2019-02-08 12:00:37 +00:00
|
|
|
`(("libcap" ,libcap)))
|
2017-04-07 13:49:43 +00:00
|
|
|
(arguments
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
(add-after 'build 'absolutize
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(substitute* "src/bin/torsocks"
|
2019-02-08 12:00:37 +00:00
|
|
|
(("getcap=.*")
|
|
|
|
(string-append "getcap=" (which "getcap") "\n")))
|
2017-04-07 13:49:43 +00:00
|
|
|
#t)))))
|
2016-10-18 18:15:55 +00:00
|
|
|
(home-page "https://www.torproject.org/")
|
2013-05-28 20:22:58 +00:00
|
|
|
(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.")
|
2015-11-10 17:38:04 +00:00
|
|
|
|
|
|
|
;; All the files explicitly say "version 2 only".
|
2017-01-29 13:00:55 +00:00
|
|
|
(license license:gpl2)))
|
2013-06-06 22:02:48 +00:00
|
|
|
|
|
|
|
(define-public privoxy
|
|
|
|
(package
|
|
|
|
(name "privoxy")
|
2019-01-08 03:20:38 +00:00
|
|
|
(version "3.0.28")
|
2013-06-06 22:02:48 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/ijbswa/Sources/"
|
|
|
|
version "%20%28stable%29/privoxy-"
|
|
|
|
version "-stable-src.tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-01-08 03:20:38 +00:00
|
|
|
"0jl2yav1qzqnaqnnx8i6i53ayckkimcrs3l6ryvv7bda6v08rmxm"))))
|
2013-06-06 22:02:48 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2014-06-18 15:22:29 +00:00
|
|
|
'(;; The default 'sysconfdir' is $out/etc; change that to
|
|
|
|
;; $out/etc/privoxy.
|
|
|
|
#:configure-flags (list (string-append "--sysconfdir="
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
"/etc/privoxy"))
|
2013-06-06 22:02:48 +00:00
|
|
|
#:tests? #f))
|
|
|
|
(inputs
|
|
|
|
`(("w3m" ,w3m)
|
|
|
|
("pcre" ,pcre)
|
2020-03-30 20:21:08 +00:00
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
2013-06-06 22:02:48 +00:00
|
|
|
("automake" ,automake)))
|
2016-09-24 20:08:44 +00:00
|
|
|
(home-page "https://www.privoxy.org")
|
2013-06-06 22:02:48 +00:00
|
|
|
(synopsis "Web proxy with advanced filtering capabilities for enhancing privacy")
|
|
|
|
(description
|
|
|
|
"Privoxy is a non-caching web proxy with advanced filtering capabilities
|
|
|
|
for enhancing privacy, modifying web page data and HTTP headers, controlling
|
|
|
|
access, and removing ads and other obnoxious Internet junk. Privoxy has a
|
|
|
|
flexible configuration and can be customized to suit individual needs and
|
|
|
|
tastes. It has application for both stand-alone systems and multi-user
|
|
|
|
networks.")
|
2017-01-29 13:00:55 +00:00
|
|
|
(license license:gpl2+)))
|
2016-09-11 18:43:06 +00:00
|
|
|
|
|
|
|
(define-public onionshare
|
|
|
|
(package
|
|
|
|
(name "onionshare")
|
2019-10-16 03:31:11 +00:00
|
|
|
(version "2.2")
|
2016-09-11 18:43:06 +00:00
|
|
|
(source
|
|
|
|
(origin
|
2018-11-29 05:23:10 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/micahflee/onionshare.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2016-09-11 18:43:06 +00:00
|
|
|
(sha256
|
2019-10-16 03:31:11 +00:00
|
|
|
(base32 "0m8ygxcyp3nfzzhxs2dfnpqwh1vx0aws44lszpnnczz4fks3a5j4"))))
|
2016-09-11 18:43:06 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-install-path
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(onionshare (string-append out "/share/onionshare")))
|
2018-12-12 05:59:17 +00:00
|
|
|
(substitute* '("setup.py" "onionshare/common.py")
|
2016-12-13 11:11:40 +00:00
|
|
|
(("sys.prefix,") (string-append "'" out "',")))
|
|
|
|
(substitute* "setup.py"
|
2019-02-17 19:39:49 +00:00
|
|
|
;; For the nautilus plugin.
|
2016-12-13 11:11:40 +00:00
|
|
|
(("/usr/share/nautilus") "share/nautilus"))
|
2019-10-16 03:31:11 +00:00
|
|
|
(substitute* "install/org.onionshare.OnionShare.desktop"
|
2018-12-12 05:59:17 +00:00
|
|
|
(("/usr") out))
|
|
|
|
#t)))
|
2016-09-11 18:43:06 +00:00
|
|
|
(delete 'check)
|
2019-08-14 03:34:57 +00:00
|
|
|
(add-before 'strip 'check
|
2016-09-11 18:43:06 +00:00
|
|
|
;; After all the patching we run the tests after installing.
|
2018-03-01 15:31:06 +00:00
|
|
|
(lambda _
|
2019-08-14 03:34:57 +00:00
|
|
|
(setenv "HOME" "/tmp") ; Some tests need a writable homedir
|
|
|
|
(invoke "pytest" "tests/")
|
2018-03-01 15:31:06 +00:00
|
|
|
#t)))))
|
2016-09-11 18:43:06 +00:00
|
|
|
(native-inputs
|
2018-12-12 05:59:17 +00:00
|
|
|
`(("python-pytest" ,python-pytest)))
|
2016-09-11 18:43:06 +00:00
|
|
|
(inputs
|
2019-08-14 03:34:57 +00:00
|
|
|
`(("python-pycrypto" ,python-pycrypto)
|
|
|
|
("python-flask" ,python-flask)
|
2019-10-16 03:31:11 +00:00
|
|
|
("python-flask-httpauth" ,python-flask-httpauth)
|
2016-09-11 18:43:06 +00:00
|
|
|
("python-nautilus" ,python-nautilus)
|
|
|
|
("python-sip" ,python-sip)
|
|
|
|
("python-stem" ,python-stem)
|
2019-08-14 03:34:57 +00:00
|
|
|
("python-pysocks" ,python-pysocks)
|
2016-09-11 18:43:06 +00:00
|
|
|
("python-pyqt" ,python-pyqt)))
|
|
|
|
(home-page "https://onionshare.org/")
|
|
|
|
(synopsis "Securely and anonymously share files")
|
2019-10-16 03:31:11 +00:00
|
|
|
(description "OnionShare is a tool for securely and anonymously sending
|
|
|
|
and receiving files using Tor onion services. It works by starting a web
|
|
|
|
server directly on your computer and making it accessible as an unguessable
|
|
|
|
Tor web address that others can load in a Tor-enabled web browser to download
|
|
|
|
files from you, or upload files to you. It doesn't require setting up a
|
|
|
|
separate server, using a third party file-sharing service, or even logging
|
|
|
|
into an account.")
|
|
|
|
;; Bundled, minified jquery is expat licensed.
|
|
|
|
(license (list license:gpl3+ license:expat))))
|
2017-01-29 13:08:14 +00:00
|
|
|
|
|
|
|
(define-public nyx
|
2018-06-20 22:33:13 +00:00
|
|
|
(package
|
|
|
|
(name "nyx")
|
2019-02-05 16:41:26 +00:00
|
|
|
(version "2.1.0")
|
2018-06-20 22:33:13 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-05 16:41:26 +00:00
|
|
|
"02rrlllz2ci6i6cs3iddyfns7ang9a54jrlygd2jw1f9s6418ll8"))))
|
2018-06-20 22:33:13 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("python-stem" ,python-stem)))
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'install-man-page
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(man (string-append out "/share/man")))
|
|
|
|
(install-file "nyx.1" (string-append man "/man1"))
|
|
|
|
#t)))
|
|
|
|
(add-after 'install 'install-sample-configuration
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
|
|
|
(install-file "web/nyxrc.sample" doc)
|
|
|
|
#t))))
|
|
|
|
;; XXX The tests seem to require more of a real terminal than the build
|
|
|
|
;; environment provides:
|
|
|
|
;; _curses.error: setupterm: could not find terminal
|
|
|
|
;; With TERM=linux, the tests try to move the cursor and still fail:
|
|
|
|
;; _curses.error: cbreak() returned ERR
|
|
|
|
#:tests? #f))
|
|
|
|
(home-page "https://nyx.torproject.org/")
|
|
|
|
(synopsis "Tor relay status monitor")
|
|
|
|
(description
|
|
|
|
"Nyx monitors the performance of relays participating in the
|
2017-01-29 13:08:14 +00:00
|
|
|
@uref{https://www.torproject.org/, Tor anonymity network}. It displays this
|
|
|
|
information visually and in real time, using a curses-based terminal interface.
|
|
|
|
This makes Nyx well-suited for remote shell connections and servers without a
|
|
|
|
graphical display. It's like @command{top} for Tor, providing detailed
|
|
|
|
statistics and status reports on:
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
@item connections (with IP address, hostname, fingerprint, and consensus data),
|
|
|
|
@item bandwidth, processor, and memory usage,
|
|
|
|
@item the relay's current configuration,
|
|
|
|
@item logged events,
|
|
|
|
@item and much more.
|
|
|
|
@end enumerate
|
|
|
|
|
|
|
|
Potential client and exit connections are scrubbed of sensitive information.")
|
2018-06-20 22:33:13 +00:00
|
|
|
(license license:gpl3+)))
|