update 2022-11-02 09:07:01

This commit is contained in:
github-actions[bot] 2022-11-02 09:07:02 +08:00
parent d9226ef9a5
commit 84444cb900
7 changed files with 494 additions and 217 deletions

View File

@ -7,13 +7,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=alist
PKG_VERSION:=3.2.1
PKG_WEB_VERSION:=3.2.1
PKG_VERSION:=3.3.0
PKG_WEB_VERSION:=3.3.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:=8d4c2ee46cac91e24b119cdb316ff498355e66d773da1c3c30b34d69b8b7cd79
PKG_HASH:=6fbf7a16920f58f15e5695518fc7c44c7a43fffe406d761c3e3517cfe905e8ab
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:=0fda7895fe4418d97d48b0d2d65eb70884181a1d4928823ac6a5729dc9a2cc6a
HASH:=f8e93a269da150507f8b156aab0d58918a6b1b365e8494b3fd0225de884b0af8
endef
PKG_CONFIG_DEPENDS:= \

View File

@ -1,6 +1,6 @@
--- a/internal/bootstrap/config.go
+++ b/internal/bootstrap/config.go
@@ -54,11 +54,7 @@ func InitConfig() {
@@ -63,11 +63,7 @@ func InitConfig() {
}
conf.Conf.TempDir = absPath
}

View File

@ -41,8 +41,8 @@ function clear_log()
end
function admin_info()
local username = luci.sys.exec("/usr/bin/alist --conf /etc/alist/config.json password 2>&1 | tail -2 | awk 'NR==1 {print $2}'")
local password = luci.sys.exec("/usr/bin/alist --conf /etc/alist/config.json password 2>&1 | tail -2 | awk 'NR==2 {print $2}'")
local username = luci.sys.exec("/usr/bin/alist --data /etc/alist password 2>&1 | tail -2 | awk 'NR==1 {print $2}'")
local password = luci.sys.exec("/usr/bin/alist --data /etc/alist password 2>&1 | tail -2 | awk 'NR==2 {print $2}'")
luci.http.prepare_content("application/json")
luci.http.write_json({username = username, password = password})

View File

@ -3,7 +3,7 @@
START=99
USE_PROCD=1
PROG=/usr/bin/alist
CONFIG=/etc/alist/config.json
CONFIG_DIR=/etc/alist
get_config() {
config_get_bool enabled $1 enabled 1
@ -61,12 +61,12 @@ start_service() {
fi
set_firewall
cat /dev/null > $temp_dir/alist.log
cat > $CONFIG <<EOF
{"force":false,"address":"$listen_addr","port":$port,"jwt_secret":"","cdn":"","database":{"type":"sqlite3","host":"","port":0,"user":"","password":"","name":"","db_file":"/etc/alist/data.db","table_prefix":"x_","ssl_mode":""},"scheme":{"https":$SSL,"cert_file":"$ssl_cert","key_file":"$ssl_key"},"temp_dir":"$temp_dir","log":{"enable":$LOG,"name":"$temp_dir/alist.log","max_size":10,"max_backups":5,"max_age":28,"compress":false}}
cat > $CONFIG_DIR/config.json <<EOF
{"force":false,"address":"$listen_addr","port":$port,"cdn":"","jwt_secret":"","token_expires_in":48,"database":{"type":"sqlite3","host":"","port":0,"user":"","password":"","name":"","db_file":"/etc/alist/data.db","table_prefix":"x_","ssl_mode":""},"scheme":{"https":$SSL,"cert_file":"$ssl_cert","key_file":"$ssl_key"},"temp_dir":"$temp_dir","log":{"enable":$LOG,"name":"$temp_dir/alist.log","max_size":10,"max_backups":5,"max_age":28,"compress":false}}
EOF
procd_open_instance alist
procd_set_param command $PROG
procd_append_param command server --conf $CONFIG
procd_append_param command server --data $CONFIG_DIR
procd_set_param stdout 1
procd_set_param stderr 1
procd_set_param respawn

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=Xray-core
PKG_VERSION:=1.6.1
PKG_VERSION:=1.6.2
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/XTLS/Xray-core/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=8b4cc89d83b0ded75630119d9e2456764530490c7fb5e8a27de0cdf9c57fef15
PKG_HASH:=bdfeea9dc321007ae4e207c4d6e3a86a6787754a0ac8cf26313b19ce5567c4e9
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_LICENSE:=MPL-2.0

View File

@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=xray-plugin
PKG_VERSION:=1.6.1
PKG_VERSION:=1.6.2
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/teddysun/xray-plugin/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=5ae89aec07534c6bf39e2168ccf475ae481c88f650c4bc6dd542078952648b2a
PKG_HASH:=6ff62f8c9701ca7679dd65e6ace4127daec1970e9a312a2d1c8b25697a8a48da
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE