1 |
# $Id: smeserver-ddclient.spec,v 1.7 2020/07/23 13:54:16 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.25 2022/01/17 11:58:45 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 5 |
%define release 22 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
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 |
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 |
|
|
36 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
37 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
44 |
AutoReqProv: no |
AutoReqProv: no |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Fri Feb 04 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-22.sme |
48 |
|
- Fix incorrect zoneedit endpoint [SME:11860] |
49 |
|
|
50 |
|
* Mon Jan 17 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-21.sme |
51 |
|
- Make-intial-call-to-ddclient-honour-db-entries [SME: 11849] |
52 |
|
|
53 |
|
* Wed Jan 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-20 |
54 |
|
- Fix unit file, add config entries [SME: 11847] |
55 |
|
|
56 |
|
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-19.sme |
57 |
|
- Fix-typo-in-description-paragraph [SME: 11812] |
58 |
|
|
59 |
|
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-18.sme |
60 |
|
- Add in class to Div id=module declaration in ep file [SME: 11794] |
61 |
|
|
62 |
|
* Thu Nov 11 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-17.sme |
63 |
|
- Set default urlcheckip back to the dyndns.org service [SME: 11752] |
64 |
|
|
65 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
66 |
|
- Update locale 2021-09-08.patch |
67 |
|
|
68 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
69 |
|
- Fix events in ddclient SM2 library [SME:11667] |
70 |
|
|
71 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
72 |
|
- Fix events in ddclient web script [SME:11667] |
73 |
|
- Add service link in domain-create |
74 |
|
|
75 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
76 |
|
- Update locale 2021-08-23.patch |
77 |
|
|
78 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
79 |
|
- Update locale 2021-08-21.patch |
80 |
|
|
81 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
82 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
83 |
|
|
84 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
85 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
86 |
|
|
87 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
88 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
89 |
|
|
90 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
91 |
|
- Correct ExecStart in Service file [SME: 11370] |
92 |
|
|
93 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
94 |
|
- Update list of services in SM1 [SME: 11414] |
95 |
|
- Add in Wantedby in service file dropin |
96 |
|
|
97 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
98 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
99 |
|
|
100 |
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
101 |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
102 |
|
|
276 |
- initial release |
- initial release |
277 |
|
|
278 |
%description |
%description |
279 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
280 |
|
|
281 |
%prep |
%prep |
282 |
%setup |
%setup |
283 |
%patch0 -p1 |
%patch0 -p1 |
284 |
%patch1 -p1 |
%patch1 -p1 |
285 |
|
%patch2 -p1 |
286 |
|
%patch3 -p1 |
287 |
|
%patch4 -p1 |
288 |
|
%patch5 -p1 |
289 |
|
%patch6 -p1 |
290 |
|
%patch7 -p1 |
291 |
|
%patch8 -p1 |
292 |
|
%patch9 -p1 |
293 |
|
%patch10 -p1 |
294 |
|
%patch11 -p1 |
295 |
|
%patch12 -p1 |
296 |
|
%patch13 -p1 |
297 |
|
%patch14 -p1 |
298 |
|
%patch15 -p1 |
299 |
|
%patch16 -p1 |
300 |
|
%patch17 -p1 |
301 |
|
%patch18 -p1 |
302 |
|
|
303 |
%build |
%build |
304 |
perl createlinks |
perl createlinks |
307 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
308 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
309 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
310 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
311 |
|
--dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ |
312 |
|
> %{name}-%{version}-filelist |
313 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
314 |
|
|
315 |
%clean |
%clean |
316 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
317 |
|
|
318 |
%post |
%post |
319 |
systemctl enable ddclient |
#systemctl enable ddclient |
320 |
systemctl start ddclient |
#systemctl start ddclient |
321 |
/sbin/e-smith/signal-event smanager-refresh |
#/sbin/e-smith/signal-event smanager-refresh |
322 |
systemctl restart smanager |
#systemctl restart smanager |
323 |
|
|
324 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
325 |
%defattr(-,root,root) |
%defattr(-,root,root) |
326 |
|
|