ddns-scripts_aliyun: use uclient-fetch replace wget-ssl

This commit is contained in:
coolsnowwolf 2021-06-22 18:42:25 +08:00
parent 0b2a95ce24
commit 07863551c8
3 changed files with 6 additions and 3 deletions

View File

@ -43,9 +43,12 @@ DEFAULT_PACKAGES.nas:=\
DEFAULT_PACKAGES.router:=\
dnsmasq-full \
firewall \
ip6tables \
iptables \
ppp \
ppp-mod-pppoe \
odhcp6c \
odhcpd-ipv6only \
luci-newapi block-mount coremark kmod-nf-nathelper kmod-nf-nathelper-extra kmod-ipt-raw \
default-settings luci luci-app-ddns luci-app-upnp luci-app-autoreboot \
luci-app-filetransfer luci-app-vsftpd luci-app-ssr-plus luci-app-unblockmusic luci-app-arpbind \

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-scripts_aliyun
PKG_VERSION:=1.0.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=GPLv2
PKG_MAINTAINER:=Sense <sensec@gmail.com>
@ -17,7 +17,7 @@ define Package/$(PKG_NAME)
SUBMENU:=IP Addresses and Names
TITLE:=DDNS extension for AliYun.com
PKGARCH:=all
DEPENDS:=+ddns-scripts +wget +openssl-util
DEPENDS:=+ddns-scripts +uclient-fetch +libustream-openssl +openssl-util
endef
define Package/$(PKG_NAME)/description

View File

@ -42,7 +42,7 @@ __DOMAIN="${domain#*@}"
# 构造基本通信命令
build_command() {
__CMDBASE="$WGET_SSL --no-hsts -nv -t 1 -O $DATFILE -o $ERRFILE"
__CMDBASE="$WGET_SSL -O $DATFILE -o $ERRFILE"
# 绑定用于通信的主机/IP
if [ -n "$bind_network" ]; then
local bind_ip run_prog