1 |
# $Id: smeserver-ddclient.spec,v 1.4 2020/06/28 09:11:42 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.31 2023/11/08 11:44:06 brianr Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-ddclient |
%define name smeserver-ddclient |
6 |
%define version 1.3.0 |
%define version 1.3.0 |
7 |
%define release 3 |
%define release 28 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-ddclient-1.3.0-Add-in-extra-services.patch |
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 |
|
|
40 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
41 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
42 |
Obsoletes: sme7-ddclient |
Obsoletes: sme7-ddclient |
43 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
44 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
45 |
Requires: smeserver-manager >= 0.1.0-24 |
#Requires: smeserver-manager >= 0.1.0-24 |
46 |
Requires: ddclient >= 3.9.1 |
Requires: ddclient >= 3.11.1 |
47 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
48 |
AutoReqProv: no |
AutoReqProv: no |
49 |
|
|
50 |
%changelog |
%changelog |
51 |
|
* Fri Nov 10 2023 Brian Read <brianr@koozali.org> 1.3.0-28.sme |
52 |
|
- Update template for deprescated commands and v3.11.1 ddclient [SME: 12427 ] |
53 |
|
|
54 |
|
* Wed Nov 08 2023 Brian Read <brianr@koozali.org> 1.3.0-27.sme |
55 |
|
- Alter require to greater than or equal to 3.11.1 [SME: 12425] |
56 |
|
|
57 |
|
* Mon Feb 13 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-26.sme |
58 |
|
- Remove 3.10 as a requirement in spec |
59 |
|
|
60 |
|
* Wed Jan 25 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-25.sme |
61 |
|
- Remove the ddc_ from the front of the (translateble) messages [SME: 12217] |
62 |
|
- Update Template files for changes in conf format and contents for 3.10.0 |
63 |
|
|
64 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.0-24.sme |
65 |
|
- Update locale 2022-11-11 patch |
66 |
|
|
67 |
|
* Sun Feb 20 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-23.sme |
68 |
|
- Add-DB-entries-for-success-and-failure-notification [SME: 11874] |
69 |
|
|
70 |
|
* Fri Feb 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-22.sme |
71 |
|
- Fix incorrect zoneedit endpoint [SME:11860] |
72 |
|
|
73 |
|
* Mon Jan 17 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-21.sme |
74 |
|
- Make-intial-call-to-ddclient-honour-db-entries [SME: 11849] |
75 |
|
|
76 |
|
* Wed Jan 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-20 |
77 |
|
- Fix unit file, add config entries [SME: 11847] |
78 |
|
|
79 |
|
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-19.sme |
80 |
|
- Fix-typo-in-description-paragraph [SME: 11812] |
81 |
|
|
82 |
|
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-18.sme |
83 |
|
- Add in class to Div id=module declaration in ep file [SME: 11794] |
84 |
|
|
85 |
|
* Thu Nov 11 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-17.sme |
86 |
|
- Set default urlcheckip back to the dyndns.org service [SME: 11752] |
87 |
|
|
88 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
89 |
|
- Update locale 2021-09-08.patch |
90 |
|
|
91 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
92 |
|
- Fix events in ddclient SM2 library [SME:11667] |
93 |
|
|
94 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
95 |
|
- Fix events in ddclient web script [SME:11667] |
96 |
|
- Add service link in domain-create |
97 |
|
|
98 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
99 |
|
- Update locale 2021-08-23.patch |
100 |
|
|
101 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
102 |
|
- Update locale 2021-08-21.patch |
103 |
|
|
104 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
105 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
106 |
|
|
107 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
108 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
109 |
|
|
110 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
111 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
112 |
|
|
113 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
114 |
|
- Correct ExecStart in Service file [SME: 11370] |
115 |
|
|
116 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
117 |
|
- Update list of services in SM1 [SME: 11414] |
118 |
|
- Add in Wantedby in service file dropin |
119 |
|
|
120 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
121 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
122 |
|
|
123 |
|
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
124 |
|
- Update spec file to take out requires smeserver-manager [SME: 10942] |
125 |
|
|
126 |
|
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-4.sme |
127 |
|
- fix [SME:10942] |
128 |
|
|
129 |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
130 |
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
131 |
|
|
167 |
* Sat Jul 11 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-6.sme |
* Sat Jul 11 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-6.sme |
168 |
- Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
- Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
169 |
|
|
170 |
* Mon Jul 10 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-5.sme |
* Fri Jul 10 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-5.sme |
171 |
- added spdns.de [SME: 8975] |
- added spdns.de [SME: 8975] |
172 |
- added custom fields for dns providers [SME: 8961] |
- added custom fields for dns providers [SME: 8961] |
173 |
- added custom fields for free domains and panel options to ddclient [SME: 8983] |
- added custom fields for free domains and panel options to ddclient [SME: 8983] |
176 |
- add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
- add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
177 |
- add translation missing Namecheap_translation.patch [SME: 8964] |
- add translation missing Namecheap_translation.patch [SME: 8964] |
178 |
|
|
179 |
* Mon Jun 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-2.sme |
* Tue Jun 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-2.sme |
180 |
- first import to sme9contribs |
- first import to sme9contribs |
181 |
|
|
182 |
* Mon Aug 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-1.sme |
* Mon Aug 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-1.sme |
197 |
* Tue Nov 26 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-27.sme |
* Tue Nov 26 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-27.sme |
198 |
- 5 more dynamic dns services (DtDNS, Loopia, dnspark.com, OVH DynHost,Noip ,changeip) [SME:8019] |
- 5 more dynamic dns services (DtDNS, Loopia, dnspark.com, OVH DynHost,Noip ,changeip) [SME:8019] |
199 |
|
|
200 |
* Mon Jul 25 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-26.sme |
* Thu Jul 25 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-26.sme |
201 |
- modify the path of template ddclient.conf [SME: 8018] |
- modify the path of template ddclient.conf [SME: 8018] |
202 |
|
|
203 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-24.sme |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-24.sme |
256 |
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-7 |
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-7 |
257 |
- Apply 25 Jun 2008 locale patch |
- Apply 25 Jun 2008 locale patch |
258 |
|
|
259 |
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-6 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-6 |
260 |
- Apply 21 May 2008 locale patch |
- Apply 21 May 2008 locale patch |
261 |
|
|
262 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-5 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-5 |
299 |
- initial release |
- initial release |
300 |
|
|
301 |
%description |
%description |
302 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
303 |
|
|
304 |
%prep |
%prep |
305 |
%setup |
%setup |
306 |
%patch0 -p1 |
%patch0 -p1 |
307 |
|
%patch1 -p1 |
308 |
|
%patch2 -p1 |
309 |
|
%patch3 -p1 |
310 |
|
%patch4 -p1 |
311 |
|
%patch5 -p1 |
312 |
|
%patch6 -p1 |
313 |
|
%patch7 -p1 |
314 |
|
%patch8 -p1 |
315 |
|
%patch9 -p1 |
316 |
|
%patch10 -p1 |
317 |
|
%patch11 -p1 |
318 |
|
%patch12 -p1 |
319 |
|
%patch13 -p1 |
320 |
|
%patch14 -p1 |
321 |
|
%patch15 -p1 |
322 |
|
%patch16 -p1 |
323 |
|
%patch17 -p1 |
324 |
|
%patch18 -p1 |
325 |
|
%patch19 -p1 |
326 |
|
%patch20 -p1 |
327 |
|
%patch21 -p1 |
328 |
|
%patch22 -p1 |
329 |
|
|
330 |
%build |
%build |
331 |
perl createlinks |
perl createlinks |
334 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
335 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
336 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
337 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
338 |
|
--dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ |
339 |
|
> %{name}-%{version}-filelist |
340 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
341 |
|
|
342 |
%clean |
%clean |
343 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
344 |
|
|
345 |
%post |
%post |
346 |
systemctl enable ddclient |
#systemctl enable ddclient |
347 |
systemctl start ddclient |
#systemctl start ddclient |
348 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
349 |
systemctl restart smanager |
#systemctl restart smanager |
350 |
|
|
351 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
352 |
%defattr(-,root,root) |
%defattr(-,root,root) |
353 |
|
|