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