diff --git a/alist/Makefile b/alist/Makefile index b771ae92c..1b482d24d 100644 --- a/alist/Makefile +++ b/alist/Makefile @@ -7,13 +7,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=alist -PKG_VERSION:=3.0.2 +PKG_VERSION:=3.0.3 PKG_WEB_VERSION:=3.0.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/alist-org/alist/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=a8d9af1a920f040f7c20157c90700b58cd61e568de1527b231dc0181c5d16713 +PKG_HASH:=55c4d7c5ab50e16e2711d25403a522f251838ba4e8c1fcab0340d9ca6e42d274 PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILE:=LICENSE @@ -26,7 +26,9 @@ define Download/$(PKG_NAME)-web HASH:=2cbf1a245ab477499dfd3970fb898bf2748c090045fd2e3a107a5082d385e1f8 endef -PKG_CONFIG_DEPENDS:=CONFIG_ALIST_COMPRESS_UPX +PKG_CONFIG_DEPENDS:= \ + CONFIG_ALIST_COMPRESS_GOPROXY \ + CONFIG_ALIST_COMPRESS_UPX PKG_BUILD_DEPENDS:=golang/host PKG_BUILD_PARALLEL:=1 @@ -63,8 +65,17 @@ define Package/$(PKG_NAME)/config config ALIST_COMPRESS_UPX bool "Compress executable files with UPX" default n + +config ALIST_COMPRESS_GOPROXY + bool "Compiling with GOPROXY proxy" + default n endef +ifeq ($(CONFIG_ALIST_COMPRESS_GOPROXY),y) + export GO111MODULE=on + export GOPROXY=https://mirrors.aliyun.com/goproxy/ +endif + define Build/Prepare $(call Build/Prepare/Default) $(eval $(call Download,$(PKG_NAME)-web)) diff --git a/alist/patches/001-disable-delete-of-temp-directory-at-startup.patch b/alist/patches/001-disable-delete-of-temp-directory-at-startup.patch index ad5c4bdcc..152f90bb2 100644 --- a/alist/patches/001-disable-delete-of-temp-directory-at-startup.patch +++ b/alist/patches/001-disable-delete-of-temp-directory-at-startup.patch @@ -1,6 +1,6 @@ --- a/internal/bootstrap/config.go +++ b/internal/bootstrap/config.go -@@ -55,11 +55,7 @@ func InitConfig() { +@@ -54,11 +54,7 @@ func InitConfig() { } conf.Conf.TempDir = absPath } @@ -8,8 +8,8 @@ - if err != nil { - log.Errorln("failed delete temp file:", err) - } -- err = os.MkdirAll(conf.Conf.TempDir, 0700) -+ err := os.MkdirAll(conf.Conf.TempDir, 0700) +- err = os.MkdirAll(conf.Conf.TempDir, 0777) ++ err := os.MkdirAll(conf.Conf.TempDir, 0777) if err != nil { log.Fatalf("create temp dir error: %+v", err) } diff --git a/luci-app-gpsysupgrade/luasrc/model/cbi/gpsysupgrade/sysupgrade.lua b/luci-app-gpsysupgrade/luasrc/model/cbi/gpsysupgrade/sysupgrade.lua index 8ea2a660a..a35fa552e 100644 --- a/luci-app-gpsysupgrade/luasrc/model/cbi/gpsysupgrade/sysupgrade.lua +++ b/luci-app-gpsysupgrade/luasrc/model/cbi/gpsysupgrade/sysupgrade.lua @@ -451,6 +451,10 @@ function to_check() model = "kirkwood_generic/linksys_e4200-v2" check_update() download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-kirkwood-linksys_e4200-v2-squashfs-sysupgrade.bin" + elseif board_name:match("thunder%-onecloud$") then + model = "meson_meson8/thunder-onecloud" + check_update() + download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-meson-meson8b-thunder-onecloud-ext4-sdcard.img.gz" else local needs_update = false return { diff --git a/my-default-settings/files/etc/nginx/uci.conf.template b/my-default-settings/files/etc/nginx/uci.conf.template index 8406dd1c0..266821c92 100644 --- a/my-default-settings/files/etc/nginx/uci.conf.template +++ b/my-default-settings/files/etc/nginx/uci.conf.template @@ -18,7 +18,7 @@ http { default_type application/octet-stream; sendfile on; - client_max_body_size 1024m; + client_max_body_size 1536mm; client_header_buffer_size 512k; large_client_header_buffers 4 512k; diff --git a/natflow/Makefile b/natflow/Makefile index e7daaf0c8..ecbc32297 100644 --- a/natflow/Makefile +++ b/natflow/Makefile @@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=natflow -PKG_VERSION:=20220929 +PKG_VERSION:=20221001 PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)? -PKG_HASH:=a05de6e25910efe5caf6a6ef2794fe3b68892561443dd79c863055d73c13107c +PKG_HASH:=866d7062845b53c39c1517545e53bf5715dbf49fecc1694e2dec128038e95bf6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_MAINTAINER:=Chen Minqiang @@ -39,7 +39,7 @@ endef include $(INCLUDE_DIR)/kernel-defaults.mk EXTRA_CFLAGS += -DCONFIG_NATFLOW_PATH -DCONFIG_NATFLOW_URLLOGGER -ifneq ($(CONFIG_TARGET_mediatek_mt7622),) +ifneq ($(CONFIG_TARGET_mediatek),) EXTRA_CFLAGS += -DCONFIG_HWNAT_EXTDEV_USE_VLAN_HASH endif diff --git a/smartdns/Makefile b/smartdns/Makefile index 0ecd414da..0db6084f7 100644 --- a/smartdns/Makefile +++ b/smartdns/Makefile @@ -5,12 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=smartdns -PKG_VERSION:=37.2 +PKG_VERSION:=38 PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/pymumu/smartdns/tar.gz/Release$(PKG_VERSION)? -PKG_HASH:=56819ebeb05a6921b6c5ccf27250e720c95eef314b30b408775df99768f1ce03 +PKG_HASH:=58734fade06a2adb9333ec3160f7f641ed1c57d155823d016ec751841768bb00 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-Release$(PKG_VERSION) PKG_MAINTAINER:=Nick Peng