Skip to content

Commit

Permalink
tmate 2.4.0
Browse files Browse the repository at this point in the history
New Features:
Add support for named sessions. Run tmate with tmate -k api_key -n session_name -r session_name_ro to name sessions. See https://tmate.io/#named_sessions
Add a foreground mode with tmate -F. This is useful when tmate is used only for remote access. See https://tmate.io/#remote_access
Add SSH key access control. Run tmate with -a authorized_keys or set tmate-authorized-keys in the tmate configuration file. This will allow access to tmate to only SSH clients with keys contained in the authorized keys file. See https://tmate.io/#access_control
SSH keys are no longer needed to use tmate

Bug fixes:
Fix reconnection bug due to misconfigured keepalives

Existing feature changes:
Tmux configuration file ~/.tmux.conf is no longer loaded.. You may add source-file ~/.tmux.conf in ~/.tmate.conf to retain the older behavior. Discussion can be found in #108
Initial connection strings are now shown in a separate window at start time

---

tmate 2.3.0

tmate is now compatible with libssh 0.9.
  • Loading branch information
rxg committed Jan 9, 2021
1 parent 70067d9 commit aecfef8
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 48 deletions.
5 changes: 2 additions & 3 deletions misc/tmate/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.4 2020/01/18 21:50:04 jperkin Exp $
# $NetBSD: Makefile,v 1.5 2021/01/09 12:53:45 rxg Exp $

DISTNAME= tmate-2.2.1
PKGREVISION= 1
DISTNAME= tmate-2.4.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=tmate-io/}
GITHUB_TAG= ${PKGVERSION_NOREV}
Expand Down
14 changes: 6 additions & 8 deletions misc/tmate/distinfo
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
$NetBSD: distinfo,v 1.3 2019/12/19 22:21:01 joerg Exp $
$NetBSD: distinfo,v 1.4 2021/01/09 12:53:45 rxg Exp $

SHA1 (tmate-2.2.1.tar.gz) = 8ef6999f7bf2511738650421e40b6a639e782d36
RMD160 (tmate-2.2.1.tar.gz) = fd72920b91041905a218f59ba25eb1d58d4bfc6c
SHA512 (tmate-2.2.1.tar.gz) = 3d4ce7510cd8da39bc4fe63f2a64179846a813bb3560ca811d9e1e2a28b06d95a9033047a900d76bda069c249d7ebbe1143daa082b23212c5d32a50bf1819d2d
Size (tmate-2.2.1.tar.gz) = 610745 bytes
SHA1 (patch-configure.ac) = dba0fdd160797e3884533d99686efdf9b0af9e7a
SHA1 (patch-tmate-session.c) = 9a3b31787dd86f4eb9528a4cb0e6708da31e75e9
SHA1 (patch-tmate-ssh-client.c) = d797fb9d770999447859ce4f204fa853a2f63cb9
SHA1 (tmate-2.4.0.tar.gz) = 27c08f321e75716dfe0f037d18fa907b9dfe1319
RMD160 (tmate-2.4.0.tar.gz) = b377abc68071506ac5b05a067fc5c13985cfd7ab
SHA512 (tmate-2.4.0.tar.gz) = 92d2ca354b295678bfc2747ca83a45ebafeaec40ebac94bd94c4926af4f820b3f3a087f365147f41c80d1c8ad032f52c697a2421839c39315d84f98f7eccada6
Size (tmate-2.4.0.tar.gz) = 614179 bytes
SHA1 (patch-Makefile.am) = 34eeac2f32d09bbde1ae5eda6158881891feb2f2
SHA1 (patch-tmux.h) = 8c26d6ca70b1a8d51e7c920ea54f59d2023968fe
18 changes: 18 additions & 0 deletions misc/tmate/patches/patch-Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
$NetBSD: patch-Makefile.am,v 1.1 2021/01/09 12:53:45 rxg Exp $

Compatible with NetBSD.

--- Makefile.am.orig 2021-01-07 13:42:30.818799315 +0000
+++ Makefile.am
@@ -47,6 +47,11 @@ endif
CFLAGS += -Wno-unused-parameter -Wno-unused-variable -Wno-null-pointer-arithmetic
CFLAGS += -Wno-deprecated-declarations -Wno-format-nonliteral

+# Set flags for NetBSD.
+if IS_NETBSD
+CPPFLAGS += -D_OPENBSD_SOURCE
+endif
+
# Set flags for Solaris.
if IS_SUNOS
if IS_GCC
15 changes: 0 additions & 15 deletions misc/tmate/patches/patch-configure.ac

This file was deleted.

12 changes: 0 additions & 12 deletions misc/tmate/patches/patch-tmate-session.c

This file was deleted.

10 changes: 0 additions & 10 deletions misc/tmate/patches/patch-tmate-ssh-client.c

This file was deleted.

0 comments on commit aecfef8

Please sign in to comment.