diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-07-28 14:33:50 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-07-28 15:45:47 -0700 |
commit | 31d4e36b7cf52c0e8c0163ca7625efe6b3a2a400 (patch) | |
tree | f8c6a43127dea8d8fc6f6771907b1b4602e527d2 /utils/ttyd | |
parent | 00e6d53c7308a2ff9a0dd44b79a0545abd7fb936 (diff) |
ttyd: update to 1.6.1
Refresh patch.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/ttyd')
-rw-r--r-- | utils/ttyd/Makefile | 6 | ||||
-rw-r--r-- | utils/ttyd/patches/100-log-to-syslog.patch | 24 |
2 files changed, 15 insertions, 15 deletions
diff --git a/utils/ttyd/Makefile b/utils/ttyd/Makefile index 71e6f122c..2e195f821 100644 --- a/utils/ttyd/Makefile +++ b/utils/ttyd/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ttyd -PKG_VERSION:=1.6.0 -PKG_RELEASE:=2 +PKG_VERSION:=1.6.1 +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:=d14740bc82be0d0760dd0a3c97acbcbde490412a4edc61edabe46d311b068f83 +PKG_HASH:=d72dcca3dec00cda87b80a0a25ae4fee2f8b9098c1cdb558508dcb14fbb6fafc PKG_MAINTAINER:=Shuanglei Tao <tsl0922@gmail.com> PKG_LICENSE:=MIT diff --git a/utils/ttyd/patches/100-log-to-syslog.patch b/utils/ttyd/patches/100-log-to-syslog.patch index 392673270..04a3027c2 100644 --- a/utils/ttyd/patches/100-log-to-syslog.patch +++ b/utils/ttyd/patches/100-log-to-syslog.patch @@ -1,20 +1,20 @@ --- a/src/server.c +++ b/src/server.c -@@ -6,6 +6,7 @@ - #include <getopt.h> - #include <signal.h> +@@ -10,6 +10,7 @@ + #include <stdlib.h> + #include <string.h> #include <sys/stat.h> +#include <syslog.h> - #include <libwebsockets.h> - #include <json.h> -@@ -418,7 +419,8 @@ main(int argc, char **argv) { - return -1; - } + #include "utils.h" -- lws_set_log_level(debug_level, NULL); -+ openlog("ttyd", LOG_NDELAY | LOG_PID, LOG_DAEMON); -+ lws_set_log_level(debug_level, lwsl_emit_syslog); +@@ -441,7 +442,8 @@ int main(int argc, char **argv) { + return -1; + } + +- lws_set_log_level(debug_level, NULL); ++ openlog("ttyd", LOG_NDELAY | LOG_PID, LOG_DAEMON); ++ lws_set_log_level(debug_level, lwsl_emit_syslog); #if LWS_LIBRARY_VERSION_MAJOR >= 2 - char server_hdr[128] = ""; + char server_hdr[128] = ""; |