Message ID | 87d1iu1w8o.fsf@dustycloud.org |
---|---|
State | New |
Headers | show |
Christopher Allan Webber <cwebber@dustycloud.org> skribis: > From c718ca3986750c255a58b87d9e6805e56c1ffc72 Mon Sep 17 00:00:00 2001 > From: Christopher Allan Webber <cwebber@dustycloud.org> > Date: Mon, 8 Feb 2016 16:01:49 -0800 > Subject: [PATCH] gnu: Add autossh. > > * gnu/packages/ssh.scm (autossh): New variable. [...] > + (synopsis "Automatically restart SSH sessions and tunnels") > + (description "autossh is a program to start a copy of ssh and @command{ssh} > +monitor it, restarting it as necessary should it die or stop > +passing traffic. The idea is from rstunnel (Reliable SSH Tunnel), > +but implemented in C.") Maybe remove the last sentence? > + ;; copy of this license in their headers, but there's no seprate file “separate” Go for it! Thanks! Ludo’.
Ludovic Courtès writes: > Christopher Allan Webber <cwebber@dustycloud.org> skribis: > >> From c718ca3986750c255a58b87d9e6805e56c1ffc72 Mon Sep 17 00:00:00 2001 >> From: Christopher Allan Webber <cwebber@dustycloud.org> >> Date: Mon, 8 Feb 2016 16:01:49 -0800 >> Subject: [PATCH] gnu: Add autossh. >> >> * gnu/packages/ssh.scm (autossh): New variable. > > [...] > >> + (synopsis "Automatically restart SSH sessions and tunnels") >> + (description "autossh is a program to start a copy of ssh and > > @command{ssh} > >> +monitor it, restarting it as necessary should it die or stop >> +passing traffic. The idea is from rstunnel (Reliable SSH Tunnel), >> +but implemented in C.") > > Maybe remove the last sentence? > >> + ;; copy of this license in their headers, but there's no seprate file > > “separate” > > Go for it! > > Thanks! > > Ludo’. Pushed with those changes, thanks!
From c718ca3986750c255a58b87d9e6805e56c1ffc72 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber <cwebber@dustycloud.org> Date: Mon, 8 Feb 2016 16:01:49 -0800 Subject: [PATCH] gnu: Add autossh. * gnu/packages/ssh.scm (autossh): New variable. --- gnu/packages/ssh.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index af5aae1..9c76f48 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -506,3 +507,30 @@ manipulating key files.") authentication with SSH's so-called @dfn{interactive keyboard password authentication}.") (license license:gpl2+))) + +(define-public autossh + (package + (name "autossh") + (version "1.4e") + (source + (origin + (method url-fetch) + (uri (string-append + "http://www.harding.motd.ca/autossh/autossh-" + version ".tgz")) + (sha256 + (base32 "0mlicw28vq2jxa0jf0dys5ja75v0fxpjavlq9dpif6bnknji13ly")))) + (build-system gnu-build-system) + (arguments `(#:tests? #f)) ; There is no "make check" or anything similar + (inputs `(("openssh" ,openssh))) + (synopsis "Automatically restart SSH sessions and tunnels") + (description "autossh is a program to start a copy of ssh and +monitor it, restarting it as necessary should it die or stop +passing traffic. The idea is from rstunnel (Reliable SSH Tunnel), +but implemented in C.") + (home-page "http://www.harding.motd.ca/autossh/") + (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 seprate file + ;; with that information. + (license:non-copyleft "file://autossh.c")))) -- 2.10.1