GNU bug report logs - #27575
Subject: [PATCH] gnu: Add et.

Previous Next

Package: guix-patches;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Tue, 4 Jul 2017 20:05:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27575 in the body.
You can then email your comments to 27575 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27575; Package guix-patches. (Tue, 04 Jul 2017 20:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Reichör <stefan <at> xsteve.at>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 04 Jul 2017 20:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Reichör <stefan <at> xsteve.at>
To: guix-patches <at> gnu.org
Subject: Subject: [PATCH] gnu: Add et.
Date: Tue, 04 Jul 2017 22:04:09 +0200
[0001-gnu-Add-et.patch (text/x-diff, inline)]
From 75b605b35bc938485ceabd6617d7c3f2c202791b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan <at> 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 <at> nicolasgoaziou.fr>
 ;;; Copyright © 2016 Christopher Allan Webber <cwebber <at> dustycloud.org>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2017 Stefan Reichör <stefan <at> 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





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 10 Jul 2017 10:25:02 GMT) Full text and rfc822 format available.

Notification sent to Stefan Reichör <stefan <at> xsteve.at>:
bug acknowledged by developer. (Mon, 10 Jul 2017 10:25:03 GMT) Full text and rfc822 format available.

Message #10 received at 27575-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 27575-done <at> debbugs.gnu.org
Subject: Re: [bug#27575] Subject: [PATCH] gnu: Add et.
Date: Mon, 10 Jul 2017 12:24:47 +0200
[Message part 1 (text/plain, inline)]
Hi Stefan,

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

> From 75b605b35bc938485ceabd6617d7c3f2c202791b Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan <at> 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:

[Message part 2 (text/x-patch, inline)]
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)))
 
[Message part 3 (text/plain, inline)]
Thank you,
Ludo’.

Information forwarded to guix-patches <at> gnu.org:
bug#27575; Package guix-patches. (Wed, 12 Jul 2017 07:22:01 GMT) Full text and rfc822 format available.

Message #13 received at 27575 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 27575 <at> debbugs.gnu.org, stefan <at> xsteve.at
Subject: Re: [PATCH] gnu: Add et.
Date: Wed, 12 Jul 2017 09:22:40 +0200
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> client:~$ et-fixed server.tobias.gr
  nckx <at> client:~$

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

  nckx <at> 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 <at> 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.

[signature.asc (application/pgp-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.