2006-08-26 08:03:41 +00:00
|
|
|
#
|
2012-05-28 15:12:00 +00:00
|
|
|
# Copyright (C) 2007-2012 OpenWrt.org
|
2006-08-26 08:03:41 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=updatedd
|
2007-08-23 16:40:31 +00:00
|
|
|
PKG_VERSION:=2.6
|
2012-05-28 15:12:00 +00:00
|
|
|
PKG_RELEASE:=9
|
2006-08-26 08:03:41 +00:00
|
|
|
|
2007-10-22 13:40:13 +00:00
|
|
|
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
|
2007-08-23 16:40:31 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_MD5SUM:=f03446105ed043cd5dbd1ab95484d27f
|
2006-08-26 08:03:41 +00:00
|
|
|
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-12-10 09:26:10 +00:00
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2006-08-26 08:03:41 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/updatedd
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-12 08:19:01 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
MENU:=1
|
|
|
|
TITLE:=A tool to update dynamic dns services
|
2009-06-13 17:01:55 +00:00
|
|
|
URL:=http://savannah.nongnu.org/projects/updatedd/
|
2006-08-26 08:03:41 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/updatedd/description
|
2014-03-27 07:04:10 +00:00
|
|
|
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.
|
2007-10-14 04:32:56 +00:00
|
|
|
|
|
|
|
endef
|
|
|
|
|
2010-02-28 16:58:16 +00:00
|
|
|
define Package/updatedd/conffiles
|
|
|
|
/etc/config/updatedd
|
|
|
|
endef
|
|
|
|
|
2006-08-26 08:03:41 +00:00
|
|
|
define Package/updatedd-mod-changeip
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=changeip.com
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd-mod-dyndns
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=dyndns.org
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd-mod-eurodyndns
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=eurodyndns.org
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd-mod-hn
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=hn.org
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd-mod-noip
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=no-ip.com
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd-mod-ods
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=ods.org
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd-mod-ovh
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=ovh.com
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd-mod-regfish
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=regfish.com
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd-mod-tzo
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2006-08-26 08:03:41 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=tzo.com
|
|
|
|
endef
|
|
|
|
|
2007-07-15 06:03:27 +00:00
|
|
|
define Package/updatedd-mod-zoneedit
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-14 02:04:12 +00:00
|
|
|
SUBMENU:=IP Addresses and Names
|
2007-07-15 06:03:27 +00:00
|
|
|
DEPENDS:=updatedd
|
|
|
|
TITLE:=zoneedit.com
|
|
|
|
endef
|
|
|
|
|
2006-08-26 08:03:41 +00:00
|
|
|
define BuildPlugin
|
|
|
|
define Package/$(1)/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $$(1)/usr/lib/updatedd
|
2007-08-23 16:40:31 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/updatedd/$(2).so* $$(1)/usr/lib/updatedd/
|
2006-08-26 08:03:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$$(eval $$(call BuildPackage,$(1)))
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/updatedd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
2007-07-20 12:15:36 +00:00
|
|
|
$(INSTALL_BIN) ./files/updatedd.init $(1)/etc/init.d/updatedd
|
2007-02-28 17:58:09 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
2007-07-20 12:15:36 +00:00
|
|
|
$(INSTALL_DATA) ./files/updatedd.config $(1)/etc/config/updatedd
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-08-23 16:40:31 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/updatedd $(1)/usr/bin/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/updatedd
|
2007-02-28 18:22:39 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
|
2007-09-05 20:00:13 +00:00
|
|
|
$(INSTALL_DATA) ./files/updatedd.hotplug $(1)/etc/hotplug.d/iface/30-updatedd
|
2006-08-26 08:03:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,updatedd))
|
2007-08-23 16:40:31 +00:00
|
|
|
$(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))
|