summaryrefslogtreecommitdiff
path: root/misc/tmate
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-08-23 18:56:14 +0000
committerjperkin <jperkin@pkgsrc.org>2017-08-23 18:56:14 +0000
commita30c96ccb7ded2d7cda1bc6e144e14c0d8824fe9 (patch)
tree85f8fa5137fc63bb1ee15bd637dbf659ea37c1c4 /misc/tmate
parent9cc665cdd283437db02dd08ffde7b9e19d4b415e (diff)
downloadpkgsrc-a30c96ccb7ded2d7cda1bc6e144e14c0d8824fe9.tar.gz
Import tmate version 2.2.1 as misc/tmate.
tmate provides an instant pairing solution, allowing you to share a terminal with one or several teammates. Together with a voice call, it's almost like pairing in person. The terminal sharing works by using SSH connections to backend servers maintained by tmate upstream developers. Teammates need to be given a randomly-generated token to be able to join a session. tmate is a modified version of tmux, and uses the same configurations such as keybindings, color schemes etc.
Diffstat (limited to 'misc/tmate')
-rw-r--r--misc/tmate/DESCR9
-rw-r--r--misc/tmate/Makefile25
-rw-r--r--misc/tmate/PLIST3
-rw-r--r--misc/tmate/distinfo7
-rw-r--r--misc/tmate/patches/patch-tmux.h16
5 files changed, 60 insertions, 0 deletions
diff --git a/misc/tmate/DESCR b/misc/tmate/DESCR
new file mode 100644
index 00000000000..2a6d38f5ff1
--- /dev/null
+++ b/misc/tmate/DESCR
@@ -0,0 +1,9 @@
+tmate provides an instant pairing solution, allowing you to share a
+terminal with one or several teammates. Together with a voice call, it's
+almost like pairing in person. The terminal sharing works by using SSH
+connections to backend servers maintained by tmate upstream developers.
+Teammates need to be given a randomly-generated token to be able to join a
+session.
+
+tmate is a modified version of tmux, and uses the same configurations such
+as keybindings, color schemes etc.
diff --git a/misc/tmate/Makefile b/misc/tmate/Makefile
new file mode 100644
index 00000000000..8afb2498279
--- /dev/null
+++ b/misc/tmate/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/08/23 18:56:14 jperkin Exp $
+
+DISTNAME= tmate-2.2.1
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tmate-io/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/tmate-io/tmate/
+COMMENT= Terminal multiplexer with instant terminal sharing
+LICENSE= isc
+
+USE_TOOLS= autoconf automake pkg-config
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+
+pre-configure:
+ cd ${WRKSRC} && ./autogen.sh
+
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/msgpack/buildlink3.mk"
+.include "../../security/libssh/buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/tmate/PLIST b/misc/tmate/PLIST
new file mode 100644
index 00000000000..dd28a6d3458
--- /dev/null
+++ b/misc/tmate/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/23 18:56:14 jperkin Exp $
+bin/tmate
+man/man1/tmate.1
diff --git a/misc/tmate/distinfo b/misc/tmate/distinfo
new file mode 100644
index 00000000000..479d564616d
--- /dev/null
+++ b/misc/tmate/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/08/23 18:56:14 jperkin 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-tmux.h) = 8c26d6ca70b1a8d51e7c920ea54f59d2023968fe
diff --git a/misc/tmate/patches/patch-tmux.h b/misc/tmate/patches/patch-tmux.h
new file mode 100644
index 00000000000..37e1c924911
--- /dev/null
+++ b/misc/tmate/patches/patch-tmux.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-tmux.h,v 1.1 2017/08/23 18:56:14 jperkin Exp $
+
+Allow override TMUX_CONF on the command line.
+
+--- tmux.h.orig 2016-03-29 03:30:07.000000000 +0000
++++ tmux.h
+@@ -53,7 +53,9 @@ struct tmuxpeer;
+ struct tmuxproc;
+
+ /* Default global configuration file. */
++#ifndef TMUX_CONF
+ #define TMUX_CONF "/etc/tmux.conf"
++#endif
+
+ /*
+ * Minimum layout cell size, NOT including separator line. The scroll region