update 2023-12-14 23:35:53

This commit is contained in:
github-actions[bot] 2023-12-14 23:35:53 +08:00
parent aedcfa59b0
commit 56c59212ff
6 changed files with 10 additions and 8 deletions

View File

@ -16,7 +16,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-amlogic
PKG_VERSION:=3.1.213
PKG_VERSION:=3.1.214
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0 License

View File

@ -142,7 +142,7 @@ check_updated() {
firmware_tags_array+=("${firmware_tags_name}")
fi
done < <(
curl -fsSL \
curl -fsSL -m 10 \
https://github.com/${server_firmware_url}/releases?page=${i} |
grep -oE 'releases/tag/([^" ]+)'
)
@ -173,7 +173,7 @@ check_updated() {
# Retrieve the HTML code of the tags list page
html_code="$(
curl -fsSL \
curl -fsSL -m 10 \
https://github.com/${server_firmware_url}/releases/expanded_assets/${firmware_releases_tag}
)"

View File

@ -142,7 +142,7 @@ check_kernel() {
# Check the version on the server
latest_version="$(
curl -fsSL \
curl -fsSL -m 10 \
${kernel_api}/releases/expanded_assets/kernel_${kernel_tag} |
grep -oE "${main_line_version}.[0-9]+.tar.gz" | sed 's/.tar.gz//' |
sort -urV | head -n 1

View File

@ -102,7 +102,7 @@ tolog "02. Start querying plugin version..."
# Get the latest version
latest_version="$(
curl -fsSL \
curl -fsSL -m 10 \
https://github.com/ophub/luci-app-amlogic/releases |
grep -oE 'expanded_assets/[0-9]+.[0-9]+.[0-9]+(-[0-9]+)?' | sed 's|expanded_assets/||' |
sort -urV | head -n 1

View File

@ -22,7 +22,9 @@ function get_default_gateway(dump) {
for (let j in i["route"] || []) {
if (j["target"] == "0.0.0.0") {
dgs[j["nexthop"]] = true;
dgs[j["source"]] = true;
if (j["source"] != "0.0.0.0/0") {
dgs[j["source"]] = true;
}
}
}
};

View File

@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=natflow
PKG_VERSION:=20231214
PKG_VERSION:=20231217
PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)?
PKG_HASH:=4fc87666ea3c951e4fdfa94efa168090da1b8d9748cea5ff38f1302b3b05d9d4
PKG_HASH:=9d5abfe4714763664514517f89cec3415b76401c5dd7251948343044992abca3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MAINTAINER:=Chen Minqiang <ptpt52@gmail.com>