From dcb0cf3fc13a92ec8a9a91fd922f9b685fba6ff4 Mon Sep 17 00:00:00 2001 From: kenzok8 Date: Fri, 21 Jun 2024 20:31:33 +0800 Subject: [PATCH] update 2024-06-21 20:31:33 --- luci-app-ssr-plus/Makefile | 2 +- luci-app-ssr-plus/po/zh-cn | 1 + luci-app-ssr-plus/po/zh_Hans | 1 - luci-app-ssr-plus/po/{zh-cn => zh_Hans}/ssr-plus.po | 0 luci-nginxer/Makefile | 6 +++--- luci-nginxer/root/etc/uci-defaults/50_luci-nginxer | 6 +++++- webd/Makefile | 2 +- 7 files changed, 11 insertions(+), 7 deletions(-) create mode 120000 luci-app-ssr-plus/po/zh-cn delete mode 120000 luci-app-ssr-plus/po/zh_Hans rename luci-app-ssr-plus/po/{zh-cn => zh_Hans}/ssr-plus.po (100%) diff --git a/luci-app-ssr-plus/Makefile b/luci-app-ssr-plus/Makefile index 82e06b3e7..7ea5e11e3 100644 --- a/luci-app-ssr-plus/Makefile +++ b/luci-app-ssr-plus/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=188 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_NONE_V2RAY \ diff --git a/luci-app-ssr-plus/po/zh-cn b/luci-app-ssr-plus/po/zh-cn new file mode 120000 index 000000000..8d69574dd --- /dev/null +++ b/luci-app-ssr-plus/po/zh-cn @@ -0,0 +1 @@ +zh_Hans \ No newline at end of file diff --git a/luci-app-ssr-plus/po/zh_Hans b/luci-app-ssr-plus/po/zh_Hans deleted file mode 120000 index 41451e4a1..000000000 --- a/luci-app-ssr-plus/po/zh_Hans +++ /dev/null @@ -1 +0,0 @@ -zh-cn \ No newline at end of file diff --git a/luci-app-ssr-plus/po/zh-cn/ssr-plus.po b/luci-app-ssr-plus/po/zh_Hans/ssr-plus.po similarity index 100% rename from luci-app-ssr-plus/po/zh-cn/ssr-plus.po rename to luci-app-ssr-plus/po/zh_Hans/ssr-plus.po diff --git a/luci-nginxer/Makefile b/luci-nginxer/Makefile index 8a6e537aa..cdbf7669a 100644 --- a/luci-nginxer/Makefile +++ b/luci-nginxer/Makefile @@ -8,17 +8,17 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Nginxer LUCI_DESCRIPTION:=Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme -PKG_VERSION:=0.0.1 +PKG_VERSION:=0.0.2 PKG_RELEASE:=1 LUCI_DEPENDS:=+luci-nginx define Package/luci-nginxer/postrm #!/bin/sh -/etc/init.d/uhttpd enabled +/etc/init.d/uhttpd enable /etc/init.d/uhttpd start exit 0 endef include $(TOPDIR)/feeds/luci/luci.mk -# call BuildPackage - OpenWrt buildroot signature \ No newline at end of file +# call BuildPackage - OpenWrt buildroot signature diff --git a/luci-nginxer/root/etc/uci-defaults/50_luci-nginxer b/luci-nginxer/root/etc/uci-defaults/50_luci-nginxer index 9d01f3982..18e28cfdd 100644 --- a/luci-nginxer/root/etc/uci-defaults/50_luci-nginxer +++ b/luci-nginxer/root/etc/uci-defaults/50_luci-nginxer @@ -8,7 +8,11 @@ if [ "$nginxer" != 1 ]; then uci set nginx._redirect2ssl.access_log='off; # logd openwrt' uci set nginx.global.nginxer='1' uci commit nginx + + # fix firmware upload failed + sed -i 's/client_max_body_size 128M;/client_max_body_size 256M;/g' /etc/nginx/uci.conf.template + # /etc/init.d/uhttpd running || /etc/init.d/uhttpd disable /etc/init.d/nginx reload fi -exit 0 \ No newline at end of file +exit 0 diff --git a/webd/Makefile b/webd/Makefile index 985684231..45bf4ccfc 100755 --- a/webd/Makefile +++ b/webd/Makefile @@ -78,7 +78,7 @@ ifeq ($(ARCH),aarch64) endif PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(TARGET_ARCH)-openwrt-linux-$(TARGET_BOARD).tar.gz -PKG_SOURCE_URL:=https://cnt2.cf/webd/$(PKG_VERSION)/ +PKG_SOURCE_URL:=https://webd.cf/webd/$(PKG_VERSION)/ PKG_HASH:=skip UNTAR_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)