Files
packages/utils/ttyd/Makefile
Paul Donald 7f0772c1a4 ttyd: update to 1.7.7
Breaking Changes

    The web terminal is readonly by default now, to make it writable,
    use -W option.

Changelog 1.7.7

    Bump to 1.7.7
    cmake: add static version back

Changelog 1.7.6

    workflow: update actions packages
    cmake: get version from git ref

Changelog 1.7.5

    html: allow overriding client options with URL query
    server: add --exit-no-conn option
    html: add safari mobile full screen support
    html: Add Unicode 11 xterm.js addon
    html: upgrade to xterm 5.4.0
    add trzszDragInitTimeout option

Changelog 1.7.4

    Leverage Docker Layer System
    html: update dependencies
    build(deps): update zlib version 1.2.13 to 1.3 in cross-build.sh
    server: print working directory on start
    server: replace --readonly with --writable
    server: fix -U option not work
    server: do not expose port to public by default
    Add -y flag for easier installation
    improve support for trzsz
    info.max_http_header_data = 65535;
    Add Docker pulls badge
    fix flow control
    Fix typo, OPTOINS -> OPTIONS
    Bump CMake version to 2.8.12

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-04-24 12:50:04 +02:00

52 lines
1.3 KiB
Makefile

#
# Copyright (C) 2016 Shuanglei Tao <tsl0922@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ttyd
PKG_VERSION:=1.7.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)?
PKG_HASH:=039dd995229377caee919898b7bd54484accec3bba49c118e2d5cd6ec51e3650
PKG_MAINTAINER:=Shuanglei Tao <tsl0922@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/ttyd
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Command-line tool for sharing terminal over the web
DEPENDS:=+libcap +libopenssl +libjson-c +libuv +zlib +libwebsockets-full
URL:=https://github.com/tsl0922/ttyd
SUBMENU:=Terminal
endef
define Package/ttyd/description
ttyd is a command-line tool for sharing terminal over the web.
endef
define Package/ttyd/conffiles
/etc/config/ttyd
endef
define Package/ttyd/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ttyd $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/config/
$(INSTALL_CONF) ./files/ttyd.config $(1)/etc/config/ttyd
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) ./files/ttyd.init $(1)/etc/init.d/ttyd
endef
$(eval $(call BuildPackage,ttyd))