|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=ddns-scripts |
|
|
PKG_NAME:=ddns-scripts |
|
|
PKG_VERSION:=2.8.2 |
|
|
PKG_VERSION:=2.8.2 |
|
|
PKG_RELEASE:=13 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=14 |
|
|
|
|
|
|
|
|
PKG_LICENSE:=GPL-2.0 |
|
|
PKG_LICENSE:=GPL-2.0 |
|
|
|
|
|
|
|
@ -108,6 +108,17 @@ define Package/ddns-scripts-digitalocean/description |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/ddns-scripts-dnspod |
|
|
|
|
|
$(call Package/ddns-scripts/Default) |
|
|
|
|
|
TITLE:=Extension for dnspod.cn API |
|
|
|
|
|
DEPENDS:=ddns-scripts +curl |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/ddns-scripts-dnspod/description |
|
|
|
|
|
Dynamic DNS Client scripts extension for dnspod.cn API (require curl) |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/ddns-scripts-noip |
|
|
define Package/ddns-scripts-noip |
|
|
$(call Package/ddns-scripts/Default) |
|
|
$(call Package/ddns-scripts/Default) |
|
|
TITLE:=Extension for no-ip.com |
|
|
TITLE:=Extension for no-ip.com |
|
@ -261,6 +272,7 @@ define Package/ddns-scripts-services/install |
|
|
rm $(1)/usr/share/ddns/default/freedns.42.pl.json |
|
|
rm $(1)/usr/share/ddns/default/freedns.42.pl.json |
|
|
rm $(1)/usr/share/ddns/default/godaddy.com-v1.json |
|
|
rm $(1)/usr/share/ddns/default/godaddy.com-v1.json |
|
|
rm $(1)/usr/share/ddns/default/digitalocean.com-v2.json |
|
|
rm $(1)/usr/share/ddns/default/digitalocean.com-v2.json |
|
|
|
|
|
rm $(1)/usr/share/ddns/default/dnspod.cn.json |
|
|
rm $(1)/usr/share/ddns/default/no-ip.com.json |
|
|
rm $(1)/usr/share/ddns/default/no-ip.com.json |
|
|
rm $(1)/usr/share/ddns/default/bind-nsupdate.json |
|
|
rm $(1)/usr/share/ddns/default/bind-nsupdate.json |
|
|
rm $(1)/usr/share/ddns/default/route53-v1.json |
|
|
rm $(1)/usr/share/ddns/default/route53-v1.json |
|
@ -346,6 +358,25 @@ exit 0 |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/ddns-scripts-dnspod/install |
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/ddns |
|
|
|
|
|
$(INSTALL_BIN) ./files/usr/lib/ddns/update_dnspod_cn.sh \
|
|
|
|
|
|
$(1)/usr/lib/ddns |
|
|
|
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/ddns/default |
|
|
|
|
|
$(INSTALL_DATA) ./files/usr/share/ddns/default/dnspod.cn.json \
|
|
|
|
|
|
$(1)/usr/share/ddns/default/ |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/ddns-scripts-dnspod/prerm |
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
if [ -z "$${IPKG_INSTROOT}" ]; then |
|
|
|
|
|
/etc/init.d/ddns stop |
|
|
|
|
|
fi |
|
|
|
|
|
exit 0 |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/ddns-scripts-noip/install |
|
|
define Package/ddns-scripts-noip/install |
|
|
$(INSTALL_DIR) $(1)/usr/lib/ddns |
|
|
$(INSTALL_DIR) $(1)/usr/lib/ddns |
|
|
$(INSTALL_BIN) ./files/usr/lib/ddns/update_no-ip_com.sh \
|
|
|
$(INSTALL_BIN) ./files/usr/lib/ddns/update_no-ip_com.sh \
|
|
@ -466,6 +497,7 @@ $(eval $(call BuildPackage,ddns-scripts-cloudflare)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-freedns)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-freedns)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-godaddy)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-godaddy)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-digitalocean)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-digitalocean)) |
|
|
|
|
|
$(eval $(call BuildPackage,ddns-scripts-dnspod)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-noip)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-noip)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-nsupdate)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-nsupdate)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-route53)) |
|
|
$(eval $(call BuildPackage,ddns-scripts-route53)) |
|
|