1 |
# $Id: e-smith-ntp.spec,v 1.12 2020/11/30 02:40:21 jpp Exp $ |
2 |
|
3 |
Summary: e-smith specific NTP configuration files and templates |
4 |
%define name e-smith-ntp |
5 |
Name: %{name} |
6 |
%define version 2.6.0 |
7 |
%define release 12 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-ntp-2.6.0-bz9690.syslog.patch |
14 |
Patch1: %{name}-%{version}-bz11008_systemd.patch |
15 |
Patch2: e-smith-ntp-2.6.0-bz11008-bz8881-improve-systemd-driftfile.patch |
16 |
|
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
20 |
Requires: e-smith-formmagick >= 1.4.0-9 |
21 |
Requires: e-smith-base |
22 |
Requires: ntp |
23 |
Requires: e-smith-lib >= 1.15.1-19 |
24 |
AutoReqProv: no |
25 |
|
26 |
%changelog |
27 |
* Sun Dec 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
28 |
- update override.conf to 50koozali.conf [SME: 11008] |
29 |
|
30 |
* Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
31 |
- adding missing folder /usr/lib/systemd/system/ntpd.service.d [SME: 11008] |
32 |
|
33 |
* Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
34 |
- fix typo in path for new driftfile [SME: 8881] |
35 |
|
36 |
* Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
37 |
- fix systemd-preset fragment [SME: 11008] |
38 |
add +x to ExecStartPRe script |
39 |
|
40 |
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
41 |
- improve systemd integration [SME: 11008] |
42 |
- change driftfile path [SME: 8881] |
43 |
|
44 |
* Wed Sep 23 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme |
45 |
- from service to systemd [SME: 11008] |
46 |
- add ntpd-update event [SME: 11009] |
47 |
|
48 |
* Fri Jan 25 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
49 |
- revert last change [SME: 10190] |
50 |
on sme10 systemd has ntpd disabled by default |
51 |
|
52 |
* Fri Jan 25 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
53 |
- revert last change [SME: 10190] |
54 |
on sme10 systemd has ntpd disabled by default |
55 |
|
56 |
* Wed Nov 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
57 |
- added post transaction rule for ntp [SME: 10190] |
58 |
- thank you to Stefano Zamboni for this work |
59 |
|
60 |
* Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
61 |
- fix wrong link to restart rsyslog [SME: 9690] |
62 |
|
63 |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
64 |
- Rebuild for [SME: 9393] |
65 |
|
66 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
67 |
- Initial release to sme10 |
68 |
|
69 |
* Sat Jan 3 2015 Charlie Brady <charlieb.brady@mitel.com> 2.4.0-6.sme |
70 |
- Allow ntp status queries from localhost. [SME: 8764] |
71 |
|
72 |
* Mon Feb 3 2014 chris burnat <devlist@burnat.com> 2.4.0-5.sme |
73 |
- Prevent server being used in NTP amplification attacks. |
74 |
- Code by Jesper Holck [SME: 8181] |
75 |
|
76 |
* Fri Mar 22 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-4.sme |
77 |
- Increase memory limit [SME: 7502] |
78 |
|
79 |
* Mon Feb 4 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme |
80 |
- Remove default and migrate fragments for ntpd memory limit [SME: 7243] |
81 |
|
82 |
* Mon Feb 4 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme |
83 |
- Increase memory limit for ntpd [SME: 7243] |
84 |
|
85 |
* Fri Feb 1 2013 Ian Wells <esmith@wellsi.com> 2.4.0-1.sme |
86 |
- Rolling for SME 9 |
87 |
|
88 |
* Tue Oct 7 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
89 |
- Set the TimeZone property earlier, so templates can rely on it [SME: 6754] |
90 |
|
91 |
* Sun Nov 21 2010 Ian Wells <esmith@wellsi.com> 2.2.0-4.sme |
92 |
- SME 8.0 Changelog Cleanup [SME: 6368] |
93 |
|
94 |
* Tue Oct 12 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-3.sme |
95 |
- Support large drifts [SME: 5648] |
96 |
|
97 |
* Tue Jun 8 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
98 |
- Do not allow pool.ntp.org as NTP server [SME: 5957] |
99 |
|
100 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
101 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
102 |
|
103 |
* Mon Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.16.0-17 |
104 |
- Remove <base> tags now in general [SME: 3923] |
105 |
|
106 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.16.0-16 |
107 |
- Remove <base> tags now in general [SME: 3923] |
108 |
|
109 |
* Sat Feb 09 2008 Gavin Weight <gweight@gmail.com> 1.16.0-15 |
110 |
- Remove the expand-template as set in previous patch, as we already |
111 |
expand correct places. [SME: 3868] |
112 |
|
113 |
* Fri Feb 8 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.16.0-14 |
114 |
- Choose correct step-ticker for pool.ntp.org hosts. [SME: 3868] |
115 |
|
116 |
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.16.0-13 |
117 |
- Fix use of uninitialized value in 30pool migrate. [SME: 3594] |
118 |
|
119 |
* Sun Jul 08 2007 Stephen Noble <support@dungog.net> 1.16.0-12 |
120 |
- Migrate pool.ntp.org to smeserver.pool.ntp.org [SME: 1426] |
121 |
|
122 |
* Sun Jul 08 2007 Stephen Noble <support@dungog.net> 1.16.0-11 |
123 |
- Change default to smeserver.pool.ntp.org [SME: 1426] |
124 |
|
125 |
* Tue Jun 26 2007 Gavin Weight <gweight@gmail.com> 1.16.0-10 |
126 |
- Change Initial to First in the Datetime panel. [SME: 3108] |
127 |
|
128 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
129 |
- Clean up spec so package can be built by koji/plague |
130 |
|
131 |
* Mon Jan 22 2007 Shad L. Lords <slords@mail.com> 1.16.0-9 |
132 |
- Up memory limit to remove out of memory errors [SME: 2241] |
133 |
|
134 |
* Tue Jan 16 2007 Shad L. Lords <slords@mail.com> 1.16.0-8 |
135 |
- Rework hwclock sync patch to function properly. [SME: 1954] |
136 |
|
137 |
* Tue Jan 16 2007 Shad L. Lords <slords@mail.com> 1.16.0-7 |
138 |
- Remove HWClockSupport needs rework. [SME: 1954] |
139 |
- Rework success patch needs delay before signal-event [SME: 2292] |
140 |
|
141 |
* Sun Jan 14 2007 Shad L. Lords <slords@mail.com> 1.16.0-6 |
142 |
- Fix migrate fragment [SME: 1954] |
143 |
|
144 |
* Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.16.0-5 |
145 |
- Make success/failure messages standard [SME: 2292] |
146 |
|
147 |
* Tue Jan 2 2007 Charlie Brady <charlie_brady@mitel.com> 1.16.0-4 |
148 |
- Add patch from Zac Sprackett to support sync to HW clock. [SME: 1954] |
149 |
|
150 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
151 |
- Update to new release naming. No functional changes. |
152 |
- Make Packager generic |
153 |
|
154 |
* Sat Dec 02 2006 Shad L. Lords <slords@mail.com> 1.16.0-02 |
155 |
- Bump version so it gets installed on upgrade and forces ntp to be installed. |
156 |
|
157 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-01 |
158 |
- Roll stable stream version. [SME: 1016] |
159 |
|
160 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.2-02 |
161 |
- Bump release number only |
162 |
|
163 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
164 |
- [1.15.2-01] |
165 |
- Remove L10Ns from base packages [SF: 1309520] |
166 |
|
167 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
168 |
- [1.15.1-01] |
169 |
- New dev stream before relocating L10Ns |
170 |
|
171 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
172 |
- [1.15.0-14] |
173 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
174 |
|
175 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
176 |
- [1.15.0-13] |
177 |
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
178 |
|
179 |
* Wed Aug 31 2005 Charlie Brady <charlieb@e-smith.com> |
180 |
- [1.15.0-12] |
181 |
- Enforce minimum value of content of env/MEMLIMIT file. [SF: 1270649] |
182 |
|
183 |
* Tue Aug 23 2005 Charlie Brady <charlieb@e-smith.com> |
184 |
- [1.15.0-11] |
185 |
- Fix update of /etc/localtime symlink after update via panel. [SF: 1264801] |
186 |
|
187 |
* Wed Aug 17 2005 Charlie Brady <charlieb@e-smith.com> |
188 |
- [1.15.0-10] |
189 |
- Remove /etc/ntp.conf in %pre script, to work around |
190 |
problems with update of ntpd RPM. Add conditional expand-template |
191 |
to run script to be sure that file is regenerated before we need |
192 |
it. [SF: 1237968] |
193 |
|
194 |
* Fri Aug 12 2005 Charlie Brady <charlieb@e-smith.com> |
195 |
- [1.15.0-09] |
196 |
- Open config db r/w to allow property update. [SF: 1216546] |
197 |
|
198 |
* Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com> |
199 |
- [1.15.0-08] |
200 |
- Update to current db access APIs. [SF: 1216546] |
201 |
|
202 |
* Thu Jun 23 2005 Charlie Brady <charlieb@e-smith.com> |
203 |
- [1.15.0-07] |
204 |
- Increase MemLimit setting to 6MB (for CentOS4 build). [SF: 1225925] |
205 |
- Remove obsolete "authenticate" directive from ntpd.conf. [SF: 1225925] |
206 |
|
207 |
* Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com> |
208 |
- [1.15.0-06] |
209 |
- Ensure that 'status' property is recognised at startup. [MN00061795] |
210 |
|
211 |
* Thu Mar 31 2005 Charlie Brady <charlieb@e-smith.com> |
212 |
- [1.15.0-05] |
213 |
- Add default fragment for MemLimit property of ntp service. |
214 |
[MN00064130] |
215 |
|
216 |
* Thu Mar 31 2005 Charlie Brady <charlieb@e-smith.com> |
217 |
- [1.15.0-04] |
218 |
- Remove explicity call of generic_template_expand - it's now |
219 |
implicit. [MN00064130] |
220 |
|
221 |
* Tue Mar 8 2005 Charlie Brady <charlieb@e-smith.com> |
222 |
- [1.15.0-03] |
223 |
- Fix template expansion of /etc/ntp/step-tickers and ./env/MEMLIMIT |
224 |
[MN00064130] |
225 |
- Use generic service adjust action for reload/restart. [MN00065576] |
226 |
|
227 |
* Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com> |
228 |
- [1.15.0-02] |
229 |
- Combine set-date and set-clock, and use a shell script rather than |
230 |
perl. [MN00064941] |
231 |
- Use generic_template_expand action where possible, in place |
232 |
of specific actions. Update e-smith-lib dependency. [MN00064130] |
233 |
|
234 |
* Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com> |
235 |
- [1.15.0-01] |
236 |
- Changing version to development stream number - 1.15.0 |
237 |
|
238 |
* Thu Nov 11 2004 Michael Soulier <msoulier@e-smith.com> |
239 |
- [1.14.0-02] |
240 |
- Patched stderr "leaking" from ntpdate call. [msoulier MN00056927] |
241 |
|
242 |
* Wed Nov 3 2004 Charlie Brady <charlieb@e-smith.com> |
243 |
- [1.14.0-01] |
244 |
- Changing version to stable stream number - 1.14.0 |
245 |
|
246 |
* Tue Oct 19 2004 Gordon Rowell <gordonr@e-smith.com> |
247 |
- [1.13.0-21] |
248 |
- pool.ntp.org now uses 0, 1, 2 prefixes rather than relying on |
249 |
short DNS TTLs. So, we need to add the prefixes if we are talking |
250 |
with pool.ntp.org or {region}.pool.ntp.org and revert to listing |
251 |
"normal" NTP servers once [gordonr MN00053174] |
252 |
|
253 |
* Mon Oct 18 2004 Gordon Rowell <gordonr@e-smith.com> |
254 |
- [1.13.0-20] |
255 |
- List the ntp server three times, for DNS round-robin servers, |
256 |
such as pool.ntp.org, {region}.pool.ntp.org and time.nrc.ca |
257 |
- [gordonr MN00053174] |
258 |
|
259 |
* Tue Sep 28 2004 Charlie Brady <charlieb@e-smith.com> |
260 |
- [1.13.0-19] |
261 |
- Convert ntp.conf/10localhost template fragment from DOS text format |
262 |
[charlieb MN00050805] |
263 |
|
264 |
* Tue Sep 28 2004 Charlie Brady <charlieb@e-smith.com> |
265 |
- [1.13.0-18] |
266 |
- Convert ntp.conf/30other template fragment from DOS text format |
267 |
[charlieb MN00050805] |
268 |
- Don't create pid file, and remove one if we find an old one. |
269 |
[charlieb MN00050806] |
270 |
- ntpdate should log to standard output, not to syslog. [charlieb MN00049205] |
271 |
|
272 |
* Tue Sep 28 2004 Charlie Brady <charlieb@e-smith.com> |
273 |
- [1.13.0-17] |
274 |
- Need to create empty /service/ntpd/env directory for template to be |
275 |
expanded into. [charlieb MN00050192] |
276 |
|
277 |
* Tue Sep 28 2004 Charlie Brady <charlieb@e-smith.com> |
278 |
- [1.13.0-16] |
279 |
- Increase memory limit for running ntpd. While we are at it, |
280 |
we'll make the value templated, and update code in conf-ntpd |
281 |
to modern standards. [charlieb MN00050192] |
282 |
|
283 |
* Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com> |
284 |
- [1.13.0-15] |
285 |
- Fixed logging to go to stdout. [msoulier MN00049205] |
286 |
|
287 |
* Fri Sep 3 2004 Charlie Brady <charlieb@e-smith.com> |
288 |
- [1.13.0-14] |
289 |
- Clean BuildRequires. [charlieb MN00043055] |
290 |
|
291 |
* Wed May 5 2004 Michael Soulier <msoulier@e-smith.com> |
292 |
- [1.13.0-13] |
293 |
- Fixed a logic error from last change. [msoulier MN00027900] |
294 |
|
295 |
* Wed May 5 2004 Michael Soulier <msoulier@e-smith.com> |
296 |
- [1.13.0-12] |
297 |
- Added localhost as a stratum 10 server. [msoulier MN00027900] |
298 |
|
299 |
* Wed Jan 28 2004 Michael Soulier <msoulier@e-smith.com> |
300 |
- [1.13.0-11] |
301 |
- Added ntpdate call to run script. [msoulier 10929] |
302 |
|
303 |
* Thu Jan 22 2004 Michael Soulier <msoulier@e-smith.com> |
304 |
- [1.13.0-10] |
305 |
- Raised the softlimit for ntpd. libc is big. :) [msoulier 10929] |
306 |
|
307 |
* Thu Jan 22 2004 Michael Soulier <msoulier@e-smith.com> |
308 |
- [1.13.0-09] |
309 |
- Moved proxy-start/stop to e-smith-proxy where they belong. [msoulier 10929] |
310 |
|
311 |
* Thu Jan 22 2004 Michael Soulier <msoulier@e-smith.com> |
312 |
- [1.13.0-08] |
313 |
- Fixed missing directives to genfilelist. [msoulier 10586] |
314 |
|
315 |
* Thu Jan 22 2004 Michael Soulier <msoulier@e-smith.com> |
316 |
- [1.13.0-07] |
317 |
- Fixed a typo in createlinks. The new ntpd initscript must not conflict with |
318 |
the one in the ntpd package. [msoulier 10586] |
319 |
|
320 |
* Wed Jan 21 2004 Michael Soulier <msoulier@e-smith.com> |
321 |
- [1.13.0-06] |
322 |
- Removing old symlink creation and moving to createlinks. [msoulier 10586] |
323 |
|
324 |
* Wed Jan 21 2004 Michael Soulier <msoulier@e-smith.com> |
325 |
- [1.13.0-05] |
326 |
- Adding supervision of ntpd. [msoulier 10586] |
327 |
|
328 |
* Fri Nov 7 2003 Gordon Rowell <gordonr@e-smith.com> |
329 |
- [1.13.0-04] |
330 |
- Enable ntpd by default [gordonr 10566] |
331 |
|
332 |
* Fri Nov 7 2003 Gordon Rowell <gordonr@e-smith.com> |
333 |
- [1.13.0-03] |
334 |
- Default time server to pool.ntp.org [gordonr 10566] |
335 |
|
336 |
* Tue Jul 22 2003 Charlie Brady <charlieb@e-smith.com> |
337 |
- [1.13.0-02] |
338 |
- Remove deprecated -startup script, and add default db |
339 |
fragments [charlieb 9553] |
340 |
- s/Copyright/License/ |
341 |
|
342 |
* Tue Jul 8 2003 Charlie Brady <charlieb@e-smith.com> |
343 |
- [1.13.0-01] |
344 |
- Changing version to development stream number - 1.13.0 |
345 |
|
346 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
347 |
- [1.12.0-01] |
348 |
- Changing version to stable stream number - 1.12.0 |
349 |
|
350 |
* Fri May 9 2003 Tony Clayton <apc@e-smith.com> |
351 |
- [1.11.0-22] |
352 |
- Fix save button justification [tonyc 1588] |
353 |
|
354 |
* Tue May 6 2003 Lijie Deng <lijied@e-smith.com> |
355 |
- [1.11.0-21] |
356 |
- Add Spanish lexicon for datetime panel [lijied 3793] |
357 |
|
358 |
* Thu May 1 2003 Tony Clayton <apc@e-smith.com> |
359 |
- [1.11.0-20] |
360 |
- Background the timeserver-update event in panel [tonyc 1588] |
361 |
|
362 |
* Wed Apr 30 2003 Tony Clayton <apc@e-smith.com> |
363 |
- [1.11.0-19] |
364 |
- Fix datetime panel when ntp stays disabled [tonyc 1588] |
365 |
- Show date when ntp is enabled [tonyc 1588] |
366 |
|
367 |
* Thu Apr 17 2003 Gordon Rowell <gordonr@e-smith.com> |
368 |
- [1.11.0-18] |
369 |
- Start ntp after external network is (possibly) up [gordonr 8391] |
370 |
|
371 |
* Thu Apr 10 2003 Lijie Deng <lijied@e-smith.com> |
372 |
- [1.11.0-17] |
373 |
- Change $q->table back [lijied 8034] |
374 |
|
375 |
* Wed Apr 9 2003 Lijie Deng <lijied@e-smith.com> |
376 |
- [1.11.0-16] |
377 |
- Added French trans for "Set Date and Time" [lijied 7949] |
378 |
|
379 |
* Fri Apr 4 2003 Lijie Deng <lijied@e-smith.com> |
380 |
- [1.11.0-15] |
381 |
- Changed $q->table to $->start_table where necessary [lijied 8034] |
382 |
|
383 |
* Thu Apr 3 2003 Lijie Deng <lijied@e-smith.com> |
384 |
- [1.11.0-14] |
385 |
- Removed en-us and fr 'Mitel Networks SME Server' branding [lijied 8016] |
386 |
|
387 |
* Tue Apr 1 2003 Tony Clayton <apc@e-smith.com> |
388 |
- [1.11.0-13] |
389 |
- Fix datetime to loop back to Initial page w/ status report [tonyc 1588] |
390 |
- Fix link to Verify page [tonyc 1588] |
391 |
|
392 |
* Tue Apr 1 2003 Tony Clayton <apc@e-smith.com> |
393 |
- [1.11.0-12] |
394 |
- Add container table to fix IE 6 handling of table-layout: fixed [tonyc 1588] |
395 |
- Remove redundant newlines from some print statements [tonyc 1588] |
396 |
|
397 |
* Fri Mar 28 2003 Tony Clayton <apc@e-smith.com> |
398 |
- [1.11.0-11] |
399 |
- Update fr l10n strings [tonyc 1588] |
400 |
|
401 |
* Thu Mar 27 2003 Lijie Deng <lijied@e-smith.com> |
402 |
- [1.11.0-10] |
403 |
- Major refactoring and cleanup of datetime.pm [tonyc 1588] |
404 |
- Expand tabs to spaces in datetime.pm [tonyc 1588] |
405 |
- Add radio buttons and don't allow setting date manually when ntp is enabled |
406 |
[tonyc 1588] |
407 |
- Modified French lexicon to use lang="fr", rename the lexicon |
408 |
directory to fr [lijied 6787] |
409 |
|
410 |
* Mon Mar 17 2003 Lijie Deng <lijied@e-smith.com> |
411 |
- [1.11.0-09] |
412 |
- Deleted inappropriate template-begin file |
413 |
deleted empty template-end files [lijied 3295] |
414 |
|
415 |
* Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com> |
416 |
- [1.11.0-08] |
417 |
- Modified datetime panel order [lijied 7356] |
418 |
|
419 |
* Tue Mar 4 2003 Lijie Deng <lijied@e-smith.com> |
420 |
- [1.11.0-07] |
421 |
- Split en-us lexicon from datetime panel [lijied 4030] |
422 |
|
423 |
* Mon Mar 3 2003 Lijie Deng <lijied@e-smith.com> |
424 |
- [1.11.0-06] |
425 |
- Add French lexicon for datetime [lijied 5003] |
426 |
|
427 |
* Thu Jan 16 2003 Mark Knox <markk@e-smith.com> |
428 |
- [1.11.0-05] |
429 |
- Use new gen_locale_date_string routine [markk 3357] |
430 |
|
431 |
* Fri Dec 27 2002 Mike Dickson <miked@e-smith.com> |
432 |
- [1.11.0-04] |
433 |
- updated the datetime panel to use css [miked 5494] |
434 |
|
435 |
* Tue Dec 10 2002 Mike Dickson <miked@e-smith.com> |
436 |
- [1.11.0-03] |
437 |
- ui update [miked 5494] |
438 |
|
439 |
* Thu Nov 21 2002 Mike Dickson <miked@e-smith.com> |
440 |
- [1.11.0-02] |
441 |
- update to new UI system [miked 5494] |
442 |
|
443 |
* Wed Nov 20 2002 Mike Dickson <miked@e-smith.com> |
444 |
- [1.11.0-01] |
445 |
- Changing to development stream; version upped to 1.11.0 |
446 |
|
447 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
448 |
- [1.10.0-01] |
449 |
- Rolling stable version number to 1.10.0 |
450 |
|
451 |
* Fri Aug 23 2002 Mark Knox <markk@e-smith.com> |
452 |
- [1.9.4-01] |
453 |
- Fixed duplicate English-only footers in panel [markk 3615] |
454 |
|
455 |
* Mon Aug 19 2002 Charlie Brady <charlieb@e-smith.com> |
456 |
- [1.9.3-01] |
457 |
- Remove masq script update and restart symlinks. They are no longer |
458 |
needed not that we have connection tracking enabled. [charlieb 4501] |
459 |
- Add rc7.d symlink, and don't set obsolete InitscriptsOrder property |
460 |
[charlieb 4458] |
461 |
|
462 |
* Thu Aug 8 2002 Charlie Brady <charlieb@e-smith.com> |
463 |
- [1.9.2-01] |
464 |
- Remove NTP masq template fragment. We no longer need it, as netfilter |
465 |
connection tracking allows NTP replies. [charlieb 4499] |
466 |
|
467 |
* Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com> |
468 |
- [1.9.1-01] |
469 |
- Change masq script fragment to use iptables. [charlieb 1268] |
470 |
|
471 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
472 |
- [1.9.0-01] |
473 |
- Changing version to development stream number - 1.9.0 |
474 |
|
475 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
476 |
- [1.8.0-01] |
477 |
- Changing version to maintained stream number to 1.8.0 |
478 |
|
479 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
480 |
- [1.7.5-01] |
481 |
- RPM rebuild forced by cvsroot2rpm |
482 |
|
483 |
* Wed May 8 2002 Mark Knox <markk@e-smith.com> |
484 |
- [1.7.4-01] |
485 |
- Subst <base> -> </base> in lexicon [markk 3309] |
486 |
|
487 |
* Tue May 7 2002 Gordon Rowell <gordonr@e-smith.com> |
488 |
- [1.7.3-01] |
489 |
- Localised "Network Time Server" heading [markk 3311] |
490 |
- Localised date display [markk 3311] |
491 |
- Added nav bar entry [gordonr 3155] |
492 |
|
493 |
* Mon Apr 15 2002 Mark Knox <markk@e-smith.com> |
494 |
- [1.7.2-01] |
495 |
- Moved all code into module datetime.pm [markk 3159] |
496 |
- Converted to FormMagick panel and internationalized [markk 3159] |
497 |
- Added POD and testsuite [markk 3159] |
498 |
|
499 |
* Fri Apr 5 2002 Kirrily Robert <skud@e-smith.com> |
500 |
- [1.7.1-01] |
501 |
- Testing CVS import |
502 |
|
503 |
* Fri Apr 5 2002 Kirrily Robert <skud@e-smith.com> |
504 |
- [1.7.0-01] |
505 |
- rollRPM: Rolled version number to 1.7.0-01. Includes patches up to 1.6.0-01. |
506 |
|
507 |
* Tue Dec 11 2001 Jason Miller <jay@e-smith.com> |
508 |
- [1.6.0-01] |
509 |
- rollRPM: Rolled version number to 1.6.0-01. Includes patches up to 1.5.0-02. |
510 |
|
511 |
* Tue Nov 06 2001 Charlie Brady <charlieb@e-smith.com> |
512 |
- [1.5.0-02] |
513 |
- Initialise TimeZone db setting from /etc/sysconfig/clock if not set |
514 |
- Branding changes in web panel. |
515 |
|
516 |
* Tue Nov 6 2001 Charlie Brady <charlieb@e-smith.com> |
517 |
- [1.5.0-01] |
518 |
- Rolled version number to 1.5.0-01. Includes patches upto 1.4.0-03. |
519 |
|
520 |
* Tue Aug 28 2001 Gordon Rowell <gordonr@e-smith.com> |
521 |
- [1.4.0-03] |
522 |
- Removed deprecated post-restore event directory |
523 |
|
524 |
* Fri Aug 17 2001 gordonr |
525 |
- [1.4.0-02] |
526 |
- Autorebuild by rebuildRPM |
527 |
|
528 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
529 |
- [1.4.0-01] |
530 |
- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-06. |
531 |
|
532 |
* Thu Aug 02 2001 Gordon Rowell <gordonr@e-smith.com> |
533 |
- [1.3.0-06] |
534 |
- More branding changes |
535 |
|
536 |
* Sun Jul 29 2001 Jason Miller <jmiller@e-smith.com> |
537 |
- [1.3.0-05] |
538 |
- Branding text changes to the datetime web panel |
539 |
|
540 |
* Tue Jul 17 2001 Jason Miller <jmiller@e-smith.com> |
541 |
- [1.3.0-04] |
542 |
- Patch to datetime panel to fix mismatched section headers |
543 |
|
544 |
* Tue May 29 2001 Tony Clayton <tonyc@e-smith.com> |
545 |
- [1.3.0-03] |
546 |
- fixed actions that had tied %conf when calling serviceControl (4 actions) |
547 |
|
548 |
* Wed Apr 11 2001 Adrian Chung <adrianc@e-smith.com> |
549 |
- [1.3.0-02] |
550 |
- changing h4 tags to paragraph bold tags. |
551 |
|
552 |
* Wed Apr 11 2001 Adrian Chung <mac@e-smith.com> |
553 |
- [1.3.0-01] |
554 |
- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-13. |
555 |
|
556 |
* Fri Feb 23 2001 Paul Nesbit <pkn@e-smith.com> |
557 |
- [1.2.0-13] |
558 |
- Fixed conf-timezone to properly handle timezone after restore |
559 |
|
560 |
* Mon Feb 12 2001 Adrian Chung <adrianc@e-smith.com> |
561 |
- Roll release number for GPG signing. |
562 |
|
563 |
* Mon Feb 12 2001 Charlie Brady <charlieb@e-smith.com> |
564 |
- [1.2.0-12] |
565 |
- Expand ntp.conf always, even when ntpd is disabled. Otherwise ntpd |
566 |
refuses to shut down. |
567 |
|
568 |
* Fri Feb 9 2001 Adrian Chung <adrianc@e-smith.com> |
569 |
- Added restart-crond to timezone-update event. |
570 |
|
571 |
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
572 |
- Rolling release number for GPG signing. |
573 |
|
574 |
* Wed Feb 07 2001 Charlie Brady <charlieb@e-smith.com> |
575 |
- [1.2.0-08] |
576 |
- Add some missing event symlinks |
577 |
|
578 |
* Sun Feb 04 2001 Gordon Rowell <gordonr@e-smith.com> |
579 |
- [1.2.0-07] |
580 |
- Loop through all addresses in case NTPServer refers to multiple IPs |
581 |
|
582 |
* Fri Feb 02 2001 Gordon Rowell <gordonr@e-smith.com> |
583 |
- [1.2.0-06] |
584 |
- Build ip masq rule with IP address of NTP server |
585 |
|
586 |
* Tue Jan 30 2001 Jason Miller <jmiller@e-smith.com> |
587 |
- [1.2.0-05] |
588 |
- Updated datetime panel to run the timeserver-update |
589 |
event (added rules to make sure that updates to the |
590 |
configuration database aren't affected UnsavedChanges flag). |
591 |
|
592 |
* Tue Jan 30 2001 Jason Miller <jmiller@e-smith.com> |
593 |
- [1.2.0-04] |
594 |
- Added a comment in the ipchains rules |
595 |
- Added symlinks for the conf-masq and restart-masq actions |
596 |
to be run as part of timeserver-update event (thereby |
597 |
expanding the /etc/rc.d/init.d/masq template). |
598 |
|
599 |
* Sat Jan 27 2001 Charlie Brady <charlieb@e-smith.com> |
600 |
- [1.2.0-03] |
601 |
- Change ref to %conf => %services in masq template fragment |
602 |
|
603 |
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
604 |
- [1.2.0-02] |
605 |
- Fix perl syntax error in masq template fragment |
606 |
- Save/restore unsavedchanges flag around timezone change. |
607 |
|
608 |
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
609 |
- [1.2.0-01] |
610 |
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-28. |
611 |
|
612 |
* Wed Jan 24 2001 Charlie Brady <charlieb@e-smith.com> |
613 |
- [1.1.0-28] |
614 |
- Remove restart-ntp from post-upgrade action |
615 |
- Remove post-restore event |
616 |
- Tighten up NTP packet filter rule. |
617 |
- Remove conf-ntpd from ip-change event |
618 |
- Remove duplication of timezone migration code - it is in base as well. |
619 |
|
620 |
* Wed Jan 24 2001 Jason Miller <jmiller@e-smith.com> |
621 |
- [1.1.0-27] |
622 |
- Changed conf-timezone action so that during an upgrade |
623 |
it will preserve the existing symlink for /etc/localtime |
624 |
and use that value to set the configuration database |
625 |
value for TimeZone |
626 |
|
627 |
* Wed Jan 24 2001 Jason Miller <jmiller@e-smith.com> |
628 |
- [1.1.0-26] |
629 |
- removed the signal event for datetime-set in the datetime |
630 |
web panel |
631 |
|
632 |
* Wed Jan 24 2001 Jason Miller <jmiller@e-smith.com> |
633 |
- [1.1.0-25] |
634 |
- combined the timezone-update and datetime-set events |
635 |
into a single event (and might combine the action scripts |
636 |
as well) |
637 |
|
638 |
* Wed Jan 24 2001 Jason Miller <jmiller@e-smith.com> |
639 |
- [1.1.0-24] |
640 |
- added new service control mechanism to not background |
641 |
the proxy-stop action to shutdown squid |
642 |
|
643 |
* Tue Jan 23 2001 Jason Miller <jmiller@e-smith.com> |
644 |
- moved all date and time settings into a new event/action |
645 |
sequence (datetime-set) which then calls the proxy-stop, |
646 |
set-date, set-clock, proxy-start and removed the previous |
647 |
system calls from the web manager form |
648 |
- removed the squid stop/start actions from conf-timezone |
649 |
action |
650 |
|
651 |
* Mon Jan 22 2001 Jason Miller <jmiller@e-smith.com> |
652 |
- Updated createlinks to have update-timezone and |
653 |
update-timeserver events link in the action restart-syslog |
654 |
to improve on the strange log times recorded otherwise |
655 |
|
656 |
* Mon Jan 22 2001 Jason Miller <jmiller@e-smith.com> |
657 |
- Added service control to stop the proxy server (squid) |
658 |
from running prior to changing the timezone information |
659 |
in conf-timezone, then starting it again after the change |
660 |
to remove squid hangups on shutdown |
661 |
|
662 |
* Mon Jan 22 2001 Gordon Rowell <gordonr@e-smith.com> |
663 |
- Added NTP fragment to packet filter - Thanks Bernd Leibing |
664 |
|
665 |
* Tue Jan 16 2001 Jason Miller <jmiller@e-smith.com> |
666 |
- Removed the %postun section which was deleting ntpd |
667 |
configuration values after uninstalling e-smith-ntp |
668 |
(which occurs in an upgrade) and the %post section |
669 |
which expanded the templates for ntpd without checking |
670 |
the status (now done properly in the actions) |
671 |
|
672 |
* Tue Jan 16 2001 Jason Miller <jmiller@e-smith.com> |
673 |
- Fixed the /etc/ntp.conf template expansion to pull |
674 |
the NTPServer value from the ntpd service configuration |
675 |
settings |
676 |
|
677 |
* Tue Jan 16 2001 Jason Miller <jmiller@e-smith.com> |
678 |
- Changed the order of system time setting: |
679 |
- Set timezone first, then clock settings |
680 |
|
681 |
* Fri Jan 12 2001 Jason Miller <jmiller@e-smith.com> |
682 |
- Merged the conf-clock and reset-link into a single |
683 |
action script of conf-timezone |
684 |
- Removed symlinks to post-upgrade and update-timezone |
685 |
- Added symlink for conf-timezone to update-timezone |
686 |
- Added symlink for conf-timezone to bootstrap-console-save |
687 |
(instead of post-upgrade) |
688 |
|
689 |
* Fri Jan 12 2001 Jason Miller <jmiller@e-smith.com> |
690 |
- Added reset-link and conf-clock to the post-upgrade |
691 |
event |
692 |
|
693 |
* Fri Jan 12 2001 Gordon Rowell <gordonr@e-smith.com> |
694 |
- Added conf-ntpd-startup |
695 |
|
696 |
* Thu Jan 11 2001 Jason Miller <jmiller@e-smith.com> |
697 |
- [1.1.0-13] |
698 |
- remove extra signal events based on what time setting |
699 |
choice gets made |
700 |
|
701 |
* Thu Jan 11 2001 Jason Miller <jmiller@e-smith.com> |
702 |
- [1.1.0-12] |
703 |
- updated datetime panel to take into account the new |
704 |
action scripts called by timezone-update event |
705 |
|
706 |
* Thu Jan 11 2001 Gordon Rowell <gordonr@e-smith.com> |
707 |
- [1.1.0-11] |
708 |
- use serviceControl() |
709 |
|
710 |
* Thu Jan 11 2001 Jason Miller <jmiller@e-smith.com> |
711 |
- [1.1.0-10] |
712 |
- fixed /etc/sysconfig/clock template generation |
713 |
|
714 |
* Thu Jan 11 2001 Jason Miller <jmiller@e-smith.com> |
715 |
- [1.1.0-9] |
716 |
- added conf-clock to configure /etc/sysconfig/clock |
717 |
- added reset-link to unlink and re-symlink |
718 |
/etc/localtime to the correct timezone |
719 |
|
720 |
* Sat Jan 6 2001 Jason Miller <jmiller@e-smith.com> |
721 |
- [1.1.0-7] |
722 |
- Charlie changed spec file in %post and %postun to |
723 |
generate ntpd templates in runlevel 7 and to remove |
724 |
it if e-smith-ntp is uninstalled |
725 |
- Added configuration parameter for timeZone which |
726 |
will be used by default as the timezone value for |
727 |
date and time, otherwise it defaults to /etc/localtime |
728 |
|
729 |
* Fri Jan 5 2001 Adrian Chung <adrianc@e-smith.com> |
730 |
- [1.1.0-6] |
731 |
- add new event timezone-update that calls restart httpd |
732 |
- datetime panel modified to call both time{server,zone}-update |
733 |
|
734 |
* Fri Jan 5 2001 Charlie Brady <charlieb@e-smith.com> |
735 |
- [1.1.0-5] |
736 |
- Disable ntpd by default - without an NTPServer setting there's no |
737 |
point in enabling ntpd. |
738 |
- Remove timeserver web form. Add Jay's new combined datetime and |
739 |
timeserver form. |
740 |
|
741 |
* Fri Dec 15 2000 Adrian Chung <adrianc@e-smith.com> |
742 |
- Changed NTPserver to NTPServer in 00timeServer fragment |
743 |
- Modified timeserver panel to record timeserver value to ntpd |
744 |
property instead of legacy variable. |
745 |
|
746 |
* Wed Dec 6 2000 Adrian Chung <adrianc@e-smith.com> |
747 |
- Removed 'private' property setting in conf-ntpd |
748 |
- Added link for conf-ntpd to post-install |
749 |
|
750 |
* Wed Dec 6 2000 Adrian Chung <adrianc@e-smith.com> |
751 |
- Re-rolled tar ball to get rid of symlinks |
752 |
|
753 |
* Mon Dec 4 2000 Adrian Chung <adrianc@e-smith.com> |
754 |
- Initial release |
755 |
|
756 |
%description |
757 |
Configuration files and templates for the NTP daemon. |
758 |
|
759 |
%prep |
760 |
%setup |
761 |
%patch0 -p1 |
762 |
%patch1 -p1 |
763 |
%patch2 -p1 |
764 |
/usr/bin/rm -rf root/var/service/ntpd/ |
765 |
mkdir -p root/usr/lib/systemd/system/ntpd.service.d |
766 |
|
767 |
%build |
768 |
for i in ip-change post-install post-upgrade timeserver-update \ |
769 |
timezone-update bootstrap-console-save |
770 |
do |
771 |
mkdir -p root/etc/e-smith/events/$i |
772 |
done |
773 |
perl createlinks |
774 |
/sbin/e-smith/buildtests 30e-smith-datetime |
775 |
|
776 |
# Manage supervise and multilog. |
777 |
#mkdir -p root/service |
778 |
#ln -s ../var/service/ntpd root/service/ntpd |
779 |
#mkdir -p root/var/service/ntpd/supervise |
780 |
#mkdir -p root/var/service/ntpd/env |
781 |
#touch root/var/service/ntpd/down |
782 |
#mkdir -p root/var/service/ntpd/log/supervise |
783 |
#mkdir -p root/var/log/ntpd |
784 |
|
785 |
%install |
786 |
rm -rf $RPM_BUILD_ROOT |
787 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
788 |
/sbin/e-smith/genfilelist \ |
789 |
--file '/sbin/e-smith/systemd/initializedate' 'attr(0554,root,root)' \ |
790 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
791 |
# --dir '/var/service/ntpd' 'attr(1755,root,root)' \ |
792 |
# --file '/var/service/ntpd/down' 'attr(0644,root,root)' \ |
793 |
# --file '/var/service/ntpd/run' 'attr(0755,root,root)' \ |
794 |
# --dir '/var/service/ntpd/supervise' 'attr(0700,root,root)' \ |
795 |
# --dir '/var/service/ntpd/env' '%attr(0755,root,root)' \ |
796 |
# --file '/var/service/ntpd/env/MEMLIMIT' 'attr(0644,root,root)' \ |
797 |
# --dir '/var/service/ntpd/log' 'attr(1755,root,root)' \ |
798 |
# --file '/var/service/ntpd/log/run' 'attr(0755,root,root)' \ |
799 |
# --dir '/var/log/ntpd' 'attr(2750,smelog,nofiles)' \ |
800 |
# $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
801 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
802 |
|
803 |
%clean |
804 |
rm -rf $RPM_BUILD_ROOT |
805 |
|
806 |
%pre |
807 |
rm -f /etc/ntp.conf |
808 |
|
809 |
%preun |
810 |
%post |
811 |
%postun |
812 |
|
813 |
%files -f %{name}-%{version}-filelist |
814 |
%defattr(-,root,root) |