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>
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>
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>
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>