summaryrefslogtreecommitdiff
path: root/sysutils/tmate-slave
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/tmate-slave')
-rw-r--r--sysutils/tmate-slave/Makefile33
-rw-r--r--sysutils/tmate-slave/distinfo3
-rw-r--r--sysutils/tmate-slave/files/patch-tmate-daemon-decoder.c15
-rw-r--r--sysutils/tmate-slave/files/patch-tmate-proxy.c10
-rw-r--r--sysutils/tmate-slave/files/patch-tmate-ssh-server.c51
-rw-r--r--sysutils/tmate-slave/pkg-descr3
6 files changed, 0 insertions, 115 deletions
diff --git a/sysutils/tmate-slave/Makefile b/sysutils/tmate-slave/Makefile
deleted file mode 100644
index 555cba8d33a4..000000000000
--- a/sysutils/tmate-slave/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= tmate-slave
-PORTVERSION= g2018112801
-PORTREVISION= 1
-PORTEPOCH= 1
-CATEGORIES= sysutils
-
-MAINTAINER= swills@FreeBSD.org
-COMMENT= Instant terminal sharing server
-
-BROKEN= fails to patch
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-LIB_DEPENDS= libevent.so:devel/libevent \
- libmsgpackc.so:devel/msgpack \
- libssh.so:security/libssh
-
-USES= autoreconf ncurses pkgconfig
-USE_GITHUB= yes
-GH_ACCOUNT= tmate-io
-GH_TAGNAME= 8b294f3
-
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-LDFLAGS+= -lexecinfo
-
-PLIST_FILES= bin/tmate-slave
-
-PORTSCOUT= skipv:1.8,1.7,to_copy,base
-
-.include <bsd.port.mk>
diff --git a/sysutils/tmate-slave/distinfo b/sysutils/tmate-slave/distinfo
deleted file mode 100644
index c28b90355d44..000000000000
--- a/sysutils/tmate-slave/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1573750791
-SHA256 (tmate-io-tmate-slave-g2018112801-8b294f3_GH0.tar.gz) = 3927a27541451a8221f10262c7e467ff16df72def2134ff2da610feccef45bdb
-SIZE (tmate-io-tmate-slave-g2018112801-8b294f3_GH0.tar.gz) = 620302
diff --git a/sysutils/tmate-slave/files/patch-tmate-daemon-decoder.c b/sysutils/tmate-slave/files/patch-tmate-daemon-decoder.c
deleted file mode 100644
index 798417434c55..000000000000
--- a/sysutils/tmate-slave/files/patch-tmate-daemon-decoder.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- tmate-daemon-decoder.c.orig 2019-02-01 22:30:53 UTC
-+++ tmate-daemon-decoder.c
-@@ -39,11 +39,11 @@ static void tmate_header(struct tmate_session *session
-
- tmate_notify("Note: clear your terminal before sharing readonly access");
- tmate_notify("ssh session read only: %s", tmp);
-+ tmate_set_env("tmate_ssh_ro", tmp);
-
- sprintf(tmp, "ssh%s %s@%s", port_arg, session->session_token, tmate_settings->tmate_host);
- tmate_notify("ssh session: %s", tmp);
-
-- tmate_set_env("tmate_ssh_ro", tmp);
- tmate_set_env("tmate_ssh", tmp);
-
- tmate_send_client_ready();
diff --git a/sysutils/tmate-slave/files/patch-tmate-proxy.c b/sysutils/tmate-slave/files/patch-tmate-proxy.c
deleted file mode 100644
index 7d8db950b486..000000000000
--- a/sysutils/tmate-slave/files/patch-tmate-proxy.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- tmate-proxy.c.orig 2016-04-26 08:05:24 UTC
-+++ tmate-proxy.c
-@@ -2,6 +2,7 @@
- #include <netinet/tcp.h>
- #include <fcntl.h>
- #include <errno.h>
-+#include <netinet/in.h>
-
- #include "tmate.h"
- #include "tmate-protocol.h"
diff --git a/sysutils/tmate-slave/files/patch-tmate-ssh-server.c b/sysutils/tmate-slave/files/patch-tmate-ssh-server.c
deleted file mode 100644
index 30f87ec5b1d9..000000000000
--- a/sysutils/tmate-slave/files/patch-tmate-ssh-server.c
+++ /dev/null
@@ -1,51 +0,0 @@
---- tmate-ssh-server.c.orig 2018-11-19 02:28:35 UTC
-+++ tmate-ssh-server.c
-@@ -8,6 +8,8 @@
- #include <stdio.h>
- #include <event.h>
- #include <arpa/inet.h>
-+#include <netinet/in.h>
-+#include <sys/signal.h>
-
- #include "tmate.h"
-
-@@ -252,6 +254,10 @@ static void client_bootstrap(struct tmate_session *_se
-
- ssh_options_set(session, SSH_OPTIONS_TIMEOUT, &grace_period);
- ssh_options_set(session, SSH_OPTIONS_COMPRESSION, "yes");
-+ ssh_options_set(session, SSH_OPTIONS_KEY_EXCHANGE, "curve25519-sha256@libssh.org,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512");
-+ ssh_options_set(session, SSH_OPTIONS_CIPHERS_C_S, "aes256-gcm@openssh.com,aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr");
-+ ssh_options_set(session, SSH_OPTIONS_CIPHERS_S_C, "aes256-gcm@openssh.com,aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr");
-+ ssh_options_set(session, SSH_OPTIONS_HOSTKEYS, "ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-rsa");
-
- ssh_set_auth_methods(client->session, SSH_AUTH_METHOD_PUBLICKEY);
-
-@@ -323,6 +329,9 @@ static ssh_bind prepare_ssh(const char *keys_dir, cons
- ssh_bind bind;
- char buffer[PATH_MAX];
- int ssh_log_level;
-+ ssh_key rsakey = NULL;
-+ ssh_key ecdsakey = NULL;
-+ ssh_key ed25519key = NULL;
-
- ssh_log_level = SSH_LOG_WARNING + max(log_get_level() - LOG_NOTICE, 0);
-
-@@ -339,10 +348,16 @@ static ssh_bind prepare_ssh(const char *keys_dir, cons
- ssh_bind_options_set(bind, SSH_BIND_OPTIONS_LOG_VERBOSITY, &ssh_log_level);
-
- sprintf(buffer, "%s/ssh_host_rsa_key", keys_dir);
-- ssh_bind_options_set(bind, SSH_BIND_OPTIONS_RSAKEY, buffer);
-+ ssh_pki_import_privkey_file(buffer, NULL, NULL, NULL, &rsakey);
-+ ssh_bind_options_set(bind, SSH_BIND_OPTIONS_IMPORT_KEY, rsakey);
-
-+ sprintf(buffer, "%s/ssh_host_ed25519_key", keys_dir);
-+ ssh_pki_import_privkey_file(buffer, NULL, NULL, NULL, &ed25519key);
-+ ssh_bind_options_set(bind, SSH_BIND_OPTIONS_IMPORT_KEY, ed25519key);
-+
- sprintf(buffer, "%s/ssh_host_ecdsa_key", keys_dir);
-- ssh_bind_options_set(bind, SSH_BIND_OPTIONS_ECDSAKEY, buffer);
-+ ssh_pki_import_privkey_file(buffer, NULL, NULL, NULL, &ecdsakey);
-+ ssh_bind_options_set(bind, SSH_BIND_OPTIONS_IMPORT_KEY, ecdsakey);
-
- if (ssh_bind_listen(bind) < 0)
- tmate_fatal("Error listening to socket: %s\n", ssh_get_error(bind));
diff --git a/sysutils/tmate-slave/pkg-descr b/sysutils/tmate-slave/pkg-descr
deleted file mode 100644
index 75b18f7975d1..000000000000
--- a/sysutils/tmate-slave/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Instant terminal sharing - server
-
-WWW: https://tmate.io/