@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
# no default dependencies
PKG_DEFAULT_DEPENDS =
d e f i n e P a c k a g e / $( PKG_NAME ) / D e f a u l t
d e f i n e P a c k a g e / d d n s - s c r i p t s / D e f a u l t
SECTION:= net
CATEGORY:= Network
SUBMENU:= IP Addresses and Names
@ -30,16 +30,16 @@ define Package/$(PKG_NAME)/Default
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME )
$( call Package/$( PKG_NAME) /Default)
d e f i n e P a c k a g e / d d n s - s c r i p t s
$( call Package/ddns-scripts /Default)
TITLE:= Dynamic DNS Client scripts ( with IPv6 support)
e n d e f
# shown in LuCI package description
d e f i n e P a c k a g e / $( PKG_NAME ) / d e s c r i p t i o n
d e f i n e P a c k a g e / d d n s - s c r i p t s / d e s c r i p t i o n
Dynamic DNS Client scripts ( with IPv6 support) - Info: http://wiki.openwrt.org/doc/howto/ddns.client
e n d e f
# shown in menuconfig <Help>
d e f i n e P a c k a g e / $( PKG_NAME ) / c o n f i g
d e f i n e P a c k a g e / d d n s - s c r i p t s / c o n f i g
help
A highly configurable set of scripts for doing dynamic dns updates.
- IPv6 support
@ -54,55 +54,55 @@ define Package/$(PKG_NAME)/config
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e
$( call Package/$( PKG_NAME) /Default)
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e
$( call Package/ddns-scripts /Default)
TITLE:= CloudFlare.com API v1 ( deprecated)
DEPENDS:= $( PKG_NAME)
DEPENDS:= ddns-scripts
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e / d e s c r i p t i o n
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e / d e s c r i p t i o n
Dynamic DNS Client scripts extension for CloudFlare.com API-v1 ( deprecated)
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e . c o m - v 4
$( call Package/$( PKG_NAME) /Default)
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e . c o m - v 4
$( call Package/ddns-scripts /Default)
TITLE:= CloudFlare.com API v4 ( require cURL)
DEPENDS:= $( PKG_NAME) +curl
DEPENDS:= ddns-scripts +curl
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e . c o m - v 4 / d e s c r i p t i o n
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e . c o m - v 4 / d e s c r i p t i o n
Dynamic DNS Client scripts extension for CloudFlare.com API-v4 ( require/install cURL)
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ g o d a d d y . c o m - v 1
$( call Package/$( PKG_NAME) /Default)
d e f i n e P a c k a g e / d d n s - s c r i p t s _ g o d a d d y . c o m - v 1
$( call Package/ddns-scripts /Default)
TITLE:= GoDaddy.com ( require cURL)
DEPENDS:= $( PKG_NAME) +curl
DEPENDS:= ddns-scripts +curl
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ g o d a d d y . c o m - v 1 / d e s c r i p t i o n
d e f i n e P a c k a g e / d d n s - s c r i p t s _ g o d a d d y . c o m - v 1 / d e s c r i p t i o n
Dynamic DNS Client scripts extension for GoDaddy.com ( require/install cURL)
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ n o - i p _ c o m
$( call Package/$( PKG_NAME) /Default)
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n o - i p _ c o m
$( call Package/ddns-scripts /Default)
TITLE:= DDNS extension for No-IP.com
DEPENDS:= $( PKG_NAME)
DEPENDS:= ddns-scripts
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n o - i p _ c o m / d e s c r i p t i o n
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n o - i p _ c o m / d e s c r i p t i o n
Dynamic DNS Client scripts extension for No-IP.com
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ n s u p d a t e
$( call Package/$( PKG_NAME) /Default)
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n s u p d a t e
$( call Package/ddns-scripts /Default)
TITLE:= DDNS extension using Bind nsupdate
DEPENDS:= $( PKG_NAME) +bind-client
DEPENDS:= ddns-scripts +bind-client
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n s u p d a t e / d e s c r i p t i o n
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n s u p d a t e / d e s c r i p t i o n
Dynamic DNS Client scripts extension for direct updates using Bind nsupdate
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n s u p d a t e / c o n f i g
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n s u p d a t e / c o n f i g
help
The script directly updates a PowerDNS ( or maybe bind server) via nsupdate
from bind-client package. It requires
@ -132,18 +132,18 @@ define Build/Compile
gzip -f9 $( PKG_BUILD_DIR) /files/public_suffix_list.dat
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / c o n f f i l e s
d e f i n e P a c k a g e / d d n s - s c r i p t s / c o n f f i l e s
/ e t c / c o n f i g / d d n s
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) / p r e i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s / p r e i n s t
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / i n s t a l l
d e f i n e P a c k a g e / d d n s - s c r i p t s / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/uci-defaults
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/ddns.defaults $( 1) /etc/uci-defaults/ddns
$( INSTALL_DIR) $( 1) /etc/hotplug.d/iface
@ -159,7 +159,7 @@ define Package/$(PKG_NAME)/install
$( INSTALL_DIR) $( 1) /usr/lib/ddns
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/dynamic_dns_*.sh $( 1) /usr/lib/ddns
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / p o s t i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s / p o s t i n s t
#!/bin/sh
# if NOT run buildroot and PKG_UPGRADE then (re)start service if enabled
[ -z " $$ {IPKG_INSTROOT} " -a " $$ {PKG_UPGRADE} " = "1" ] && {
@ -171,7 +171,7 @@ define Package/$(PKG_NAME)/postinst
}
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / p r e r m
d e f i n e P a c k a g e / d d n s - s c r i p t s / p r e r m
#!/bin/sh
# if run within buildroot exit
[ -n " $$ {IPKG_INSTROOT} " ] && exit 0
@ -184,13 +184,13 @@ define Package/$(PKG_NAME)/prerm
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e / p r e i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e / p r e i n s t
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e / i n s t a l l
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/uci-defaults
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/ddns.defaults $( 1) /etc/uci-defaults/ddns_cloudflare
$( INSTALL_DIR) $( 1) /usr/share
@ -198,7 +198,7 @@ define Package/$(PKG_NAME)_cloudflare/install
$( INSTALL_DIR) $( 1) /usr/lib/ddns
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/update_cloudflare_com_v1.sh $( 1) /usr/lib/ddns
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e / p o s t i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e / p o s t i n s t
#!/bin/sh
# remove old services file entries
/bin/sed -i '/cloudflare\.com-v1/d' $$ { IPKG_INSTROOT} /etc/ddns/services >/dev/null 2>& 1
@ -216,7 +216,7 @@ define Package/$(PKG_NAME)_cloudflare/postinst
}
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e / p r e r m
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e / p r e r m
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
@ -227,19 +227,19 @@ define Package/$(PKG_NAME)_cloudflare/prerm
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e . c o m - v 4 / p r e i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e . c o m - v 4 / p r e i n s t
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e . c o m - v 4 / i n s t a l l
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e . c o m - v 4 / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/uci-defaults
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/ddns.defaults $( 1) /etc/uci-defaults/ddns_cloudflare.com-v4
$( INSTALL_DIR) $( 1) /usr/lib/ddns
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/update_cloudflare_com_v4.sh $( 1) /usr/lib/ddns
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e . c o m - v 4 / p o s t i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e . c o m - v 4 / p o s t i n s t
#!/bin/sh
# remove old services file entries
/bin/sed -i '/cloudflare\.com-v4/d' $$ { IPKG_INSTROOT} /etc/ddns/services >/dev/null 2>& 1
@ -257,7 +257,7 @@ define Package/$(PKG_NAME)_cloudflare.com-v4/postinst
}
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ c l o u d f l a r e . c o m - v 4 / p r e r m
d e f i n e P a c k a g e / d d n s - s c r i p t s _ c l o u d f l a r e . c o m - v 4 / p r e r m
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
@ -268,19 +268,19 @@ define Package/$(PKG_NAME)_cloudflare.com-v4/prerm
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ g o d a d d y . c o m - v 1 / p r e i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ g o d a d d y . c o m - v 1 / p r e i n s t
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ g o d a d d y . c o m - v 1 / i n s t a l l
d e f i n e P a c k a g e / d d n s - s c r i p t s _ g o d a d d y . c o m - v 1 / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/uci-defaults
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/ddns.defaults $( 1) /etc/uci-defaults/ddns_godaddy.com-v1
$( INSTALL_DIR) $( 1) /usr/lib/ddns
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/update_godaddy_com_v1.sh $( 1) /usr/lib/ddns
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ g o d a d d y . c o m - v 1 / p o s t i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ g o d a d d y . c o m - v 1 / p o s t i n s t
#!/bin/sh
# remove old services file entries
/bin/sed -i '/godaddy\.com-v1/d' $$ { IPKG_INSTROOT} /etc/ddns/services >/dev/null 2>& 1
@ -298,7 +298,7 @@ define Package/$(PKG_NAME)_godaddy.com-v1/postinst
}
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ g o d a d d y . c o m - v 1 / p r e r m
d e f i n e P a c k a g e / d d n s - s c r i p t s _ g o d a d d y . c o m - v 1 / p r e r m
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
@ -309,19 +309,19 @@ define Package/$(PKG_NAME)_godaddy.com-v1/prerm
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ n o - i p _ c o m / p r e i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n o - i p _ c o m / p r e i n s t
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n o - i p _ c o m / i n s t a l l
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n o - i p _ c o m / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/uci-defaults
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/ddns.defaults $( 1) /etc/uci-defaults/ddns_no-ip_com
$( INSTALL_DIR) $( 1) /usr/lib/ddns
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/update_no-ip_com.sh $( 1) /usr/lib/ddns
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n o - i p _ c o m / p o s t i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n o - i p _ c o m / p o s t i n s t
#!/bin/sh
# remove old services file entries
/bin/sed -i '/no-ip\.com/d' $$ { IPKG_INSTROOT} /etc/ddns/services >/dev/null 2>& 1
@ -337,7 +337,7 @@ define Package/$(PKG_NAME)_no-ip_com/postinst
}
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n o - i p _ c o m / p r e r m
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n o - i p _ c o m / p r e r m
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
@ -347,19 +347,19 @@ define Package/$(PKG_NAME)_no-ip_com/prerm
e n d e f
###### *************************************************************************
d e f i n e P a c k a g e / $( PKG_NAME ) _ n s u p d a t e / p r e i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n s u p d a t e / p r e i n s t
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n s u p d a t e / i n s t a l l
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n s u p d a t e / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/uci-defaults
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/ddns.defaults $( 1) /etc/uci-defaults/ddns_nsupdate
$( INSTALL_DIR) $( 1) /usr/lib/ddns
$( INSTALL_BIN) $( PKG_BUILD_DIR) /files/update_nsupdate.sh $( 1) /usr/lib/ddns
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n s u p d a t e / p o s t i n s t
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n s u p d a t e / p o s t i n s t
#!/bin/sh
# remove old services file entries
/bin/sed -i '/bind-nsupdate/d' $$ { IPKG_INSTROOT} /etc/ddns/services >/dev/null 2>& 1
@ -377,7 +377,7 @@ define Package/$(PKG_NAME)_nsupdate/postinst
}
exit 0 # suppress errors
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) _ n s u p d a t e / p r e r m
d e f i n e P a c k a g e / d d n s - s c r i p t s _ n s u p d a t e / p r e r m
#!/bin/sh
# if NOT run buildroot then stop service
[ -z " $$ {IPKG_INSTROOT} " ] && /etc/init.d/ddns stop >/dev/null 2>& 1
@ -388,9 +388,9 @@ define Package/$(PKG_NAME)_nsupdate/prerm
e n d e f
###### *************************************************************************
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) _cloudflare ) )
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) _cloudflare .com -v 4) )
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) _godaddy .com -v 1) )
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) _no -ip_com ) )
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) _nsupdate ) )
$( eval $ ( call BuildPackage ,ddns -scripts ) )
$( eval $ ( call BuildPackage ,ddns -scripts _cloudflare) )
$( eval $ ( call BuildPackage ,ddns -scripts _cloudflare .com -v 4) )
$( eval $ ( call BuildPackage ,ddns -scripts _godaddy .com -v 1) )
$( eval $ ( call BuildPackage ,ddns -scripts _no -ip_com ) )
$( eval $ ( call BuildPackage ,ddns -scripts _nsupdate) )