You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

565 lines
22 KiB

ddns-scripts: Update to Version 2.0.1-1 Squashed commit of the following: commit fc1d42f069ff930180c5f067c2eb88c9e9df7003 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 18:01:43 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 commit 731f9b4df00a8f29df2c17f102356c4d6980918a Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:59:25 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 personal helper script to create hashes for CA-Certificates for Wget and cURL using https protocol without errors. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit df8f6c9d5d31fde24fe1d673949d272d887505e1 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:56:05 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 50cdf5acb9caecfd9b65ab79696c40fb2bc7037b Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:54:40 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit b1d650a345fb06402c1eac01138cbafcca123a8c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:52:52 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 not needed in this version Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 9532114b03d428a3162b16e06706d3aa50e601bb Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:51:39 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 same function as existing services file but used for IPv6 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit a636bc25c62e23694c009886c13253c9cecc548c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:46:56 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 New file explaining availible parameters. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 52332354fc245861e17c898aa6b806f6c174e9a5 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:44:45 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
10 years ago
ddns-scripts: Update to Version 2.0.1-1 Squashed commit of the following: commit fc1d42f069ff930180c5f067c2eb88c9e9df7003 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 18:01:43 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 commit 731f9b4df00a8f29df2c17f102356c4d6980918a Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:59:25 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 personal helper script to create hashes for CA-Certificates for Wget and cURL using https protocol without errors. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit df8f6c9d5d31fde24fe1d673949d272d887505e1 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:56:05 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 50cdf5acb9caecfd9b65ab79696c40fb2bc7037b Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:54:40 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit b1d650a345fb06402c1eac01138cbafcca123a8c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:52:52 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 not needed in this version Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 9532114b03d428a3162b16e06706d3aa50e601bb Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:51:39 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 same function as existing services file but used for IPv6 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit a636bc25c62e23694c009886c13253c9cecc548c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:46:56 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 New file explaining availible parameters. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 52332354fc245861e17c898aa6b806f6c174e9a5 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:44:45 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
10 years ago
ddns-scripts: Update to Version 2.0.1-1 Squashed commit of the following: commit fc1d42f069ff930180c5f067c2eb88c9e9df7003 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 18:01:43 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 commit 731f9b4df00a8f29df2c17f102356c4d6980918a Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:59:25 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 personal helper script to create hashes for CA-Certificates for Wget and cURL using https protocol without errors. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit df8f6c9d5d31fde24fe1d673949d272d887505e1 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:56:05 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 50cdf5acb9caecfd9b65ab79696c40fb2bc7037b Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:54:40 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit b1d650a345fb06402c1eac01138cbafcca123a8c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:52:52 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 not needed in this version Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 9532114b03d428a3162b16e06706d3aa50e601bb Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:51:39 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 same function as existing services file but used for IPv6 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit a636bc25c62e23694c009886c13253c9cecc548c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:46:56 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 New file explaining availible parameters. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 52332354fc245861e17c898aa6b806f6c174e9a5 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:44:45 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
10 years ago
ddns-scripts: Update to Version 2.0.1-1 Squashed commit of the following: commit fc1d42f069ff930180c5f067c2eb88c9e9df7003 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 18:01:43 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 commit 731f9b4df00a8f29df2c17f102356c4d6980918a Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:59:25 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 personal helper script to create hashes for CA-Certificates for Wget and cURL using https protocol without errors. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit df8f6c9d5d31fde24fe1d673949d272d887505e1 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:56:05 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 50cdf5acb9caecfd9b65ab79696c40fb2bc7037b Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:54:40 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit b1d650a345fb06402c1eac01138cbafcca123a8c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:52:52 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 not needed in this version Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 9532114b03d428a3162b16e06706d3aa50e601bb Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:51:39 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 same function as existing services file but used for IPv6 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit a636bc25c62e23694c009886c13253c9cecc548c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:46:56 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 New file explaining availible parameters. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 52332354fc245861e17c898aa6b806f6c174e9a5 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:44:45 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
10 years ago
ddns-scripts: Update to Version 2.0.1-1 Squashed commit of the following: commit fc1d42f069ff930180c5f067c2eb88c9e9df7003 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 18:01:43 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 commit 731f9b4df00a8f29df2c17f102356c4d6980918a Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:59:25 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 personal helper script to create hashes for CA-Certificates for Wget and cURL using https protocol without errors. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit df8f6c9d5d31fde24fe1d673949d272d887505e1 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:56:05 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 50cdf5acb9caecfd9b65ab79696c40fb2bc7037b Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:54:40 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 rewritten Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit b1d650a345fb06402c1eac01138cbafcca123a8c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:52:52 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 not needed in this version Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 9532114b03d428a3162b16e06706d3aa50e601bb Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:51:39 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 same function as existing services file but used for IPv6 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit a636bc25c62e23694c009886c13253c9cecc548c Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:46:56 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 New file explaining availible parameters. Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit 52332354fc245861e17c898aa6b806f6c174e9a5 Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Sep 21 17:44:45 2014 +0200 [ddns-scripts] Update to Version 2.0.1-1 Sorry GitHub web interface only supports single commits that will be summarized into one pull request. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
10 years ago
  1. #
  2. # Copyright (C) 2008-2018 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. #
  6. include $(TOPDIR)/rules.mk
  7. PKG_NAME:=ddns-scripts
  8. # Version == major.minor.patch
  9. # increase on new functionality (minor) or patches (patch)
  10. PKG_VERSION:=2.7.8
  11. # Release == build
  12. # increase on changes of services files or tld_names.dat
  13. PKG_RELEASE:=20
  14. PKG_LICENSE:=GPL-2.0
  15. PKG_MAINTAINER:=
  16. include $(INCLUDE_DIR)/package.mk
  17. # no default dependencies
  18. PKG_DEFAULT_DEPENDS=
  19. define Package/ddns-scripts/Default
  20. SECTION:=net
  21. CATEGORY:=Network
  22. SUBMENU:=IP Addresses and Names
  23. PKGARCH:=all
  24. endef
  25. ###### *************************************************************************
  26. define Package/ddns-scripts
  27. $(call Package/ddns-scripts/Default)
  28. TITLE:=Dynamic DNS Client scripts (with IPv6 support)
  29. endef
  30. # shown in LuCI package description
  31. define Package/ddns-scripts/description
  32. Dynamic DNS Client scripts (with IPv6 support) - Info: https://openwrt.org/docs/guide-user/services/ddns/client
  33. endef
  34. # shown in menuconfig <Help>
  35. define Package/ddns-scripts/config
  36. help
  37. A highly configurable set of scripts for doing dynamic dns updates.
  38. - IPv6 support
  39. - DNS server support
  40. - Glue Record support (require BIND host or KNOT host)
  41. - DNS requests via TCP
  42. - Proxy server support
  43. - log file support
  44. - support to run once
  45. Version: $(PKG_VERSION)-$(PKG_RELEASE)
  46. Info : https://openwrt.org/docs/guide-user/services/ddns/client
  47. endef
  48. ###### *************************************************************************
  49. define Package/ddns-scripts_cloudflare.com-v4
  50. $(call Package/ddns-scripts/Default)
  51. TITLE:=CloudFlare.com API v4 (requires cURL)
  52. DEPENDS:=ddns-scripts +curl
  53. endef
  54. define Package/ddns-scripts_cloudflare.com-v4/description
  55. Dynamic DNS Client scripts extension for CloudFlare.com API-v4 (require/install cURL)
  56. endef
  57. ###### *************************************************************************
  58. define Package/ddns-scripts_freedns_42_pl
  59. $(call Package/ddns-scripts/Default)
  60. TITLE:=DDNS extension for FreeDNS.42.pl (requires cURL)
  61. DEPENDS:=ddns-scripts +curl
  62. endef
  63. define Package/ddns-scripts_freedns_42_pl/description
  64. Dynamic DNS Client scripts extension for freedns.42.pl
  65. endef
  66. ###### *************************************************************************
  67. define Package/ddns-scripts_godaddy.com-v1
  68. $(call Package/ddns-scripts/Default)
  69. TITLE:=GoDaddy.com (require cURL)
  70. DEPENDS:=ddns-scripts +curl
  71. endef
  72. define Package/ddns-scripts_godaddy.com-v1/description
  73. Dynamic DNS Client scripts extension for GoDaddy.com (require/install cURL)
  74. endef
  75. ###### *************************************************************************
  76. define Package/ddns-scripts_digitalocean.com-v2
  77. $(call Package/ddns-scripts/Default)
  78. TITLE:=digitalocean.com (require cURL)
  79. DEPENDS:=ddns-scripts +curl
  80. endef
  81. define Package/ddns-scripts_digitalocean.com-v2/description
  82. Dynamic DNS Client scripts extension for digitalocean.com (require/install cURL)
  83. endef
  84. define Package/ddns-scripts_digitalocean.com-v2/config
  85. help
  86. The script directly updates a DNS record using the DO API. It requires
  87. "option dns_server" to be set to the server to be used by nsupdate.
  88. "option domain" the dns domain to update the record for (eg. A-record: home.<example.com>)
  89. "option username" the dns record name to update (eg. A-record: <home>.example.com)
  90. "option param_opt" the id of the dns record to update (check using chrome inspector in the DO dns tab)
  91. "option password" the api token generated in the DO panel
  92. endef
  93. ###### *************************************************************************
  94. define Package/ddns-scripts_no-ip_com
  95. $(call Package/ddns-scripts/Default)
  96. TITLE:=DDNS extension for No-IP.com
  97. DEPENDS:=ddns-scripts
  98. endef
  99. define Package/ddns-scripts_no-ip_com/description
  100. Dynamic DNS Client scripts extension for No-IP.com
  101. endef
  102. ###### *************************************************************************
  103. define Package/ddns-scripts_nsupdate
  104. $(call Package/ddns-scripts/Default)
  105. TITLE:=DDNS extension using Bind nsupdate
  106. DEPENDS:=ddns-scripts +bind-client
  107. endef
  108. define Package/ddns-scripts_nsupdate/description
  109. Dynamic DNS Client scripts extension for direct updates using Bind nsupdate
  110. endef
  111. define Package/ddns-scripts_nsupdate/config
  112. help
  113. The script directly updates a PowerDNS (or maybe bind server) via nsupdate
  114. from bind-client package. It requires
  115. "option dns_server" to be set to the server to be used by nsupdate.
  116. "option username" should be set to the key name and
  117. "option password" to the base64 encoded shared secret.
  118. endef
  119. ###### *************************************************************************
  120. define Package/ddns-scripts_route53-v1
  121. $(call Package/ddns-scripts/Default)
  122. TITLE:=Amazon AWS Route 53 API v1
  123. DEPENDS:=ddns-scripts +curl +openssl-util
  124. endef
  125. define Package/ddns-scripts_route53-v1/description
  126. Dynamic DNS Client scripts extension for Amazon AWS Route53. Note: You
  127. must also install ca-certificate or ca-bundle.
  128. It requires:
  129. "option username" to be a valid AWS access key id
  130. "option password" to be the matching AWS secret key id
  131. "option domain" to contain the hosted zone ID
  132. endef
  133. ###### *************************************************************************
  134. define Package/ddns-scripts_cnkuai_cn
  135. $(call Package/ddns-scripts/Default)
  136. TITLE:=CnKuai API
  137. DEPENDS:=ddns-scripts +curl +giflib-utils
  138. endef
  139. define Package/ddns-scripts_cnkuai_cn/description
  140. Dynamic DNS Client scripts extension for CnKuai.Note: You
  141. must also install giflib-utils.
  142. It requires:
  143. "option username" to be a valid CnKuai control panel id
  144. "option password" to be the matching CnKuai control panel password
  145. "option domain" to contain the domain
  146. endef
  147. ###### *************************************************************************
  148. define Build/Configure
  149. endef
  150. define Build/Compile
  151. $(CP) ./files $(PKG_BUILD_DIR)
  152. # ensure that VERSION inside dynamic_dns_functions.sh reflect PKG_VERSION of Makefile
  153. $(SED) '/^VERSION=*/s/.*/VERSION="$(PKG_VERSION)-$(PKG_RELEASE)"/' $(PKG_BUILD_DIR)/files/dynamic_dns_functions.sh
  154. # remove comments, white spaces and empty lines
  155. for FILE in `find $(PKG_BUILD_DIR)/files -type f`; do \
  156. $(SED) 's/^[[:space:]]*//' \
  157. -e '/^#[[:space:]]\|^#$$$$/d' \
  158. -e 's/[[:space:]]#[[:space:]].*$$$$//' \
  159. -e 's/[[:space:]]*$$$$//' \
  160. -e '/^\/\/[[:space:]]/d' \
  161. -e '/^[[:space:]]*$$$$/d' $$$$FILE; \
  162. done
  163. endef
  164. define Package/ddns-scripts/conffiles
  165. /etc/config/ddns
  166. endef
  167. ###### *************************************************************************
  168. define Package/ddns-scripts/preinst
  169. #!/bin/sh
  170. # if NOT run buildroot then stop service
  171. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  172. exit 0 # suppress errors
  173. endef
  174. define Package/ddns-scripts/install
  175. $(INSTALL_DIR) $(1)/etc/uci-defaults
  176. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns
  177. $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
  178. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.hotplug $(1)/etc/hotplug.d/iface/95-ddns
  179. $(INSTALL_DIR) $(1)/etc/init.d
  180. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.init $(1)/etc/init.d/ddns
  181. $(INSTALL_DIR) $(1)/etc/config
  182. $(INSTALL_CONF) $(PKG_BUILD_DIR)/files/ddns.config $(1)/etc/config/ddns
  183. $(INSTALL_DIR) $(1)/etc/ddns
  184. $(INSTALL_DATA) $(PKG_BUILD_DIR)/files/services* $(1)/etc/ddns
  185. $(INSTALL_DIR) $(1)/usr/lib/ddns
  186. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dynamic_dns_*.sh $(1)/usr/lib/ddns
  187. endef
  188. define Package/ddns-scripts/postinst
  189. #!/bin/sh
  190. # if NOT run buildroot and PKG_UPGRADE then (re)start service if enabled
  191. [ -z "$${IPKG_INSTROOT}" -a "$${PKG_UPGRADE}" = "1" ] && {
  192. [ -x /etc/uci-defaults/ddns ] && \
  193. /etc/uci-defaults/ddns && \
  194. rm -f /etc/uci-defaults/ddns >/dev/null 2>&1
  195. /etc/init.d/ddns enabled && \
  196. /etc/init.d/ddns start >/dev/null 2>&1
  197. }
  198. exit 0 # suppress errors
  199. endef
  200. define Package/ddns-scripts/prerm
  201. #!/bin/sh
  202. # if run within buildroot exit
  203. [ -n "$${IPKG_INSTROOT}" ] && exit 0
  204. # stop running scripts
  205. /etc/init.d/ddns stop
  206. /etc/init.d/ddns disable
  207. # clear LuCI indexcache
  208. rm -f /tmp/luci-indexcache >/dev/null 2>&1
  209. exit 0 # suppress errors
  210. endef
  211. ###### *************************************************************************
  212. define Package/ddns-scripts_cloudflare.com-v4/preinst
  213. #!/bin/sh
  214. # if NOT run buildroot then stop service
  215. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  216. exit 0 # suppress errors
  217. endef
  218. define Package/ddns-scripts_cloudflare.com-v4/install
  219. $(INSTALL_DIR) $(1)/etc/uci-defaults
  220. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns_cloudflare.com-v4
  221. $(INSTALL_DIR) $(1)/usr/lib/ddns
  222. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_cloudflare_com_v4.sh $(1)/usr/lib/ddns
  223. endef
  224. define Package/ddns-scripts_cloudflare.com-v4/postinst
  225. #!/bin/sh
  226. # remove old services file entries
  227. /bin/sed -i '/cloudflare\.com-v4/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  228. /bin/sed -i '/cloudflare\.com-v4/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  229. # and create new
  230. printf "%s\\t%s\\n" '"cloudflare.com-v4"' '"update_cloudflare_com_v4.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services
  231. printf "%s\\t%s\\n" '"cloudflare.com-v4"' '"update_cloudflare_com_v4.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services_ipv6
  232. # on real system restart service if enabled
  233. [ -z "$${IPKG_INSTROOT}" ] && {
  234. [ -x /etc/uci-defaults/ddns_cloudflare.com-v4 ] && \
  235. /etc/uci-defaults/ddns_cloudflare.com-v4 && \
  236. rm -f /etc/uci-defaults/ddns_cloudflare.com-v4 >/dev/null 2>&1
  237. /etc/init.d/ddns enabled && \
  238. /etc/init.d/ddns start >/dev/null 2>&1
  239. }
  240. exit 0 # suppress errors
  241. endef
  242. define Package/ddns-scripts_cloudflare.com-v4/prerm
  243. #!/bin/sh
  244. # if NOT run buildroot then stop service
  245. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  246. # remove services file entries
  247. /bin/sed -i '/cloudflare\.com-v4/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  248. /bin/sed -i '/cloudflare\.com-v4/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  249. exit 0 # suppress errors
  250. endef
  251. ###### *************************************************************************
  252. define Package/ddns-scripts_freedns_42_pl/preinst
  253. #!/bin/sh
  254. # if NOT run buildroot then stop service
  255. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  256. exit 0 # suppress errors
  257. endef
  258. define Package/ddns-scripts_freedns_42_pl/install
  259. $(INSTALL_DIR) $(1)/etc/uci-defaults
  260. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns_freedns_42_pl
  261. $(INSTALL_DIR) $(1)/usr/lib/ddns
  262. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_freedns_42_pl.sh $(1)/usr/lib/ddns
  263. endef
  264. define Package/ddns-scripts_freedns_42_pl/postinst
  265. #!/bin/sh
  266. # remove old services file entries
  267. /bin/sed -i '/freedns\.42\.pl/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  268. # and create new
  269. printf "%s\\t%s\\n" '"freedns.42.pl"' '"update_freedns_42_pl.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services
  270. # on real system restart service if enabled
  271. [ -z "$${IPKG_INSTROOT}" ] && {
  272. [ -x /etc/uci-defaults/ddns_freedns_42_pl ] && \
  273. /etc/uci-defaults/ddns_freedns_42_pl && \
  274. rm -f /etc/uci-defaults/ddns_freedns_42_pl >/dev/null 2>&1
  275. /etc/init.d/ddns enabled && \
  276. /etc/init.d/ddns start >/dev/null 2>&1
  277. }
  278. exit 0 # suppress errors
  279. endef
  280. define Package/ddns-scripts_freedns_42_pl/prerm
  281. #!/bin/sh
  282. # if NOT run buildroot then stop service
  283. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  284. # remove services file entries
  285. /bin/sed -i '/freedns\.42\.pl/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  286. exit 0 # suppress errors
  287. endef
  288. ###### *************************************************************************
  289. define Package/ddns-scripts_godaddy.com-v1/preinst
  290. #!/bin/sh
  291. # if NOT run buildroot then stop service
  292. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  293. exit 0 # suppress errors
  294. endef
  295. define Package/ddns-scripts_godaddy.com-v1/install
  296. $(INSTALL_DIR) $(1)/etc/uci-defaults
  297. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns_godaddy.com-v1
  298. $(INSTALL_DIR) $(1)/usr/lib/ddns
  299. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_godaddy_com_v1.sh $(1)/usr/lib/ddns
  300. endef
  301. define Package/ddns-scripts_godaddy.com-v1/postinst
  302. #!/bin/sh
  303. # remove old services file entries
  304. /bin/sed -i '/godaddy\.com-v1/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  305. /bin/sed -i '/godaddy\.com-v1/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  306. # and create new
  307. printf "%s\\t%s\\n" '"godaddy.com-v1"' '"update_godaddy_com_v1.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services
  308. printf "%s\\t%s\\n" '"godaddy.com-v1"' '"update_godaddy_com_v1.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services_ipv6
  309. # on real system restart service if enabled
  310. [ -z "$${IPKG_INSTROOT}" ] && {
  311. [ -x /etc/uci-defaults/ddns_godaddy.com-v1 ] && \
  312. /etc/uci-defaults/ddns_godaddy.com-v1 && \
  313. rm -f /etc/uci-defaults/ddns_godaddy.com-v1 >/dev/null 2>&1
  314. /etc/init.d/ddns enabled \
  315. && /etc/init.d/ddns start >/dev/null 2>&1
  316. }
  317. exit 0 # suppress errors
  318. endef
  319. define Package/ddns-scripts_godaddy.com-v1/prerm
  320. #!/bin/sh
  321. # if NOT run buildroot then stop service
  322. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  323. # remove services file entries
  324. /bin/sed -i '/godaddy\.com-v1/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  325. /bin/sed -i '/godaddy\.com-v1/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  326. exit 0 # suppress errors
  327. endef
  328. ###### *************************************************************************
  329. define Package/ddns-scripts_digitalocean.com-v2/preinst
  330. #!/bin/sh
  331. # if NOT run buildroot then stop service
  332. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  333. exit 0 # suppress errors
  334. endef
  335. define Package/ddns-scripts_digitalocean.com-v2/install
  336. $(INSTALL_DIR) $(1)/etc/uci-defaults
  337. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns_digtalocean.com-v2
  338. $(INSTALL_DIR) $(1)/usr/lib/ddns
  339. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_digitalocean_com_v2.sh $(1)/usr/lib/ddns
  340. endef
  341. define Package/ddns-scripts_digitalocean.com-v2/postinst
  342. #!/bin/sh
  343. # remove old services file entries
  344. /bin/sed -i '/digitalocean\.com-v2/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  345. /bin/sed -i '/digitalocean\.com-v2/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  346. # and create new
  347. printf "%s\\t%s\\n" '"digitalocean.com-v2"' '"update_digitalocean_com_v2.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services
  348. printf "%s\\t%s\\n" '"digitalocean.com-v2"' '"update_digitalocean_com_v2.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services_ipv6
  349. # on real system restart service if enabled
  350. [ -z "$${IPKG_INSTROOT}" ] && {
  351. [ -x /etc/uci-defaults/ddns_digitalocean.com-v2 ] && \
  352. /etc/uci-defaults/ddns_digitalocean.com-v2 && \
  353. rm -f /etc/uci-defaults/ddns_digitalocean.com-v2 >/dev/null 2>&1
  354. /etc/init.d/ddns enabled \
  355. && /etc/init.d/ddns start >/dev/null 2>&1
  356. }
  357. exit 0 # suppress errors
  358. endef
  359. define Package/ddns-scripts_digitalocean.com-v2/prerm
  360. #!/bin/sh
  361. # if NOT run buildroot then stop service
  362. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  363. # remove services file entries
  364. /bin/sed -i '/digitalocean\.com-v2/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  365. /bin/sed -i '/digitalocean\.com-v2/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  366. exit 0 # suppress errors
  367. endef
  368. ###### *************************************************************************
  369. define Package/ddns-scripts_no-ip_com/preinst
  370. #!/bin/sh
  371. # if NOT run buildroot then stop service
  372. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  373. exit 0 # suppress errors
  374. endef
  375. define Package/ddns-scripts_no-ip_com/install
  376. $(INSTALL_DIR) $(1)/etc/uci-defaults
  377. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns_no-ip_com
  378. $(INSTALL_DIR) $(1)/usr/lib/ddns
  379. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_no-ip_com.sh $(1)/usr/lib/ddns
  380. endef
  381. define Package/ddns-scripts_no-ip_com/postinst
  382. #!/bin/sh
  383. # remove old services file entries
  384. /bin/sed -i '/no-ip\.com/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  385. # and create new
  386. printf "%s\\t%s\\n" '"no-ip.com"' '"update_no-ip_com.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services
  387. # on real system restart service if enabled
  388. [ -z "$${IPKG_INSTROOT}" ] && {
  389. [ -x /etc/uci-defaults/ddns_no-ip_com ] && \
  390. /etc/uci-defaults/ddns_no-ip_com && \
  391. rm -f /etc/uci-defaults/ddns_no-ip_com >/dev/null 2>&1
  392. /etc/init.d/ddns enabled && \
  393. /etc/init.d/ddns start >/dev/null 2>&1
  394. }
  395. exit 0 # suppress errors
  396. endef
  397. define Package/ddns-scripts_no-ip_com/prerm
  398. #!/bin/sh
  399. # if NOT run buildroot then stop service
  400. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  401. # remove services file entries
  402. /bin/sed -i '/no-ip\.com/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  403. exit 0 # suppress errors
  404. endef
  405. ###### *************************************************************************
  406. define Package/ddns-scripts_nsupdate/preinst
  407. #!/bin/sh
  408. # if NOT run buildroot then stop service
  409. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  410. exit 0 # suppress errors
  411. endef
  412. define Package/ddns-scripts_nsupdate/install
  413. $(INSTALL_DIR) $(1)/etc/uci-defaults
  414. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns_nsupdate
  415. $(INSTALL_DIR) $(1)/usr/lib/ddns
  416. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_nsupdate.sh $(1)/usr/lib/ddns
  417. endef
  418. define Package/ddns-scripts_nsupdate/postinst
  419. #!/bin/sh
  420. # remove old services file entries
  421. /bin/sed -i '/bind-nsupdate/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  422. /bin/sed -i '/bind-nsupdate/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  423. # and create new
  424. printf "%s\\t%s\\n" '"bind-nsupdate"' '"update_nsupdate.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services
  425. printf "%s\\t%s\\n" '"bind-nsupdate"' '"update_nsupdate.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services_ipv6
  426. # on real system restart service if enabled
  427. [ -z "$${IPKG_INSTROOT}" ] && {
  428. [ -x /etc/uci-defaults/ddns_nsupdate ] && \
  429. /etc/uci-defaults/ddns_nsupdate && \
  430. rm -f /etc/uci-defaults/ddns_nsupdate >/dev/null 2>&1
  431. /etc/init.d/ddns enabled && \
  432. /etc/init.d/ddns start >/dev/null 2>&1
  433. }
  434. exit 0 # suppress errors
  435. endef
  436. define Package/ddns-scripts_nsupdate/prerm
  437. #!/bin/sh
  438. # if NOT run buildroot then stop service
  439. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  440. # remove services file entries
  441. /bin/sed -i '/bind-nsupdate/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  442. /bin/sed -i '/bind-nsupdate/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  443. exit 0 # suppress errors
  444. endef
  445. ###### *************************************************************************
  446. define Package/ddns-scripts_route53-v1/preinst
  447. #!/bin/sh
  448. # if NOT run buildroot then stop service
  449. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  450. exit 0 # suppress errors
  451. endef
  452. define Package/ddns-scripts_route53-v1/install
  453. $(INSTALL_DIR) $(1)/etc/uci-defaults
  454. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns_route53-v1
  455. $(INSTALL_DIR) $(1)/usr/lib/ddns
  456. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_route53_v1.sh $(1)/usr/lib/ddns
  457. endef
  458. define Package/ddns-scripts_route53-v1/postinst
  459. #!/bin/sh
  460. # remove old services file entries
  461. /bin/sed -i '/route53-v1/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  462. /bin/sed -i '/route53-v1/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  463. # and create new
  464. printf "%s\\t%s\\n" '"route53-v1"' '"update_route53_v1.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services
  465. printf "%s\\t%s\\n" '"route53-v1"' '"update_route53_v1.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services_ipv6
  466. # on real system restart service if enabled
  467. [ -z "$${IPKG_INSTROOT}" ] && {
  468. [ -x /etc/uci-defaults/ddns_route53-v1 ] && \
  469. /etc/uci-defaults/ddns_route53-v1 && \
  470. rm -f /etc/uci-defaults/route53.com-v1 >/dev/null 2>&1
  471. /etc/init.d/ddns enabled \
  472. && /etc/init.d/ddns start >/dev/null 2>&1
  473. }
  474. exit 0 # suppress errors
  475. endef
  476. define Package/ddns-scripts_route53-v1/prerm
  477. #!/bin/sh
  478. # if NOT run buildroot then stop service
  479. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  480. # remove services file entries
  481. /bin/sed -i 'route53-v1/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  482. /bin/sed -i 'route53-v1/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  483. exit 0 # suppress errors
  484. endef
  485. ###### *************************************************************************
  486. define Package/ddns-scripts_cnkuai_cn/preinst
  487. #!/bin/sh
  488. # if NOT run buildroot then stop service
  489. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  490. exit 0 # suppress errors
  491. endef
  492. define Package/ddns-scripts_cnkuai_cn/install
  493. $(INSTALL_DIR) $(1)/etc/uci-defaults
  494. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/ddns.defaults $(1)/etc/uci-defaults/ddns_cnkuai_cn
  495. $(INSTALL_DIR) $(1)/usr/lib/ddns
  496. $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/update_cnkuai_cn.sh $(1)/usr/lib/ddns
  497. endef
  498. define Package/ddns-scripts_cnkuai_cn/postinst
  499. #!/bin/sh
  500. # remove old services file entries
  501. /bin/sed -i '/cnkuai.cn/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  502. /bin/sed -i '/cnkuai.cn/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  503. # and create new
  504. printf "%s\\t%s\\n" '"cnkuai.cn"' '"update_cnkuai_cn.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services
  505. printf "%s\\t%s\\n" '"cnkuai.cn"' '"update_cnkuai_cn.sh"' >> $${IPKG_INSTROOT}/etc/ddns/services_ipv6
  506. # on real system restart service if enabled
  507. [ -z "$${IPKG_INSTROOT}" ] && {
  508. [ -x /etc/uci-defaults/ddns_cnkuai_cn ] && \
  509. /etc/uci-defaults/ddns_cnkuai_cn && \
  510. rm -f /etc/uci-defaults/cnkuai.cn >/dev/null 2>&1
  511. /etc/init.d/ddns enabled \
  512. && /etc/init.d/ddns start >/dev/null 2>&1
  513. }
  514. exit 0 # suppress errors
  515. endef
  516. define Package/ddns-scripts_cnkuai_cn/prerm
  517. #!/bin/sh
  518. # if NOT run buildroot then stop service
  519. [ -z "$${IPKG_INSTROOT}" ] && /etc/init.d/ddns stop >/dev/null 2>&1
  520. # remove services file entries
  521. /bin/sed -i 'cnkuai.cn/d' $${IPKG_INSTROOT}/etc/ddns/services >/dev/null 2>&1
  522. /bin/sed -i 'cnkuai.cn/d' $${IPKG_INSTROOT}/etc/ddns/services_ipv6 >/dev/null 2>&1
  523. exit 0 # suppress errors
  524. endef
  525. ###### *************************************************************************
  526. $(eval $(call BuildPackage,ddns-scripts))
  527. $(eval $(call BuildPackage,ddns-scripts_cloudflare.com-v4))
  528. $(eval $(call BuildPackage,ddns-scripts_freedns_42_pl))
  529. $(eval $(call BuildPackage,ddns-scripts_godaddy.com-v1))
  530. $(eval $(call BuildPackage,ddns-scripts_digitalocean.com-v2))
  531. $(eval $(call BuildPackage,ddns-scripts_no-ip_com))
  532. $(eval $(call BuildPackage,ddns-scripts_nsupdate))
  533. $(eval $(call BuildPackage,ddns-scripts_route53-v1))
  534. $(eval $(call BuildPackage,ddns-scripts_cnkuai_cn))