From a9143f6a9d9b7fce528007db364a3cae2a1f4c1a Mon Sep 17 00:00:00 2001 From: Ray Wang Date: Sat, 23 Aug 2025 17:08:44 +0800 Subject: [PATCH] fsh: update to 4.11.0 Upstream changelog: https://github.com/heiher/hev-fsh/releases/tag/4.11.0 Signed-off-by: Ray Wang --- net/fsh/Makefile | 4 ++-- net/fsh/files/fsh.config | 1 + net/fsh/files/fshs.init | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net/fsh/Makefile b/net/fsh/Makefile index 3c0daa6a58..be5da9243f 100644 --- a/net/fsh/Makefile +++ b/net/fsh/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fsh -PKG_VERSION:=4.10.0 +PKG_VERSION:=4.11.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/heiher/hev-fsh/releases/download/$(PKG_VERSION) -PKG_HASH:=6b041ccaa95a88b50fe25ede62925f815ba3f5f50c2ae0ba53c39d22ec5c4b40 +PKG_HASH:=767f493233cbad076fad5f837066eacdd50c92c807acdab258fd3fe418eeaeff PKG_MAINTAINER:=Ray Wang PKG_LICENSE:=MIT diff --git a/net/fsh/files/fsh.config b/net/fsh/files/fsh.config index f6ea9b1b09..b3d44ee26a 100644 --- a/net/fsh/files/fsh.config +++ b/net/fsh/files/fsh.config @@ -3,6 +3,7 @@ config fshs option addr '[::]' option port '6339' option tokens '/etc/fsh' + option params '' config fshc option enable '0' diff --git a/net/fsh/files/fshs.init b/net/fsh/files/fshs.init index 17875f6568..bd05616050 100644 --- a/net/fsh/files/fshs.init +++ b/net/fsh/files/fshs.init @@ -12,6 +12,7 @@ validate_section_fshs() { 'addr:string' \ 'port:port' \ 'tokens:string' + 'params:string' \ } fshs_instance() { @@ -28,6 +29,7 @@ fshs_instance() { [ -n "$tokens" ] && [ -e "$tokens" ] && { procd_append_param command -a "$tokens" } + [ -n "$params" ] && procd_append_param command ${params} procd_append_param command "$addr":"$port" procd_set_param limits core="unlimited"