all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27575] Subject: [PATCH] gnu: Add et.
@ 2017-07-04 20:04 Stefan Reichör
  2017-07-10 10:24 ` bug#27575: " Ludovic Courtès
  2017-07-12  7:22 ` [bug#27575] " Tobias Geerinckx-Rice
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Reichör @ 2017-07-04 20:04 UTC (permalink / raw)
  To: 27575

[-- Attachment #1: 0001-gnu-Add-et.patch --]
[-- Type: text/x-diff, Size: 3042 bytes --]

From 75b605b35bc938485ceabd6617d7c3f2c202791b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan@xsteve.at>
Date: Tue, 4 Jul 2017 22:02:48 +0200
Subject: [PATCH] gnu: Add et.

* gnu/packages/ssh.scm (et): New variable.
---
 gnu/packages/ssh.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index d03686c..d7fd124 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29,12 +30,14 @@
   #:use-module (gnu packages base)
   #:autoload   (gnu packages boost) (boost)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages logging)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
@@ -42,6 +45,7 @@
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages popt)
   #:autoload   (gnu packages protobuf) (protobuf)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages texinfo)
@@ -381,6 +385,34 @@ keystrokes.  Mosh is a replacement for SSH.  It's more robust and responsive,
 especially over Wi-Fi, cellular, and long-distance links.")
     (license license:gpl3+)))
 
+(define-public et
+  (package
+    (name "et")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/MisterTea/EternalTCP/archive/et-v"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1n2w2kqbshdmbb0gz4yizyw9gqfls6qm2dnwx1d9c2hz7hmi7521"))))
+    (build-system cmake-build-system)
+    (arguments `(#:tests? #f))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs `(("glog" ,glog)
+              ("gflags" ,gflags)
+              ("libsodium" ,libsodium)
+              ("protobuf" ,protobuf)))
+    (synopsis "Remote shell that automatically reconnects without interrupting
+the session.")
+    (description "Eternal Terminal (ET) is a remote shell that automatically
+reconnects without interrupting the session. Unlike the normal SSH session, ET
+session will survive even after the network outages or IP changes.")
+    (home-page "https://mistertea.github.io/EternalTCP/")
+    (license license:asl2.0)))
+
 (define-public dropbear
   (package
     (name "dropbear")
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#27575: Subject: [PATCH] gnu: Add et.
  2017-07-04 20:04 [bug#27575] Subject: [PATCH] gnu: Add et Stefan Reichör
@ 2017-07-10 10:24 ` Ludovic Courtès
  2017-07-12  7:22 ` [bug#27575] " Tobias Geerinckx-Rice
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-10 10:24 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: 27575-done

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

Hi Stefan,

Stefan Reichör <stefan@xsteve.at> skribis:

> From 75b605b35bc938485ceabd6617d7c3f2c202791b Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan@xsteve.at>
> Date: Tue, 4 Jul 2017 22:02:48 +0200
> Subject: [PATCH] gnu: Add et.
>
> * gnu/packages/ssh.scm (et): New variable.

Applied with this change:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1105 bytes --]

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index d7fd124fd..c11976a12 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -405,11 +405,12 @@ especially over Wi-Fi, cellular, and long-distance links.")
               ("gflags" ,gflags)
               ("libsodium" ,libsodium)
               ("protobuf" ,protobuf)))
-    (synopsis "Remote shell that automatically reconnects without interrupting
-the session.")
-    (description "Eternal Terminal (ET) is a remote shell that automatically
-reconnects without interrupting the session. Unlike the normal SSH session, ET
-session will survive even after the network outages or IP changes.")
+    (synopsis "Remote shell that automatically reconnects")
+    (description
+     "Eternal Terminal (ET) is a remote shell that automatically reconnects
+without interrupting the session.  Unlike SSH sessions, ET sessions will
+survive even after the network outages or IP changes.  ET uses a custom
+protocol over TCP, not the SSH protocol.")
     (home-page "https://mistertea.github.io/EternalTCP/")
     (license license:asl2.0)))
 

[-- Attachment #3: Type: text/plain, Size: 24 bytes --]


Thank you,
Ludo’.

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#27575] [PATCH] gnu: Add et.
  2017-07-04 20:04 [bug#27575] Subject: [PATCH] gnu: Add et Stefan Reichör
  2017-07-10 10:24 ` bug#27575: " Ludovic Courtès
@ 2017-07-12  7:22 ` Tobias Geerinckx-Rice
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-07-12  7:22 UTC (permalink / raw)
  To: 27575, stefan


[-- Attachment #1.1: Type: text/plain, Size: 1697 bytes --]

Good morning Stefan,

I'm having no fun at all trying this out[1] :-(

Would you mind describing how you tested this on Guix(SD? Client?
Server?), and how you use it yourself?

Kind regards,

T G-R


[1] From my notes, frustration included:

  nckx@client:~$ et server.tobias.gr
  bash: /bin/bash: No such file or directory
  SSH handshake failed.

No, I don't know why people insist on doing this. Just call ‘bash’:

  nckx@client:~$ et-fixed server.tobias.gr
  nckx@client:~$

Silence. Mainly because, for some ungodly reason, ‘et’ redirects fatal
(well, all) error messages to /tmp with no indication:

  nckx@client:~$ cat /tmp/etclient_err
  ERROR: unknown command line flag 'log_file'

Oh yes: it also calls its own helper with invalid arguments. Always.
After more patching:

  nckx@client:~$ et-fixed-fixed server.tobias.gr
  F0712 07:53:28.978714  5183 TerminalServer.cpp:379] Error: (1):
  Operation not permitted
  *** Check failure stack trace: ***
    @     0x7fd2c3f16d7d  google::LogMessage::Fail()
    @     0x7fd2c3f18aa5  google::LogMessage::SendToLog()
    @     0x7fd2c3f1690b  google::LogMessage::Flush()
    @     0x7fd2c3f194ee  google::LogMessageFatal::~LogMessageFatal()
    @           0x41a5af  startTerminal()
    @           0x42007c  TerminalServerHandler::newClient()
    @           0x42b241  et::ServerConnection::clientHandler()
    @           0x42b87b  et::ServerConnection::run()
    @           0x4182f6  main
    @     0x7fd2c2a454f0  __libc_start_main
    @           0x418f9a  _start
  Session terminated

After coffee, I realise there's no way I'll never trust this programme,
and stop trying.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 504 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-12  7:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-04 20:04 [bug#27575] Subject: [PATCH] gnu: Add et Stefan Reichör
2017-07-10 10:24 ` bug#27575: " Ludovic Courtès
2017-07-12  7:22 ` [bug#27575] " Tobias Geerinckx-Rice

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.