/[smecontribs]/rpms/smeserver-ddclient/contribs10/smeserver-ddclient-1.3.0-Update-Createlinks-for-SME10-Systemd.patch
ViewVC logotype

Annotation of /rpms/smeserver-ddclient/contribs10/smeserver-ddclient-1.3.0-Update-Createlinks-for-SME10-Systemd.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Jan 11 15:40:24 2021 UTC (3 years, 4 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-ddclient-1_3_0-9_el7_sme, smeserver-ddclient-1_3_0-13_el7_sme, smeserver-ddclient-1_3_0-20_el7_sme, smeserver-ddclient-1_3_0-8_el7_sme, smeserver-ddclient-1_3_0-18_el7_sme, smeserver-ddclient-1_3_0-22_el7_sme, smeserver-ddclient-1_3_0-21_el7_sme, smeserver-ddclient-1_3_0-26_el7_sme, smeserver-ddclient-1_3_0-23_el7_sme, smeserver-ddclient-1_3_0-29_el7_sme, smeserver-ddclient-1_3_0-16_el7_sme, smeserver-ddclient-1_3_0-28_el7_sme, smeserver-ddclient-1_3_0-25_el7_sme, smeserver-ddclient-1_3_0-17_el7_sme, smeserver-ddclient-1_3_0-14_el7_sme, smeserver-ddclient-1_3_0-7_el7_sme, smeserver-ddclient-1_3_0-24_el7_sme, smeserver-ddclient-1_3_0-27_el7_sme, smeserver-ddclient-1_3_0-19_el7_sme, smeserver-ddclient-1_3_0-10_el7_sme, smeserver-ddclient-1_3_0-6_el7_sme, smeserver-ddclient-1_3_0-31_el7_sme, smeserver-ddclient-1_3_0-32_el7_sme, smeserver-ddclient-1_3_0-30_el7_sme, smeserver-ddclient-1_3_0-15_el7_sme, smeserver-ddclient-1_3_0-33_el7_sme, smeserver-ddclient-1_3_0-11_el7_sme, smeserver-phpki-ng-0_3-6_el7_sme, smeserver-ddclient-1_3_0-12_el7_sme, HEAD
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme
- Update Createlinks according to bug:10959 [SME: 11320]

1 brianr 1.1 diff -urN smeserver-ddclient-1.3.0.old/createlinks smeserver-ddclient-1.3.0/createlinks
2     --- smeserver-ddclient-1.3.0.old/createlinks 2020-06-28 09:57:43.000000000 +0100
3     +++ smeserver-ddclient-1.3.0/createlinks 2021-01-11 10:26:25.527671260 +0000
4     @@ -4,11 +4,21 @@
5    
6     panel_link("ddclient", 'manager');
7    
8     -service_link_enhanced("ddclient", "S65", "7");
9     +# our event specific for updating with yum without reboot
10     +$event = "smeserver-ddclient-update";
11     +foreach my $file (qw(/etc/systemd/system-preset/49-koozali.preset /etc/ddclient/ddclient.conf /etc/ppp/ip-up.local))
12     +{
13     + templates2events( $file, $event );
14     +}
15     +#action needed in case we have a systemd unit
16     +event_link("systemd-default", $event, "10");
17     +event_link("systemd-reload", $event, "50");
18     +#action specific to this package
19     +event_link("conf-timezone", $event, "30");
20     +#services we need to restart
21     +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ddclient");
22    
23     -my $event = 'ddclient';
24     - safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ddclient");
25     - templates2events("/etc/ddclient/ddclient.conf", $event);
26     +#service_link_enhanced("ddclient", "S65", "7");
27    
28     $event = 'domain-delete';
29     safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ddclient");
30     diff -urN smeserver-ddclient-1.3.0.old/root/etc/ddclient/ddclient.conf smeserver-ddclient-1.3.0/root/etc/ddclient/ddclient.conf
31     --- smeserver-ddclient-1.3.0.old/root/etc/ddclient/ddclient.conf 1970-01-01 01:00:00.000000000 +0100
32     +++ smeserver-ddclient-1.3.0/root/etc/ddclient/ddclient.conf 2021-01-11 11:53:44.402383653 +0000
33     @@ -0,0 +1,288 @@
34     +######################################################################
35     +##
36     +## Define default global variables with lines like:
37     +## var=value [, var=value]*
38     +## These values will be used for each following host unless overridden
39     +## with a local variable definition.
40     +##
41     +## Define local variables for one or more hosts with:
42     +## var=value [, var=value]* host.and.domain[,host2.and.domain...]
43     +##
44     +## Lines can be continued on the following line by ending the line
45     +## with a \
46     +##
47     +##
48     +## Warning: not all supported routers or dynamic DNS services
49     +## are mentioned here.
50     +##
51     +######################################################################
52     +daemon=300 # check every 300 seconds
53     +syslog=yes # log update msgs to syslog
54     +#mail=root # mail all msgs to root
55     +mail-failure=root # mail failed update msgs to root
56     +pid=/var/run/ddclient/ddclient.pid # record PID in file.
57     +ssl=yes # use ssl-support. Works with
58     + # ssl-library
59     +# postscript=script # run script after updating. The
60     + # new IP is added as argument.
61     +#
62     +#use=watchguard-soho, fw=192.168.111.1:80 # via Watchguard's SOHO FW
63     +#use=netopia-r910, fw=192.168.111.1:80 # via Netopia R910 FW
64     +#use=smc-barricade, fw=192.168.123.254:80 # via SMC's Barricade FW
65     +#use=netgear-rt3xx, fw=192.168.0.1:80 # via Netgear's internet FW
66     +#use=linksys, fw=192.168.1.1:80 # via Linksys's internet FW
67     +#use=maxgate-ugate3x00, fw=192.168.0.1:80 # via MaxGate's UGATE-3x00 FW
68     +#use=elsa-lancom-dsl10, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router
69     +#use=elsa-lancom-dsl10-ch01, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router
70     +#use=elsa-lancom-dsl10-ch02, fw=10.0.0.254:80 # via ELSA LanCom DSL/10 DSL Router
71     +#use=alcatel-stp, fw=10.0.0.138:80 # via Alcatel Speed Touch Pro
72     +#use=xsense-aero, fw=192.168.1.1:80 # via Xsense Aero Router
73     +#use=allnet-1298, fw=192.168.1.1:80 # via AllNet 1298 DSL Router
74     +#use=3com-oc-remote812, fw=192.168.0.254:80 # via 3com OfficeConnect Remote 812
75     +#use=e-tech, fw=192.168.1.1:80 # via E-tech Router
76     +#use=cayman-3220h, fw=192.168.0.1:1080 # via Cayman 3220-H DSL Router
77     +#
78     +#fw-login=admin, fw-password=XXXXXX # FW login and password
79     +#
80     +## To obtain an IP address from FW status page (using fw-login, fw-password)
81     +#use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP Address
82     +#
83     +## To obtain an IP address from Web status page (using the proxy if defined)
84     +## by default, checkip.dyndns.org is used if you use the dyndns protocol.
85     +## Using use=web is enough to get it working.
86     +## WARNING: set deamon at least to 600 seconds if you use checkip or you could
87     +## get banned from their service.
88     +#use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address
89     +#
90     +#use=ip, ip=127.0.0.1 # via static IP's
91     +#use=if, if=eth0 # via interfaces
92     +#use=web # via web
93     +#
94     +#protocol=dyndns2 # default protocol
95     +#proxy=fasthttp.sympatico.ca:80 # default proxy
96     +#server=members.dyndns.org # default server
97     +#server=members.dyndns.org:8245 # default server (bypassing proxies)
98     +
99     +#login=your-login # default login
100     +#password=test # default password
101     +#mx=mx.for.your.host # default MX
102     +#backupmx=yes|no # host is primary MX?
103     +#wildcard=yes|no # add wildcard CNAME?
104     +
105     +##
106     +## dyndns.org dynamic addresses
107     +##
108     +## (supports variables: wildcard,mx,backupmx)
109     +##
110     +# server=members.dyndns.org, \
111     +# protocol=dyndns2 \
112     +# your-dynamic-host.dyndns.org
113     +
114     +##
115     +## dyndns.org static addresses
116     +##
117     +## (supports variables: wildcard,mx,backupmx)
118     +##
119     +# static=yes, \
120     +# server=members.dyndns.org, \
121     +# protocol=dyndns2 \
122     +# your-static-host.dyndns.org
123     +
124     +##
125     +##
126     +## dyndns.org custom addresses
127     +##
128     +## (supports variables: wildcard,mx,backupmx)
129     +##
130     +# custom=yes, \
131     +# server=members.dyndns.org, \
132     +# protocol=dyndns2 \
133     +# your-domain.top-level,your-other-domain.top-level
134     +
135     +##
136     +## ZoneEdit (zoneedit.com)
137     +##
138     +# server=dynamic.zoneedit.com, \
139     +# protocol=zoneedit1, \
140     +# login=your-zoneedit-login, \
141     +# password=your-zoneedit-password \
142     +# your.any.domain,your-2nd.any.dom
143     +
144     +##
145     +## EasyDNS (easydns.com)
146     +##
147     +# server=members.easydns.com, \
148     +# protocol=easydns, \
149     +# login=your-easydns-login, \
150     +# password=your-easydns-password \
151     +# your.any.domain,your-2nd.any.domain
152     +
153     +##
154     +## Hammernode (hn.org) dynamic addresses
155     +##
156     +# server=dup.hn.org, \
157     +# protocol=hammernode1, \
158     +# login=your-hn-login, \
159     +# password=your-hn-password \
160     +# your-hn-host.hn.org,your-2nd-hn-host.hn.org
161     +
162     +##
163     +## dslreports.com dynamic-host monitoring
164     +##
165     +# server=members.dslreports.com \
166     +# protocol=dslreports1, \
167     +# login=dslreports-login, \
168     +# password=dslreports-password \
169     +# dslreports-unique-id
170     +
171     +##
172     +## OrgDNS.org account-configuration
173     +##
174     +# use=web, web=members.orgdns.org/nic/ip
175     +# server=www.orgdns.org \
176     +# protocol=dyndns2 \
177     +# login=yourLoginName \
178     +# password=yourPassword \
179     +# yourSubdomain.orgdns.org
180     +
181     +##
182     +## dnspark.com
183     +## (supports variables: mx, mxpri)
184     +##
185     +# use=web, web=ipdetect.dnspark.com, web-skip='Current Address:'
186     +# protocol=dnspark, \
187     +# server=www.dnspark.com, \
188     +# your-host.dnspark.com
189     +
190     +##
191     +## NameCheap (namecheap.com)
192     +##
193     +# protocol=namecheap, \
194     +# server=dynamicdns.park-your-domain.com, \
195     +# login=my-namecheap.com-login, \
196     +# password=my-namecheap.com-password \
197     +# fully.qualified.host
198     +
199     +##
200     +## NearlyFreeSpeech.NET (nearlyfreespeech.net)
201     +##
202     +# protocol = nfsn, \
203     +# login=member-login, \
204     +# password=api-key, \
205     +# zone=example.com \
206     +# example.com,subdomain.example.com
207     +
208     +##
209     +##
210     +## Loopia (loopia.se)
211     +##
212     +# use=web
213     +# web=loopia
214     +# protocol=dyndns2
215     +# server=dns.loopia.se
216     +# script=/XDynDNSServer/XDynDNS.php
217     +# login=my-loopia.se-login
218     +# password=my-loopia.se-password
219     +# my.domain.tld,other.domain.tld
220     +
221     +##
222     +##
223     +## ChangeIP (changeip.com)
224     +##
225     +## single host update
226     +# protocol=changeip, \
227     +# login=my-my-changeip.com-login, \
228     +# password=my-changeip.com-password \
229     +# myhost.changeip.org
230     +
231     +##
232     +## DtDNS (www.dtdns.com)
233     +##
234     +# protocol=dtdns,
235     +# server=www.dtdns.com,
236     +# client=ddclient,
237     +# password=my-dtdns.com-password
238     +# myhost.dtdns.net, otherhost.dtdns.net
239     +
240     +##
241     +## CloudFlare (www.cloudflare.com)
242     +##
243     +#protocol=cloudflare, \
244     +#zone=domain.tld, \
245     +#ttl=1, \
246     +#login=your-login-email, \
247     +#password=APIKey \
248     +#domain.tld,my.domain.tld
249     +
250     +##
251     +## Google Domains (www.google.com/domains)
252     +##
253     +# protocol=googledomains,
254     +# login=my-auto-generated-username,
255     +# password=my-auto-generated-password
256     +# my.domain.tld, otherhost.domain.tld
257     +
258     +##
259     +## Duckdns (http://www.duckdns.org/)
260     +##
261     +#
262     +# password=my-auto-generated-password
263     +# protocol=duckdns hostwithoutduckdnsorg
264     +
265     +##
266     +## Freemyip (http://freemyip.com/)
267     +##
268     +#
269     +# protocol=freemyip,
270     +# password=my-token
271     +# myhost
272     +
273     +##
274     +## MyOnlinePortal (http://myonlineportal.net)
275     +##
276     +# protocol=dyndns2
277     +# ssl=yes
278     +# # ipv6=yes # optional
279     +# use=web, web=myonlineportal.net/checkip
280     +# # use=if, if=eth0 # alternative to use=web
281     +# # if-skip=Scope:Link # alternative to use=web
282     +# login=your-myonlineportal-username
283     +# password=your-myonlineportal-password
284     +# domain.myonlineportal.net
285     +
286     +##
287     +## nsupdate.info IPV4(https://www.nsupdate.info)
288     +##
289     +#protocol=dyndns2
290     +#use=web, web=http://ipv4.nsupdate.info/myip
291     +#server=ipv4.nsupdate.info
292     +#login=domain.nsupdate.info
293     +#password='123'
294     +#domain.nsupdate.info
295     +
296     +##
297     +## nsupdate.info IPV6 (https://www.nsupdate.info)
298     +## ddclient releases <= 3.8.1 do not support IPv6
299     +##
300     +#protocol=dyndns2
301     +#usev6=if, if=eth0
302     +#server=ipv6.nsupdate.info
303     +#login=domain.nsupdate.info
304     +#password='123'
305     +#domain.nsupdate.info
306     +
307     +##
308     +## Yandex.Mail for Domain (domain.yandex.com)
309     +##
310     +# protocol=yandex, \
311     +# login=domain.tld, \
312     +# password=yandex-pdd-token \
313     +# my.domain.tld,other.domain.tld \
314     +
315     +## DNS Made Easy (https://dnsmadeeasy.com)
316     +##
317     +# protocol=dnsmadeeasy,
318     +# login=your-account-email-address
319     +# password=your-generated-password
320     +# your-numeric-record-id-1,your-numeric-record-id-2,...
321     +
322     diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates.metadata/etc/ddclient/ddclient.conf smeserver-ddclient-1.3.0/root/etc/e-smith/templates.metadata/etc/ddclient/ddclient.conf
323     --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates.metadata/etc/ddclient/ddclient.conf 2020-06-28 09:57:44.000000000 +0100
324     +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates.metadata/etc/ddclient/ddclient.conf 2021-01-11 15:33:48.987768064 +0000
325     @@ -1,3 +1,3 @@
326     UID="root"
327     GID="root"
328     -PERMS=0600
329     +PERMS=0644

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