2013-01-29 22:02:22 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-04-27 09:09:07 +00:00
|
|
|
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
2014-03-21 08:04:37 +00:00
|
|
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
2013-01-29 22:02:22 +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 ssh)
|
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 20:44:22 +00:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-29 22:02:22 +00:00
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages gnupg)
|
2013-01-30 20:31:50 +00:00
|
|
|
#:use-module (gnu packages groff)
|
|
|
|
#:use-module (gnu packages openssl)
|
2013-12-15 22:27:56 +00:00
|
|
|
#:use-module (gnu packages elf)
|
2013-12-04 21:24:28 +00:00
|
|
|
#:use-module (gnu packages guile)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages autotools)
|
2014-03-01 14:41:18 +00:00
|
|
|
#:use-module (gnu packages texinfo)
|
2014-04-11 20:05:33 +00:00
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
#:use-module (gnu packages ncurses)
|
|
|
|
#:autoload (gnu packages protobuf) (protobuf)
|
|
|
|
#:autoload (gnu packages boost) (boost)
|
2013-12-04 21:24:28 +00:00
|
|
|
#:use-module (gnu packages which)
|
2014-04-04 20:00:23 +00:00
|
|
|
#:use-module (gnu packages)
|
2013-01-29 22:02:22 +00:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2014-10-12 22:32:14 +00:00
|
|
|
#:use-module (guix git-download)
|
2013-11-27 22:52:53 +00:00
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
#:use-module (guix build-system cmake))
|
|
|
|
|
|
|
|
(define-public libssh
|
|
|
|
(package
|
|
|
|
(name "libssh")
|
2014-04-02 05:50:54 +00:00
|
|
|
(version "0.6.3")
|
2013-11-27 22:52:53 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2014-04-02 05:50:54 +00:00
|
|
|
(uri (string-append "https://red.libssh.org/attachments/download/87/libssh-"
|
|
|
|
version ".tar.xz"))
|
2013-11-27 22:52:53 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2014-10-12 22:30:49 +00:00
|
|
|
"1jyaj9h1iglvn02hrvcchbx8ycjpj8b91h8mi459k7q5jp2xgd9b"))
|
|
|
|
(patches
|
|
|
|
;; Apply the patch as discussed at
|
|
|
|
;; <http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00180.html>.
|
|
|
|
(list (origin
|
|
|
|
(uri
|
|
|
|
"http://git.libssh.org/projects/libssh.git/patch/?id=a033b93c616f4a81afc3fc6a017396d507d96c19")
|
|
|
|
(method url-fetch)
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"16fdkjcnhc6j7qxz9575fzr9044927ws5259yh0xb9yv1q14j0vh")))))))
|
2013-11-27 22:52:53 +00:00
|
|
|
(build-system cmake-build-system)
|
2013-12-03 23:29:19 +00:00
|
|
|
(arguments
|
2014-04-27 09:09:07 +00:00
|
|
|
'(#:configure-flags '("-DWITH_GCRYPT=ON")
|
2013-12-03 23:29:19 +00:00
|
|
|
|
|
|
|
;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.
|
2014-04-27 09:09:07 +00:00
|
|
|
#:tests? #f))
|
2013-11-27 22:52:53 +00:00
|
|
|
(inputs `(("zlib" ,zlib)
|
2013-12-17 21:01:42 +00:00
|
|
|
;; Link against an older gcrypt, because libssh tries to access
|
|
|
|
;; fields of 'gcry_thread_cbs' that are now private:
|
|
|
|
;; src/threads.c:72:26: error: 'struct gcry_thread_cbs' has no member named 'mutex_init'
|
2013-12-18 13:11:01 +00:00
|
|
|
("libgcrypt", libgcrypt-1.5)))
|
2013-12-03 23:29:19 +00:00
|
|
|
(native-inputs `(("patchelf" ,patchelf)))
|
2013-11-27 22:52:53 +00:00
|
|
|
(synopsis "SSH client library")
|
|
|
|
(description
|
|
|
|
"libssh is a C library implementing the SSHv2 and SSHv1 protocol for
|
|
|
|
client and server implementations. With libssh, you can remotely execute
|
|
|
|
programs, transfer files, and use a secure and transparent tunnel for your
|
|
|
|
remote applications.")
|
|
|
|
(home-page "http://www.libssh.org")
|
|
|
|
(license license:lgpl2.1+)))
|
2013-01-29 22:02:22 +00:00
|
|
|
|
2014-04-04 20:00:23 +00:00
|
|
|
(define libssh-0.5 ; kept private
|
|
|
|
(package (inherit libssh)
|
|
|
|
(version "0.5.5")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://red.libssh.org/attachments/download/51/libssh-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"17cfdff4hc0ijzrr15biq29fiabafz0bw621zlkbwbc1zh2hzpy0"))
|
|
|
|
(patches (list (search-patch "libssh-CVE-2014-0017.patch")))))))
|
|
|
|
|
2013-01-29 22:02:22 +00:00
|
|
|
(define-public libssh2
|
|
|
|
(package
|
|
|
|
(name "libssh2")
|
|
|
|
(version "1.4.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://www.libssh2.org/download/libssh2-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"0vdr478dbhbdgnniqmirawjb7mrcxckn4slhhrijxnzrkmgziipa"))))
|
|
|
|
(build-system gnu-build-system)
|
2014-03-25 20:51:32 +00:00
|
|
|
;; The installed libssh2.pc file does not include paths to libgcrypt and
|
|
|
|
;; zlib libraries, so we need to propagate the inputs.
|
|
|
|
(propagated-inputs `(("libgcrypt" ,libgcrypt)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(arguments '(#:configure-flags `("--with-libgcrypt")))
|
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
|
|
|
(synopsis "Client-side C library implementing the SSH2 protocol")
|
2013-01-29 22:02:22 +00:00
|
|
|
(description
|
|
|
|
"libssh2 is a library intended to allow software developers access to
|
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
|
|
|
the SSH-2 protocol in an easy-to-use self-contained package. It can be built
|
2013-01-29 22:02:22 +00:00
|
|
|
into an application to perform many different tasks when communicating with
|
|
|
|
a server that supports the SSH-2 protocol.")
|
|
|
|
(license license:bsd-3)
|
|
|
|
(home-page "http://www.libssh2.org/")))
|
2013-01-30 20:31:50 +00:00
|
|
|
|
|
|
|
(define-public openssh
|
|
|
|
(package
|
|
|
|
(name "openssh")
|
2014-10-11 06:56:42 +00:00
|
|
|
(version "6.7p1")
|
2013-01-30 20:31:50 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2014-04-12 12:18:45 +00:00
|
|
|
(uri (let ((tail (string-append name "-" version ".tar.gz")))
|
|
|
|
(list (string-append "ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/"
|
|
|
|
tail)
|
|
|
|
(string-append "ftp://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/"
|
|
|
|
tail))))
|
2013-01-30 20:31:50 +00:00
|
|
|
(sha256 (base32
|
2014-10-11 06:56:42 +00:00
|
|
|
"01smf9pvn2sk5qs80gkmc9acj07ckawi1b3xxyysp3c5mr73ky5j"))))
|
2013-01-30 20:31:50 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("groff" ,groff)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "tests"
|
|
|
|
#:phases
|
2014-03-30 23:09:10 +00:00
|
|
|
(alist-cons-after
|
|
|
|
'configure 'reset-/var/empty
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(substitute* "Makefile"
|
|
|
|
(("PRIVSEP_PATH=/var/empty")
|
|
|
|
(string-append "PRIVSEP_PATH=" out "/var/empty")))))
|
|
|
|
(alist-cons-before
|
|
|
|
'check 'patch-tests
|
|
|
|
(lambda _
|
|
|
|
;; remove tests that require the user sshd
|
|
|
|
(substitute* "regress/Makefile"
|
|
|
|
(("t10 t-exec") "t10")))
|
2013-01-30 20:31:50 +00:00
|
|
|
(alist-replace
|
|
|
|
'install
|
|
|
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
|
|
|
;; install without host keys and system configuration files
|
|
|
|
(zero? (apply system* "make" "install-nosysconf" make-flags)))
|
|
|
|
%standard-phases)))))
|
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
|
|
|
(synopsis "Client and server for the secure shell (ssh) protocol")
|
2013-01-30 20:31:50 +00:00
|
|
|
(description
|
|
|
|
"The SSH2 protocol implemented in OpenSSH is standardised by the
|
|
|
|
IETF secsh working group and is specified in several RFCs and drafts.
|
|
|
|
It is composed of three layered components:
|
|
|
|
|
|
|
|
The transport layer provides algorithm negotiation and a key exchange.
|
|
|
|
The key exchange includes server authentication and results in a
|
|
|
|
cryptographically secured connection: it provides integrity, confidentiality
|
|
|
|
and optional compression.
|
|
|
|
|
|
|
|
The user authentication layer uses the established connection and relies on
|
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
|
|
|
the services provided by the transport layer. It provides several mechanisms
|
|
|
|
for user authentication. These include traditional password authentication
|
2013-01-30 20:31:50 +00:00
|
|
|
as well as public-key or host-based authentication mechanisms.
|
|
|
|
|
|
|
|
The connection layer multiplexes many different concurrent channels over the
|
|
|
|
authenticated connection and allows tunneling of login sessions and
|
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
|
|
|
TCP-forwarding. It provides a flow control service for these channels.
|
2013-01-30 20:31:50 +00:00
|
|
|
Additionally, various channel-specific options can be negotiated.")
|
|
|
|
(license (license:bsd-style "file://LICENSE"
|
|
|
|
"See LICENSE in the distribution."))
|
|
|
|
(home-page "http://www.openssh.org/")))
|
|
|
|
|
2013-12-04 21:24:28 +00:00
|
|
|
(define-public guile-ssh
|
|
|
|
(package
|
|
|
|
(name "guile-ssh")
|
2014-10-12 22:32:14 +00:00
|
|
|
(version "0.7.1")
|
2013-12-04 21:24:28 +00:00
|
|
|
(source (origin
|
2014-10-12 22:32:14 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/artyom-poptsov/libguile-ssh.git")
|
|
|
|
(commit "e216e1d78bf93a9753ea813f930cac5e68e52180")))
|
2013-12-04 21:24:28 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2014-10-12 22:32:14 +00:00
|
|
|
"1sbxhmynmpwfjwb3dp6lrc3cxi5kffqmb6klhx7wnkgqxvs61lsw"))))
|
2013-12-04 21:24:28 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases (alist-cons-before
|
|
|
|
'configure 'autoreconf
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2014-10-12 22:32:14 +00:00
|
|
|
(chmod "doc/version.texi" #o777) ;make it writable
|
2013-12-04 21:24:28 +00:00
|
|
|
(zero? (system* "autoreconf" "-vfi")))
|
|
|
|
(alist-cons-after
|
|
|
|
'install 'fix-libguile-ssh-file-name
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(libdir (string-append out "/lib"))
|
|
|
|
(guiledir (string-append out
|
|
|
|
"/share/guile/site/2.0")))
|
|
|
|
(substitute* (find-files guiledir ".scm")
|
|
|
|
(("\"libguile-ssh\"")
|
|
|
|
(string-append "\"" libdir "/libguile-ssh\"")))
|
|
|
|
|
|
|
|
;; Make sure it works.
|
|
|
|
(setenv "GUILE_LOAD_PATH" guiledir)
|
|
|
|
(setenv "GUILE_LOAD_COMPILED_PATH" guiledir)
|
|
|
|
(system* "guile" "-c" "(use-modules (ssh session))")))
|
|
|
|
%standard-phases))
|
|
|
|
#:configure-flags (list (string-append "--with-guilesitedir="
|
|
|
|
(assoc-ref %outputs "out")
|
2014-03-01 14:41:18 +00:00
|
|
|
"/share/guile/site/2.0"))
|
|
|
|
|
2014-03-25 15:14:45 +00:00
|
|
|
;; Tests are not parallel-safe.
|
|
|
|
#:parallel-tests? #f))
|
2013-12-04 21:24:28 +00:00
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
2015-01-07 08:44:10 +00:00
|
|
|
("libtool" ,libtool)
|
2014-03-01 14:41:18 +00:00
|
|
|
("texinfo" ,texinfo)
|
2013-12-04 21:24:28 +00:00
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("which" ,which)))
|
|
|
|
(inputs `(("guile" ,guile-2.0)
|
2014-10-12 22:32:14 +00:00
|
|
|
("libssh" ,libssh)
|
|
|
|
("libgcrypt" ,libgcrypt-1.5)))
|
2013-12-04 21:24:28 +00:00
|
|
|
(synopsis "Guile bindings to libssh")
|
|
|
|
(description
|
|
|
|
"Guile-SSH is a library that provides access to the SSH protocol for
|
|
|
|
programs written in GNU Guile interpreter. It is a wrapper to the underlying
|
|
|
|
libssh library.")
|
|
|
|
(home-page "https://github.com/artyom-poptsov/libguile-ssh")
|
|
|
|
(license license:gpl3+)))
|
2014-01-25 00:51:29 +00:00
|
|
|
|
|
|
|
(define-public corkscrew
|
|
|
|
(package
|
|
|
|
(name "corkscrew")
|
|
|
|
(version "2.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://www.agroman.net/corkscrew/corkscrew-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"1gmhas4va6gd70i2x2mpxpwpgww6413mji29mg282jms3jscn3qd"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
;; Replace configure phase as the ./configure script does not link
|
|
|
|
;; CONFIG_SHELL and SHELL passed as parameters
|
|
|
|
'(#:phases
|
|
|
|
(alist-replace
|
|
|
|
'configure
|
|
|
|
(lambda* (#:key outputs inputs system target
|
|
|
|
#:allow-other-keys #:rest args)
|
|
|
|
(let* ((configure (assoc-ref %standard-phases 'configure))
|
|
|
|
(prefix (assoc-ref outputs "out"))
|
|
|
|
(bash (which "bash"))
|
|
|
|
;; Set --build and --host flags as the provided config.guess
|
|
|
|
;; is not able to detect them
|
|
|
|
(flags `(,(string-append "--prefix=" prefix)
|
|
|
|
,(string-append "--build=" system)
|
|
|
|
,(string-append "--host="
|
|
|
|
(or target system)))))
|
|
|
|
(setenv "CONFIG_SHELL" bash)
|
|
|
|
(zero? (apply system* bash
|
|
|
|
(string-append "." "/configure")
|
|
|
|
flags))))
|
|
|
|
%standard-phases)))
|
|
|
|
(home-page "http://www.agroman.net/corkscrew")
|
2014-09-13 13:50:30 +00:00
|
|
|
(synopsis "Tunneling SSH through HTTP proxies")
|
2014-01-25 00:51:29 +00:00
|
|
|
(description
|
|
|
|
"Corkscrew allows creating TCP tunnels through HTTP proxies. WARNING:
|
|
|
|
At the moment only plain text authentication is supported, should you require
|
|
|
|
to use it with your HTTP proxy. Digest based authentication may be supported
|
|
|
|
in future and NTLM based authentication is most likey never be supported.")
|
|
|
|
(license license:gpl2+)))
|
2014-04-11 20:05:33 +00:00
|
|
|
|
|
|
|
(define-public mosh
|
|
|
|
(package
|
|
|
|
(name "mosh")
|
|
|
|
(version "1.2.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://mosh.mit.edu/mosh-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0inzfmqrab3n97m7rrmhd4xh3hjz0xva2sfl5m06w11668r0skg7"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases (alist-cons-after
|
|
|
|
'install 'wrap
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Make sure 'mosh' can find 'mosh-client' and
|
|
|
|
;; 'mosh-server'.
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
(wrap-program (string-append bin "/mosh")
|
|
|
|
`("PATH" ":" prefix (,bin)))))
|
|
|
|
%standard-phases)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("openssl" ,openssl)
|
|
|
|
("perl" ,perl)
|
|
|
|
("perl-io-tty" ,perl-io-tty)
|
|
|
|
("zlib" ,zlib)
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
("protobuf" ,protobuf)
|
|
|
|
("boost-headers" ,boost)))
|
|
|
|
(home-page "http://mosh.mit.edu/")
|
|
|
|
(synopsis "Remote shell tolerant to intermittent connectivity")
|
|
|
|
(description
|
|
|
|
"Remote terminal application that allows roaming, supports intermittent
|
|
|
|
connectivity, and provides intelligent local echo and line editing of user
|
|
|
|
keystrokes. Mosh is a replacement for SSH. It's more robust and responsive,
|
|
|
|
especially over Wi-Fi, cellular, and long-distance links.")
|
|
|
|
(license license:gpl3+)))
|
2014-06-12 12:46:39 +00:00
|
|
|
|
|
|
|
(define-public dropbear
|
|
|
|
(package
|
|
|
|
(name "dropbear")
|
|
|
|
(version "2014.63")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://matt.ucc.asn.au/" name "/releases/" name "-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32 "1bjpbg2vi5f332q4bqxkidkjfxsqmnqvp4g1wyh8d99b8gg94nar"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments `(#:tests? #f)) ; There is no "make check" or anything similar
|
|
|
|
(inputs `(("zlib" ,zlib)))
|
|
|
|
(synopsis "Small SSH server and client")
|
|
|
|
(description "Dropbear is a relatively small SSH server and
|
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
|
|
|
client. It runs on a variety of POSIX-based platforms. Dropbear is
|
|
|
|
particularly useful for embedded systems, such as wireless routers.")
|
2014-06-12 12:46:39 +00:00
|
|
|
(home-page "https://matt.ucc.asn.au/dropbear/dropbear.html")
|
|
|
|
(license (license:x11-style "" "See file LICENSE."))))
|