Update ddns-go 5.7.1

This commit is contained in:
Pdboy Sir 2024-01-16 10:50:40 +08:00 committed by GitHub
parent fe6038052e
commit af0cba7ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,15 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-go
KG_VERSION:=6.0.3
PKG_VERSION:=5.7.1
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/jeessy2/ddns-go.git
PKG_MIRROR_HASH:=8d4caef96cbf8c3276c50e1a27b79950e3efe9bc1aa9d4509ded98071cf3098a
PKG_SOURCE_VERSION:=fe9f437d9b1c600bdafd5af9c15f2ed9ce193538
PKG_SOURCE_URL:=https://codeload.github.com/jeessy2/ddns-go/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=6f59151f36fbba207d156a905c8de80e26c7b54be9da5d0821d3417204d0eca8
PKG_LICENSE:=AGPL-3.0-only
PKG_LICENSE_FILES:=LICENSE
@ -24,7 +21,6 @@ PKG_MAINTAINER:=herboy2008 <herboy2008@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/jeessy2/ddns-go/v5
@ -48,15 +44,14 @@ define Package/ddns-go/description
support Alidns Dnspod Cloudflare Hicloud Callback Baiducloud porkbun GoDaddy Google Domains.
endef
define Package/ddns-go/install
$(call GoPackage/Package/Install/Bin,$(1))
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./file/ddns-go.init $(1)/etc/init.d/ddns-go
$(INSTALL_BIN) $(CURDIR)/file/ddns-go.init $(1)/etc/init.d/ddns-go
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) ./file/luci-ddns-go.uci-default $(1)/etc/uci-defaults/luci-ddns-go
$(INSTALL_BIN) $(CURDIR)/file/luci-ddns-go.uci-default $(1)/etc/uci-defaults/luci-ddns-go
endef
$(eval $(call GoBinPackage,ddns-go))