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