pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/tmate tmate 2.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9e6c2b24834
branches:  trunk
changeset: 444509:f9e6c2b24834
user:      rxg <rxg%pkgsrc.org@localhost>
date:      Sat Jan 09 12:53:45 2021 +0000

description:
tmate 2.4.0

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.

diffstat:

 misc/tmate/Makefile                         |   5 ++---
 misc/tmate/distinfo                         |  14 ++++++--------
 misc/tmate/patches/patch-Makefile.am        |  18 ++++++++++++++++++
 misc/tmate/patches/patch-configure.ac       |  15 ---------------
 misc/tmate/patches/patch-tmate-session.c    |  12 ------------
 misc/tmate/patches/patch-tmate-ssh-client.c |  10 ----------
 6 files changed, 26 insertions(+), 48 deletions(-)

diffs (104 lines):

diff -r 5cb4c2b988ad -r f9e6c2b24834 misc/tmate/Makefile
--- a/misc/tmate/Makefile       Sat Jan 09 11:32:46 2021 +0000
+++ b/misc/tmate/Makefile       Sat Jan 09 12:53:45 2021 +0000
@@ -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}
diff -r 5cb4c2b988ad -r f9e6c2b24834 misc/tmate/distinfo
--- a/misc/tmate/distinfo       Sat Jan 09 11:32:46 2021 +0000
+++ b/misc/tmate/distinfo       Sat Jan 09 12:53:45 2021 +0000
@@ -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
diff -r 5cb4c2b988ad -r f9e6c2b24834 misc/tmate/patches/patch-Makefile.am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/tmate/patches/patch-Makefile.am      Sat Jan 09 12:53:45 2021 +0000
@@ -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
diff -r 5cb4c2b988ad -r f9e6c2b24834 misc/tmate/patches/patch-configure.ac
--- a/misc/tmate/patches/patch-configure.ac     Sat Jan 09 11:32:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.1 2017/09/12 08:31:20 dholland Exp $
-
-Remove bashism in configure script.
-
---- configure.ac~      2016-03-29 03:30:07.000000000 +0000
-+++ configure.ac
-@@ -465,7 +465,7 @@ if test "x$found_static" = xyes; then
-               LIBS="compat/memcpy.o -Wl,--wrap=memcpy $LIBS"
-       fi
-       LIBS="compat/clock_gettime.o libc/fdelt_chk.o $LIBS"
--      LIBS="-Wl,-Bstatic ${LIBS/-ldl/} -Wl,-Bdynamic -ldl"
-+      LIBS="-Wl,-Bstatic $(echo ${LIBS} | sed -e s/-ldl//) -Wl,-Bdynamic -ldl"
- fi
- 
- # Check for BSD-style integer types.
diff -r 5cb4c2b988ad -r f9e6c2b24834 misc/tmate/patches/patch-tmate-session.c
--- a/misc/tmate/patches/patch-tmate-session.c  Sat Jan 09 11:32:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-tmate-session.c,v 1.1 2019/12/19 22:21:01 joerg Exp $
-
---- tmate-session.c.orig       2019-12-19 18:49:04.116108537 +0000
-+++ tmate-session.c
-@@ -3,6 +3,7 @@
- #include <event2/event.h>
- 
- #include <sys/socket.h>
-+#include <netinet/in.h>
- 
- #include <stdio.h>
- #include <stdlib.h>
diff -r 5cb4c2b988ad -r f9e6c2b24834 misc/tmate/patches/patch-tmate-ssh-client.c
--- a/misc/tmate/patches/patch-tmate-ssh-client.c       Sat Jan 09 11:32:46 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-$NetBSD: patch-tmate-ssh-client.c,v 1.1 2019/12/19 22:21:01 joerg Exp $
-
---- tmate-ssh-client.c.orig    2019-12-19 18:48:37.085517987 +0000
-+++ tmate-ssh-client.c
-@@ -1,4 +1,5 @@
- #include <sys/socket.h>
-+#include <netinet/in.h>
- #include <netinet/tcp.h>
- #include <stdio.h>
- #include <event.h>



Home | Main Index | Thread Index | Old Index