Patches directory added
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@55 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
68ab0f5d25
commit
027bd8df29
3 changed files with 71 additions and 0 deletions
20
svn/patches/3com-oc-remote812.patch
Normal file
20
svn/patches/3com-oc-remote812.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
#
|
||||||
|
# patch created with `svn diff -r53 . > patches/3com-oc-remote812.patch`
|
||||||
|
# on Wed Jun 6 15:07:45 CEST 2007
|
||||||
|
# applied on r53
|
||||||
|
#
|
||||||
|
# This patch was send to me by The_Beast on IRC.
|
||||||
|
#
|
||||||
|
Index: ddclient
|
||||||
|
===================================================================
|
||||||
|
--- ddclient (revision 53)
|
||||||
|
+++ ddclient (working copy)
|
||||||
|
@@ -162,7 +162,7 @@
|
||||||
|
'3com-oc-remote812' => {
|
||||||
|
'name' => '3com OfficeConnect Remote 812',
|
||||||
|
'url' => '/callEvent',
|
||||||
|
- 'skip' => '.*IP address in use',
|
||||||
|
+ 'skip' => '.*LOCAL',
|
||||||
|
},
|
||||||
|
'e-tech' => {
|
||||||
|
'name' => 'E-tech Router',
|
44
svn/patches/easydns.patch
Normal file
44
svn/patches/easydns.patch
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
#
|
||||||
|
# patch from
|
||||||
|
#
|
||||||
|
--- ddclient 2004-11-24 17:23:56.000000000 +0100
|
||||||
|
+++ ddclient.orig 2005-01-25 10:03:22.640483000 +0100
|
||||||
|
@@ -257,6 +257,11 @@
|
||||||
|
'mx' => setv(T_OFQDN, 0, 1, 1, '', undef),
|
||||||
|
'backupmx' => setv(T_BOOL, 0, 1, 1, 0, undef),
|
||||||
|
},
|
||||||
|
+ 'easydns-common-defaults' => {
|
||||||
|
+ 'wildcard' => setv(T_BOOL, 0, 1, 1, 0, undef),
|
||||||
|
+ 'mx' => setv(T_OFQDN, 0, 1, 1, '', undef),
|
||||||
|
+ 'backupmx' => setv(T_BOOL, 0, 1, 1, 0, undef),
|
||||||
|
+ },
|
||||||
|
'dnspark-common-defaults' => {
|
||||||
|
'mx' => setv(T_OFQDN, 0, 1, 1, '', undef),
|
||||||
|
'mxpri' => setv(T_NUMBER, 0, 0, 1, 5, undef),
|
||||||
|
@@ -319,6 +324,7 @@
|
||||||
|
'variables' => merge(
|
||||||
|
{ 'server' => setv(T_FQDNP, 1, 0, 1, 'members.easydns.com', undef) },
|
||||||
|
{ 'min-interval' => setv(T_DELAY, 0, 0, 1, interval('5m'), 0),},
|
||||||
|
+ $variables{'easydns-common-defaults'},
|
||||||
|
$variables{'service-common-defaults'},
|
||||||
|
),
|
||||||
|
},
|
||||||
|
@@ -2487,14 +2493,14 @@
|
||||||
|
info("setting IP address to %s for %s", $ip, $hosts);
|
||||||
|
verbose("UPDATE:","updating %s", $hosts);
|
||||||
|
|
||||||
|
- #'http://members.easydns.com:80/dyn/ez-ipupdate.php?action=edit&myip=10.20.30.40&host_id=test.burry.ca&'
|
||||||
|
+ #'http://members.easydns.com/dyn/dyndns.php?hostname=test.burry.ca&myip=10.20.30.40&wildcard=ON'
|
||||||
|
|
||||||
|
my $url;
|
||||||
|
- $url = "http://$config{$h}{'server'}/dyn/ez-ipupdate.php?action=edit";
|
||||||
|
- $url .= "&host_id=$hosts";
|
||||||
|
+ $url = "http://$config{$h}{'server'}/dyn/dyndns.php?";
|
||||||
|
+ $url .= "hostname=$hosts";
|
||||||
|
$url .= "&myip=";
|
||||||
|
$url .= $ip if $ip;
|
||||||
|
- $url .= "&wildcard=" . ynu($config{$h}{'wildcard'}, 'YES', 'NO', 'NO') if defined $config{$h}{'wildcard'};
|
||||||
|
+ $url .= "&wildcard=" . ynu($config{$h}{'wildcard'}, 'ON', 'OFF', 'OFF') if defined $config{$h}{'wildcard'};
|
||||||
|
|
||||||
|
if ($config{$h}{'mx'}) {
|
||||||
|
$url .= "&mx=$config{$h}{'mx'}";
|
7
svn/patches/eurodns.patch
Normal file
7
svn/patches/eurodns.patch
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
2252a2253,2254
|
||||||
|
> #my $url = "http://$config{$h}{'server'}/nic/update?system=";
|
||||||
|
>
|
||||||
|
2253a2256,2258
|
||||||
|
> if ($config{$h}{'server'} =~ /.*eurodyndns.*/i) { #hack for EuroDynDNS
|
||||||
|
> $url = "http://$config{$h}{'server'}/update/?system=";
|
||||||
|
> }
|
Loading…
Reference in a new issue