mirror of
https://github.com/kenzok8/openwrt-packages.git
synced 2025-01-08 11:37:36 +08:00
update 2022-08-07 20:16:07
This commit is contained in:
parent
81c65a8d28
commit
729afa89a8
@ -16,7 +16,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-amlogic
|
||||
PKG_VERSION:=3.1.111
|
||||
PKG_VERSION:=3.1.112
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=GPL-2.0 License
|
||||
|
@ -62,8 +62,6 @@ kernel_branch.description = translate("Set the version branch of the openwrt fir
|
||||
kernel_branch:value("5.4", translate("5.4"))
|
||||
kernel_branch:value("5.10", translate("5.10"))
|
||||
kernel_branch:value("5.15", translate("5.15"))
|
||||
kernel_branch:value("5.16", translate("5.16"))
|
||||
kernel_branch:value("5.17", translate("5.17"))
|
||||
kernel_branch:value("5.18", translate("5.18"))
|
||||
kernel_branch:value("5.19", translate("5.19"))
|
||||
local default_kernel_branch = luci.sys.exec("ls /lib/modules/ 2>/dev/null | grep -oE '^[1-9].[0-9]{1,3}'")
|
||||
|
@ -173,7 +173,7 @@ check_updated() {
|
||||
if [[ -n "${api_op_down_line}" && -n "$(echo ${api_op_down_line} | sed -n "/^[0-9]\+$/p")" ]]; then
|
||||
tolog '<input type="button" class="cbi-button cbi-button-reload" value="Download" onclick="return b_check_firmware(this, '"'download_${api_op_down_line}_${latest_updated_at}'"')"/> Latest updated: '${latest_updated_at_format}'' "1"
|
||||
else
|
||||
tolog "02.02 No firmware available." "1"
|
||||
tolog "02.02 No firmware available, please use another kernel branch." "1"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -172,7 +172,7 @@ check_kernel() {
|
||||
|
||||
latest_version="$(cat ${github_api_kernel_library} | grep "name" | grep -oE "${main_line_version}.[0-9]+" | sed -e "s/${main_line_version}.//g" | sort -n | sed -n '$p')"
|
||||
#latest_version="124"
|
||||
[[ -n "${latest_version}" ]] || tolog "02.03 Failed to get the version on the server." "1"
|
||||
[[ -n "${latest_version}" ]] || tolog "02.03 No kernel available, please use another kernel branch." "1"
|
||||
tolog "02.03 current version: ${current_kernel_v}, Latest version: ${main_line_version}.${latest_version}"
|
||||
sleep 2
|
||||
|
||||
|
@ -101,7 +101,7 @@ curl -s "https://api.github.com/repos/ophub/luci-app-amlogic/releases" >${github
|
||||
sleep 1
|
||||
|
||||
server_plugin_version="$(cat ${github_api_plugin} | grep "tag_name" | awk -F '"' '{print $4}' | tr " " "\n" | sort -rV | head -n 1)"
|
||||
[[ -n "${server_plugin_version}" ]] || tolog "02.01 Failed to get the version on the server." "1"
|
||||
[[ -n "${server_plugin_version}" ]] || tolog "02.01 Query failed, please try again." "1"
|
||||
tolog "02.01 current version: ${current_plugin_v}, Latest version: ${server_plugin_version}"
|
||||
sleep 2
|
||||
|
||||
|
@ -5,12 +5,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=smartdns
|
||||
PKG_VERSION:=36.1
|
||||
PKG_VERSION:=37
|
||||
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:=92bba606295869ecdced2c1f0939baa90a9838e554a7f63208da988432769e6f
|
||||
PKG_HASH:=87ddd578d5157e0de06a0e76eaf3c2715d786f6461dba70fd721b6d5cf712b71
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-Release$(PKG_VERSION)
|
||||
|
||||
PKG_MAINTAINER:=Nick Peng <pymumu@gmail.com>
|
||||
|
Loading…
Reference in New Issue
Block a user