/[smecontribs]/rpms/smeserver-ddclient/contribs8/smeserver-ddclient-1.0.0-6-More-DDNS-Services.patch
ViewVC logotype

Contents of /rpms/smeserver-ddclient/contribs8/smeserver-ddclient-1.0.0-6-More-DDNS-Services.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Dec 3 21:34:03 2013 UTC (10 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-ddclient-1_0_2-1_el5_sme, smeserver-ddclient-1_0_2-2_el5_sme, smeserver-ddclient-1_0_0-32_el5_sme, smeserver-ddclient-1_0_0-29_el5_sme, smeserver-ddclient-1_0_2-5_el5_sme, smeserver-ddclient-1_0_2-3_el5_sme, smeserver-ddclient-1_0_2-4_el5_sme, smeserver-ddclient-1_0_0-30_el5_sme, smeserver-ddclient-1_0_0-28_el5_sme, HEAD
Changes since 1.1: +2 -3 lines
Error occurred while calculating annotation data.
* Tue Dec 3 2013 JP Pialasse  <tests@pialasse.com> 1.0.0-28.sme
- patch fix for translation

1 diff -Nur smeserver-ddclient-1.0.0-old/root/etc/e-smith/db/configuration/defaults/ddclient/urlcheckip smeserver-ddclient-1.0.0/root/etc/e-smith/db/configuration/defaults/ddclient/urlcheckip
2 --- smeserver-ddclient-1.0.0-old/root/etc/e-smith/db/configuration/defaults/ddclient/urlcheckip 1970-01-01 01:00:00.000000000 +0100
3 +++ smeserver-ddclient-1.0.0/root/etc/e-smith/db/configuration/defaults/ddclient/urlcheckip 2013-11-26 22:50:00.000000000 +0100
4 @@ -0,0 +1 @@
5 +checkip.dyndns.org
6 diff -Nur smeserver-ddclient-1.0.0-old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/ddclient smeserver-ddclient-1.0.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/ddclient
7 --- smeserver-ddclient-1.0.0-old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/ddclient 2013-11-25 19:08:18.000000000 +0100
8 +++ smeserver-ddclient-1.0.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/ddclient 2013-11-26 23:42:37.000000000 +0100
9 @@ -209,6 +209,30 @@
10 <trans>eurodyndns.org dynamic adresses</trans>
11 </entry>
12 <entry>
13 + <base>DTDNS</base>
14 + <trans>DtDNS (www.dtdns.com) dynamic adresses</trans>
15 + </entry>
16 + <entry>
17 + <base>LOOPIA</base>
18 + <trans>Loopia (loopia.se) dynamic adresses</trans>
19 + </entry>
20 + <entry>
21 + <base>DNSPARK</base>
22 + <trans> Dnspark (dnspark.com) dynamic adresses</trans>
23 + </entry>
24 + <entry>
25 + <base>DYNHOST</base>
26 + <trans> DynHost (ovh.com) dynamic adresses</trans>
27 + </entry>
28 + <entry>
29 + <base>NOIP</base>
30 + <trans> NoIP (noip.com) dynamic adresses</trans>
31 + </entry>
32 + <entry>
33 + <base>CHANGEIP</base>
34 + <trans> ChangeIP (changeip.com) dynamic adresses</trans>
35 + </entry>
36 + <entry>
37 <base>ddclient</base>
38 <trans>Dynamic Clients</trans>
39 </entry>
40 diff -Nur smeserver-ddclient-1.0.0-old/root/etc/e-smith/templates/etc/ddclient.conf/10Headers smeserver-ddclient-1.0.0/root/etc/e-smith/templates/etc/ddclient.conf/10Headers
41 --- smeserver-ddclient-1.0.0-old/root/etc/e-smith/templates/etc/ddclient.conf/10Headers 2013-11-25 19:08:18.000000000 +0100
42 +++ smeserver-ddclient-1.0.0/root/etc/e-smith/templates/etc/ddclient.conf/10Headers 2013-11-26 22:50:00.000000000 +0100
43 @@ -3,5 +3,5 @@
44 syslog=yes # log update msgs to syslog
45 mail=admin # mail update msgs to admin
46 mail-failure=admin
47 -pid=/var/run/ddclient.pid # record PID in file.
48 +pid=/var/run/ddclient/ddclient.pid # record PID in file.
49 #
50 diff -Nur smeserver-ddclient-1.0.0-old/root/etc/e-smith/templates/etc/ddclient.conf/20Declaration smeserver-ddclient-1.0.0/root/etc/e-smith/templates/etc/ddclient.conf/20Declaration
51 --- smeserver-ddclient-1.0.0-old/root/etc/e-smith/templates/etc/ddclient.conf/20Declaration 2013-11-25 19:08:18.000000000 +0100
52 +++ smeserver-ddclient-1.0.0/root/etc/e-smith/templates/etc/ddclient.conf/20Declaration 2013-11-26 23:42:11.000000000 +0100
53 @@ -5,7 +5,7 @@
54
55 my $ddb = esmith::DomainsDB->open_ro();
56
57 - $OUT .="use=web, web=checkip.dyndns.org:8245/, web-skip='IP Address:' \n";
58 + $OUT .="use=web, web=$ddclient{'urlcheckip'}\/, web-skip='IP Address:' \n";
59
60 for my $edom ( $ddb->domains )
61 {
62 @@ -82,6 +82,42 @@
63 $pubserv='eurodyndns.org';
64 $protocol='namecheap';
65 }
66 + elsif( $dns eq 'DTDNS' )
67 + {
68 + $explain='## DtDNS (www.dtdns.com) dynamic addresses';
69 + $pubserv='www.dtdns.com';
70 + $protocol='dtdns';
71 + }
72 + elsif( $dns eq 'LOOPIA' )
73 + {
74 + $explain='## Loopia (loopia.se) dynamic addresses';
75 + $pubserv='dns.loopia.se';
76 + $protocol='dyndns2';
77 + }
78 + elsif( $dns eq 'DNSPARK' )
79 + {
80 + $explain='## dnspark.com dynamic addresses';
81 + $pubserv='www.dnspark.com';
82 + $protocol='dnspark';
83 + }
84 + elsif( $dns eq 'DYNHOST' )
85 + {
86 + $explain='## DynHost (ovh.com) dynamic addresses';
87 + $pubserv='www.ovh.com';
88 + $protocol='dyndns2';
89 + }
90 + elsif( $dns eq 'NOIP' )
91 + {
92 + $explain='## Noip (noip.com) dynamic addresses';
93 + $pubserv='dynupdate.no-ip.com';
94 + $protocol='noip';
95 + }
96 + elsif( $dns eq 'CHANGEIP' )
97 + {
98 + $explain='## ChangeIP (changeip.com) dynamic addresses';
99 + $pubserv='nic.changeip.com';
100 + $protocol='dyndns2';
101 + }
102
103 if($pubserv ne '')
104 {
105 @@ -90,7 +126,14 @@
106 $OUT .="##\n";
107 $OUT .="server=".$pubserv.", \\\n";
108 $OUT .="protocol=".$protocol.", \\\n";
109 -
110 + if( $dns eq 'DTDNS' ) {
111 + $OUT .="client=ddclient, \\\n";
112 + }
113 + if( $dns eq 'LOOPIA' ) {
114 + $OUT .="use=web, \\\n";
115 + $OUT .="web=loopia, \\\n";
116 + $OUT .="script=/XDynDNSServer/XDynDNS.php, \\\n";
117 + }
118 if($static ne '') {
119 $OUT .="static=".$static.", \\\n";
120 }
121 diff -Nur smeserver-ddclient-1.0.0-old/root/etc/e-smith/templates.metadata/etc/ddclient.conf smeserver-ddclient-1.0.0/root/etc/e-smith/templates.metadata/etc/ddclient.conf
122 --- smeserver-ddclient-1.0.0-old/root/etc/e-smith/templates.metadata/etc/ddclient.conf 1970-01-01 01:00:00.000000000 +0100
123 +++ smeserver-ddclient-1.0.0/root/etc/e-smith/templates.metadata/etc/ddclient.conf 2013-11-26 22:50:00.000000000 +0100
124 @@ -0,0 +1,3 @@
125 +UID="ddclient"
126 +GID="ddclient"
127 +PERMS=0600
128 diff -Nur smeserver-ddclient-1.0.0-old/root/etc/e-smith/web/functions/ddclient smeserver-ddclient-1.0.0/root/etc/e-smith/web/functions/ddclient
129 --- smeserver-ddclient-1.0.0-old/root/etc/e-smith/web/functions/ddclient 2013-11-25 19:08:18.000000000 +0100
130 +++ smeserver-ddclient-1.0.0/root/etc/e-smith/web/functions/ddclient 2013-11-26 23:39:27.000000000 +0100
131 @@ -149,13 +149,20 @@
132 'EASYDNS' => $fm->localise('EASYDNS'),
133 'HAMMER' => $fm->localise('HAMMER'),
134 'DSLREPORTS'=> $fm->localise('DSLREPORTS'),
135 - 'EURODYNDNS'=> $fm->localise('EURODYNDNS')
136 + 'EURODYNDNS'=> $fm->localise('EURODYNDNS'),
137 + 'DTDNS' => $fm->localise('DTDNS'),
138 + 'LOOPIA' => $fm->localise('LOOPIA'),
139 + 'DNSPARK' => $fm->localise('DNSPARK'),
140 + 'DYNHOST' => $fm->localise('DYNHOST'),
141 + 'NOIP' => $fm->localise('NOIP'),
142 + 'CHANGEIP' => $fm->localise('CHANGEIP')
143 );
144
145 return esmith::cgi::genCell ($q, $q->popup_menu (-name => 'dns',
146 -values => [
147 'DYNDNS1','DYNDNS2','DYNDNS3','ZONEDIT',
148 - 'EASYDNS','HAMMER','DSLREPORTS', 'EURODYNDNS'
149 + 'EASYDNS','HAMMER','DSLREPORTS', 'EURODYNDNS',
150 + 'DTDNS','LOOPIA','DNSPARK','DYNHOST','NOIP','CHANGEIP'
151 ],
152 -default => $curSetting,
153 -labels => \%Labels));

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed