sysutils/tmate: Add BACKSPACE option

- Add LICENSE

PR:		248511
This commit is contained in:
Yasuhiro Kimura
2023-06-03 15:18:11 -05:00
committed by Muhammad Moinur Rahman
parent 4af25c28b3
commit aeb0a1d7f1
2 changed files with 23 additions and 2 deletions
+12 -2
View File
@@ -1,12 +1,15 @@
PORTNAME= tmate
PORTVERSION= 2.4.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils
MAINTAINER= bofh@FreeBSD.org
COMMENT= Instant terminal sharing
WWW= https://tmate.io/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libevent.so:devel/libevent \
libmsgpackc.so:devel/msgpack-c \
libssh.so:security/libssh
@@ -14,11 +17,18 @@ LIB_DEPENDS= libevent.so:devel/libevent \
USES= autoreconf compiler:c11 ncurses pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= tmate-io
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
LDFLAGS+= -lexecinfo
PLIST_FILES= bin/tmate man/man1/tmate.1.gz
OPTIONS_DEFINE= BACKSPACE
BACKSPACE_DESC= Build with tty/keys patch
BACKSPACE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tty-keys.c
.include <bsd.port.mk>
@@ -0,0 +1,11 @@
--- tty-keys.c.orig 2023-06-02 17:59:27 UTC
+++ tty-keys.c
@@ -572,8 +572,6 @@ first_key:
* used. termios should have a better idea.
*/
bspace = tty->tio.c_cc[VERASE];
- if (bspace != _POSIX_VDISABLE && key == bspace)
- key = KEYC_BSPACE;
goto complete_key;