1 |
# $Id: smeserver-ddclient.spec,v 1.19 2021/08/31 13:49:07 jcrisp Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-ddclient |
6 |
%define version 1.3.0 |
7 |
%define release 16 |
8 |
|
9 |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GNU GPL version 2 |
14 |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
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 |
|
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildRequires: e-smith-devtools |
32 |
Obsoletes: sme7-ddclient |
33 |
BuildArchitectures: noarch |
34 |
Requires: e-smith-release >= 10.0 |
35 |
#Requires: smeserver-manager >= 0.1.0-24 |
36 |
Requires: ddclient >= 3.9.1 |
37 |
Requires: e-smith-formmagick |
38 |
AutoReqProv: no |
39 |
|
40 |
%changelog |
41 |
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-16.sme |
42 |
- Update locale 2021-09-08.patch |
43 |
|
44 |
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-15.sme |
45 |
- Fix events in ddclient SM2 library [SME:11667] |
46 |
|
47 |
* Tue Aug 31 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-14.sme |
48 |
- Fix events in ddclient web script [SME:11667] |
49 |
- Add service link in domain-create |
50 |
|
51 |
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-13.sme |
52 |
- Update locale 2021-08-23.patch |
53 |
|
54 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.3.0-12.sme |
55 |
- Update locale 2021-08-21.patch |
56 |
|
57 |
* Thu Aug 05 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.3.0-11.sme |
58 |
- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] |
59 |
|
60 |
* Sat Jul 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-10.sme |
61 |
- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] |
62 |
|
63 |
* Fri Mar 12 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-9.sme |
64 |
- Update code in ip-up.local for systemd [SME: 11450] |
65 |
|
66 |
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-8.sme |
67 |
- Correct ExecStart in Service file [SME: 11370] |
68 |
|
69 |
* Fri Mar 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-7.sme |
70 |
- Update list of services in SM1 [SME: 11414] |
71 |
- Add in Wantedby in service file dropin |
72 |
|
73 |
* Sun Jan 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.3.0-6.sme |
74 |
- Update Createlinks according to bug:10959 [SME: 11320] |
75 |
|
76 |
* Wed Dec 02 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-5.sme |
77 |
- Update spec file to take out requires smeserver-manager [SME: 10942] |
78 |
|
79 |
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-4.sme |
80 |
- fix [SME:10942] |
81 |
|
82 |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-3.sme |
83 |
- Add in extra services from ddclient 3.9.1 [SME:10942 ] |
84 |
|
85 |
* Mon Jun 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-2.sme |
86 |
- Sort out startup with systemd [SME:10942] |
87 |
|
88 |
* Sun Jun 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.3.0-1.sme |
89 |
- Roll up all patches for SME10 [SME:10942] |
90 |
|
91 |
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-17.sme |
92 |
- Update-for-Apache-Mod-Proxy-based-server2 [SME:10942 ] |
93 |
|
94 |
* Mon Jun 08 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.1-16.sme |
95 |
- Add Server Manager2 panels for SME10 [SME:10942 ] |
96 |
|
97 |
* Tue Dec 31 2019 Brian Read <smeserver@bjsystems.co.uk> 1.2.1-15.sme |
98 |
- allow @ in username in server manager panel - needed for Noip service [SME: 10796] |
99 |
|
100 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.2.1-14.sme |
101 |
- apply locale 2019-12-07 patch |
102 |
|
103 |
* Sun Apr 07 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.1-13.sme |
104 |
- fix missing new line [SME: 10765] |
105 |
thank you to Eric Serafin for reporting. |
106 |
|
107 |
* Sat Jan 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.1-12.sme |
108 |
- fix spdns migrate to spdyn.de [SME: 10593] |
109 |
- add new way to detect new ip [SME: 9450] |
110 |
|
111 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.2.1-9.sme |
112 |
- apply locale 2017-12-02 patch |
113 |
|
114 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2.1-8.sme |
115 |
- apply locale 2016-03-09 patch |
116 |
|
117 |
* Sat Sep 12 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-7.sme |
118 |
- Added smeserver-ddclient-1.2.1-locale-2015-09-12.patch |
119 |
|
120 |
* Sat Jul 11 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-6.sme |
121 |
- Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch |
122 |
|
123 |
* Fri Jul 10 2015 stephane de labrusse <stephdl@de-labrusse.fr> - 1.2.1-5.sme |
124 |
- added spdns.de [SME: 8975] |
125 |
- added custom fields for dns providers [SME: 8961] |
126 |
- added custom fields for free domains and panel options to ddclient [SME: 8983] |
127 |
|
128 |
* Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-3.sme |
129 |
- add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch |
130 |
- add translation missing Namecheap_translation.patch [SME: 8964] |
131 |
|
132 |
* Tue Jun 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-2.sme |
133 |
- first import to sme9contribs |
134 |
|
135 |
* Mon Aug 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.1-1.sme |
136 |
- Added the Namecheap protocol [SME:8538] |
137 |
- Added a db DeamonUpdate |
138 |
- Added force ssl |
139 |
|
140 |
* Tue Jun 10 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.2.0-1.sme |
141 |
- Initial release to sme9contribs |
142 |
|
143 |
* Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 1.0.0-30.sme |
144 |
- fix db extras need to migrate [SME: 6494] |
145 |
- added misisng prop login |
146 |
|
147 |
* Tue Dec 3 2013 JP Pialasse <tests@pialasse.com> 1.0.0-28.sme |
148 |
- patch fix for translation |
149 |
|
150 |
* Tue Nov 26 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-27.sme |
151 |
- 5 more dynamic dns services (DtDNS, Loopia, dnspark.com, OVH DynHost,Noip ,changeip) [SME:8019] |
152 |
|
153 |
* Thu Jul 25 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 1.0.0-26.sme |
154 |
- modify the path of template ddclient.conf [SME: 8018] |
155 |
|
156 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.0.0-24.sme |
157 |
- apply locale 2013-07-14 patch |
158 |
|
159 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0.0-23.sme |
160 |
- apply locale 2011-03-06 patch |
161 |
|
162 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.0.0-22.sme |
163 |
- apply locale 2010-05-23 patch |
164 |
|
165 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.0.0-21.sme |
166 |
- apply locale 2010-03-02 patch |
167 |
|
168 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-20.sme |
169 |
- apply locale 2009-10-27 patch |
170 |
|
171 |
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.0.0-19.sme |
172 |
- apply locale 2009-10-21 patch |
173 |
|
174 |
* Thu Oct 8 2009 Filippo Carletti <filippo.carletti@gmail.com> 1.0.0-18.sme |
175 |
- Merged dyndns db into domains db |
176 |
- Template and cgi cleanup |
177 |
- Fixed template expansion in events |
178 |
|
179 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0.0-17.sme |
180 |
- apply locale 2009-08-24 patch |
181 |
|
182 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0.0-16.sme |
183 |
- apply locale 2009-04-27 patch |
184 |
|
185 |
* Tue Mar 03 2009 SME Translation Server |
186 |
- apply locale 2009-03-03 patch |
187 |
|
188 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-14 |
189 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
190 |
|
191 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-13 |
192 |
- Apply 31 Jan 2009 locale patch [SME: 4951] |
193 |
|
194 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-12 |
195 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
196 |
|
197 |
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-11 |
198 |
- Apply 30 Nov 2008 locale patch |
199 |
|
200 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-10 |
201 |
- Apply 5 Nov 2008 locale patch |
202 |
|
203 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-9 |
204 |
- Apply 14 Oct 2008 locale patch |
205 |
|
206 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-8 |
207 |
- Apply 1 July 2008 locale patch |
208 |
|
209 |
* Wed Jun 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-7 |
210 |
- Apply 25 Jun 2008 locale patch |
211 |
|
212 |
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-6 |
213 |
- Apply 21 May 2008 locale patch |
214 |
|
215 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-5 |
216 |
- Apply 5 May 2008 locale patch |
217 |
|
218 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-4 |
219 |
- Added 26 April 2008 locale patch |
220 |
- Add common <base> tags to e-smith-formmagick's general |
221 |
|
222 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-3 |
223 |
- Added 23 April 2008 locale patch |
224 |
- Removed version number from spec file |
225 |
|
226 |
* Wed Apr 23 2008 Stephen Noble <support@dungog.net> 1.0.0-2 |
227 |
- prepare for import to smecontribs |
228 |
- links moved to createlinks |
229 |
- en lexicon split from function |
230 |
- fr and de lexicons removed, add back in pootle |
231 |
|
232 |
* Sat Jan 20 2007 Paul Floor <paul@smeserver.us> |
233 |
- ver 1.0 rel 1: split into smeserver-ddclient and ddclient |
234 |
- removed heartbeat |
235 |
|
236 |
* Sun Nov 12 2006 Filali-Ansary Vincent <filali.v@free.fr> |
237 |
- ver 3.7 rel 1: change for the new ddclient client |
238 |
|
239 |
* Sat Aug 19 2006 Filali-Ansary Vincent <filali.v@free.fr> |
240 |
- rel 8: change checkip.sjc.dyndns.org by checkip.dyndns.org |
241 |
|
242 |
* Mon Aug 7 2006 Filali-Ansary Vincent <filali.v@free.fr> |
243 |
- rel 7: repair the custom eurodyndns options on ddclient.conf. |
244 |
|
245 |
* Mon Jul 31 2006 Filali-Ansary Vincent <filali.v@free.fr> |
246 |
- rel 6: repair the custom dyndns options on ddclient.conf. |
247 |
|
248 |
* Fri Jun 30 2006 Filali-Ansary Vincent <filali.v@free.fr> |
249 |
- rel 5: change checkip.dyndns.org by checkip.sjc.dyndns.org |
250 |
|
251 |
* Tue May 09 2006 Filali-Ansary Vincent <filali.v@free.fr> |
252 |
- initial release |
253 |
|
254 |
%description |
255 |
ddclient panel and config files for SMEServer V10. |
256 |
|
257 |
%prep |
258 |
%setup |
259 |
%patch0 -p1 |
260 |
%patch1 -p1 |
261 |
%patch2 -p1 |
262 |
%patch3 -p1 |
263 |
%patch4 -p1 |
264 |
%patch5 -p1 |
265 |
%patch6 -p1 |
266 |
%patch7 -p1 |
267 |
%patch8 -p1 |
268 |
%patch9 -p1 |
269 |
%patch10 -p1 |
270 |
%patch11 -p1 |
271 |
%patch12 -p1 |
272 |
|
273 |
%build |
274 |
perl createlinks |
275 |
|
276 |
%install |
277 |
rm -rf $RPM_BUILD_ROOT |
278 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
279 |
rm -f %{name}-%{version}-filelist |
280 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
281 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
282 |
|
283 |
%clean |
284 |
rm -rf $RPM_BUILD_ROOT |
285 |
|
286 |
%post |
287 |
#systemctl enable ddclient |
288 |
#systemctl start ddclient |
289 |
#/sbin/e-smith/signal-event smanager-refresh |
290 |
#systemctl restart smanager |
291 |
|
292 |
%files -f %{name}-%{version}-filelist |
293 |
%defattr(-,root,root) |