1 |
# $Id: smeserver-ddclient.spec,v 1.10 2021/03/05 11:43:10 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.33 2023/11/10 17:11:12 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 8 |
%define release 28 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
18 |
Patch2: smeserver-ddclient-1.3.0-Update-Createlinks-for-SME10-Systemd.patch |
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 |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
42 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
44 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
45 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
46 |
#Requires: smeserver-manager >= 0.1.0-24 |
#Requires: smeserver-manager >= 0.1.0-24 |
47 |
Requires: ddclient >= 3.9.1 |
Requires: ddclient >= 3.11.1 |
48 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
49 |
AutoReqProv: no |
AutoReqProv: no |
50 |
|
|
51 |
%changelog |
%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 |
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
116 |
- Correct ExecStart in Service file [SME: 11370] |
- Correct ExecStart in Service file [SME: 11370] |
117 |
|
|
310 |
%patch2 -p1 |
%patch2 -p1 |
311 |
%patch3 -p1 |
%patch3 -p1 |
312 |
%patch4 -p1 |
%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 |
%build |
334 |
perl createlinks |
perl createlinks |
337 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
338 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
339 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
340 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
341 |
|
--dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ |
342 |
|
> %{name}-%{version}-filelist |
343 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
344 |
|
|
345 |
%clean |
%clean |
351 |
#/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
352 |
#systemctl restart smanager |
#systemctl restart smanager |
353 |
|
|
354 |
|
if [ -f /usr/share/smanager/lib/SrvMngr.pm ] |
355 |
|
then |
356 |
|
/usr/sbin/e-smith/signal-event smanager-refresh |
357 |
|
fi |
358 |
|
true |
359 |
|
|
360 |
|
|
361 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
362 |
%defattr(-,root,root) |
%defattr(-,root,root) |
363 |
|
|