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