Mirror of GNU Guix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

779 lines
32 KiB

Correct name and email address for ng0. * .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Correct name and email address for ng0. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
3 years ago
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.
3 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
gnu: All snippets report errors using exceptions, else return #t. * gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm, gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm, gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/enlightenment.scm, gnu/packages/fpga.scm, gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm, gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm, gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm, gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm, gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm, gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm, gnu/packages/pretty-print.scm, gnu/packages/profiling.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm, gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm, gnu/packages/scribus.scm, gnu/packages/sdl.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm, gnu/packages/terminals.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/tls.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm: In all snippets, report errors using exceptions, or else return #t.
4 years ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
  3. ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
  4. ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
  5. ;;; Copyright © 2015, 2016, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
  6. ;;; Copyright © 2016, 2019 Leo Famulari <leo@famulari.name>
  7. ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
  8. ;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
  9. ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
  10. ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
  11. ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
  12. ;;; Copyright © 2017 ng0 <ng0@n0.is>
  13. ;;; Copyright © 2018 Manuel Graf <graf@init.at>
  14. ;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
  15. ;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
  16. ;;;
  17. ;;; This file is part of GNU Guix.
  18. ;;;
  19. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  20. ;;; under the terms of the GNU General Public License as published by
  21. ;;; the Free Software Foundation; either version 3 of the License, or (at
  22. ;;; your option) any later version.
  23. ;;;
  24. ;;; GNU Guix is distributed in the hope that it will be useful, but
  25. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  26. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  27. ;;; GNU General Public License for more details.
  28. ;;;
  29. ;;; You should have received a copy of the GNU General Public License
  30. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  31. (define-module (gnu packages ssh)
  32. #:use-module (gnu packages)
  33. #:use-module (gnu packages autotools)
  34. #:use-module (gnu packages base)
  35. #:use-module (gnu packages boost)
  36. #:use-module (gnu packages compression)
  37. #:use-module (gnu packages crypto)
  38. #:use-module (gnu packages elf)
  39. #:use-module (gnu packages gnupg)
  40. #:use-module (gnu packages gperf)
  41. #:use-module (gnu packages groff)
  42. #:use-module (gnu packages guile)
  43. #:use-module (gnu packages libedit)
  44. #:use-module (gnu packages linux)
  45. #:use-module (gnu packages logging)
  46. #:use-module (gnu packages m4)
  47. #:use-module (gnu packages multiprecision)
  48. #:use-module (gnu packages ncurses)
  49. #:use-module (gnu packages nettle)
  50. #:use-module (gnu packages kerberos)
  51. #:use-module (gnu packages perl)
  52. #:use-module (gnu packages pkg-config)
  53. #:use-module (gnu packages popt)
  54. #:use-module (gnu packages protobuf)
  55. #:use-module (gnu packages python)
  56. #:use-module (gnu packages python-xyz)
  57. #:use-module (gnu packages readline)
  58. #:use-module (gnu packages texinfo)
  59. #:use-module (gnu packages tls)
  60. #:use-module (gnu packages xorg)
  61. #:use-module (guix build-system cmake)
  62. #:use-module (guix build-system gnu)
  63. #:use-module (guix build-system python)
  64. #:use-module (guix download)
  65. #:use-module (guix git-download)
  66. #:use-module ((guix licenses) #:prefix license:)
  67. #:use-module (guix packages)
  68. #:use-module (guix utils)
  69. #:use-module (srfi srfi-1))
  70. (define-public libssh
  71. (package
  72. (name "libssh")
  73. (version "0.9.3")
  74. (source (origin
  75. (method git-fetch)
  76. (uri (git-reference
  77. (url "https://git.libssh.org/projects/libssh.git")
  78. (commit (string-append "libssh-" version))))
  79. (sha256
  80. (base32
  81. "175i3xybg69d5lb078334v6dd3njm743kww8f67ix9w33969rmzf"))
  82. (file-name (git-file-name name version))))
  83. (build-system cmake-build-system)
  84. (outputs '("out" "debug"))
  85. (arguments
  86. '(#:configure-flags '("-DWITH_GCRYPT=ON")
  87. ;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.
  88. #:tests? #f))
  89. (inputs `(("zlib" ,zlib)
  90. ("libgcrypt" ,libgcrypt)
  91. ("mit-krb5" ,mit-krb5)))
  92. (synopsis "SSH client library")
  93. (description
  94. "libssh is a C library implementing the SSHv2 and SSHv1 protocol for client
  95. and server implementations. With libssh, you can remotely execute programs,
  96. transfer files, and use a secure and transparent tunnel for your remote
  97. applications.")
  98. (home-page "https://www.libssh.org")
  99. (license license:lgpl2.1+)))
  100. (define-public libssh2
  101. (package
  102. (name "libssh2")
  103. (version "1.9.0")
  104. (source (origin
  105. (method url-fetch)
  106. (uri (string-append
  107. "https://www.libssh2.org/download/libssh2-"
  108. version ".tar.gz"))
  109. (sha256
  110. (base32
  111. "1zfsz9nldakfz61d2j70pk29zlmj7w2vv46s9l3x2prhcgaqpyym"))))
  112. (build-system gnu-build-system)
  113. ;; The installed libssh2.pc file does not include paths to libgcrypt and
  114. ;; zlib libraries, so we need to propagate the inputs.
  115. (propagated-inputs `(("libgcrypt" ,libgcrypt)
  116. ("zlib" ,zlib)))
  117. (arguments `(#:configure-flags `("--with-libgcrypt")))
  118. (synopsis "Client-side C library implementing the SSH2 protocol")
  119. (description
  120. "libssh2 is a library intended to allow software developers access to
  121. the SSH-2 protocol in an easy-to-use self-contained package. It can be built
  122. into an application to perform many different tasks when communicating with
  123. a server that supports the SSH-2 protocol.")
  124. (license license:bsd-3)
  125. (home-page "https://www.libssh2.org/")))
  126. (define-public openssh
  127. (package
  128. (name "openssh")
  129. (version "8.2p1")
  130. (source (origin
  131. (method url-fetch)
  132. (uri (string-append "mirror://openbsd/OpenSSH/portable/"
  133. "openssh-" version ".tar.gz"))
  134. (sha256
  135. (base32
  136. "0wg6ckzvvklbzznijxkk28fb8dnwyjd0w30ra0afwv6gwr8m34j3"))))
  137. (build-system gnu-build-system)
  138. (native-inputs `(("groff" ,groff)
  139. ("pkg-config" ,pkg-config)))
  140. (inputs `(("libedit" ,libedit)
  141. ("openssl" ,openssl)
  142. ("pam" ,linux-pam)
  143. ("mit-krb5" ,mit-krb5)
  144. ("zlib" ,zlib)
  145. ("xauth" ,xauth))) ; for 'ssh -X' and 'ssh -Y'
  146. (arguments
  147. `(#:test-target "tests"
  148. ;; Otherwise, the test scripts try to use a nonexistent directory and
  149. ;; fail.
  150. #:make-flags '("REGRESSTMP=\"$${BUILDDIR}/regress\"")
  151. #:configure-flags `("--sysconfdir=/etc/ssh"
  152. ;; Default value of 'PATH' used by sshd.
  153. "--with-default-path=/run/current-system/profile/bin"
  154. ;; configure needs to find krb5-config.
  155. ,(string-append "--with-kerberos5="
  156. (assoc-ref %build-inputs "mit-krb5")
  157. "/bin")
  158. ;; libedit is needed for sftp completion.
  159. "--with-libedit"
  160. ;; Enable PAM support in sshd.
  161. "--with-pam")
  162. #:phases
  163. (modify-phases %standard-phases
  164. (add-after 'configure 'reset-/var/empty
  165. (lambda* (#:key outputs #:allow-other-keys)
  166. (let ((out (assoc-ref outputs "out")))
  167. (substitute* "Makefile"
  168. (("PRIVSEP_PATH=/var/empty")
  169. (string-append "PRIVSEP_PATH=" out "/var/empty")))
  170. #t)))
  171. (add-before 'check 'patch-tests
  172. (lambda _
  173. (substitute* "regress/test-exec.sh"
  174. (("/bin/sh") (which "sh")))
  175. ;; Remove 't-exec' regress target which requires user 'sshd'.
  176. (substitute* (list "Makefile"
  177. "regress/Makefile")
  178. (("^(tests:.*) t-exec(.*)" all pre post)
  179. (string-append pre post)))
  180. #t))
  181. (replace 'install
  182. (lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
  183. ;; Install without host keys and system configuration files.
  184. (apply invoke "make" "install-nosysconf" make-flags)
  185. (install-file "contrib/ssh-copy-id"
  186. (string-append (assoc-ref outputs "out")
  187. "/bin/"))
  188. (chmod (string-append (assoc-ref outputs "out")
  189. "/bin/ssh-copy-id") #o555)
  190. (install-file "contrib/ssh-copy-id.1"
  191. (string-append (assoc-ref outputs "out")
  192. "/share/man/man1/"))
  193. #t)))))
  194. (synopsis "Client and server for the secure shell (ssh) protocol")
  195. (description
  196. "The SSH2 protocol implemented in OpenSSH is standardised by the
  197. IETF secsh working group and is specified in several RFCs and drafts.
  198. It is composed of three layered components:
  199. The transport layer provides algorithm negotiation and a key exchange.
  200. The key exchange includes server authentication and results in a
  201. cryptographically secured connection: it provides integrity, confidentiality
  202. and optional compression.
  203. The user authentication layer uses the established connection and relies on
  204. the services provided by the transport layer. It provides several mechanisms
  205. for user authentication. These include traditional password authentication
  206. as well as public-key or host-based authentication mechanisms.
  207. The connection layer multiplexes many different concurrent channels over the
  208. authenticated connection and allows tunneling of login sessions and
  209. TCP-forwarding. It provides a flow control service for these channels.
  210. Additionally, various channel-specific options can be negotiated.")
  211. (license (license:non-copyleft "file://LICENSE"
  212. "See LICENSE in the distribution."))
  213. (home-page "https://www.openssh.com/")))
  214. (define-public guile-ssh
  215. (package
  216. (name "guile-ssh")
  217. (version "0.12.0")
  218. (home-page "https://github.com/artyom-poptsov/guile-ssh")
  219. (source (origin
  220. (method git-fetch)
  221. (uri (git-reference
  222. (url home-page)
  223. (commit (string-append "v" version))))
  224. (file-name (string-append name "-" version ".tar.gz"))
  225. (sha256
  226. (base32
  227. "054hd9rzfhb48gc1hw3rphhp0cnnd4bs5qmidy5ygsyvy9ravlad"))
  228. (modules '((guix build utils)))))
  229. (build-system gnu-build-system)
  230. (outputs '("out" "debug"))
  231. (arguments
  232. `(;; It makes no sense to build libguile-ssh.a.
  233. #:configure-flags '("--disable-static")
  234. #:phases (modify-phases %standard-phases
  235. (add-before 'build 'fix-libguile-ssh-file-name
  236. (lambda* (#:key outputs #:allow-other-keys)
  237. ;; Build and install libguile-ssh.so so that we can use
  238. ;; its absolute file name in .scm files, before we build
  239. ;; the .go files.
  240. (let* ((out (assoc-ref outputs "out"))
  241. (lib (string-append out "/lib")))
  242. (invoke "make" "install"
  243. "-C" "libguile-ssh"
  244. "-j" (number->string
  245. (parallel-job-count)))
  246. (substitute* (find-files "." "\\.scm$")
  247. (("\"libguile-ssh\"")
  248. (string-append "\"" lib "/libguile-ssh\"")))
  249. #t)))
  250. ,@(if (%current-target-system)
  251. '()
  252. '((add-before 'check 'fix-guile-path
  253. (lambda* (#:key inputs #:allow-other-keys)
  254. (let ((guile (assoc-ref inputs "guile")))
  255. (substitute* "tests/common.scm"
  256. (("/usr/bin/guile")
  257. (string-append guile "/bin/guile")))
  258. #t)))))
  259. (add-after 'install 'remove-bin-directory
  260. (lambda* (#:key outputs #:allow-other-keys)
  261. (let* ((out (assoc-ref outputs "out"))
  262. (bin (string-append out "/bin"))
  263. (examples (string-append
  264. out "/share/guile-ssh/examples")))
  265. (mkdir-p examples)
  266. (rename-file (string-append bin "/ssshd.scm")
  267. (string-append examples "/ssshd.scm"))
  268. (rename-file (string-append bin "/sssh.scm")
  269. (string-append examples "/sssh.scm"))
  270. (delete-file-recursively bin)
  271. #t))))
  272. ;; Tests are not parallel-safe.
  273. #:parallel-tests? #f))
  274. (native-inputs `(("autoconf" ,autoconf)
  275. ("automake" ,automake)
  276. ("libtool" ,libtool)
  277. ("texinfo" ,texinfo)
  278. ("pkg-config" ,pkg-config)
  279. ("which" ,which)
  280. ("guile" ,guile-2.2))) ;needed when cross-compiling.
  281. (inputs `(("guile" ,guile-2.2)
  282. ("libssh" ,libssh)
  283. ("libgcrypt" ,libgcrypt)))
  284. (synopsis "Guile bindings to libssh")
  285. (description
  286. "Guile-SSH is a library that provides access to the SSH protocol for
  287. programs written in GNU Guile interpreter. It is a wrapper to the underlying
  288. libssh library.")
  289. (license license:gpl3+)))
  290. (define-public guile2.0-ssh
  291. (package
  292. (inherit guile-ssh)
  293. (name "guile2.0-ssh")
  294. (native-inputs
  295. `(("guile" ,guile-2.0) ;needed when cross-compiling.
  296. ,@(alist-delete "guile" (package-native-inputs guile-ssh))))
  297. (inputs `(("guile" ,guile-2.0)
  298. ,@(alist-delete "guile" (package-inputs guile-ssh))))))
  299. (define-public guile3.0-ssh
  300. (package
  301. (inherit guile-ssh)
  302. (name "guile3.0-ssh")
  303. (native-inputs
  304. `(("guile" ,guile-next) ;needed when cross-compiling.
  305. ,@(alist-delete "guile" (package-native-inputs guile-ssh))))
  306. (inputs `(("guile" ,guile-next)
  307. ,@(alist-delete "guile" (package-inputs guile-ssh))))))
  308. (define-public corkscrew
  309. (package
  310. (name "corkscrew")
  311. (version "2.0")
  312. (source
  313. (origin
  314. (method url-fetch)
  315. ;; The agroman.net domain name expired on 2017-03-23, and the original
  316. ;; "http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz" now returns
  317. ;; bogus HTML. Perhaps it will yet return. Until then, use a mirror.
  318. (uri (string-append "https://downloads.openwrt.org/sources/"
  319. "corkscrew-" version ".tar.gz"))
  320. (sha256 (base32
  321. "1gmhas4va6gd70i2x2mpxpwpgww6413mji29mg282jms3jscn3qd"))))
  322. (build-system gnu-build-system)
  323. (arguments
  324. `(#:phases
  325. (modify-phases %standard-phases
  326. (replace 'configure
  327. ;; Replace configure phase as the ./configure script does not like
  328. ;; CONFIG_SHELL and SHELL passed as parameters
  329. (lambda* (#:key outputs build target #:allow-other-keys)
  330. (let* ((out (assoc-ref outputs "out"))
  331. (bash (which "bash"))
  332. ;; Set --build and --host flags as the provided config.guess
  333. ;; is not able to detect them
  334. (flags `(,(string-append "--prefix=" out)
  335. ,(string-append "--build=" build)
  336. ,(string-append "--host=" (or target build)))))
  337. (setenv "CONFIG_SHELL" bash)
  338. (apply invoke bash "./configure" flags))))
  339. (add-after 'install 'install-documentation
  340. (lambda* (#:key outputs #:allow-other-keys)
  341. (let* ((out (assoc-ref outputs "out"))
  342. (doc (string-append out "/share/doc/" ,name "-" ,version)))
  343. (install-file "README" doc)
  344. #t))))))
  345. (home-page "http://www.agroman.net/corkscrew")
  346. (synopsis "SSH tunneling through HTTP(S) proxies")
  347. (description
  348. "Corkscrew tunnels SSH connections through most HTTP and HTTPS proxies.
  349. Proxy authentication is only supported through the plain-text HTTP basic
  350. authentication scheme.")
  351. (license license:gpl2+)))
  352. (define-public mosh
  353. (package
  354. (name "mosh")
  355. (version "1.3.2")
  356. (source (origin
  357. (method url-fetch)
  358. (uri (string-append "https://mosh.org/mosh-" version ".tar.gz"))
  359. (sha256
  360. (base32
  361. "05hjhlp6lk8yjcy59zywpf0r6s0h0b9zxq0lw66dh9x8vxrhaq6s"))))
  362. (build-system gnu-build-system)
  363. (arguments
  364. '(#:phases
  365. (modify-phases %standard-phases
  366. (add-after 'install 'wrap
  367. (lambda* (#:key outputs #:allow-other-keys)
  368. ;; Make sure 'mosh' can find 'mosh-client' and
  369. ;; 'mosh-server'.
  370. (let* ((out (assoc-ref outputs "out"))
  371. (bin (string-append out "/bin")))
  372. (wrap-program (string-append bin "/mosh")
  373. `("PATH" ":" prefix (,bin)))))))))
  374. (native-inputs
  375. `(("pkg-config" ,pkg-config)))
  376. (inputs
  377. `(("openssl" ,openssl)
  378. ("perl" ,perl)
  379. ("perl-io-tty" ,perl-io-tty)
  380. ("zlib" ,zlib)
  381. ("ncurses" ,ncurses)
  382. ("protobuf" ,protobuf)
  383. ("boost-headers" ,boost)))
  384. (home-page "https://mosh.org/")
  385. (synopsis "Remote shell tolerant to intermittent connectivity")
  386. (description
  387. "Mosh is a remote terminal application that allows client roaming, supports
  388. intermittent connectivity, and provides intelligent local echo and line editing
  389. of user keystrokes. It's a replacement for SSH that's more robust and
  390. responsive, especially over Wi-Fi, cellular, and long-distance links.")
  391. (license license:gpl3+)))
  392. (define-public et
  393. (package
  394. (name "et")
  395. (version "3.1.0")
  396. (source
  397. (origin
  398. (method git-fetch)
  399. (uri (git-reference
  400. (url "https://github.com/MisterTea/EternalTCP.git")
  401. (commit (string-append "et-v" version))))
  402. (file-name (git-file-name name version))
  403. (sha256
  404. (base32 "1m5caxckn2ihwp9s2pbyh5amxlpwr7yc54q8s0kb10fr52w2vfnm"))))
  405. (build-system cmake-build-system)
  406. (arguments `(#:tests? #f))
  407. (native-inputs
  408. `(("pkg-config" ,pkg-config)))
  409. (inputs `(("glog" ,glog)
  410. ("gflags" ,gflags)
  411. ("libsodium" ,libsodium)
  412. ("protobuf" ,protobuf)))
  413. (synopsis "Remote shell that automatically reconnects")
  414. (description
  415. "Eternal Terminal (ET) is a remote shell that automatically reconnects
  416. without interrupting the session. Unlike SSH sessions, ET sessions will
  417. survive even network outages and IP changes. ET uses a custom protocol over
  418. TCP, not the SSH protocol.")
  419. (home-page "https://mistertea.github.io/EternalTCP/")
  420. (license license:asl2.0)))
  421. (define-public dropbear
  422. (package
  423. (name "dropbear")
  424. (version "2019.78")
  425. (source
  426. (origin
  427. (method url-fetch)
  428. (uri (string-append
  429. "https://matt.ucc.asn.au/dropbear/releases/"
  430. "dropbear-" version ".tar.bz2"))
  431. (sha256
  432. (base32 "19242qlr40pbqfqd0gg6h8qpj38q6lgv03ja6sahj9vj2abnanaj"))))
  433. (build-system gnu-build-system)
  434. (arguments `(#:tests? #f)) ; there is no "make check" or anything similar
  435. ;; TODO: Investigate unbundling libtommath and libtomcrypt or at least
  436. ;; cherry-picking important bug fixes from them. See <bugs.gnu.org/24674>
  437. ;; for more information.
  438. (inputs `(("zlib" ,zlib)))
  439. (synopsis "Small SSH server and client")
  440. (description "Dropbear is a relatively small SSH server and
  441. client. It runs on a variety of POSIX-based platforms. Dropbear is
  442. particularly useful for embedded systems, such as wireless routers.")
  443. (home-page "https://matt.ucc.asn.au/dropbear/dropbear.html")
  444. (license (license:x11-style "" "See file LICENSE."))))
  445. (define-public liboop
  446. (package
  447. (name "liboop")
  448. (version "1.0.1")
  449. (source
  450. (origin
  451. (method url-fetch)
  452. (uri (string-append "http://ftp.lysator.liu.se/pub/liboop/"
  453. name "-" version ".tar.gz"))
  454. (sha256
  455. (base32
  456. "1q0p1l72pq9k3bi7a366j2rishv7dzzkg3i6r2npsfg7cnnidbsn"))))
  457. (build-system gnu-build-system)
  458. (home-page "https://www.lysator.liu.se/liboop/")
  459. (synopsis "Event loop library")
  460. (description "Liboop is a low-level event loop management library for
  461. POSIX-based operating systems. It supports the development of modular,
  462. multiplexed applications which may respond to events from several sources. It
  463. replaces the \"select() loop\" and allows the registration of event handlers
  464. for file and network I/O, timers and signals. Since processes use these
  465. mechanisms for almost all external communication, liboop can be used as the
  466. basis for almost any application.")
  467. (license license:lgpl2.1+)))
  468. (define-public lsh
  469. (package
  470. (name "lsh")
  471. (version "2.1")
  472. (source (origin
  473. (method url-fetch)
  474. (uri (string-append "mirror://gnu/lsh/lsh-"
  475. version ".tar.gz"))
  476. (sha256
  477. (base32
  478. "1qqjy9zfzgny0rkb27c8c7dfsylvb6n0ld8h3an2r83pmaqr9gwb"))
  479. (modules '((guix build utils)))
  480. (snippet
  481. '(begin
  482. (substitute* "src/testsuite/functions.sh"
  483. (("localhost")
  484. ;; Avoid host name lookups since they don't work in
  485. ;; chroot builds.
  486. "127.0.0.1")
  487. (("set -e")
  488. ;; Make tests more verbose.
  489. "set -e\nset -x"))
  490. (substitute* (find-files "src/testsuite" "-test$")
  491. (("localhost") "127.0.0.1"))
  492. (substitute* "src/testsuite/login-auth-test"
  493. (("/bin/cat") "cat"))
  494. #t))))
  495. (build-system gnu-build-system)
  496. (native-inputs
  497. `(("m4" ,m4)
  498. ("guile" ,guile-2.0)
  499. ("gperf" ,gperf)
  500. ("psmisc" ,psmisc))) ; for `killall'
  501. (inputs
  502. `(("nettle" ,nettle-2)
  503. ("linux-pam" ,linux-pam)
  504. ;; 'rl.c' uses the 'CPPFunction' type, which is no longer in
  505. ;; Readline 6.3.
  506. ("readline" ,readline-6.2)
  507. ("liboop" ,liboop)
  508. ("zlib" ,zlib)
  509. ("gmp" ,gmp)
  510. ;; The server (lshd) invokes xauth when X11 forwarding is requested.
  511. ;; This adds 24 MiB (or 27%) to the closure of lsh.
  512. ("xauth" ,xauth)))
  513. (arguments
  514. '(;; Skip the `configure' test that checks whether /dev/ptmx &
  515. ;; co. work as expected, because it relies on impurities (for
  516. ;; instance, /dev/pts may be unavailable in chroots.)
  517. #:configure-flags '("lsh_cv_sys_unix98_ptys=yes"
  518. ;; Use glibc's argp rather than the bundled one.
  519. "--with-system-argp"
  520. ;; 'lsh_argp.h' checks HAVE_ARGP_PARSE but nothing
  521. ;; defines it.
  522. "CPPFLAGS=-DHAVE_ARGP_PARSE")
  523. ;; FIXME: Tests won't run in a chroot, presumably because
  524. ;; /etc/profile is missing, and thus clients get an empty $PATH
  525. ;; and nothing works.
  526. #:tests? #f
  527. #:phases
  528. (modify-phases %standard-phases
  529. (add-before 'configure 'pre-configure
  530. (lambda* (#:key inputs #:allow-other-keys)
  531. (let* ((nettle (assoc-ref inputs "nettle"))
  532. (sexp-conv (string-append nettle "/bin/sexp-conv")))
  533. ;; Remove argp from the list of sub-directories; we don't want
  534. ;; to build it, really.
  535. (substitute* "src/Makefile.in"
  536. (("^SUBDIRS = argp")
  537. "SUBDIRS ="))
  538. ;; Make sure 'lsh' and 'lshd' pick 'sexp-conv' in the right place
  539. ;; by default.
  540. (substitute* "src/environ.h.in"
  541. (("^#define PATH_SEXP_CONV.*")
  542. (string-append "#define PATH_SEXP_CONV \""
  543. sexp-conv "\"\n")))
  544. ;; Same for the 'lsh-authorize' script.
  545. (substitute* "src/lsh-authorize"
  546. (("=sexp-conv")
  547. (string-append "=" sexp-conv)))
  548. ;; Tell lshd where 'xauth' lives. Another option would be to
  549. ;; hardcode "/run/current-system/profile/bin/xauth", thereby
  550. ;; reducing the closure size, but that wouldn't work on foreign
  551. ;; distros.
  552. (with-fluids ((%default-port-encoding "ISO-8859-1"))
  553. (substitute* "src/server_x11.c"
  554. (("define XAUTH_PROGRAM.*")
  555. (string-append "define XAUTH_PROGRAM \""
  556. (assoc-ref inputs "xauth")
  557. "/bin/xauth\"\n")))))
  558. ;; Tests rely on $USER being set.
  559. (setenv "USER" "guix"))))))
  560. (home-page "https://www.lysator.liu.se/~nisse/lsh/")
  561. (synopsis "GNU implementation of the Secure Shell (ssh) protocols")
  562. (description
  563. "GNU lsh is a free implementation of the SSH version 2 protocol. It is
  564. used to create a secure line of communication between two computers,
  565. providing shell access to the server system from the client. It provides
  566. both the server daemon and the client application, as well as tools for
  567. manipulating key files.")
  568. (license license:gpl2+)))
  569. (define-public sshpass
  570. (package
  571. (name "sshpass")
  572. (version "1.06")
  573. (synopsis "Non-interactive password authentication with SSH")
  574. (home-page "https://sourceforge.net/projects/sshpass/")
  575. (source
  576. (origin
  577. (method url-fetch)
  578. (uri (string-append "mirror://sourceforge/sshpass/sshpass/"
  579. version "/sshpass-" version ".tar.gz"))
  580. (sha256
  581. (base32
  582. "0q7fblaczb7kwbsz0gdy9267z0sllzgmf0c7z5c9mf88wv74ycn6"))))
  583. (build-system gnu-build-system)
  584. (description "sshpass is a tool for non-interactivly performing password
  585. authentication with SSH's so-called @dfn{interactive keyboard password
  586. authentication}.")
  587. (license license:gpl2+)))
  588. (define-public autossh
  589. (package
  590. (name "autossh")
  591. (version "1.4g")
  592. (source
  593. (origin
  594. (method url-fetch)
  595. (uri (string-append
  596. "https://www.harding.motd.ca/autossh/autossh-"
  597. version ".tgz"))
  598. (sha256
  599. (base32 "0xqjw8df68f4kzkns5gcah61s5wk0m44qdk2z1d6388w6viwxhsz"))))
  600. (build-system gnu-build-system)
  601. (arguments `(#:tests? #f)) ; There is no "make check" or anything similar
  602. (inputs `(("openssh" ,openssh)))
  603. (synopsis "Automatically restart SSH sessions and tunnels")
  604. (description "autossh is a program to start a copy of @command{ssh} and
  605. monitor it, restarting it as necessary should it die or stop passing traffic.")
  606. (home-page "https://www.harding.motd.ca/autossh/")
  607. (license
  608. ;; Why point to a source file? Well, all the individual files have a
  609. ;; copy of this license in their headers, but there's no separate file
  610. ;; with that information.
  611. (license:non-copyleft "file://autossh.c"))))
  612. (define-public pdsh
  613. (package
  614. (name "pdsh")
  615. (version "2.34")
  616. (source
  617. (origin
  618. (method url-fetch)
  619. (uri (string-append "https://github.com/chaos/pdsh/"
  620. "releases/download/pdsh-" version
  621. "/pdsh-" version ".tar.gz"))
  622. (sha256
  623. (base32 "1s91hmhrz7rfb6h3l5k97s393rcm1ww3svp8dx5z8vkkc933wyxl"))))
  624. (build-system gnu-build-system)
  625. (arguments
  626. `(#:configure-flags
  627. (list "--with-ssh")
  628. #:phases
  629. (modify-phases %standard-phases
  630. (add-after 'unpack 'patch-/bin/sh
  631. (lambda _
  632. (substitute* '("tests/t0006-pdcp.sh"
  633. "tests/t0004-module-loading.sh"
  634. "tests/t2001-ssh.sh"
  635. "tests/t1003-slurm.sh"
  636. "tests/t6036-long-output-lines.sh"
  637. "tests/aggregate-results.sh"
  638. "tests/t2000-exec.sh"
  639. "tests/t0002-internal.sh"
  640. "tests/t1002-dshgroup.sh"
  641. "tests/t5000-dshbak.sh"
  642. "tests/t0001-basic.sh"
  643. "tests/t0005-rcmd_type-and-user.sh"
  644. "tests/test-lib.sh"
  645. "tests/t2002-mrsh.sh"
  646. "tests/t0003-wcoll.sh"
  647. "tests/test-modules/pcptest.c")
  648. (("/bin/sh") (which "bash")))
  649. #t))
  650. (add-after 'unpack 'patch-tests
  651. (lambda _
  652. (substitute* "tests/t6036-long-output-lines.sh"
  653. (("which") (which "which")))
  654. #t)))))
  655. (inputs
  656. `(("openssh" ,openssh)
  657. ("mit-krb5" ,mit-krb5)
  658. ("perl" ,perl)))
  659. (native-inputs
  660. `(("which" ,which)))
  661. (home-page "https://github.com/chaos/pdsh")
  662. (synopsis "Parallel distributed shell")
  663. (description "Pdsh is a an efficient, multithreaded remote shell client
  664. which executes commands on multiple remote hosts in parallel. Pdsh implements
  665. dynamically loadable modules for extended functionality such as new remote
  666. shell services and remote host selection.")
  667. (license license:gpl2+)))
  668. (define-public clustershell
  669. (package
  670. (name "clustershell")
  671. (version "1.8.3")
  672. (source
  673. (origin
  674. (method url-fetch)
  675. (uri (string-append "https://github.com/cea-hpc/clustershell/releases"
  676. "/download/v" version
  677. "/ClusterShell-" version ".tar.gz"))
  678. (sha256
  679. (base32 "1qdcgh733szwj9r1gambrgfkizvbjci0bnnkds9a8mnyb3sasnan"))))
  680. (build-system python-build-system)
  681. (inputs `(("openssh" ,openssh)))
  682. (propagated-inputs `(("python-pyyaml" ,python-pyyaml)))
  683. (arguments
  684. `(#:phases (modify-phases %standard-phases
  685. (add-before 'build 'record-openssh-file-name
  686. (lambda* (#:key inputs #:allow-other-keys)
  687. (let ((ssh (assoc-ref inputs "openssh")))
  688. (substitute* "lib/ClusterShell/Worker/Ssh.py"
  689. (("info\\(\"ssh_path\"\\) or \"ssh\"")
  690. (string-append "info(\"ssh_path\") or \""
  691. ssh "/bin/ssh\"")))
  692. #t))))))
  693. (home-page "https://cea-hpc.github.io/clustershell/")
  694. (synopsis "Scalable event-driven Python framework for cluster administration")
  695. (description
  696. "ClusterShell is an event-driven Python framework, designed to run local
  697. or distant commands in parallel on server farms or on large GNU/Linux
  698. clusters. It will take care of common issues encountered on HPC clusters,
  699. such as operating on groups of nodes, running distributed commands using
  700. optimized execution algorithms, as well as gathering results and merging
  701. identical outputs, or retrieving return codes. ClusterShell takes advantage
  702. of existing remote shell facilities such as SSH.")
  703. (license license:lgpl2.1+)))
  704. (define-public endlessh
  705. (package
  706. (name "endlessh")
  707. (version "1.1")
  708. (source
  709. (origin
  710. (method git-fetch)
  711. (uri (git-reference
  712. (url "https://github.com/skeeto/endlessh.git")
  713. (commit version)))
  714. (file-name (git-file-name name version))
  715. (sha256
  716. (base32 "0ziwr8j1frsp3dajr8h5glkm1dn5cci404kazz5w1jfrp0736x68"))))
  717. (build-system gnu-build-system)
  718. (arguments
  719. '(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
  720. "CC=gcc")
  721. #:tests? #f ; no test target
  722. #:phases
  723. (modify-phases %standard-phases
  724. (delete 'configure)))) ; no configure script
  725. (home-page "https://github.com/skeeto/endlessh")
  726. (synopsis "SSH tarpit that slowly sends an endless banner")
  727. (description
  728. "Endlessh is an SSH tarpit that very slowly sends an endless, random SSH
  729. banner. It keeps SSH clients locked up for hours or even days at a time. The
  730. purpose is to put your real SSH server on another port and then let the script
  731. kiddies get stuck in this tarpit instead of bothering a real server.
  732. Since the tarpit is in the banner before any cryptographic exchange occurs, this
  733. program doesn't depend on any cryptographic libraries. It's a simple,
  734. single-threaded, standalone C program. It uses @code{poll()} to trap multiple
  735. clients at a time.")
  736. (license license:unlicense)))