Commit Graph

29 Commits

Author SHA1 Message Date
Oskari Rauta 7cc8d25381 ttyd: update to 1.7.3
also fixes linking issue that appeared after gcc 13
removed obsolete (merged) patch, ttyd now depends on
libcap, added that as a dependency.

remaining patch refreshed.

release notes: https://github.com/tsl0922/ttyd/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-20 16:04:50 +08:00
Max S Kash 31dbc888cc ttyd: fix ssl ca option init
Signed-off-by: Max S Kash <asukms@ya.ru>
2021-09-26 19:51:10 -07:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Tianling Shen f45bb2981d
ttyd: force enable authentication for login
Currently, we called `/usr/libexec/login.sh` as login command, but unfortunately the auth
is disabled by default in it[1], and this is really serious as it could be a free "backdoor"
for any spoiler who has conntectd to the router via LAN or wireless.

In my option, it shouldn't be exposed to anyone without auth, so I set the default login
command to `/bin/login`. And for those who really want that, they can do it themselves.

1. `login.sh` adjusts whether use authentication or not from system config named ttylogin,
which is set to disabled by default. See package/base-files/files/bin/config_generate#L243.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-08 02:03:37 +08:00
Shuanglei Tao 2a58132ef2 ttyd: update to 1.6.3
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2021-01-16 09:11:15 +08:00
Rosen Penev cafde49d24
ttyd: update to 1.6.2
Remove upstream patch. Refreshed other one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-22 19:25:13 -08:00
Florian Eckert 79eef7b921 ttyd: add backport patch for ssl issue on firefox
If ttyd is configured to ssl, you will get the following message in the
log `refuse to serve WS client for illegal ws path`. Upstream a patch
has already been applied which fixes this.

Since there is no newer version than 1.6.1, this fix is backported as a
patch. And could be removed if a new version of ttyd is available.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-04 14:48:04 +02:00
Florian Eckert b567333db6 ttyd: fix debug config option
Append missing debug option value.
If this is not append and the debug option is selected, then we get the
following error output on ttyd start.

> ttyd: missing start command

To fix this add missing debug option value.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-03 15:47:32 +02:00
Rosen Penev 31d4e36b7c
ttyd: update to 1.6.1
Refresh patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-28 15:45:47 -07:00
Huangbin Zhan 0ec746ccb6 treewide: add conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-05-09 06:06:43 +08:00
Shuanglei Tao 5fc7f40d5b ttyd: update to 1.6.0
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2020-02-11 11:16:17 +08:00
Rosen Penev 426dd60a4d ttyd: fix compilation without deprecated OpenSSL APIs
Removed CMAKE_INSTALL as there's no need for InstallDev.

Added PKG_BUILD_PARALLEL for faster compilation.

Small cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-08 16:49:29 -08:00
Richard Yu 7331df7bac
ttyd: add reload trigger
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-12-03 09:17:12 +08:00
Richard Yu 50751d675a
ttyd: log to syslog
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-11-29 02:38:13 +08:00
Richard Yu 9e325b47cb
ttyd: update to 1.5.2 and add init script
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-10-17 17:50:48 +08:00
Shuanglei Tao 6181693bad ttyd: update to 1.5.1
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2019-07-17 13:56:33 +08:00
Rosen Penev 773c19afad
ttyd: Add dependency for vim
Needed to avoid error in case xxd is not installed:

[ 16%] Generating html.h from index.html
/bin/sh: 1: CMAKE_XXD-NOTFOUND: not found
CMakeFiles/ttyd.dir/build.make:61: recipe for target 'html.h' failed
make[6]: *** [html.h] Error 127

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-10 16:23:20 -07:00
Shuanglei Tao 57b657572d ttyd: update to 1.4.2
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2018-09-12 23:14:12 +08:00
Shuanglei Tao afd36529e7 ttyd: update to 1.4.0
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2018-04-30 20:06:11 +08:00
Shuanglei Tao 708df9e778 ttyd: update to 1.3.3
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2017-06-19 21:42:41 +08:00
Shuanglei Tao 227debdff8 ttyd: update to 1.3.2
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2017-04-16 09:49:00 +08:00
Shuanglei Tao ae9281a441 ttyd: update to 1.3.1
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2017-03-11 10:25:13 +08:00
Shuanglei Tao 59fe221d73 ttyd: update to 1.3.0
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2017-02-14 20:23:40 +08:00
Shuanglei Tao f1d2b004a5 ttyd: update to 1.2.1
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-11-27 21:06:48 +08:00
Shuanglei Tao 10503bad44 ttyd: update to 1.2.0
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-11-13 18:56:05 +08:00
Shuanglei Tao b375b81f15 ttyd: update to 1.1.0
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-10-15 23:46:52 +08:00
Shuanglei Tao fbdcdd8a4a ttyd: remove the default insecure init script (#3271)
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-10-01 18:41:22 +08:00
Shuanglei Tao c2eb132d5d Add ttyd package
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-09-28 07:20:18 +08:00