2 # Copyright (C) 2007-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
15 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2
16 PKG_MD5SUM:=f03446105ed043cd5dbd1ab95484d27f
22 include $(INCLUDE_DIR)/package.mk
24 define Package/updatedd
27 SUBMENU:=IP Addresses and Names
29 TITLE:=A tool to update dynamic dns services
30 URL:=http://savannah.nongnu.org/projects/updatedd/
33 define Package/updatedd/description
34 Updatedd is a small tool that will update one of many dynamic
36 Please look at the /etc/init.d/ddns script for more info.
40 define Package/updatedd/conffiles
44 define Package/updatedd-mod-changeip
47 SUBMENU:=IP Addresses and Names
52 define Package/updatedd-mod-dyndns
55 SUBMENU:=IP Addresses and Names
60 define Package/updatedd-mod-eurodyndns
63 SUBMENU:=IP Addresses and Names
68 define Package/updatedd-mod-hn
71 SUBMENU:=IP Addresses and Names
76 define Package/updatedd-mod-noip
79 SUBMENU:=IP Addresses and Names
84 define Package/updatedd-mod-ods
87 SUBMENU:=IP Addresses and Names
92 define Package/updatedd-mod-ovh
95 SUBMENU:=IP Addresses and Names
100 define Package/updatedd-mod-regfish
103 SUBMENU:=IP Addresses and Names
108 define Package/updatedd-mod-tzo
111 SUBMENU:=IP Addresses and Names
116 define Package/updatedd-mod-zoneedit
119 SUBMENU:=IP Addresses and Names
125 define Package/$(1)/install
126 $(INSTALL_DIR) $$(1)/usr/lib/updatedd
127 $(CP) $(PKG_INSTALL_DIR)/usr/lib/updatedd/$(2).so* $$(1)/usr/lib/updatedd/
130 $$(eval $$(call BuildPackage,$(1)))
133 define Package/updatedd/install
134 $(INSTALL_DIR) $(1)/etc/init.d
135 $(INSTALL_BIN) ./files/updatedd.init $(1)/etc/init.d/updatedd
136 $(INSTALL_DIR) $(1)/etc/config
137 $(INSTALL_DATA) ./files/updatedd.config $(1)/etc/config/updatedd
138 $(INSTALL_DIR) $(1)/usr/bin
139 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/updatedd $(1)/usr/bin/
140 $(INSTALL_DIR) $(1)/usr/lib/updatedd
141 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
142 $(INSTALL_DATA) ./files/updatedd.hotplug $(1)/etc/hotplug.d/iface/30-updatedd
145 $(eval $(call BuildPackage,updatedd))
146 $(eval $(call BuildPlugin,updatedd-mod-changeip,libchangeip))
147 $(eval $(call BuildPlugin,updatedd-mod-dyndns,libdyndns))
148 $(eval $(call BuildPlugin,updatedd-mod-eurodyndns,libeurodyndns))
149 $(eval $(call BuildPlugin,updatedd-mod-hn,libhn))
150 $(eval $(call BuildPlugin,updatedd-mod-noip,libnoip))
151 $(eval $(call BuildPlugin,updatedd-mod-ods,libods))
152 $(eval $(call BuildPlugin,updatedd-mod-ovh,libovh))
153 $(eval $(call BuildPlugin,updatedd-mod-regfish,libregfish))
154 $(eval $(call BuildPlugin,updatedd-mod-tzo,libtzo))
155 $(eval $(call BuildPlugin,updatedd-mod-zoneedit,libzoneedit))