pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ttyd: import ttyd-1.7.7 as wip/ttyd
Module Name: pkgsrc-wip
Committed By: Iku Iwasa <iquiw%NetBSD.org@localhost>
Pushed By: iquiw
Date: Sat Nov 16 14:51:08 2024 +0900
Changeset: 091508c1d1a9bd38be8ae357372448be1a03c4b9
Added Files:
ttyd/COMMIT_MSG
ttyd/DESCR
ttyd/Makefile
ttyd/PLIST
ttyd/distinfo
ttyd/patches/patch-src_pty.c
Log Message:
ttyd: import ttyd-1.7.7 as wip/ttyd
ttyd is a simple command-line tool for sharing terminal over the web.
Features
- Built on top of libuv and WebGL2 for speed
- Fully-featured terminal with CJK and IME support
- ZMODEM (lrzsz) / trzsz file transfer support
- Sixel image output support (img2sixel / lsix)
- SSL support based on OpenSSL / Mbed TLS
- Run any custom command with options
- Basic authentication support and many other custom options
- Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt, Windows
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=091508c1d1a9bd38be8ae357372448be1a03c4b9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ttyd/COMMIT_MSG | 3 +++
ttyd/DESCR | 12 ++++++++++++
ttyd/Makefile | 18 ++++++++++++++++++
ttyd/PLIST | 3 +++
ttyd/distinfo | 6 ++++++
ttyd/patches/patch-src_pty.c | 15 +++++++++++++++
6 files changed, 57 insertions(+)
diffs:
diff --git a/ttyd/COMMIT_MSG b/ttyd/COMMIT_MSG
new file mode 100644
index 0000000000..31fecd05a8
--- /dev/null
+++ b/ttyd/COMMIT_MSG
@@ -0,0 +1,3 @@
+www/ttyd: import ttyd version 1.7.7
+
+Packaged in wip by iquiw
diff --git a/ttyd/DESCR b/ttyd/DESCR
new file mode 100644
index 0000000000..10d7cd8954
--- /dev/null
+++ b/ttyd/DESCR
@@ -0,0 +1,12 @@
+ttyd is a simple command-line tool for sharing terminal over the web.
+
+Features
+
+- Built on top of libuv and WebGL2 for speed
+- Fully-featured terminal with CJK and IME support
+- ZMODEM (lrzsz) / trzsz file transfer support
+- Sixel image output support (img2sixel / lsix)
+- SSL support based on OpenSSL / Mbed TLS
+- Run any custom command with options
+- Basic authentication support and many other custom options
+- Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt, Windows
diff --git a/ttyd/Makefile b/ttyd/Makefile
new file mode 100644
index 0000000000..948cbd9e9f
--- /dev/null
+++ b/ttyd/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME= ttyd-1.7.7
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tsl0922/}
+GITHUB_PROJECT= ttyd
+
+MAINTAINER= iquiw%NetBSD.org@localhost
+HOMEPAGE= https://github.com/tsl0922/ttyd/
+COMMENT= Simple command-line tool for sharing terminal over the web
+LICENSE= mit
+
+.include "../../devel/libuv/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
+.include "../../www/libwebsockets/buildlink3.mk"
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ttyd/PLIST b/ttyd/PLIST
new file mode 100644
index 0000000000..3c97bb5d68
--- /dev/null
+++ b/ttyd/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/ttyd
+man/man1/ttyd.1
diff --git a/ttyd/distinfo b/ttyd/distinfo
new file mode 100644
index 0000000000..0726d97f2b
--- /dev/null
+++ b/ttyd/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (ttyd-1.7.7.tar.gz) = 5d1add29755af2ae8271df717eeeabdac399bcf367abd46b8e3202655e2eaa28
+SHA512 (ttyd-1.7.7.tar.gz) = 0cc643223c603dfbd32bc8233e6d2b8d59efd0b1208ef684277ff690fd92ca9ce242b8ea229a5621c43301ce99f95ee56fbe1f3b8df47329be89c3d0658d7663
+Size (ttyd-1.7.7.tar.gz) = 621347 bytes
+SHA1 (patch-src_pty.c) = 1d1f6edf6342e4dff690798bf4c30a04f7493240
diff --git a/ttyd/patches/patch-src_pty.c b/ttyd/patches/patch-src_pty.c
new file mode 100644
index 0000000000..707846777d
--- /dev/null
+++ b/ttyd/patches/patch-src_pty.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Include util.h on NetBSD.
+
+--- src/pty.c.orig 2024-03-30 03:04:51.000000000 +0000
++++ src/pty.c
+@@ -10,7 +10,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/wait.h>
+
+-#if defined(__OpenBSD__) || defined(__APPLE__)
++#if defined(__OpenBSD__) || defined(__APPLE__) || defined(__NetBSD__)
+ #include <util.h>
+ #elif defined(__FreeBSD__)
+ #include <libutil.h>
Home |
Main Index |
Thread Index |
Old Index