1 |
# $Id: smeserver-ddclient.spec,v 1.11 2021/03/05 12:07:41 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.39 2024/04/11 12:28:09 jcrisp 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 9 |
%define release 33 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
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 |
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 |
|
Patch25: smeserver-ddclient-1.3.0-Fix-template-declaration-file-and-localise-table-sm1.patch |
42 |
|
Patch26: smeserver-ddclient-1.3.0-bz12598-updateNameCheap.patch |
43 |
|
Patch27: smeserver-ddclient-1.3.0-Fix-ppoe-restart-and-expand-template-for-bootstrap-and-console-save.patch |
44 |
|
|
45 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
46 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
48 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
49 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
50 |
#Requires: smeserver-manager >= 0.1.0-24 |
#Requires: smeserver-manager >= 0.1.0-24 |
51 |
Requires: ddclient >= 3.9.1 |
Requires: ddclient >= 3.11.1 |
52 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
53 |
AutoReqProv: no |
AutoReqProv: no |
54 |
|
|
55 |
%changelog |
%changelog |
56 |
|
* Wed May 08 2024 Brian Read <brianr@koozali.org> 1.3.0-33.sme |
57 |
|
- change command on ppoe up to use systemd [SME: 12676 ] |
58 |
|
- Add console-save and bootrap-console-save to expand template take out post-upgrade [SME: 12675 ] |
59 |
|
|
60 |
|
* Thu Apr 11 2024 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-32.sme |
61 |
|
- update NameCheap [SME: 12598] |
62 |
|
|
63 |
|
* Sun Apr 07 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.3.0-31.sme |
64 |
|
- add fix for namecheap to last patch [SME: 12598] |
65 |
|
|
66 |
|
* Sun Apr 07 2024 Brian Read <brianr@koozali.org> 1.3.0-30.sme |
67 |
|
- Merge template files for Virtual and free form domains and fix incompatibility with 3.11.2 [SME: 12598] |
68 |
|
- Localist free form table [SME: 12600] |
69 |
|
|
70 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.3.0-29.sme |
71 |
|
- Edit Menu entry to conform to new arrangements [SME: 12493] |
72 |
|
|
73 |
|
* Fri Nov 10 2023 Brian Read <brianr@koozali.org> 1.3.0-28.sme |
74 |
|
- Update template for deprecated commands and v3.11.1 ddclient [SME: 12427] |
75 |
|
- Update SM2 code to show all new protocols etc |
76 |
|
|
77 |
|
* Wed Nov 08 2023 Brian Read <brianr@koozali.org> 1.3.0-27.sme |
78 |
|
- Alter require to greater than or equal to 3.11.1 [SME: 12425] |
79 |
|
|
80 |
|
* Mon Feb 13 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-26.sme |
81 |
|
- Remove 3.10 as a requirement in spec |
82 |
|
|
83 |
|
* Wed Jan 25 2023 Brian Read <brianr@bjsystems.co.uk> 1.3.0-25.sme |
84 |
|
- Remove the ddc_ from the front of the (translateble) messages [SME: 12217] |
85 |
|
- Update Template files for changes in conf format and contents for 3.10.0 |
86 |
|
|
87 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.0-24.sme |
88 |
|
- Update locale 2022-11-11 patch |
89 |
|
|
90 |
|
* Sun Feb 20 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-23.sme |
91 |
|
- Add-DB-entries-for-success-and-failure-notification [SME: 11874] |
92 |
|
|
93 |
|
* Fri Feb 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-22.sme |
94 |
|
- Fix incorrect zoneedit endpoint [SME:11860] |
95 |
|
|
96 |
|
* Mon Jan 17 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-21.sme |
97 |
|
- Make-intial-call-to-ddclient-honour-db-entries [SME: 11849] |
98 |
|
|
99 |
|
* Wed Jan 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-20 |
100 |
|
- Fix unit file, add config entries [SME: 11847] |
101 |
|
|
102 |
|
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-19.sme |
103 |
|
- Fix-typo-in-description-paragraph [SME: 11812] |
104 |
|
|
105 |
|
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-18.sme |
106 |
|
- Add in class to Div id=module declaration in ep file [SME: 11794] |
107 |
|
|
108 |
|
* Thu Nov 11 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-17.sme |
109 |
|
- Set default urlcheckip back to the dyndns.org service [SME: 11752] |
110 |
|
|
111 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
112 |
|
- Update locale 2021-09-08.patch |
113 |
|
|
114 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
115 |
|
- Fix events in ddclient SM2 library [SME:11667] |
116 |
|
|
117 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
118 |
|
- Fix events in ddclient web script [SME:11667] |
119 |
|
- Add service link in domain-create |
120 |
|
|
121 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
122 |
|
- Update locale 2021-08-23.patch |
123 |
|
|
124 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
125 |
|
- Update locale 2021-08-21.patch |
126 |
|
|
127 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
128 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
129 |
|
|
130 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
131 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
132 |
|
|
133 |
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
134 |
- Update code in ip-up.local for systemd [SME: 11450] |
- Update code in ip-up.local for systemd [SME: 11450] |
135 |
|
|
332 |
%patch3 -p1 |
%patch3 -p1 |
333 |
%patch4 -p1 |
%patch4 -p1 |
334 |
%patch5 -p1 |
%patch5 -p1 |
335 |
|
%patch6 -p1 |
336 |
|
%patch7 -p1 |
337 |
|
%patch8 -p1 |
338 |
|
%patch9 -p1 |
339 |
|
%patch10 -p1 |
340 |
|
%patch11 -p1 |
341 |
|
%patch12 -p1 |
342 |
|
%patch13 -p1 |
343 |
|
%patch14 -p1 |
344 |
|
%patch15 -p1 |
345 |
|
%patch16 -p1 |
346 |
|
%patch17 -p1 |
347 |
|
%patch18 -p1 |
348 |
|
%patch19 -p1 |
349 |
|
%patch20 -p1 |
350 |
|
%patch21 -p1 |
351 |
|
%patch22 -p1 |
352 |
|
%patch23 -p1 |
353 |
|
%patch24 -p1 |
354 |
|
%patch25 -p1 |
355 |
|
%patch26 -p1 |
356 |
|
%patch27 -p1 |
357 |
|
|
358 |
%build |
%build |
359 |
perl createlinks |
perl createlinks |
362 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
363 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
364 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
365 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
366 |
|
> %{name}-%{version}-filelist |
367 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
368 |
|
|
369 |
|
# --dir /etc/ddclient 'attr(0600,ddclient,ddclient)' \ |
370 |
|
# --dir /var/cache/ddclient 'attr(0600,ddclient,ddclient)' \ |
371 |
|
|
372 |
%clean |
%clean |
373 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
374 |
|
|
378 |
#/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
379 |
#systemctl restart smanager |
#systemctl restart smanager |
380 |
|
|
381 |
|
if (systemctl list-unit-files |grep smanager) then |
382 |
|
echo "Smanager restart in spec file" |
383 |
|
/sbin/e-smith/signal-event smanager-refresh; |
384 |
|
fi |
385 |
|
true |
386 |
|
|
387 |
|
|
388 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
389 |
%defattr(-,root,root) |
%defattr(-,root,root) |
390 |
|
|