mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 11:17:34 +08:00
update 2023-12-14 23:35:53
This commit is contained in:
parent
aedcfa59b0
commit
56c59212ff
@ -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
|
||||
|
@ -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}
|
||||
)"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user