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