1 |
# $Id: smeserver-ddclient.spec,v 1.34 2023/11/18 18:43:49 brianr Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-ddclient |
6 |
%define version 1.3.0 |
7 |
%define release 28 |
8 |
|
9 |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GNU GPL version 2 |
14 |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-ddclient-1.3.0-Add-in-extra-services.patch |
17 |
Patch1: smeserver-ddclient-1.3.0-Add-in-link-to-wiki.patch |
18 |
Patch2: smeserver-ddclient-1.3.0-Update-Createlinks-for-SME10-Systemd.patch |
19 |
Patch3: smeserver-ddclient-1.3.0-Add-in-latest-dd-services-from-ddclient-391.patch |
20 |
Patch4: smeserver-ddclient-1.3.0-Correct-service-file-ExecStart.patch |
21 |
Patch5: smeserver-ddclient-1.3.0-Update-code-in-ip-up.local-for-systemd.patch |
22 |
Patch6: smeserver-ddclient-1.3.0-Change_default_urlcheckip.patch |
23 |
Patch7: smeserver-ddclient-1.3.0-bz11667-fix-perms-and-postupgrade.patch |
24 |
Patch8: smeserver-ddclient-1.3.0-locale-2021-08-21.patch |
25 |
Patch9: smeserver-ddclient-1.3.0-locale-2021-08-23.patch |
26 |
Patch10: smeserver-ddclient-1.3.0-bz11667-Update-Events-and-Links.patch |
27 |
Patch11: smeserver-ddclient-1.3.0-bz11667-Update-SM2-lib.patch |
28 |
Patch12: smeserver-ddclient-1.3.0-locale-2021-09-08.patch |
29 |
Patch13: smeserver-ddclient-1.3.0-Set-urlcheckip-default-back-to-dyndns.patch |
30 |
Patch14: smeserver-ddclient-1.3.0-Add-class-to-div-in-main-module.patch |
31 |
Patch15: smeserver-ddclient-1.3.0-Fix-typo-in-description-paragraph.patch |
32 |
Patch16: smeserver-ddclient-1.3.0-bz11847-fix-unit-file.patch |
33 |
Patch17: smeserver-ddclient-1.3.0-Make-intial-call-to-ddclient-honour-db-entries.patch |
34 |
Patch18: smeserver-ddclient-1.3.0-bz11860-fix-zoneedit-endpoint.patch |
35 |
Patch19: smeserver-ddclient-1.3.0-Add-DB-entries-for-success-and-failure-notification.patch |
36 |
Patch20: smeserver-ddclient-1.3.0-locale-2022-11-11.patch |
37 |
Patch21: smeserver-ddclient-1.3.0-Remove-ddc-from-front-of-messages-labels-and-update-conf-template.patch |
38 |
Patch22: smeserver-ddclient-1.3.0-Update-for-3.11.1-deprecated-commands-in-template.patch |
39 |
Patch23: smeserver-ddclient-1.3.0-Update-SM2-code-for-new-services-and-protocols.patch |
40 |
|
41 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
42 |
BuildRequires: e-smith-devtools |
43 |
Obsoletes: sme7-ddclient |
44 |
BuildArchitectures: noarch |
45 |
Requires: e-smith-release >= 10.0 |
46 |
#Requires: smeserver-manager >= 0.1.0-24 |
47 |
Requires: ddclient >= 3.11.1 |
48 |
Requires: e-smith-formmagick |
49 |
AutoReqProv: no |
50 |
|
51 |
%changelog |
52 |
* Fri Nov 10 2023 Brian Read <brianr@koozali.org> 1.3.0-28.sme |
53 |
- Update template for deprecated commands and v3.11.1 ddclient [SME: 12427 ] |
54 |
- Update SM2 code to show all new protocols etc |
55 |
|
56 |
* Wed Nov 08 2023 Brian Read <brianr@koozali.org> 1.3.0-27.sme |
57 |
- Alter require to greater than or equal to 3.11.1 [SME: 12425] |
58 |
|
59 |
* Mon Feb 13 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-26.sme |
60 |
- Remove 3.10 as a requirement in spec |
61 |
|
62 |
* Wed Jan 25 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-25.sme |
63 |
- Remove the ddc_ from the front of the (translateble) messages [SME: 12217] |
64 |
- Update Template files for changes in conf format and contents for 3.10.0 |
65 |
|
66 |
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.0-24.sme |
67 |
- Update locale 2022-11-11 patch |
68 |
|
69 |
* Sun Feb 20 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-23.sme |
70 |
- Add-DB-entries-for-success-and-failure-notification [SME: 11874] |
71 |
|
72 |
* Fri Feb 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-22.sme |
73 |
- Fix incorrect zoneedit endpoint [SME:11860] |
74 |
|
75 |
* Mon Jan 17 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-21.sme |
76 |
- Make-intial-call-to-ddclient-honour-db-entries [SME: 11849] |
77 |
|
78 |
* Wed Jan 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-20 |
79 |
- Fix unit file, add config entries [SME: 11847] |
80 |
|
81 |
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-19.sme |
82 |
- Fix-typo-in-description-paragraph [SME: 11812] |
83 |
|
84 |
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-18.sme |
85 |
- Add in class to Div id=module declaration in ep file [SME: 11794] |
86 |
|
87 |
* Thu Nov 11 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-17.sme |
88 |
- Set default urlcheckip back to the dyndns.org service [SME: 11752] |
89 |
|
90 |
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
91 |
- Update locale 2021-09-08.patch |
92 |
|
93 |
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
94 |
- Fix events in ddclient SM2 library [SME:11667] |
95 |
|
96 |
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
97 |
- Fix events in ddclient web script [SME:11667] |
98 |
- Add service link in domain-create |
99 |
|
100 |
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
101 |
- Update locale 2021-08-23.patch |
102 |
|
103 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
104 |
- Update locale 2021-08-21.patch |
105 |
|
106 |
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
107 |
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
108 |
|
109 |
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
110 |
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
111 |
|
112 |
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
113 |
- Update code in ip-up.local for systemd [SME: 11450] |
114 |
|
115 |
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
116 |
- Correct ExecStart in Service file [SME: 11370] |
117 |
|
118 |
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
119 |
- Update list of services in SM1 [SME: 11414] |
120 |
- Add in Wantedby in service file dropin |
121 |
|
122 |
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
123 |
- Update Createlinks according to bug:10959 [SME: 11320] |
124 |
|
125 |
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
126 |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
127 |
|
128 |
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-4.sme |
129 |
- fix [SME:10942] |
130 |
|
131 |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
132 |
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
133 |
|
134 |
* Mon Jun 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-2.sme |
135 |
- Sort out startup with systemd [SME:10942] |
136 |
|
137 |
* Sun Jun 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-1.sme |
138 |
- Roll up all patches for SME10 [SME:10942] |
139 |
|
140 |
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-17.sme |
141 |
- Update-for-Apache-Mod-Proxy-based-server2 [SME:10942 ] |
142 |
|
143 |
* Mon Jun 08 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-16.sme |
144 |
- Add Server Manager2 panels for SME10 [SME:10942 ] |
145 |
|
146 |
* Tue Dec 31 2019 Brian Read <smeserver@bjsystems.co.uk> 1.2.1-15.sme |
147 |
- allow @ in username in server manager panel - needed for Noip service [SME: 10796] |
148 |
|
149 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.2.1-14.sme |
150 |
- apply locale 2019-12-07 patch |
151 |
|
152 |
* Sun Apr 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.1-13.sme |
153 |
- fix missing new line [SME: 10765] |
154 |
thank you to Eric Serafin for reporting. |
155 |
|
156 |
* Sat Jan 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.1-12.sme |
157 |
- fix spdns migrate to spdyn.de [SME: 10593] |
158 |
- add new way to detect new ip [SME: 9450] |
159 |
|
160 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.2.1-9.sme |
161 |
- apply locale 2017-12-02 patch |
162 |
|
163 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2.1-8.sme |
164 |
- apply locale 2016-03-09 patch |
165 |
|
166 |
* Sat Sep 12 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-7.sme |
167 |
- Added smeserver-ddclient-1.2.1-locale-2015-09-12.patch |
168 |
|
169 |
* Sat Jul 11 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-6.sme |
170 |
- Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
171 |
|
172 |
* Fri Jul 10 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-5.sme |
173 |
- added spdns.de [SME: 8975] |
174 |
- added custom fields for dns providers [SME: 8961] |
175 |
- added custom fields for free domains and panel options to ddclient [SME: 8983] |
176 |
|
177 |
* Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-3.sme |
178 |
- add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
179 |
- add translation missing Namecheap_translation.patch [SME: 8964] |
180 |
|
181 |
* Tue Jun 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-2.sme |
182 |
- first import to sme9contribs |
183 |
|
184 |
* Mon Aug 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-1.sme |
185 |
- Added the Namecheap protocol [SME:8538] |
186 |
- Added a db DeamonUpdate |
187 |
- Added force ssl |
188 |
|
189 |
* Tue Jun 10 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.0-1.sme |
190 |
- Initial release to sme9contribs |
191 |
|
192 |
* Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 1.0.0-30.sme |
193 |
- fix db extras need to migrate [SME: 6494] |
194 |
- added misisng prop login |
195 |
|
196 |
* Tue Dec 3 2013 JP Pialasse <tests@pialasse.com> 1.0.0-28.sme |
197 |
- patch fix for translation |
198 |
|
199 |
* Tue Nov 26 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-27.sme |
200 |
- 5 more dynamic dns services (DtDNS, Loopia, dnspark.com, OVH DynHost,Noip ,changeip) [SME:8019] |
201 |
|
202 |
* Thu Jul 25 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-26.sme |
203 |
- modify the path of template ddclient.conf [SME: 8018] |
204 |
|
205 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-24.sme |
206 |
- apply locale 2013-07-14 patch |
207 |
|
208 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0.0-23.sme |
209 |
- apply locale 2011-03-06 patch |
210 |
|
211 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.0.0-22.sme |
212 |
- apply locale 2010-05-23 patch |
213 |
|
214 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.0.0-21.sme |
215 |
- apply locale 2010-03-02 patch |
216 |
|
217 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-20.sme |
218 |
- apply locale 2009-10-27 patch |
219 |
|
220 |
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.0.0-19.sme |
221 |
- apply locale 2009-10-21 patch |
222 |
|
223 |
* Thu Oct 8 2009 Filippo Carletti <filippo.carletti@gmail.com> 1.0.0-18.sme |
224 |
- Merged dyndns db into domains db |
225 |
- Template and cgi cleanup |
226 |
- Fixed template expansion in events |
227 |
|
228 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0.0-17.sme |
229 |
- apply locale 2009-08-24 patch |
230 |
|
231 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-16.sme |
232 |
- apply locale 2009-04-27 patch |
233 |
|
234 |
* Tue Mar 03 2009 SME Translation Server |
235 |
- apply locale 2009-03-03 patch |
236 |
|
237 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-14 |
238 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
239 |
|
240 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-13 |
241 |
- Apply 31 Jan 2009 locale patch [SME: 4951] |
242 |
|
243 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-12 |
244 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
245 |
|
246 |
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-11 |
247 |
- Apply 30 Nov 2008 locale patch |
248 |
|
249 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-10 |
250 |
- Apply 5 Nov 2008 locale patch |
251 |
|
252 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-9 |
253 |
- Apply 14 Oct 2008 locale patch |
254 |
|
255 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-8 |
256 |
- Apply 1 July 2008 locale patch |
257 |
|
258 |
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-7 |
259 |
- Apply 25 Jun 2008 locale patch |
260 |
|
261 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-6 |
262 |
- Apply 21 May 2008 locale patch |
263 |
|
264 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-5 |
265 |
- Apply 5 May 2008 locale patch |
266 |
|
267 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-4 |
268 |
- Added 26 April 2008 locale patch |
269 |
- Add common <base> tags to e-smith-formmagick's general |
270 |
|
271 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-3 |
272 |
- Added 23 April 2008 locale patch |
273 |
- Removed version number from spec file |
274 |
|
275 |
* Wed Apr 23 2008 Stephen Noble <support@dungog.net> 1.0.0-2 |
276 |
- prepare for import to smecontribs |
277 |
- links moved to createlinks |
278 |
- en lexicon split from function |
279 |
- fr and de lexicons removed, add back in pootle |
280 |
|
281 |
* Sat Jan 20 2007 Paul Floor <paul@smeserver.us> |
282 |
- ver 1.0 rel 1: split into smeserver-ddclient and ddclient |
283 |
- removed heartbeat |
284 |
|
285 |
* Sun Nov 12 2006 Filali-Ansary Vincent <filali.v@free.fr> |
286 |
- ver 3.7 rel 1: change for the new ddclient client |
287 |
|
288 |
* Sat Aug 19 2006 Filali-Ansary Vincent <filali.v@free.fr> |
289 |
- rel 8: change checkip.sjc.dyndns.org by checkip.dyndns.org |
290 |
|
291 |
* Mon Aug 7 2006 Filali-Ansary Vincent <filali.v@free.fr> |
292 |
- rel 7: repair the custom eurodyndns options on ddclient.conf. |
293 |
|
294 |
* Mon Jul 31 2006 Filali-Ansary Vincent <filali.v@free.fr> |
295 |
- rel 6: repair the custom dyndns options on ddclient.conf. |
296 |
|
297 |
* Fri Jun 30 2006 Filali-Ansary Vincent <filali.v@free.fr> |
298 |
- rel 5: change checkip.dyndns.org by checkip.sjc.dyndns.org |
299 |
|
300 |
* Tue May 09 2006 Filali-Ansary Vincent <filali.v@free.fr> |
301 |
- initial release |
302 |
|
303 |
%description |
304 |
ddclient panel and config files for SMEServer V10. |
305 |
|
306 |
%prep |
307 |
%setup |
308 |
%patch0 -p1 |
309 |
%patch1 -p1 |
310 |
%patch2 -p1 |
311 |
%patch3 -p1 |
312 |
%patch4 -p1 |
313 |
%patch5 -p1 |
314 |
%patch6 -p1 |
315 |
%patch7 -p1 |
316 |
%patch8 -p1 |
317 |
%patch9 -p1 |
318 |
%patch10 -p1 |
319 |
%patch11 -p1 |
320 |
%patch12 -p1 |
321 |
%patch13 -p1 |
322 |
%patch14 -p1 |
323 |
%patch15 -p1 |
324 |
%patch16 -p1 |
325 |
%patch17 -p1 |
326 |
%patch18 -p1 |
327 |
%patch19 -p1 |
328 |
%patch20 -p1 |
329 |
%patch21 -p1 |
330 |
%patch22 -p1 |
331 |
%patch23 -p1 |
332 |
|
333 |
%build |
334 |
perl createlinks |
335 |
|
336 |
%install |
337 |
rm -rf $RPM_BUILD_ROOT |
338 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
339 |
rm -f %{name}-%{version}-filelist |
340 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
341 |
> %{name}-%{version}-filelist |
342 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
343 |
|
344 |
# --dir /etc/ddclient 'attr(0600,ddclient,ddclient)' \ |
345 |
# --dir /var/cache/ddclient 'attr(0600,ddclient,ddclient)' \ |
346 |
|
347 |
%clean |
348 |
rm -rf $RPM_BUILD_ROOT |
349 |
|
350 |
%post |
351 |
#systemctl enable ddclient |
352 |
#systemctl start ddclient |
353 |
#/sbin/e-smith/signal-event smanager-refresh |
354 |
#systemctl restart smanager |
355 |
|
356 |
if [ -f /usr/share/smanager/lib/SrvMngr.pm ] |
357 |
then |
358 |
/usr/sbin/e-smith/signal-event smanager-refresh |
359 |
fi |
360 |
true |
361 |
|
362 |
|
363 |
%files -f %{name}-%{version}-filelist |
364 |
%defattr(-,root,root) |
365 |
|