From 8bcb6b05ddae5e1446a1d93a56ebe7e5d4ff2879 Mon Sep 17 00:00:00 2001 From: sbwml Date: Sun, 8 Sep 2024 14:53:50 +0800 Subject: [PATCH] alist: bump to v3.37.0 --- alist/Makefile | 8 ++++---- ...able-delete-of-temp-directory-at-startup.patch | 15 --------------- 2 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 alist/patches/001-disable-delete-of-temp-directory-at-startup.patch diff --git a/alist/Makefile b/alist/Makefile index 0b40dad4..f73df1c7 100644 --- a/alist/Makefile +++ b/alist/Makefile @@ -7,13 +7,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=alist -PKG_VERSION:=3.36.0 -PKG_WEB_VERSION:=3.36.0 +PKG_VERSION:=3.37.0 +PKG_WEB_VERSION:=3.37.0 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:=809072becc16613755c33286c5b19539f81dcb2b40f0c4cd4838c4614946c874 +PKG_HASH:=dc2efcc420f6071e59a7a87431856550c3adfffdd20193469ff7d9010e8f6426 PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILE:=LICENSE @@ -23,7 +23,7 @@ define Download/$(PKG_NAME)-web FILE:=$(PKG_NAME)-web-$(PKG_WEB_VERSION).tar.gz URL_FILE:=dist.tar.gz URL:=https://github.com/alist-org/alist-web/releases/download/$(PKG_WEB_VERSION)/ - HASH:=b997d3ecf92f447cc1daca9b1ae9b9dc3f28445589db3dc054174ecc15a600a9 + HASH:=4d300940ec66ae4d57dc2e752a8a6a1049cb0b6d13305ad2ed0af10536c929fe endef PKG_BUILD_DEPENDS:=golang/host 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 deleted file mode 100644 index 071ec6e8..00000000 --- a/alist/patches/001-disable-delete-of-temp-directory-at-startup.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/internal/bootstrap/config.go -+++ b/internal/bootstrap/config.go -@@ -68,11 +68,7 @@ func InitConfig() { - } - conf.Conf.TempDir = absPath - } -- err := os.RemoveAll(filepath.Join(conf.Conf.TempDir)) -- if err != nil { -- log.Errorln("failed delete temp file:", err) -- } -- err = os.MkdirAll(conf.Conf.TempDir, 0o777) -+ err := os.MkdirAll(conf.Conf.TempDir, 0o777) - if err != nil { - log.Fatalf("create temp dir error: %+v", err) - }