1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
#
# Copyright (C) 2007-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=updatedd
PKG_VERSION:=2.6
PKG_RELEASE:=9
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2
PKG_MD5SUM:=f03446105ed043cd5dbd1ab95484d27f
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/updatedd
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
MENU:=1
TITLE:=A tool to update dynamic dns services
URL:=http://savannah.nongnu.org/projects/updatedd/
endef
define Package/updatedd/description
Updatedd is a small tool that will update one of many dynamic
dns services on boot.
Please look at the /etc/init.d/ddns script for more info.
endef
define Package/updatedd/conffiles
/etc/config/updatedd
endef
define Package/updatedd-mod-changeip
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=changeip.com
endef
define Package/updatedd-mod-dyndns
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=dyndns.org
endef
define Package/updatedd-mod-eurodyndns
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=eurodyndns.org
endef
define Package/updatedd-mod-hn
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=hn.org
endef
define Package/updatedd-mod-noip
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=no-ip.com
endef
define Package/updatedd-mod-ods
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=ods.org
endef
define Package/updatedd-mod-ovh
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=ovh.com
endef
define Package/updatedd-mod-regfish
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=regfish.com
endef
define Package/updatedd-mod-tzo
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=tzo.com
endef
define Package/updatedd-mod-zoneedit
SECTION:=net
CATEGORY:=Network
SUBMENU:=IP Addresses and Names
DEPENDS:=updatedd
TITLE:=zoneedit.com
endef
define BuildPlugin
define Package/$(1)/install
$(INSTALL_DIR) $$(1)/usr/lib/updatedd
$(CP) $(PKG_INSTALL_DIR)/usr/lib/updatedd/$(2).so* $$(1)/usr/lib/updatedd/
endef
$$(eval $$(call BuildPackage,$(1)))
endef
define Package/updatedd/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/updatedd.init $(1)/etc/init.d/updatedd
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/updatedd.config $(1)/etc/config/updatedd
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/updatedd $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/lib/updatedd
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_DATA) ./files/updatedd.hotplug $(1)/etc/hotplug.d/iface/30-updatedd
endef
$(eval $(call BuildPackage,updatedd))
$(eval $(call BuildPlugin,updatedd-mod-changeip,libchangeip))
$(eval $(call BuildPlugin,updatedd-mod-dyndns,libdyndns))
$(eval $(call BuildPlugin,updatedd-mod-eurodyndns,libeurodyndns))
$(eval $(call BuildPlugin,updatedd-mod-hn,libhn))
$(eval $(call BuildPlugin,updatedd-mod-noip,libnoip))
$(eval $(call BuildPlugin,updatedd-mod-ods,libods))
$(eval $(call BuildPlugin,updatedd-mod-ovh,libovh))
$(eval $(call BuildPlugin,updatedd-mod-regfish,libregfish))
$(eval $(call BuildPlugin,updatedd-mod-tzo,libtzo))
$(eval $(call BuildPlugin,updatedd-mod-zoneedit,libzoneedit))
|