1 |
# $Id: smeserver-ddclient.spec,v 1.1 2020/05/08 08:56:28 brianr Exp $ |
# $Id: smeserver-ddclient.spec,v 1.24 2022/01/13 14:03:14 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.2.1 |
%define version 1.3.0 |
7 |
%define release 16 |
%define release 21 |
8 |
|
|
9 |
Summary: ddclient panel for SME Server |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
Name: %{name} |
13 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
Patch0: smeserver-ddclient-1.3.0-Add-in-extra-services.patch |
17 |
Patch1: Namecheap_translation.patch |
Patch1: smeserver-ddclient-1.3.0-Add-in-link-to-wiki.patch |
18 |
Patch2: smeserver-ddclient-1.2.1.bz8975.spdns.de.patch |
Patch2: smeserver-ddclient-1.3.0-Update-Createlinks-for-SME10-Systemd.patch |
19 |
Patch3: smeserver-ddclient-1.2.1.bz8961.customDNS.patch |
Patch3: smeserver-ddclient-1.3.0-Add-in-latest-dd-services-from-ddclient-391.patch |
20 |
Patch4: smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
Patch4: smeserver-ddclient-1.3.0-Correct-service-file-ExecStart.patch |
21 |
Patch5: smeserver-ddclient-1.2.1-locale-2015-09-12.patch |
Patch5: smeserver-ddclient-1.3.0-Update-code-in-ip-up.local-for-systemd.patch |
22 |
Patch6: smeserver-ddclient-1.2.1-locale-2016-03-09.patch |
Patch6: smeserver-ddclient-1.3.0-Change_default_urlcheckip.patch |
23 |
Patch7: smeserver-ddclient-1.2.1-locale-2017-12-02.patch |
Patch7: smeserver-ddclient-1.3.0-bz11667-fix-perms-and-postupgrade.patch |
24 |
Patch8: smeserver-ddclient-1.2.1-bz10593-spdns-spdyn.patch |
Patch8: smeserver-ddclient-1.3.0-locale-2021-08-21.patch |
25 |
Patch9: smeserver-ddclient-1.2.1-bz9450-new-ip-detection.patch |
Patch9: smeserver-ddclient-1.3.0-locale-2021-08-23.patch |
26 |
Patch10: smeserver-ddclient-1.2.1-locale-2019-12-07.patch |
Patch10: smeserver-ddclient-1.3.0-bz11667-Update-Events-and-Links.patch |
27 |
Patch11: smeserver-ddclient-1.2.1-allow-ampersand-in-username-needed-for-noip.patch |
Patch11: smeserver-ddclient-1.3.0-bz11667-Update-SM2-lib.patch |
28 |
Patch12: smeserver-ddclient-1.2.1-add-server-manager2-panels.patch |
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 |
|
|
35 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
36 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
37 |
Obsoletes: sme7-ddclient |
Obsoletes: sme7-ddclient |
38 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
39 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
40 |
Requires: ddclient >= 3.8.1 |
#Requires: smeserver-manager >= 0.1.0-24 |
41 |
|
Requires: ddclient >= 3.9.1 |
42 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
43 |
AutoReqProv: no |
AutoReqProv: no |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Mon Jan 17 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-21.sme |
47 |
|
- Make-intial-call-to-ddclient-honour-db-entries [SME: 11849] |
48 |
|
|
49 |
|
* Wed Jan 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-20 |
50 |
|
- Fix unit file, add config entries [SME: 11847] |
51 |
|
|
52 |
|
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-19.sme |
53 |
|
- Fix-typo-in-description-paragraph [SME: 11812] |
54 |
|
|
55 |
|
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-18.sme |
56 |
|
- Add in class to Div id=module declaration in ep file [SME: 11794] |
57 |
|
|
58 |
|
* Thu Nov 11 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-17.sme |
59 |
|
- Set default urlcheckip back to the dyndns.org service [SME: 11752] |
60 |
|
|
61 |
|
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
62 |
|
- Update locale 2021-09-08.patch |
63 |
|
|
64 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
65 |
|
- Fix events in ddclient SM2 library [SME:11667] |
66 |
|
|
67 |
|
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
68 |
|
- Fix events in ddclient web script [SME:11667] |
69 |
|
- Add service link in domain-create |
70 |
|
|
71 |
|
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
72 |
|
- Update locale 2021-08-23.patch |
73 |
|
|
74 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
75 |
|
- Update locale 2021-08-21.patch |
76 |
|
|
77 |
|
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
78 |
|
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
79 |
|
|
80 |
|
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
81 |
|
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
82 |
|
|
83 |
|
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
84 |
|
- Update code in ip-up.local for systemd [SME: 11450] |
85 |
|
|
86 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
87 |
|
- Correct ExecStart in Service file [SME: 11370] |
88 |
|
|
89 |
|
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
90 |
|
- Update list of services in SM1 [SME: 11414] |
91 |
|
- Add in Wantedby in service file dropin |
92 |
|
|
93 |
|
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
94 |
|
- Update Createlinks according to bug:10959 [SME: 11320] |
95 |
|
|
96 |
|
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
97 |
|
- Update spec file to take out requires smeserver-manager [SME: 10942] |
98 |
|
|
99 |
|
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-4.sme |
100 |
|
- fix [SME:10942] |
101 |
|
|
102 |
|
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
103 |
|
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
104 |
|
|
105 |
|
* Mon Jun 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-2.sme |
106 |
|
- Sort out startup with systemd [SME:10942] |
107 |
|
|
108 |
|
* Sun Jun 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-1.sme |
109 |
|
- Roll up all patches for SME10 [SME:10942] |
110 |
|
|
111 |
|
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-17.sme |
112 |
|
- Update-for-Apache-Mod-Proxy-based-server2 [SME:10942 ] |
113 |
|
|
114 |
* Mon Jun 08 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-16.sme |
* Mon Jun 08 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-16.sme |
115 |
- Add Server Manager2 panels for SME10 [SME:10942 ] |
- Add Server Manager2 panels for SME10 [SME:10942 ] |
116 |
|
|
140 |
* 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 |
141 |
- Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
- Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
142 |
|
|
143 |
* 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 |
144 |
- added spdns.de [SME: 8975] |
- added spdns.de [SME: 8975] |
145 |
- added custom fields for dns providers [SME: 8961] |
- added custom fields for dns providers [SME: 8961] |
146 |
- 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] |
149 |
- add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
- add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
150 |
- add translation missing Namecheap_translation.patch [SME: 8964] |
- add translation missing Namecheap_translation.patch [SME: 8964] |
151 |
|
|
152 |
* 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 |
153 |
- first import to sme9contribs |
- first import to sme9contribs |
154 |
|
|
155 |
* 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 |
170 |
* 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 |
171 |
- 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] |
172 |
|
|
173 |
* 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 |
174 |
- modify the path of template ddclient.conf [SME: 8018] |
- modify the path of template ddclient.conf [SME: 8018] |
175 |
|
|
176 |
* 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 |
229 |
* 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 |
230 |
- Apply 25 Jun 2008 locale patch |
- Apply 25 Jun 2008 locale patch |
231 |
|
|
232 |
* 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 |
233 |
- Apply 21 May 2008 locale patch |
- Apply 21 May 2008 locale patch |
234 |
|
|
235 |
* 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 |
272 |
- initial release |
- initial release |
273 |
|
|
274 |
%description |
%description |
275 |
ddclient panel and config files for SME9. |
ddclient panel and config files for SMEServer V10. |
276 |
|
|
277 |
%prep |
%prep |
278 |
%setup |
%setup |
289 |
%patch10 -p1 |
%patch10 -p1 |
290 |
%patch11 -p1 |
%patch11 -p1 |
291 |
%patch12 -p1 |
%patch12 -p1 |
292 |
|
%patch13 -p1 |
293 |
|
%patch14 -p1 |
294 |
|
%patch15 -p1 |
295 |
|
%patch16 -p1 |
296 |
|
%patch17 -p1 |
297 |
|
|
298 |
%build |
%build |
299 |
perl createlinks |
perl createlinks |
302 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
303 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
304 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
305 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
306 |
|
--dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ |
307 |
|
> %{name}-%{version}-filelist |
308 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
309 |
|
|
310 |
%clean |
%clean |
311 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
312 |
|
|
313 |
|
%post |
314 |
|
#systemctl enable ddclient |
315 |
|
#systemctl start ddclient |
316 |
|
#/sbin/e-smith/signal-event smanager-refresh |
317 |
|
#systemctl restart smanager |
318 |
|
|
319 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
320 |
%defattr(-,root,root) |
%defattr(-,root,root) |
321 |
|
|