2013-01-29 22:02:22 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-02-27 00:04:03 +00:00
|
|
|
|
;;; Copyright © 2012-2023 Ludovic Courtès <ludo@gnu.org>
|
2014-04-27 09:09:07 +00:00
|
|
|
|
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
2016-01-14 15:34:16 +00:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
2022-01-13 17:11:48 +00:00
|
|
|
|
;;; Copyright © 2015, 2016, 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2019-03-21 17:34:24 +00:00
|
|
|
|
;;; Copyright © 2016, 2019 Leo Famulari <leo@famulari.name>
|
2023-02-19 10:18:32 +00:00
|
|
|
|
;;; Copyright © 2016, 2021, 2023 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2021-08-15 18:15:37 +00:00
|
|
|
|
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
|
2021-04-19 22:19:43 +00:00
|
|
|
|
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-07-04 20:04:09 +00:00
|
|
|
|
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
2017-09-29 14:15:57 +00:00
|
|
|
|
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, 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/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.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-xyz.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: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 11:05:45 +00:00
|
|
|
|
;;; Copyright © 2017 Nikita <nikita@n0.is>
|
2018-08-31 14:55:57 +00:00
|
|
|
|
;;; Copyright © 2018 Manuel Graf <graf@init.at>
|
2019-02-25 11:31:40 +00:00
|
|
|
|
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
|
2020-02-18 10:25:23 +00:00
|
|
|
|
;;; Copyright © 2019, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
|
2020-04-07 15:48:45 +00:00
|
|
|
|
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
2020-07-11 17:14:17 +00:00
|
|
|
|
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
2022-06-16 01:26:16 +00:00
|
|
|
|
;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2021-08-22 07:24:33 +00:00
|
|
|
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
2023-01-26 22:24:32 +00:00
|
|
|
|
;;; Copyright © 2023 Simon Streit <simon@netpanic.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)
|
2023-01-26 22:24:32 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2022-06-10 11:56:21 +00:00
|
|
|
|
#:use-module (gnu packages admin)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
|
#:use-module (gnu packages base)
|
2020-01-06 14:14:09 +00:00
|
|
|
|
#:use-module (gnu packages boost)
|
2022-06-10 11:56:21 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2013-01-29 22:02:22 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2017-07-04 20:04:09 +00:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages elf)
|
2013-01-29 22:02:22 +00:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2013-01-30 20:31:50 +00:00
|
|
|
|
#:use-module (gnu packages groff)
|
2013-12-04 21:24:28 +00:00
|
|
|
|
#:use-module (gnu packages guile)
|
2021-01-26 08:14:33 +00:00
|
|
|
|
#:use-module (gnu packages hurd)
|
2019-02-25 11:31:40 +00:00
|
|
|
|
#:use-module (gnu packages libedit)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2017-07-04 20:04:09 +00:00
|
|
|
|
#:use-module (gnu packages logging)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages m4)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2014-04-11 20:05:33 +00:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages nettle)
|
gnu: Move Kerberos implemetations to (gnu packages kerberos).
* gnu/packages/mit-krb5.scm: Remove.
* gnu/packages/shishi.scm: Remove.
* gnu/packages/kerberos.scm: New file, from the concatenation of these
two.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gsasl.scm, gnu/packages/java.scm,
gnu/packages/networking.scm, gnu/packages/nfs.scm,
gnu/packages/onc-rpc.scm, gnu/packages/ssh.scm,
gnu/packages/web.scm: Adjust accordingly.
2017-01-18 08:57:43 +00:00
|
|
|
|
#:use-module (gnu packages kerberos)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-07-04 20:04:09 +00:00
|
|
|
|
#:use-module (gnu packages popt)
|
2020-01-06 14:14:09 +00:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
2018-08-31 14:55:57 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2023-04-16 03:34:01 +00:00
|
|
|
|
#:use-module (gnu packages python-build)
|
2020-09-26 18:39:17 +00:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
|
|
|
|
#: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-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages readline)
|
2021-11-05 18:12:56 +00:00
|
|
|
|
#:use-module (gnu packages security-token)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
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)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
|
#:use-module (guix build-system cmake)
|
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-08-31 14:55:57 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2013-01-29 22:02:22 +00:00
|
|
|
|
#:use-module (guix download)
|
2014-10-12 22:32:14 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2022-05-22 00:00:01 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2017-04-21 23:18:07 +00:00
|
|
|
|
#:use-module (guix packages)
|
2019-11-23 11:39:20 +00:00
|
|
|
|
#:use-module (guix utils)
|
2017-04-21 23:18:07 +00:00
|
|
|
|
#:use-module (srfi srfi-1))
|
2013-11-27 22:52:53 +00:00
|
|
|
|
|
2020-07-11 17:14:17 +00:00
|
|
|
|
(define-public hss
|
|
|
|
|
(package
|
|
|
|
|
(name "hss")
|
2022-05-22 00:00:01 +00:00
|
|
|
|
(version "1.9")
|
2020-07-11 17:14:17 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/six-ddc/hss")
|
2022-05-22 00:00:01 +00:00
|
|
|
|
(commit version)))
|
2020-07-11 17:14:17 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-22 00:00:01 +00:00
|
|
|
|
"12578xhvkg70ma411yh8nbpcpnys420bnm9g0dzypb0vn3jxpz8q"))))
|
2020-07-11 17:14:17 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list readline))
|
2020-07-11 17:14:17 +00:00
|
|
|
|
(arguments
|
2022-05-22 00:00:01 +00:00
|
|
|
|
(list #:make-flags
|
|
|
|
|
#~(list (string-append "CC=" #$(cc-for-target))
|
|
|
|
|
(string-append "INSTALL_BIN=" #$output "/bin"))
|
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-file-names
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local/opt/readline")
|
|
|
|
|
#$(this-package-input "readline")))))
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
2020-07-11 17:14:17 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://github.com/six-ddc/hss/")
|
|
|
|
|
(synopsis "Interactive SSH client for multiple servers")
|
2020-07-11 17:24:07 +00:00
|
|
|
|
(description
|
|
|
|
|
"@command{hss} is an interactive SSH client for multiple servers. Commands
|
|
|
|
|
are executed on all servers in parallel. Execution on one server does not need
|
|
|
|
|
to wait for that on another server to finish before starting. One can run a
|
|
|
|
|
command on hundreds of servers at the same time, with almost the same experience
|
|
|
|
|
as a local Bash shell.
|
2020-07-11 17:14:17 +00:00
|
|
|
|
|
2020-07-11 17:24:07 +00:00
|
|
|
|
It supports:
|
2020-07-11 17:14:17 +00:00
|
|
|
|
@itemize @bullet
|
2020-07-11 17:24:07 +00:00
|
|
|
|
@item interactive input: based on GNU readline.
|
|
|
|
|
@item history: responding to the @kbd{C-r} key.
|
|
|
|
|
@item auto-completion: @key{TAB}-completion from remote servers for commands and
|
|
|
|
|
file names.
|
|
|
|
|
@end itemize\n")
|
2020-07-11 17:14:17 +00:00
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2013-11-27 22:52:53 +00:00
|
|
|
|
(define-public libssh
|
2018-10-16 18:15:19 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "libssh")
|
2022-10-27 20:18:46 +00:00
|
|
|
|
(version "0.10.4")
|
2018-10-16 18:15:19 +00:00
|
|
|
|
(source (origin
|
2021-09-03 16:54:55 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.libssh.org/files/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/libssh-" version ".tar.xz"))
|
2018-10-16 18:15:19 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-02-27 00:04:03 +00:00
|
|
|
|
"0zfr9fy4vg1bmz1k836hg9wi20mmaz2sgw61s6464iv1mda2qf87"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; 'PATH_MAX' is undefined on GNU/Hurd; work around it.
|
|
|
|
|
#~(substitute* (find-files "examples" "\\.c$")
|
|
|
|
|
(("#include \"examples_common\\.h\"" all)
|
|
|
|
|
(string-append all "\n"
|
|
|
|
|
"#ifndef PATH_MAX\n"
|
|
|
|
|
"# define PATH_MAX 4096\n"
|
|
|
|
|
"#endif\n"))))))
|
2018-10-16 18:15:19 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("-DWITH_GCRYPT=ON")
|
2013-12-03 23:29:19 +00:00
|
|
|
|
|
2018-10-16 18:15:19 +00:00
|
|
|
|
;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.
|
|
|
|
|
#:tests? #f))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list zlib libgcrypt mit-krb5))
|
2018-10-16 18:15:19 +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 "https://www.libssh.org")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2013-01-29 22:02:22 +00:00
|
|
|
|
|
|
|
|
|
(define-public libssh2
|
|
|
|
|
(package
|
|
|
|
|
(name "libssh2")
|
2022-06-26 09:33:41 +00:00
|
|
|
|
(version "1.10.0")
|
2013-01-29 22:02:22 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-02-24 20:57:30 +00:00
|
|
|
|
"https://www.libssh2.org/download/libssh2-"
|
2013-01-29 22:02:22 +00:00
|
|
|
|
version ".tar.gz"))
|
2016-02-24 20:57:30 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-06-26 09:33:41 +00:00
|
|
|
|
"0l8xwhhscvss7q007vpbkbv7jh9s43579rx2sf8lnfgd7l7yjr1d"))))
|
2013-01-29 22:02:22 +00:00
|
|
|
|
(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.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(propagated-inputs (list libgcrypt zlib))
|
2022-06-26 09:35:26 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags #~'("--with-libgcrypt"
|
|
|
|
|
"--disable-static")))
|
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)
|
2019-03-15 15:08:24 +00:00
|
|
|
|
(home-page "https://www.libssh2.org/")))
|
2013-01-30 20:31:50 +00:00
|
|
|
|
|
|
|
|
|
(define-public openssh
|
|
|
|
|
(package
|
|
|
|
|
(name "openssh")
|
2023-03-18 21:28:02 +00:00
|
|
|
|
(version "9.3p1")
|
2013-01-30 20:31:50 +00:00
|
|
|
|
(source (origin
|
2017-07-18 23:42:08 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://openbsd/OpenSSH/portable/"
|
2020-02-16 22:13:54 +00:00
|
|
|
|
"openssh-" version ".tar.gz"))
|
2022-04-26 07:25:50 +00:00
|
|
|
|
(patches (search-patches "openssh-hurd.patch"
|
|
|
|
|
"openssh-trust-guix-store-directory.patch"))
|
2017-07-18 23:42:08 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-03-18 21:28:02 +00:00
|
|
|
|
"1a7qia3c255igny5kf00m5zxkp69lf1w6qjsv3rm2sm705vvmfp9"))))
|
2013-01-30 20:31:50 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(native-inputs (list groff pkg-config))
|
2019-02-25 11:31:40 +00:00
|
|
|
|
(inputs `(("libedit" ,libedit)
|
|
|
|
|
("openssl" ,openssl)
|
2021-01-26 08:14:33 +00:00
|
|
|
|
,@(if (hurd-target?)
|
2021-12-06 09:54:41 +00:00
|
|
|
|
'()
|
|
|
|
|
`(("pam" ,linux-pam)
|
|
|
|
|
("libfido2" ,libfido2))) ;fails to build on GNU/Hurd
|
2016-10-16 06:31:55 +00:00
|
|
|
|
("mit-krb5" ,mit-krb5)
|
2016-08-01 09:24:25 +00:00
|
|
|
|
("zlib" ,zlib)
|
2020-06-08 13:03:05 +00:00
|
|
|
|
("xauth" ,xauth))) ; for 'ssh -X' and 'ssh -Y'
|
2013-01-30 20:31:50 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "tests"
|
2018-04-04 04:59:48 +00:00
|
|
|
|
;; Otherwise, the test scripts try to use a nonexistent directory and
|
|
|
|
|
;; fail.
|
|
|
|
|
#:make-flags '("REGRESSTMP=\"$${BUILDDIR}/regress\"")
|
2016-10-16 06:31:55 +00:00
|
|
|
|
#:configure-flags `("--sysconfdir=/etc/ssh"
|
2016-08-21 16:28:53 +00:00
|
|
|
|
|
2016-10-16 06:31:55 +00:00
|
|
|
|
;; Default value of 'PATH' used by sshd.
|
2016-08-21 16:29:36 +00:00
|
|
|
|
"--with-default-path=/run/current-system/profile/bin"
|
|
|
|
|
|
2020-02-16 23:39:41 +00:00
|
|
|
|
;; configure needs to find krb5-config.
|
2016-10-16 06:31:55 +00:00
|
|
|
|
,(string-append "--with-kerberos5="
|
|
|
|
|
(assoc-ref %build-inputs "mit-krb5")
|
|
|
|
|
"/bin")
|
|
|
|
|
|
2020-02-16 23:39:41 +00:00
|
|
|
|
;; libedit is needed for sftp completion.
|
2019-02-25 11:31:40 +00:00
|
|
|
|
"--with-libedit"
|
|
|
|
|
|
2016-08-21 16:28:53 +00:00
|
|
|
|
;; Enable PAM support in sshd.
|
2021-01-26 08:14:33 +00:00
|
|
|
|
,,@(if (hurd-target?)
|
|
|
|
|
'()
|
2021-12-06 09:54:41 +00:00
|
|
|
|
'("--with-pam"
|
|
|
|
|
|
|
|
|
|
;; Support creation and use of ecdsa-sk,
|
|
|
|
|
;; ed25519-sk keys.
|
|
|
|
|
"--with-security-key-builtin"))
|
|
|
|
|
|
2019-12-26 17:09:32 +00:00
|
|
|
|
|
2021-11-05 18:12:56 +00:00
|
|
|
|
|
2019-12-26 17:09:32 +00:00
|
|
|
|
;; "make install" runs "install -s" by default,
|
|
|
|
|
;; which doesn't work for cross-compiled binaries
|
|
|
|
|
;; because it invokes 'strip' instead of
|
|
|
|
|
;; 'TRIPLET-strip'. Work around this.
|
|
|
|
|
,,@(if (%current-target-system)
|
|
|
|
|
'("--disable-strip")
|
|
|
|
|
'()))
|
2016-08-21 16:28:53 +00:00
|
|
|
|
|
2013-01-30 20:31:50 +00:00
|
|
|
|
#:phases
|
2015-11-27 09:57:03 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'reset-/var/empty
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("PRIVSEP_PATH=/var/empty")
|
2021-10-03 23:19:28 +00:00
|
|
|
|
(string-append "PRIVSEP_PATH=" out "/var/empty"))))))
|
2022-04-26 07:25:50 +00:00
|
|
|
|
(add-after 'configure 'set-store-location
|
|
|
|
|
(lambda* _
|
|
|
|
|
(substitute* "misc.c"
|
|
|
|
|
(("@STORE_DIRECTORY@")
|
|
|
|
|
(string-append "\"" (%store-directory) "\"")))))
|
2015-11-27 09:57:03 +00:00
|
|
|
|
(add-before 'check 'patch-tests
|
|
|
|
|
(lambda _
|
2020-02-16 23:39:41 +00:00
|
|
|
|
(substitute* "regress/test-exec.sh"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
|
|
|
|
|
;; Remove 't-exec' regress target which requires user 'sshd'.
|
|
|
|
|
(substitute* (list "Makefile"
|
|
|
|
|
"regress/Makefile")
|
|
|
|
|
(("^(tests:.*) t-exec(.*)" all pre post)
|
2021-10-03 23:19:28 +00:00
|
|
|
|
(string-append pre post)))))
|
2015-11-27 09:57:03 +00:00
|
|
|
|
(replace 'install
|
2021-10-04 00:06:49 +00:00
|
|
|
|
(lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; Install without host keys and system configuration files.
|
2021-10-04 12:18:45 +00:00
|
|
|
|
;; This will install /var/empty to the store, which is needed
|
|
|
|
|
;; by the system openssh-service-type.
|
2021-10-04 00:06:49 +00:00
|
|
|
|
(apply invoke "make" "install-nosysconf" make-flags)
|
|
|
|
|
(with-directory-excursion "contrib"
|
|
|
|
|
(chmod "ssh-copy-id" #o555)
|
|
|
|
|
(install-file "ssh-copy-id"
|
|
|
|
|
(string-append out "/bin/"))
|
|
|
|
|
(install-file "ssh-copy-id.1"
|
|
|
|
|
(string-append out "/share/man/man1/")))))))))
|
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.")
|
gnu: Update packages to use 'non-copyleft' instead of 'bsd-style'.
* gnu/packages/avr.scm, gnu/packages/compression.scm,
gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm, gnu/packages/firmware.scm,
gnu/packages/flex.scm, gnu/packages/fontutils.scm,
gnu/packages/gd.scm, gnu/packages/ghostscript.scm,
gnu/packages/gnunet.scm, gnu/packages/graphics.scm,
gnu/packages/hugs.scm, gnu/packages/image.scm,
gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/maths.scm, gnu/packages/mit-krb5.scm,
gnu/packages/python.scm, gnu/packages/rdf.scm,
gnu/packages/ssh.scm, gnu/packages/tcl.scm,
gnu/packages/xdisorg.scm, gnu/packages/xiph.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm: Use 'non-copyleft'
instead of 'bsd-style'.
2015-03-14 18:26:34 +00:00
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
2013-01-30 20:31:50 +00:00
|
|
|
|
"See LICENSE in the distribution."))
|
2022-01-13 17:11:48 +00:00
|
|
|
|
(properties
|
|
|
|
|
'((release-monitoring-url . "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/")))
|
2018-07-30 11:41:14 +00:00
|
|
|
|
(home-page "https://www.openssh.com/")))
|
2013-01-30 20:31:50 +00:00
|
|
|
|
|
2022-10-24 20:42:47 +00:00
|
|
|
|
;; OpenSSH without X support. This allows using OpenSSH without dragging X
|
2020-06-06 09:10:34 +00:00
|
|
|
|
;; libraries to the closure.
|
|
|
|
|
(define-public openssh-sans-x
|
|
|
|
|
(package
|
|
|
|
|
(inherit openssh)
|
|
|
|
|
(name "openssh-sans-x")
|
|
|
|
|
(inputs (alist-delete "xauth" (package-inputs openssh)))
|
|
|
|
|
(synopsis "OpenSSH client and server without X11 support")))
|
|
|
|
|
|
2013-12-04 21:24:28 +00:00
|
|
|
|
(define-public guile-ssh
|
2020-08-28 21:27:18 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-ssh")
|
2023-01-30 22:49:06 +00:00
|
|
|
|
(version "0.16.3")
|
2020-08-28 21:27:18 +00:00
|
|
|
|
(home-page "https://github.com/artyom-poptsov/guile-ssh")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
2021-02-04 19:53:15 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2020-08-28 21:27:18 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-01-30 22:49:06 +00:00
|
|
|
|
"0b03aizjdj3g15xfkspgvy8k5jl8bgv4q7gwjwr3l2ibqkrm8vrz"))))
|
2020-08-28 21:27:18 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; It makes no sense to build libguile-ssh.a.
|
|
|
|
|
#:configure-flags '("--disable-static")
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2022-03-06 23:26:51 +00:00
|
|
|
|
(add-before 'bootstrap 'support-cross-compilation
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Support cross-compilation:
|
|
|
|
|
;; <https://github.com/artyom-poptsov/guile-ssh/issues/30>.
|
|
|
|
|
(substitute* "libguile-ssh/Makefile.am"
|
|
|
|
|
(("\\$\\(guile_snarf\\)")
|
|
|
|
|
"CPP=\"$(CPP)\" $(guile_snarf)"))))
|
2020-08-28 21:27:18 +00:00
|
|
|
|
(add-before 'build 'fix-libguile-ssh-file-name
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Build and install libguile-ssh.so so that we can use
|
|
|
|
|
;; its absolute file name in .scm files, before we build
|
|
|
|
|
;; the .go files.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(invoke "make" "install"
|
|
|
|
|
"-C" "libguile-ssh"
|
|
|
|
|
"-j" (number->string
|
|
|
|
|
(parallel-job-count)))
|
|
|
|
|
(substitute* (find-files "." "\\.scm$")
|
|
|
|
|
(("\"libguile-ssh\"")
|
|
|
|
|
(string-append "\"" lib "/libguile-ssh\"")))
|
|
|
|
|
#t)))
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'()
|
|
|
|
|
'((add-before 'check 'fix-guile-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((guile (assoc-ref inputs "guile")))
|
|
|
|
|
(substitute* "tests/common.scm"
|
|
|
|
|
(("/usr/bin/guile")
|
|
|
|
|
(string-append guile "/bin/guile")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(add-after 'install 'remove-bin-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(examples (string-append
|
|
|
|
|
out "/share/guile-ssh/examples")))
|
|
|
|
|
(mkdir-p examples)
|
|
|
|
|
(rename-file (string-append bin "/ssshd.scm")
|
|
|
|
|
(string-append examples "/ssshd.scm"))
|
|
|
|
|
(rename-file (string-append bin "/sssh.scm")
|
|
|
|
|
(string-append examples "/sssh.scm"))
|
|
|
|
|
(delete-file-recursively bin)
|
|
|
|
|
#t))))))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(native-inputs (list autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
texinfo
|
|
|
|
|
pkg-config
|
|
|
|
|
which
|
|
|
|
|
guile-3.0)) ;needed when cross-compiling.
|
|
|
|
|
(inputs (list guile-3.0 libssh libgcrypt))
|
2020-08-28 21:27:18 +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.")
|
|
|
|
|
(license license:gpl3+)))
|
2014-01-25 00:51:29 +00:00
|
|
|
|
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(define-public guile2.2-ssh
|
2019-11-23 11:39:20 +00:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-ssh)
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(name "guile2.2-ssh")
|
2020-02-18 10:44:16 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(modify-inputs (package-native-inputs guile-ssh)
|
|
|
|
|
(delete "guile")
|
|
|
|
|
(prepend guile-2.2 ;needed when cross-compiling.
|
|
|
|
|
)))
|
|
|
|
|
(inputs (modify-inputs (package-inputs guile-ssh)
|
|
|
|
|
(replace "guile" guile-2.2)))))
|
2019-11-23 11:39:20 +00:00
|
|
|
|
|
2014-01-25 00:51:29 +00:00
|
|
|
|
(define-public corkscrew
|
2021-04-04 11:11:40 +00:00
|
|
|
|
;; The last 2.0 release hails from 2009. Use a fork (submitted upstream as
|
|
|
|
|
;; <https://github.com/patpadgett/corkscrew/pull/5>) that adds now-essential
|
|
|
|
|
;; IPv6 and TLS support.
|
|
|
|
|
(let ((revision "0")
|
|
|
|
|
(commit "268b71e88ee51fddceab96d665b327394f1feb12"))
|
|
|
|
|
(package
|
|
|
|
|
(name "corkscrew")
|
|
|
|
|
(version (git-version "2.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/rtgill82/corkscrew")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1rylbimlfig3ii4bqr4r058lkc43pqkxnxqpqdpm31blh3xs0dcw"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--enable-ssl")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'update-metadata
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "configure.ac"
|
|
|
|
|
;; Our version differs significantly.
|
|
|
|
|
(("2.0") (string-append ,version " (Guix)")))
|
|
|
|
|
(substitute* "corkscrew.c"
|
|
|
|
|
;; This domain's since been squat.
|
|
|
|
|
(("\\(agroman@agroman\\.net\\)")
|
|
|
|
|
(format #f "<~a>" ,(package-home-page this-package))))))
|
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake pkg-config))
|
2021-04-04 11:11:40 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list openssl))
|
2021-04-04 11:11:40 +00:00
|
|
|
|
(home-page "https://github.com/patpadgett/corkscrew")
|
|
|
|
|
(synopsis "SSH tunneling through HTTP(S) proxies")
|
|
|
|
|
(description
|
|
|
|
|
"Corkscrew tunnels SSH connections through most HTTP and HTTPS proxies.
|
|
|
|
|
It supports proxy authentication through the HTTP basic authentication scheme
|
|
|
|
|
with optional @acronym{TLS, Transport-Level Security} to protect credentials.")
|
|
|
|
|
(license license:gpl2+))))
|
2014-04-11 20:05:33 +00:00
|
|
|
|
|
|
|
|
|
(define-public mosh
|
|
|
|
|
(package
|
|
|
|
|
(name "mosh")
|
2022-11-14 15:45:14 +00:00
|
|
|
|
(version "1.4.0")
|
2014-04-11 20:05:33 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-08-11 09:07:43 +00:00
|
|
|
|
(uri (string-append "https://mosh.org/mosh-" version ".tar.gz"))
|
2014-04-11 20:05:33 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-11-14 15:45:14 +00:00
|
|
|
|
"1pax8sqlvcc7ammsxd9r53yx4m2hg1827wfz6f4rrwjx9q9lnbl7"))))
|
2014-04-11 20:05:33 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-08-11 09:09:12 +00:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-07-03 18:33:44 +00:00
|
|
|
|
(add-after 'unpack 'patch-FHS-file-names
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "scripts/mosh.pl"
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
(which "sh")))
|
|
|
|
|
#t))
|
2016-08-11 09:09:12 +00:00
|
|
|
|
(add-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)))))))))
|
2014-04-11 20:05:33 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2014-04-11 20:05:33 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("perl-io-tty" ,perl-io-tty)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("protobuf" ,protobuf)
|
|
|
|
|
("boost-headers" ,boost)))
|
2016-08-11 09:07:43 +00:00
|
|
|
|
(home-page "https://mosh.org/")
|
2014-04-11 20:05:33 +00:00
|
|
|
|
(synopsis "Remote shell tolerant to intermittent connectivity")
|
|
|
|
|
(description
|
2020-04-08 12:51:50 +00:00
|
|
|
|
"Mosh is a remote terminal application that allows client roaming, supports
|
|
|
|
|
intermittent connectivity, and provides intelligent local echo and line editing
|
|
|
|
|
of user keystrokes. It's a replacement for SSH that's more robust and
|
|
|
|
|
responsive, especially over Wi-Fi, cellular, and long-distance links.")
|
2014-04-11 20:05:33 +00:00
|
|
|
|
(license license:gpl3+)))
|
2014-06-12 12:46:39 +00:00
|
|
|
|
|
|
|
|
|
(define-public dropbear
|
|
|
|
|
(package
|
|
|
|
|
(name "dropbear")
|
2022-11-13 00:00:02 +00:00
|
|
|
|
(version "2022.83")
|
2019-03-23 15:02:35 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://matt.ucc.asn.au/dropbear/releases/"
|
|
|
|
|
"dropbear-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2022-11-13 00:00:02 +00:00
|
|
|
|
(base32 "0fs495ks354qcfj4k5bwg6m50vbl8az03gjymmqm2jy9zcgi4nmw"))
|
2021-02-11 10:04:13 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "libtommath")
|
|
|
|
|
(delete-file-recursively "libtomcrypt")
|
|
|
|
|
(substitute* "configure"
|
2022-06-16 01:26:16 +00:00
|
|
|
|
(("-ltomcrypt") "-ltomcrypt -ltommath"))))))
|
2014-06-12 12:46:39 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-02-11 10:04:13 +00:00
|
|
|
|
(arguments
|
2022-06-16 01:26:16 +00:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags #~(list "--disable-bundled-libtom")
|
|
|
|
|
;; The test suite runs an instance of dropbear, which requires a
|
|
|
|
|
;; resolver ("Error resolving: Servname not supported for ai_socktype").
|
2022-06-16 20:32:49 +00:00
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enable-x11-forwarding
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "default_options.h"
|
|
|
|
|
(("#define DROPBEAR_X11FWD 0")
|
|
|
|
|
"#define DROPBEAR_X11FWD 1")))))))
|
2022-06-16 01:26:16 +00:00
|
|
|
|
(inputs (list libtomcrypt libtommath zlib))
|
2014-06-12 12:46:39 +00:00
|
|
|
|
(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."))))
|
2016-07-13 16:13:11 +00:00
|
|
|
|
|
|
|
|
|
(define-public liboop
|
|
|
|
|
(package
|
|
|
|
|
(name "liboop")
|
2018-03-10 22:59:01 +00:00
|
|
|
|
(version "1.0.1")
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-03-10 22:59:01 +00:00
|
|
|
|
(uri (string-append "http://ftp.lysator.liu.se/pub/liboop/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-10 22:59:01 +00:00
|
|
|
|
"1q0p1l72pq9k3bi7a366j2rishv7dzzkg3i6r2npsfg7cnnidbsn"))))
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2020-01-18 23:26:21 +00:00
|
|
|
|
(home-page "https://www.lysator.liu.se/liboop/")
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(synopsis "Event loop library")
|
|
|
|
|
(description "Liboop is a low-level event loop management library for
|
|
|
|
|
POSIX-based operating systems. It supports the development of modular,
|
|
|
|
|
multiplexed applications which may respond to events from several sources. It
|
|
|
|
|
replaces the \"select() loop\" and allows the registration of event handlers
|
|
|
|
|
for file and network I/O, timers and signals. Since processes use these
|
|
|
|
|
mechanisms for almost all external communication, liboop can be used as the
|
|
|
|
|
basis for almost any application.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
|
|
|
|
(define-public lsh
|
|
|
|
|
(package
|
|
|
|
|
(name "lsh")
|
|
|
|
|
(version "2.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/lsh/lsh-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qqjy9zfzgny0rkb27c8c7dfsylvb6n0ld8h3an2r83pmaqr9gwb"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "src/testsuite/functions.sh"
|
|
|
|
|
(("localhost")
|
|
|
|
|
;; Avoid host name lookups since they don't work in
|
|
|
|
|
;; chroot builds.
|
|
|
|
|
"127.0.0.1")
|
|
|
|
|
(("set -e")
|
|
|
|
|
;; Make tests more verbose.
|
|
|
|
|
"set -e\nset -x"))
|
|
|
|
|
|
|
|
|
|
(substitute* (find-files "src/testsuite" "-test$")
|
|
|
|
|
(("localhost") "127.0.0.1"))
|
|
|
|
|
|
|
|
|
|
(substitute* "src/testsuite/login-auth-test"
|
2022-02-13 00:00:00 +00:00
|
|
|
|
(("/bin/cat") "cat"))))
|
2020-10-06 03:48:45 +00:00
|
|
|
|
(patches (search-patches "lsh-fix-x11-forwarding.patch"))))
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
m4
|
|
|
|
|
guile-2.0
|
|
|
|
|
gperf
|
|
|
|
|
psmisc)) ; for `killall'
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list nettle-2
|
|
|
|
|
linux-pam
|
|
|
|
|
;; 'rl.c' uses the 'CPPFunction' type, which is no longer in
|
|
|
|
|
;; Readline 6.3.
|
|
|
|
|
readline-6.2
|
|
|
|
|
liboop
|
|
|
|
|
zlib
|
|
|
|
|
gmp
|
|
|
|
|
;; The server (lshd) invokes xauth when X11 forwarding is requested.
|
|
|
|
|
;; This adds 24 MiB (or 27%) to the closure of lsh.
|
|
|
|
|
xauth
|
|
|
|
|
libxau)) ;also required for x11-forwarding
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(;; Skip the `configure' test that checks whether /dev/ptmx &
|
|
|
|
|
;; co. work as expected, because it relies on impurities (for
|
|
|
|
|
;; instance, /dev/pts may be unavailable in chroots.)
|
2017-03-19 22:28:27 +00:00
|
|
|
|
#:configure-flags '("lsh_cv_sys_unix98_ptys=yes"
|
|
|
|
|
|
|
|
|
|
;; Use glibc's argp rather than the bundled one.
|
|
|
|
|
"--with-system-argp"
|
|
|
|
|
|
|
|
|
|
;; 'lsh_argp.h' checks HAVE_ARGP_PARSE but nothing
|
|
|
|
|
;; defines it.
|
2022-02-13 00:00:00 +00:00
|
|
|
|
"CPPFLAGS=-DHAVE_ARGP_PARSE"
|
|
|
|
|
|
|
|
|
|
;; Fix the build of lsh@2.1 with GCC 10.
|
2022-02-18 10:50:12 +00:00
|
|
|
|
"CFLAGS=-O2 -g -fcommon")
|
2016-07-13 16:13:11 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-10-06 03:52:24 +00:00
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; FIXME: Most tests won't run in a chroot, presumably because
|
|
|
|
|
;; /etc/profile is missing, and thus clients get an empty $PATH
|
|
|
|
|
;; and nothing works. Run only the subset that passes.
|
|
|
|
|
(delete-file "configure") ;force rebootstrap
|
|
|
|
|
(substitute* "src/testsuite/Makefile.am"
|
|
|
|
|
(("seed-test \\\\") ;prevent trailing slash
|
|
|
|
|
"seed-test")
|
|
|
|
|
(("^\t(lsh|daemon|tcpip|socks|lshg|lcp|rapid7|lshd).*test.*")
|
2022-02-13 00:00:00 +00:00
|
|
|
|
""))))
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(add-before 'configure 'pre-configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((nettle (assoc-ref inputs "nettle"))
|
|
|
|
|
(sexp-conv (string-append nettle "/bin/sexp-conv")))
|
2017-03-19 22:28:27 +00:00
|
|
|
|
;; Remove argp from the list of sub-directories; we don't want
|
|
|
|
|
;; to build it, really.
|
|
|
|
|
(substitute* "src/Makefile.in"
|
|
|
|
|
(("^SUBDIRS = argp")
|
|
|
|
|
"SUBDIRS ="))
|
|
|
|
|
|
2016-07-13 16:13:11 +00:00
|
|
|
|
;; Make sure 'lsh' and 'lshd' pick 'sexp-conv' in the right place
|
|
|
|
|
;; by default.
|
|
|
|
|
(substitute* "src/environ.h.in"
|
|
|
|
|
(("^#define PATH_SEXP_CONV.*")
|
|
|
|
|
(string-append "#define PATH_SEXP_CONV \""
|
|
|
|
|
sexp-conv "\"\n")))
|
|
|
|
|
|
|
|
|
|
;; Same for the 'lsh-authorize' script.
|
|
|
|
|
(substitute* "src/lsh-authorize"
|
|
|
|
|
(("=sexp-conv")
|
|
|
|
|
(string-append "=" sexp-conv)))
|
|
|
|
|
|
|
|
|
|
;; Tell lshd where 'xauth' lives. Another option would be to
|
|
|
|
|
;; hardcode "/run/current-system/profile/bin/xauth", thereby
|
|
|
|
|
;; reducing the closure size, but that wouldn't work on foreign
|
|
|
|
|
;; distros.
|
|
|
|
|
(with-fluids ((%default-port-encoding "ISO-8859-1"))
|
|
|
|
|
(substitute* "src/server_x11.c"
|
|
|
|
|
(("define XAUTH_PROGRAM.*")
|
|
|
|
|
(string-append "define XAUTH_PROGRAM \""
|
|
|
|
|
(assoc-ref inputs "xauth")
|
|
|
|
|
"/bin/xauth\"\n")))))
|
|
|
|
|
|
|
|
|
|
;; Tests rely on $USER being set.
|
|
|
|
|
(setenv "USER" "guix"))))))
|
2020-01-20 00:50:50 +00:00
|
|
|
|
(home-page "https://www.lysator.liu.se/~nisse/lsh/")
|
2016-07-13 16:13:11 +00:00
|
|
|
|
(synopsis "GNU implementation of the Secure Shell (ssh) protocols")
|
|
|
|
|
(description
|
|
|
|
|
"GNU lsh is a free implementation of the SSH version 2 protocol. It is
|
|
|
|
|
used to create a secure line of communication between two computers,
|
|
|
|
|
providing shell access to the server system from the client. It provides
|
|
|
|
|
both the server daemon and the client application, as well as tools for
|
|
|
|
|
manipulating key files.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-07-27 17:45:02 +00:00
|
|
|
|
|
|
|
|
|
(define-public sshpass
|
|
|
|
|
(package
|
|
|
|
|
(name "sshpass")
|
2023-02-19 10:18:32 +00:00
|
|
|
|
(version "1.10")
|
2016-07-27 17:45:02 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/sshpass/sshpass/"
|
|
|
|
|
version "/sshpass-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2023-02-19 10:18:32 +00:00
|
|
|
|
(base32 "1npfvxxqs77qg6l4s6cn8q3b98zwr9n8rb9vra2n3dfb0g10c4dd"))))
|
2016-07-27 17:45:02 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-01-31 16:53:56 +00:00
|
|
|
|
(home-page "https://sourceforge.net/projects/sshpass/")
|
|
|
|
|
(synopsis "Non-interactive password authentication with SSH")
|
gnu: Fix typoes in package descriptions.
* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo.
* gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma)
(r-bigmemoryextras)[description]: Likewise.
* gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise.
(r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise.
* gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4)
(rust-tokio-fs-0.1)[synopsis, description]: Likewise.
(rust-blas-sys-0.7)[description]: Likewise.
(rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise.
* gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise.
* gnu/packages/disk.scm (hddtemp)[description]: Likewise.
* gnu/packages/django.scm (python-djangorestframework)[description]:
Likewise.
* gnu/packages/documentation.scm (doc++)[description]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless)
(emacs-scpaste)[description]: Likewise.
* gnu/packages/file-systems.scm (dbxfs)[description]: Likewise.
* gnu/packages/finance.scm (python-stdnum)[description]: Likewise.
* gnu/packages/fontutils.scm (woff2)[description]: Likewise.
* gnu/packages/games.scm (openttd-opengfx)[description]: Likewise.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux)
[description]: Likewise.
* gnu/packages/gnome.scm (libgrss)[description]: Likewise.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk)
[description]: Likewise.
(go-github-com-go-git-go-billy)[synopsis, description]: Likewise.
* gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]:
Likewise.
* gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise.
* gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]:
Likewise.
* gnu/packages/java.scm (java-mail)[synopsis]: Likewise.
(java-native-access-platform)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities-stats)[description]:
Likewise.
* gnu/packages/kde-utils.scm (krusader)[description]: Likewise.
* gnu/packages/language.scm (praat)[description]: Likewise.
* gnu/packages/linux.scm (light)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]:
Likewise.
* gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]:
Likewise.
* gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo)
(ocaml4.07-ppx-variants-conv)[description]: Likewise.
* gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise.
* gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise.
* gnu/packages/python-web.scm (python-html5lib)[synopsis, description]:
Likewise.
(python-venusian)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-readlike, python-gssapi)
(python-flufl-i18n)[description]: Likewise.
(python-pox, python-watchdog, python-xattr)[synopsis, description]:
Likewise.
* gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise.
* gnu/packages/rust-apps.scm (watchexec)[description]: Likewise.
* gnu/packages/rust.scm (mrustc)[synopsis]: Likewise.
* gnu/packages/shells.scm (s-shell)[description]: Likewise.
* gnu/packages/ssh.scm (sshpass)[description]: Likewise.
* gnu/packages/terminals.scm (beep)[description]: Likewise.
* gnu/packages/web.scm (perl-lwp-useragent-cached)[description]:
Likewise.
* gnu/packages/wv.scm (wv)[description]: Likewise.
2020-09-22 19:31:52 +00:00
|
|
|
|
(description "sshpass is a tool for non-interactively performing password
|
2016-07-27 17:45:02 +00:00
|
|
|
|
authentication with SSH's so-called @dfn{interactive keyboard password
|
|
|
|
|
authentication}.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-02-09 00:01:49 +00:00
|
|
|
|
|
|
|
|
|
(define-public autossh
|
|
|
|
|
(package
|
|
|
|
|
(name "autossh")
|
2019-02-04 20:15:38 +00:00
|
|
|
|
(version "1.4g")
|
2016-02-09 00:01:49 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-02-04 20:15:25 +00:00
|
|
|
|
"https://www.harding.motd.ca/autossh/autossh-"
|
2016-02-09 00:01:49 +00:00
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
2019-02-04 20:15:38 +00:00
|
|
|
|
(base32 "0xqjw8df68f4kzkns5gcah61s5wk0m44qdk2z1d6388w6viwxhsz"))))
|
2016-02-09 00:01:49 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments `(#:tests? #f)) ; There is no "make check" or anything similar
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list openssh))
|
2016-02-09 00:01:49 +00:00
|
|
|
|
(synopsis "Automatically restart SSH sessions and tunnels")
|
|
|
|
|
(description "autossh is a program to start a copy of @command{ssh} and
|
|
|
|
|
monitor it, restarting it as necessary should it die or stop passing traffic.")
|
2019-02-04 20:15:25 +00:00
|
|
|
|
(home-page "https://www.harding.motd.ca/autossh/")
|
2016-02-09 00:01:49 +00:00
|
|
|
|
(license
|
|
|
|
|
;; Why point to a source file? Well, all the individual files have a
|
|
|
|
|
;; copy of this license in their headers, but there's no separate file
|
|
|
|
|
;; with that information.
|
|
|
|
|
(license:non-copyleft "file://autossh.c"))))
|
2017-09-29 14:15:57 +00:00
|
|
|
|
|
|
|
|
|
(define-public pdsh
|
|
|
|
|
(package
|
|
|
|
|
(name "pdsh")
|
2020-01-14 23:24:19 +00:00
|
|
|
|
(version "2.34")
|
2017-09-29 14:15:57 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-12-24 11:57:18 +00:00
|
|
|
|
(uri (string-append "https://github.com/chaos/pdsh/"
|
|
|
|
|
"releases/download/pdsh-" version
|
|
|
|
|
"/pdsh-" version ".tar.gz"))
|
2017-09-29 14:15:57 +00:00
|
|
|
|
(sha256
|
2020-01-14 23:24:19 +00:00
|
|
|
|
(base32 "1s91hmhrz7rfb6h3l5k97s393rcm1ww3svp8dx5z8vkkc933wyxl"))))
|
2017-09-29 14:15:57 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--with-ssh")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-/bin/sh
|
|
|
|
|
(lambda _
|
2017-12-24 11:57:18 +00:00
|
|
|
|
(substitute* '("tests/t0006-pdcp.sh"
|
|
|
|
|
"tests/t0004-module-loading.sh"
|
|
|
|
|
"tests/t2001-ssh.sh"
|
|
|
|
|
"tests/t1003-slurm.sh"
|
|
|
|
|
"tests/t6036-long-output-lines.sh"
|
|
|
|
|
"tests/aggregate-results.sh"
|
|
|
|
|
"tests/t2000-exec.sh"
|
|
|
|
|
"tests/t0002-internal.sh"
|
|
|
|
|
"tests/t1002-dshgroup.sh"
|
|
|
|
|
"tests/t5000-dshbak.sh"
|
|
|
|
|
"tests/t0001-basic.sh"
|
|
|
|
|
"tests/t0005-rcmd_type-and-user.sh"
|
2017-09-29 14:15:57 +00:00
|
|
|
|
"tests/test-lib.sh"
|
2017-12-24 11:57:18 +00:00
|
|
|
|
"tests/t2002-mrsh.sh"
|
|
|
|
|
"tests/t0003-wcoll.sh"
|
2017-09-29 14:15:57 +00:00
|
|
|
|
"tests/test-modules/pcptest.c")
|
|
|
|
|
(("/bin/sh") (which "bash")))
|
2017-12-24 11:57:18 +00:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'patch-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/t6036-long-output-lines.sh"
|
|
|
|
|
(("which") (which "which")))
|
2017-09-29 14:15:57 +00:00
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list openssh mit-krb5 perl))
|
2017-12-24 11:57:18 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list which))
|
2017-12-24 11:57:18 +00:00
|
|
|
|
(home-page "https://github.com/chaos/pdsh")
|
2017-09-29 14:15:57 +00:00
|
|
|
|
(synopsis "Parallel distributed shell")
|
|
|
|
|
(description "Pdsh is a an efficient, multithreaded remote shell client
|
|
|
|
|
which executes commands on multiple remote hosts in parallel. Pdsh implements
|
|
|
|
|
dynamically loadable modules for extended functionality such as new remote
|
|
|
|
|
shell services and remote host selection.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-08-31 14:55:57 +00:00
|
|
|
|
|
2020-04-28 09:41:08 +00:00
|
|
|
|
(define-public python-asyncssh
|
|
|
|
|
(package
|
|
|
|
|
(name "python-asyncssh")
|
2023-04-25 12:25:49 +00:00
|
|
|
|
(version "2.13.1")
|
2020-04-28 09:41:08 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "asyncssh" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-04-25 12:25:49 +00:00
|
|
|
|
"11zq9ywzgyljzihdygawzad0ydly0l32zvz11liwyi8bbk087fzb"))))
|
2020-04-28 09:41:08 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-cryptography python-pyopenssl python-gssapi
|
2022-06-10 11:56:21 +00:00
|
|
|
|
python-bcrypt python-typing-extensions))
|
2020-04-28 09:41:08 +00:00
|
|
|
|
(native-inputs
|
2022-06-10 11:56:21 +00:00
|
|
|
|
(list openssh openssl python-fido2 python-aiofiles netcat
|
|
|
|
|
python-pytest))
|
2020-04-28 09:41:08 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-tests
|
|
|
|
|
(lambda* _
|
2022-06-10 11:56:21 +00:00
|
|
|
|
(substitute* "tests/test_connection.py"
|
|
|
|
|
;; nc is always available.
|
|
|
|
|
(("which nc") "true"))
|
2020-04-28 09:41:08 +00:00
|
|
|
|
(substitute* "tests/test_agent.py"
|
|
|
|
|
;; TODO Test fails for unknown reason
|
|
|
|
|
(("(.+)async def test_confirm" all indent)
|
|
|
|
|
(string-append indent "@unittest.skip('disabled by guix')\n"
|
2022-06-10 11:56:21 +00:00
|
|
|
|
indent "async def test_confirm")))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv")))))))
|
2020-04-28 09:41:08 +00:00
|
|
|
|
(home-page "https://asyncssh.readthedocs.io/")
|
|
|
|
|
(synopsis "Asynchronous SSHv2 client and server library for Python")
|
|
|
|
|
(description
|
|
|
|
|
"AsyncSSH is a Python package which provides an asynchronous client and
|
|
|
|
|
server implementation of the SSHv2 protocol on top of the Python 3.6+ asyncio
|
|
|
|
|
framework.")
|
|
|
|
|
(license license:epl2.0)))
|
|
|
|
|
|
2018-08-31 14:55:57 +00:00
|
|
|
|
(define-public clustershell
|
|
|
|
|
(package
|
|
|
|
|
(name "clustershell")
|
2021-11-27 21:47:44 +00:00
|
|
|
|
(version "1.8.4")
|
2018-08-31 14:55:57 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2021-11-27 21:36:49 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/cea-hpc/clustershell")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-08-31 14:55:57 +00:00
|
|
|
|
(sha256
|
2021-11-27 21:47:44 +00:00
|
|
|
|
(base32 "11b87vyamcw4rvgxz74jxwkr9ly0h9ldp2wqsi5wc19p0r06la5j"))))
|
2018-08-31 14:55:57 +00:00
|
|
|
|
(build-system python-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list openssh))
|
|
|
|
|
(propagated-inputs (list python-pyyaml))
|
2018-08-31 14:55:57 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'record-openssh-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((ssh (assoc-ref inputs "openssh")))
|
|
|
|
|
(substitute* "lib/ClusterShell/Worker/Ssh.py"
|
|
|
|
|
(("info\\(\"ssh_path\"\\) or \"ssh\"")
|
|
|
|
|
(string-append "info(\"ssh_path\") or \""
|
2021-11-27 21:47:44 +00:00
|
|
|
|
ssh "/bin/ssh\"")))))))))
|
2018-08-31 14:55:57 +00:00
|
|
|
|
(home-page "https://cea-hpc.github.io/clustershell/")
|
|
|
|
|
(synopsis "Scalable event-driven Python framework for cluster administration")
|
|
|
|
|
(description
|
|
|
|
|
"ClusterShell is an event-driven Python framework, designed to run local
|
|
|
|
|
or distant commands in parallel on server farms or on large GNU/Linux
|
|
|
|
|
clusters. It will take care of common issues encountered on HPC clusters,
|
|
|
|
|
such as operating on groups of nodes, running distributed commands using
|
|
|
|
|
optimized execution algorithms, as well as gathering results and merging
|
|
|
|
|
identical outputs, or retrieving return codes. ClusterShell takes advantage
|
|
|
|
|
of existing remote shell facilities such as SSH.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2019-05-27 11:46:08 +00:00
|
|
|
|
|
|
|
|
|
(define-public endlessh
|
|
|
|
|
(package
|
|
|
|
|
(name "endlessh")
|
2020-02-16 22:12:04 +00:00
|
|
|
|
(version "1.1")
|
2019-05-27 11:46:08 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-02-16 22:12:04 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/skeeto/endlessh")
|
2020-02-16 22:12:04 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2019-05-27 11:46:08 +00:00
|
|
|
|
(sha256
|
2020-02-16 22:12:04 +00:00
|
|
|
|
(base32 "0ziwr8j1frsp3dajr8h5glkm1dn5cci404kazz5w1jfrp0736x68"))))
|
2019-05-27 11:46:08 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls.
* gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
* gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise.
* gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive)
[arguments]<#:make-flags>: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments]
<#:phases>: Likewise.
* gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise.
* gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>:
Likewise.
* gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise.
* gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec)
(make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments]
<#:make-flags>: Likewise.
* gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped)
(can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise.
* gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise.
* gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise.
* gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise.
* gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise.
* gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy)
(xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>:
Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-04-09 19:46:24 +00:00
|
|
|
|
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
,(string-append "CC=" (cc-for-target)))
|
2020-02-16 22:12:04 +00:00
|
|
|
|
#:tests? #f ; no test target
|
2019-05-27 11:46:08 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-02-16 22:12:04 +00:00
|
|
|
|
(delete 'configure)))) ; no configure script
|
2019-05-27 11:46:08 +00:00
|
|
|
|
(home-page "https://github.com/skeeto/endlessh")
|
|
|
|
|
(synopsis "SSH tarpit that slowly sends an endless banner")
|
|
|
|
|
(description
|
|
|
|
|
"Endlessh is an SSH tarpit that very slowly sends an endless, random SSH
|
|
|
|
|
banner. It keeps SSH clients locked up for hours or even days at a time. The
|
|
|
|
|
purpose is to put your real SSH server on another port and then let the script
|
|
|
|
|
kiddies get stuck in this tarpit instead of bothering a real server.
|
|
|
|
|
|
|
|
|
|
Since the tarpit is in the banner before any cryptographic exchange occurs, this
|
|
|
|
|
program doesn't depend on any cryptographic libraries. It's a simple,
|
|
|
|
|
single-threaded, standalone C program. It uses @code{poll()} to trap multiple
|
|
|
|
|
clients at a time.")
|
|
|
|
|
(license license:unlicense)))
|
2020-09-26 18:39:17 +00:00
|
|
|
|
|
|
|
|
|
(define-public webssh
|
|
|
|
|
(package
|
|
|
|
|
(name "webssh")
|
2020-11-29 18:33:27 +00:00
|
|
|
|
(version "1.5.3")
|
2020-09-26 18:39:17 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/huashengdun/webssh")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-29 18:33:27 +00:00
|
|
|
|
"1bcy9flrzbvams5p77swwiygv54ac58ia7hpic1bvg30b3wpvv7b"))))
|
2020-09-26 18:39:17 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-paramiko python-tornado))
|
2020-09-26 18:39:17 +00:00
|
|
|
|
(home-page "https://webssh.huashengdun.org/")
|
|
|
|
|
(synopsis "Web application to be used as an SSH client")
|
|
|
|
|
(description "This package provides a web application to be used as an SSH
|
|
|
|
|
client.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
@itemize @bullet
|
|
|
|
|
@item SSH password authentication supported, including empty password.
|
|
|
|
|
@item SSH public-key authentication supported, including DSA RSA ECDSA
|
|
|
|
|
Ed25519 keys.
|
|
|
|
|
@item Encrypted keys supported.
|
|
|
|
|
@item Two-Factor Authentication (time-based one-time password) supported.
|
|
|
|
|
@item Fullscreen terminal supported.
|
|
|
|
|
@item Terminal window resizable.
|
|
|
|
|
@item Auto detect the ssh server's default encoding.
|
|
|
|
|
@item Modern browsers are supported.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:expat)))
|
2023-01-26 22:24:32 +00:00
|
|
|
|
|
|
|
|
|
(define-public x11-ssh-askpass
|
|
|
|
|
(package
|
|
|
|
|
(name "x11-ssh-askpass")
|
|
|
|
|
(version "1.2.4.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; The project home page seams to be offline.
|
|
|
|
|
(uri (string-append "https://pkgs.fedoraproject.org/repo/pkgs/openssh/"
|
|
|
|
|
name "-" version ".tar.gz"
|
|
|
|
|
"/8f2e41f3f7eaa8543a2440454637f3c3/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "124c1frwvdmg4nv8xqv435ibjhj2y8xc1bmfr6i8a8g75b1y63b2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list (string-append "BINDIR=" #$output "/libexec")
|
|
|
|
|
(string-append "MANDIR=" #$output "/share/man"))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list (string-append "--mandir="
|
|
|
|
|
"/usr/share/man/test")
|
|
|
|
|
(string-append "--libexecdir="
|
|
|
|
|
"/usr/lib/ssh/test")
|
|
|
|
|
(string-append "--with-app-defaults-dir="
|
|
|
|
|
"/usr/share/X11/app-defaults/test"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'xmkmf
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((imake #$(this-package-native-input "imake")))
|
|
|
|
|
(invoke "xmkmf")
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
;; These imake variables somehow remain undefined
|
|
|
|
|
(("DefaultGcc2[[:graph:]]*Opt") "-O2")
|
|
|
|
|
;; Reset a few variable defaults that are set in imake
|
|
|
|
|
;; templates.
|
|
|
|
|
((imake) #$output)
|
|
|
|
|
(("(MANPATH = )[[:graph:]]*" _ front)
|
|
|
|
|
(string-append front #$output "/share/man"))))))
|
|
|
|
|
(add-after 'xmkmf 'make-includes
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "includes")))
|
|
|
|
|
(add-after 'install 'install/doc
|
|
|
|
|
(lambda _
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make"
|
|
|
|
|
(string-append "MANDIR=" #$output "/share/man")
|
|
|
|
|
"install.man")))))))
|
|
|
|
|
(native-inputs (list imake))
|
|
|
|
|
(inputs (list libxt))
|
|
|
|
|
(home-page "http://www.jmknoble.net/software/x11-ssh-askpass/")
|
|
|
|
|
(synopsis "Lightweight passphrase dialog for SSH")
|
|
|
|
|
(description "code{x11-ssh-askpass} is an X11-based pass-phrase dialog for
|
|
|
|
|
use with OpenSSH.")
|
|
|
|
|
(license license:gpl2+)))
|