2013-03-03 14:10:57 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 15:14:57 +02:00
|
|
|
|
;;; Copyright © 2013, 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
2014-03-31 01:09:10 +02:00
|
|
|
|
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
2015-08-17 10:16:45 +02:00
|
|
|
|
;;; Copyright © 2015 Jeff Mickey <j@codemac.net>
|
2019-08-07 18:09:37 +02:00
|
|
|
|
;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
|
2019-01-17 21:40:25 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-01-08 18:16:41 +01:00
|
|
|
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
2018-04-21 11:37:20 +02:00
|
|
|
|
;;; Copyright © 2018 Pierre Langlois <pierre.langlois@gmx.com>
|
2018-12-24 15:35:26 +01:00
|
|
|
|
;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
|
2019-03-02 01:30:51 +01:00
|
|
|
|
;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
|
2019-03-07 12:21:37 +01:00
|
|
|
|
;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
|
2013-03-03 14:10:57 +01: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 vpn)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 22:44:22 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-03-03 14:10:57 +01:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2017-05-07 01:19:12 +02:00
|
|
|
|
#:use-module (guix git-download)
|
2018-12-24 15:35:26 +01:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2013-03-03 14:10:57 +01:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2016-07-15 02:38:33 +02:00
|
|
|
|
#:use-module (guix build-system python)
|
2013-03-03 14:10:57 +01:00
|
|
|
|
#:use-module (gnu packages)
|
2019-03-19 08:34:10 +01:00
|
|
|
|
#:use-module (gnu packages admin)
|
2017-05-07 01:19:12 +02:00
|
|
|
|
#:use-module (gnu packages base)
|
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 21:42:23 +01:00
|
|
|
|
#:use-module (gnu packages check)
|
2018-04-21 11:37:20 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2013-03-16 22:36:13 +01:00
|
|
|
|
#:use-module (gnu packages compression)
|
gnu: gettext: Rename binding to 'gnu-gettext'.
* gnu/packages/gettext.scm (gettext): Rename to...
(gnu-gettext): ... this. This is used to work around the circular
dependency introduced in commit c42a4b7, which users with a #:renamer
cannot cope with.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/cdrom.scm,
gnu/packages/fdisk.scm, gnu/packages/gkrellm.scm, gnu/packages/glib.scm,
gnu/packages/gnunet.scm, gnu/packages/grub.scm, gnu/packages/linux.scm,
gnu/packages/maths.scm, gnu/packages/nano.scm, gnu/packages/parted.scm,
gnu/packages/system.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/wget.scm:
Adjust accordingly.
2013-11-20 22:12:49 +01:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2013-03-03 14:10:57 +01:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2018-04-21 11:37:20 +02:00
|
|
|
|
#:use-module (gnu packages libevent)
|
2015-05-06 21:08:47 +02:00
|
|
|
|
#:use-module (gnu packages linux)
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 15:14:57 +02:00
|
|
|
|
#:use-module (gnu packages nss)
|
2013-03-16 22:36:13 +01:00
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2016-07-15 02:38:33 +02:00
|
|
|
|
#:use-module (gnu packages python)
|
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 14:21:30 +01:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
gnu: Rename module gnutls to tls.
* gnu/packages/gnutls.scm: Rename to...
* gnu/packages/tls.scm: ... this. Change module name accordingly.
* gnu/packages/{admin.scm, cups.scm, curl.scm, dc.scm, dns.scm, emacs.scm,
ftp.scm, gnome.scm, gnunet.scm, gnupg.scm, gsasl.scm, lynx.scm,
mail.scm, messaging.scm, package-management.scm, shishi.scm,
task-management.scm, version-control.scm, video.scm, vpn.scm,
webkit.scm, weechat.scm, wget.scm, wine.scm, xml.scm}: Adapt module
import to new name.
* gnu-system.am (GNU_SYSTEM_MODULES): Rename gnutls module to tls.
2015-07-03 21:41:22 +02:00
|
|
|
|
#:use-module (gnu packages tls)
|
2013-03-16 22:36:13 +01:00
|
|
|
|
#:use-module (gnu packages xml))
|
2013-03-03 14:10:57 +01:00
|
|
|
|
|
2013-12-03 22:07:00 +01:00
|
|
|
|
(define-public gvpe
|
|
|
|
|
(package
|
|
|
|
|
(name "gvpe")
|
2018-10-27 04:17:34 +02:00
|
|
|
|
(version "3.1")
|
2013-12-03 22:07:00 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gvpe/gvpe-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-27 04:17:34 +02:00
|
|
|
|
"1cz8n75ksl0l908zc5l3rnfm1hv7130s2w8710799fr5sxrdbszi"))))
|
2013-12-03 22:07:00 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://software.schmorp.de/pkg/gvpe.html")
|
2018-10-27 04:17:34 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2013-12-03 22:07:00 +01:00
|
|
|
|
(inputs `(("openssl" ,openssl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Secure VPN among multiple nodes over an untrusted network")
|
|
|
|
|
(description
|
|
|
|
|
"The GNU Virtual Private Ethernet creates a virtual network
|
|
|
|
|
with multiple nodes using a variety of transport protocols. It works
|
|
|
|
|
by creating encrypted host-to-host tunnels between multiple
|
|
|
|
|
endpoints.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2013-03-03 14:10:57 +01:00
|
|
|
|
(define-public vpnc
|
|
|
|
|
(package
|
|
|
|
|
(name "vpnc")
|
|
|
|
|
(version "0.5.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-08-31 10:11:09 +02:00
|
|
|
|
(uri (string-append "https://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-"
|
2013-03-03 14:10:57 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256 (base32
|
2017-05-07 01:56:41 +02:00
|
|
|
|
"1128860lis89g1s21hqxvap2nq426c9j4bvgghncc1zj0ays7kj6"))))
|
2013-03-03 14:10:57 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("libgcrypt" ,libgcrypt)
|
2016-02-05 16:36:38 +01:00
|
|
|
|
("perl" ,perl)
|
2017-05-07 01:56:41 +02:00
|
|
|
|
("vpnc-scripts" ,vpnc-scripts)))
|
2013-03-03 14:10:57 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there is no check target
|
|
|
|
|
#:phases
|
2016-02-05 16:36:38 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2017-05-07 01:56:41 +02:00
|
|
|
|
(add-after 'unpack 'use-store-paths
|
2016-02-05 16:36:38 +01:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-05-07 01:56:41 +02:00
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(vpnc-scripts (assoc-ref inputs "vpnc-scripts")))
|
|
|
|
|
(substitute* "config.c"
|
|
|
|
|
(("/etc/vpnc/vpnc-script")
|
|
|
|
|
(string-append vpnc-scripts "/etc/vpnc/vpnc-script")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("ETCDIR=.*")
|
|
|
|
|
(string-append "ETCDIR=" out "/etc/vpnc\n"))
|
|
|
|
|
(("PREFIX=.*")
|
|
|
|
|
(string-append "PREFIX=" out "\n")))
|
|
|
|
|
#t)))
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
2013-12-04 00:00:19 +01:00
|
|
|
|
(synopsis "Client for Cisco VPN concentrators")
|
2013-03-03 14:10:57 +01:00
|
|
|
|
(description
|
|
|
|
|
"vpnc is a VPN client compatible with Cisco's EasyVPN equipment.
|
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 06:46:59 +02:00
|
|
|
|
It supports IPSec (ESP) with Mode Configuration and Xauth. It supports only
|
2013-03-03 14:10:57 +01:00
|
|
|
|
shared-secret IPSec authentication with Xauth, AES (256, 192, 128), 3DES,
|
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 06:46:59 +02:00
|
|
|
|
1DES, MD5, SHA1, DH1/2/5 and IP tunneling. It runs entirely in userspace.
|
2013-03-03 14:10:57 +01:00
|
|
|
|
Only \"Universal TUN/TAP device driver support\" is needed in the kernel.")
|
|
|
|
|
(license license:gpl2+) ; some file are bsd-2, see COPYING
|
|
|
|
|
(home-page "http://www.unix-ag.uni-kl.de/~massar/vpnc/")))
|
2013-03-16 22:36:13 +01:00
|
|
|
|
|
2017-05-07 01:19:12 +02:00
|
|
|
|
(define-public vpnc-scripts
|
2019-03-22 17:14:52 +01:00
|
|
|
|
(let ((commit "1000e0f6dd7d6bff163169a46359211c1fc3a6d2"))
|
2017-05-07 01:19:12 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "vpnc-scripts")
|
2019-03-22 17:14:52 +01:00
|
|
|
|
(version (string-append "20190116." (string-take commit 7)))
|
2017-05-07 01:19:12 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "git://git.infradead.org/users/dwmw2/vpnc-scripts.git")
|
|
|
|
|
(commit commit)))
|
2018-03-13 20:39:42 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-05-07 01:19:12 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-22 17:14:52 +01:00
|
|
|
|
"1g41yarz2bl0f73kbjqnywr485ghanbp7nmspklfb0n07yp0z6ak"))))
|
2017-05-07 01:19:12 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("coreutils" ,coreutils)
|
|
|
|
|
("grep" ,grep)
|
|
|
|
|
("iproute2" ,iproute) ; for ‘ip’
|
|
|
|
|
("net-tools" ,net-tools) ; for ‘ifconfig’, ‘route’
|
|
|
|
|
("sed" ,sed)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'use-relative-paths
|
|
|
|
|
;; Patch the scripts to work with and use relative paths.
|
|
|
|
|
(lambda* _
|
|
|
|
|
(for-each (lambda (script)
|
|
|
|
|
(substitute* script
|
|
|
|
|
(("^PATH=.*") "")
|
|
|
|
|
(("(/usr|)/s?bin/") "")
|
|
|
|
|
(("\\[ +-x +([^]]+) +\\]" _ command)
|
|
|
|
|
(string-append "command -v >/dev/null 2>&1 "
|
|
|
|
|
command))))
|
|
|
|
|
(find-files "." "^vpnc-script"))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
2018-06-21 19:26:20 +02:00
|
|
|
|
(invoke "gcc" "-o" "netunshare" "netunshare.c")))
|
2017-05-07 01:19:12 +02:00
|
|
|
|
(replace 'install
|
|
|
|
|
;; There is no Makefile; manually install the relevant files.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(etc (string-append out "/etc/vpnc")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file etc))
|
|
|
|
|
(append (find-files "." "^vpnc-script")
|
|
|
|
|
(list "netunshare"
|
|
|
|
|
"xinetd.netns.conf")))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'wrap-scripts
|
|
|
|
|
;; Wrap scripts with paths to their common hard dependencies.
|
|
|
|
|
;; Optional dependencies will need to be installed by the user.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (script)
|
|
|
|
|
(wrap-program script
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
,(map (lambda (name)
|
|
|
|
|
(let ((input (assoc-ref inputs name)))
|
|
|
|
|
(string-append input "/bin:"
|
|
|
|
|
input "/sbin")))
|
|
|
|
|
(list "coreutils"
|
|
|
|
|
"grep"
|
|
|
|
|
"iproute2"
|
|
|
|
|
"net-tools"
|
|
|
|
|
"sed"
|
|
|
|
|
"which")))))
|
|
|
|
|
(find-files (string-append out "/etc/vpnc/vpnc-script")
|
2018-06-21 19:26:20 +02:00
|
|
|
|
"^vpnc-script"))
|
|
|
|
|
#t))))
|
2017-05-07 01:19:12 +02:00
|
|
|
|
#:tests? #f)) ; no tests
|
|
|
|
|
(home-page "http://git.infradead.org/users/dwmw2/vpnc-scripts.git")
|
|
|
|
|
(synopsis "Network configuration scripts for Cisco VPN clients")
|
|
|
|
|
(description
|
|
|
|
|
"This set of scripts configures routing and name services when invoked
|
|
|
|
|
by the VPNC or OpenConnect Cisco @dfn{Virtual Private Network} (VPN) clients.
|
|
|
|
|
|
|
|
|
|
The default @command{vpnc-script} automatically configures most common
|
|
|
|
|
connections, and provides hooks for performing custom actions at various stages
|
|
|
|
|
of the connection or disconnection process.
|
|
|
|
|
|
|
|
|
|
Alternative scripts are provided for more complicated set-ups, or to serve as an
|
|
|
|
|
example for writing your own. For example, @command{vpnc-script-sshd} contains
|
|
|
|
|
the entire VPN in a network namespace accessible only through SSH.")
|
|
|
|
|
(license license:gpl2+))))
|
2013-03-16 22:36:13 +01:00
|
|
|
|
|
2018-04-21 11:37:20 +02:00
|
|
|
|
(define-public ocproxy
|
|
|
|
|
(package
|
|
|
|
|
(name "ocproxy")
|
|
|
|
|
(version "1.60")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/cernekee/ocproxy/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1b4rg3xq5jnrp2l14sw0msan8kqhdxmsd7gpw9lkiwvxy13pcdm7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libevent" ,libevent)))
|
|
|
|
|
(home-page "https://github.com/cernekee/ocproxy")
|
|
|
|
|
(synopsis "OpenConnect proxy")
|
|
|
|
|
(description
|
|
|
|
|
"User-level @dfn{SOCKS} and port forwarding proxy for OpenConnect based
|
|
|
|
|
on LwIP. When using ocproxy, OpenConnect only handles network activity that
|
|
|
|
|
the user specifically asks to proxy, so the @dfn{VPN} interface no longer
|
|
|
|
|
\"hijacks\" all network traffic on the host.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2013-03-16 22:36:13 +01:00
|
|
|
|
(define-public openconnect
|
|
|
|
|
(package
|
|
|
|
|
(name "openconnect")
|
2019-09-12 16:16:07 +02:00
|
|
|
|
(version "8.05")
|
2013-03-16 22:36:13 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2014-03-31 01:09:10 +02:00
|
|
|
|
(uri (string-append "ftp://ftp.infradead.org/pub/openconnect/"
|
|
|
|
|
"openconnect-" version ".tar.gz"))
|
2019-08-11 19:36:24 +02:00
|
|
|
|
(sha256
|
2019-09-12 16:16:07 +02:00
|
|
|
|
(base32 "14i9q727c2zc9xhzp1a9hz3gzb5lwgsslbhircm84dnbs192jp1k"))))
|
2013-03-16 22:36:13 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2019-08-07 18:09:37 +02:00
|
|
|
|
(propagated-inputs
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
`(("libxml2" ,libxml2)
|
2015-03-13 00:12:22 +01:00
|
|
|
|
("gnutls" ,gnutls)
|
2013-03-16 22:36:13 +01:00
|
|
|
|
("zlib" ,zlib)))
|
2019-08-07 18:09:37 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("vpnc-scripts" ,vpnc-scripts)))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2016-09-25 09:33:02 +02:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
2013-03-16 22:36:13 +01:00
|
|
|
|
(arguments
|
2014-03-31 01:09:10 +02:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
`(,(string-append "--with-vpnc-script="
|
2017-07-03 06:02:57 +02:00
|
|
|
|
(assoc-ref %build-inputs "vpnc-scripts")
|
2014-03-31 01:09:10 +02:00
|
|
|
|
"/etc/vpnc/vpnc-script"))))
|
2013-12-04 00:00:19 +01:00
|
|
|
|
(synopsis "Client for Cisco VPN")
|
2013-03-16 22:36:13 +01:00
|
|
|
|
(description
|
|
|
|
|
"OpenConnect is a client for Cisco's AnyConnect SSL VPN, which is
|
|
|
|
|
supported by the ASA5500 Series, by IOS 12.4(9)T or later on Cisco SR500,
|
|
|
|
|
870, 880, 1800, 2800, 3800, 7200 Series and Cisco 7301 Routers,
|
|
|
|
|
and probably others.")
|
|
|
|
|
(license license:lgpl2.1)
|
2019-01-17 21:41:19 +01:00
|
|
|
|
(home-page "https://www.infradead.org/openconnect/")))
|
2015-05-06 21:08:47 +02:00
|
|
|
|
|
|
|
|
|
(define-public openvpn
|
|
|
|
|
(package
|
|
|
|
|
(name "openvpn")
|
2019-02-22 01:16:12 +01:00
|
|
|
|
(version "2.4.7")
|
2015-05-06 21:08:47 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://swupdate.openvpn.org/community/releases/openvpn-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-22 01:16:12 +01:00
|
|
|
|
"0j7na936isk9j8nsdrrbw7wmy09inmjqvsb8mw8az7k61xbm6bx4"))))
|
2015-05-06 21:08:47 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--enable-iproute2=yes")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("iproute2" ,iproute)))
|
|
|
|
|
(inputs
|
2017-09-29 14:19:46 +02:00
|
|
|
|
`(("lz4" ,lz4)
|
|
|
|
|
("lzo" ,lzo)
|
2015-05-06 21:08:47 +02:00
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("linux-pam" ,linux-pam)))
|
|
|
|
|
(home-page "https://openvpn.net/")
|
|
|
|
|
(synopsis "Virtual private network daemon")
|
2018-03-04 17:33:56 +01:00
|
|
|
|
(description
|
|
|
|
|
"OpenVPN implements virtual private network (@dfn{VPN}) techniques
|
2015-05-06 21:08:47 +02:00
|
|
|
|
for creating secure point-to-point or site-to-site connections in routed or
|
|
|
|
|
bridged configurations and remote access facilities. It uses a custom
|
|
|
|
|
security protocol that utilizes SSL/TLS for key exchange. It is capable of
|
2018-03-04 17:33:56 +01:00
|
|
|
|
traversing network address translators (@dfn{NAT}s) and firewalls.")
|
2015-05-06 21:08:47 +02:00
|
|
|
|
(license license:gpl2)))
|
2015-08-17 10:16:45 +02:00
|
|
|
|
|
|
|
|
|
(define-public tinc
|
|
|
|
|
(package
|
|
|
|
|
(name "tinc")
|
2018-10-24 05:33:55 +02:00
|
|
|
|
(version "1.0.35")
|
2015-08-17 10:16:45 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-10-24 05:33:42 +02:00
|
|
|
|
(uri (string-append "https://tinc-vpn.org/packages/"
|
2015-08-17 10:16:45 +02:00
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-24 05:33:55 +02:00
|
|
|
|
"0pl92sdwrkiwgll78x0ww06hfljd07mkwm62g8x17qn3gha3pj0q"))))
|
2015-08-17 10:16:45 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2015-09-03 14:41:08 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
'("--sysconfdir=/etc"
|
|
|
|
|
"--localstatedir=/var")))
|
2015-08-17 10:16:45 +02:00
|
|
|
|
(inputs `(("zlib" ,zlib)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("openssl" ,openssl)))
|
2018-10-24 05:33:42 +02:00
|
|
|
|
(home-page "https://tinc-vpn.org")
|
2015-08-17 10:16:45 +02:00
|
|
|
|
(synopsis "Virtual Private Network (VPN) daemon")
|
|
|
|
|
(description
|
|
|
|
|
"Tinc is a VPN that uses tunnelling and encryption to create a secure
|
|
|
|
|
private network between hosts on the internet.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-07-15 02:38:33 +02:00
|
|
|
|
|
|
|
|
|
(define-public sshuttle
|
|
|
|
|
(package
|
|
|
|
|
(name "sshuttle")
|
2019-02-04 21:07:49 +01:00
|
|
|
|
(version "0.78.5")
|
2016-07-15 02:38:33 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-04 21:07:49 +01:00
|
|
|
|
"0vp13xwrhx4m6zgsyzvai84lkq9mzkaw47j58dk0ll95kaymk2x8"))))
|
2016-07-15 02:38:33 +02:00
|
|
|
|
(build-system python-build-system)
|
2018-09-27 23:38:36 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-FHS-file-names
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "sshuttle/client.py"
|
|
|
|
|
(("/usr/bin/env") (which "env")))
|
|
|
|
|
(substitute* "sshuttle/ssh.py"
|
2018-09-30 21:12:06 +02:00
|
|
|
|
(("/bin/sh") "sh"))
|
2018-09-27 23:38:36 +02:00
|
|
|
|
#t)))))
|
2016-07-15 02:38:33 +02:00
|
|
|
|
(native-inputs
|
2017-07-10 09:03:06 +02:00
|
|
|
|
`(("python-setuptools-scm" ,python-setuptools-scm)
|
2016-07-15 02:38:33 +02:00
|
|
|
|
;; For tests only.
|
2019-02-04 21:07:49 +01:00
|
|
|
|
("python-flake8", python-flake8)
|
2016-07-15 02:38:33 +02:00
|
|
|
|
("python-mock" ,python-mock)
|
2019-02-04 21:07:49 +01:00
|
|
|
|
("python-pytest-cov" ,python-pytest-cov)
|
2017-07-10 09:03:06 +02:00
|
|
|
|
("python-pytest-runner" ,python-pytest-runner)))
|
2016-07-15 02:38:33 +02:00
|
|
|
|
(home-page "https://github.com/sshuttle/sshuttle")
|
|
|
|
|
(synopsis "VPN that transparently forwards connections over SSH")
|
|
|
|
|
(description "sshuttle creates an encrypted virtual private network (VPN)
|
|
|
|
|
connection to any remote server to which you have secure shell (SSH) access.
|
|
|
|
|
The only requirement is a suitable version of Python on the server;
|
|
|
|
|
administrative privileges are required only on the client. Unlike most VPNs,
|
|
|
|
|
sshuttle forwards entire sessions, not packets, using kernel transparent
|
|
|
|
|
proxying. This makes it faster and more reliable than SSH's own tunneling and
|
|
|
|
|
port forwarding features. It can forward both TCP and UDP traffic, including
|
|
|
|
|
DNS domain name queries.")
|
|
|
|
|
(license license:lgpl2.0))) ; incorrectly identified as GPL in ‘setup.py’
|
2016-12-01 12:21:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public sshoot
|
|
|
|
|
(package
|
|
|
|
|
(name "sshoot")
|
2017-08-04 04:20:04 +02:00
|
|
|
|
(version "1.2.6")
|
2016-12-01 12:21:55 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-04 04:20:04 +02:00
|
|
|
|
"1ccgh0hjyxrwkgy3hnxz3hgbjbs0lmfs25d5l5jam0xbpcpj63h0"))))
|
2016-12-01 12:21:55 +01:00
|
|
|
|
(build-system python-build-system)
|
2016-12-19 04:13:59 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "sshoot/tests/test_manager.py"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t)))))
|
2016-12-01 12:21:55 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python-argcomplete" ,python-argcomplete)
|
|
|
|
|
("python-prettytable" ,python-prettytable)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)))
|
|
|
|
|
;; For tests only.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-fixtures" ,python-fixtures)
|
|
|
|
|
("python-pbr" ,python-pbr)
|
|
|
|
|
("python-testtools" ,python-testtools)))
|
2017-08-04 04:20:04 +02:00
|
|
|
|
(home-page "https://github.com/albertodonato/sshoot")
|
2016-12-01 12:21:55 +01:00
|
|
|
|
(synopsis "sshuttle VPN session manager")
|
|
|
|
|
(description "sshoot provides a command-line interface to manage multiple
|
|
|
|
|
@command{sshuttle} virtual private networks. It supports flexible profiles
|
|
|
|
|
with configuration options for most of @command{sshuttle}’s features.")
|
|
|
|
|
(license license:gpl3+)))
|
2018-12-24 15:35:26 +01:00
|
|
|
|
|
|
|
|
|
(define-public badvpn
|
|
|
|
|
(package
|
|
|
|
|
(name "badvpn")
|
|
|
|
|
(version "1.999.130")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ambrop72/badvpn.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0rm67xhi7bh3yph1vh07imv5y1pwyldvw3wa5bz471g8mnkc7d3c"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; no tests
|
|
|
|
|
(inputs
|
|
|
|
|
`(("nspr" ,nspr)
|
|
|
|
|
("nss" ,nss)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://github.com/ambrop72/badvpn")
|
|
|
|
|
(synopsis "Peer-to-peer virtual private network (VPN)")
|
|
|
|
|
(description "@code{BadVPN} is a collection of virtual private
|
|
|
|
|
network (VPN) tools. It includes:
|
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item NCD programming language.\n
|
|
|
|
|
NCD (Network Configuration Daemon) is a daemon and programming/scripting
|
|
|
|
|
language for configuration of network interfaces and other aspects of the
|
|
|
|
|
operating system.
|
|
|
|
|
@item Tun2socks network-layer proxifier.\n
|
|
|
|
|
The tun2socks program socksifes TCP connections at the network layer. It
|
|
|
|
|
implements a TUN device which accepts all incoming TCP connections (regardless
|
|
|
|
|
of destination IP), and forwards the connections through a SOCKS server.
|
|
|
|
|
@item Peer-to-peer VPN.\n
|
|
|
|
|
The peer-to-peer VPN implements a Layer 2 (Ethernet) network between the peers
|
|
|
|
|
(VPN nodes).
|
|
|
|
|
@end enumerate")
|
|
|
|
|
;; This project contains a bundled lwIP. lwIP is also released under the
|
|
|
|
|
;; 3-clause BSD license.
|
|
|
|
|
(license license:bsd-3)))
|
2019-03-02 01:30:51 +01:00
|
|
|
|
|
|
|
|
|
(define-public wireguard
|
|
|
|
|
(package
|
|
|
|
|
(name "wireguard")
|
2019-09-16 14:04:52 +02:00
|
|
|
|
(version "0.0.20190913")
|
2019-03-02 01:30:51 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://git.zx2c4.com/WireGuard/snapshot/"
|
|
|
|
|
"WireGuard-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-16 14:04:52 +02:00
|
|
|
|
"06452jfibwar4sh7wf2k2k1a5qk5q703gxqqq5ymj6rdblc2fwwr"))))
|
2019-03-02 01:30:51 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out" ; The WireGuard userspace tools
|
|
|
|
|
"kernel-patch")) ; A patch to build Linux with WireGuard support
|
|
|
|
|
(arguments
|
2019-03-07 12:21:37 +01:00
|
|
|
|
`(#:tests? #f ; No tests available.
|
|
|
|
|
#:make-flags
|
2019-03-02 01:30:51 +01:00
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
"WITH_BASHCOMPLETION=yes"
|
|
|
|
|
;; Build and install the helper script wg-quick(8).
|
|
|
|
|
"WITH_WGQUICK=yes"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "SYSCONFDIR=" (assoc-ref %outputs "out") "/etc"))
|
|
|
|
|
#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 textual-ports))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; There is no ./configure script.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Until WireGuard is added to the upstream Linux kernel, it is
|
|
|
|
|
;; distributed as a kernel patch generated by this script.
|
|
|
|
|
(add-after 'patch-source-shebangs 'make-patch
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((output (string-append (assoc-ref outputs "kernel-patch")
|
|
|
|
|
"/wireguard.patch"))
|
|
|
|
|
(patch-builder "./contrib/kernel-tree/create-patch.sh")
|
|
|
|
|
(port (open-input-pipe patch-builder))
|
|
|
|
|
(str (get-string-all port)))
|
|
|
|
|
(close-pipe port)
|
|
|
|
|
(mkdir-p (dirname output))
|
|
|
|
|
(call-with-output-file output
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "~a" str))))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'make-patch 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "src/tools")
|
|
|
|
|
#t))
|
|
|
|
|
;; Otherwise the 'install-license-file' phase installs nothing.
|
|
|
|
|
;; <https://bugs.gnu.org/34703>
|
|
|
|
|
(add-after 'install 'reset-cwd
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "../..")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmnl" ,libmnl)))
|
|
|
|
|
(home-page "https://www.wireguard.com/")
|
|
|
|
|
(synopsis "Tools for configuring WireGuard")
|
|
|
|
|
(description "This package provides the userspace tools for setting and
|
|
|
|
|
retrieving configuration of WireGuard network tunnel interfaces, and a patch
|
|
|
|
|
that can be applied to a Linux kernel source tree in order to build it with
|
|
|
|
|
WireGuard support.")
|
|
|
|
|
(license license:gpl2)))
|
2019-03-19 08:34:10 +01:00
|
|
|
|
|
|
|
|
|
(define-public xl2tpd
|
|
|
|
|
(package
|
|
|
|
|
(name "xl2tpd")
|
2019-04-23 22:00:26 +02:00
|
|
|
|
(version "1.3.14")
|
2019-03-19 08:34:10 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/xelerance/xl2tpd")
|
|
|
|
|
(commit (string-append "v" version))))
|
2019-04-23 22:00:41 +02:00
|
|
|
|
(file-name (git-file-name name version))
|
2019-03-19 08:34:10 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-04-23 22:00:41 +02:00
|
|
|
|
"1c2ahxz2zmmxwmk951d2qhijgz67zhwa1hn0r59fgz0y14w22myi"))))
|
2019-03-19 08:34:10 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list (string-append "DESTDIR=" %output)
|
|
|
|
|
"CC=gcc")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2019-04-23 22:00:26 +02:00
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:tests? #f)) ; no tests provided
|
2019-03-19 08:34:10 +01:00
|
|
|
|
(inputs `(("libpcap" ,libpcap)))
|
|
|
|
|
(home-page "https://www.xelerance.com/software/xl2tpd/")
|
|
|
|
|
(synopsis "Layer 2 Tunnelling Protocol Daemon (RFC 2661)")
|
|
|
|
|
(description
|
|
|
|
|
"xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661).
|
|
|
|
|
L2TP allows you to tunnel PPP over UDP.")
|
|
|
|
|
(license license:gpl2)))
|