/[smeserver]/rpms/e-smith-lib/sme8/e-smith-lib.spec
ViewVC logotype

Contents of /rpms/e-smith-lib/sme8/e-smith-lib.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.25 - (show annotations) (download)
Fri Feb 22 16:33:31 2013 UTC (11 years, 3 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-lib-2_2_0-8_el5_sme
Changes since 1.24: +7 -2 lines
* Fri Feb 22 2013 Ian Wells <esmith@wellsi.com> 2.2.0-8.sme
- Improve error checking in isValidIP [SME: 7364]

1 # $Id: e-smith-lib.spec,v 1.24 2010/10/11 22:27:51 slords Exp $
2
3 Summary: e-smith server and gateway - library module
4 %define name e-smith-lib
5 Name: %{name}
6 %define version 2.2.0
7 %define release 8
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: Artistic
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.gz
13 Patch1: e-smith-lib-2.2.0-sambaRole.patch
14 Patch2: e-smith-lib-2.2.0-UniqueUid.patch
15 Patch3: e-smith-lib-2.2.0-lib64.patch
16 Patch4: e-smith-lib-2.2.0-hwaddr.patch
17 Patch5: e-smith-lib-2.2.0-serialize_peers.patch
18 Patch6: e-smith-lib-2.2.0-ipv4check.patch
19 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20 BuildArchitectures: noarch
21 BuildRequires: e-smith-devtools >= 1.6.3-01
22 Obsoletes: %{name}-Tai64n
23 Obsoletes: whiptail
24 Requires: dialog
25 Requires: perl, perl(Text::Template)
26 Requires: perl(Time::HiRes), perl(MIME::Base64)
27 Requires: perl(Authen::PAM), perl(I18N::AcceptLanguage)
28 Requires: perl(I18N::LangTags) >= 0.27
29 Requires: perl(Net::IPv4Addr) >= 0.10
30
31 %description
32 e-smith server and gateway software - library module.
33
34 %changelog
35 * Fri Feb 22 2013 Ian Wells <esmith@wellsi.com> 2.2.0-8.sme
36 - Improve error checking in isValidIP [SME: 7364]
37
38 * Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme
39 - Serialize configure_peers to prevent errors [SME: 5831]
40
41 * Fri Feb 5 2010 Stephen Noble <support@dungog.net> 2.2.0-6.sme
42 - adds the hwaddr parameter to probeAdapters() [SME: 4528]
43
44 * Thu Feb 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme
45 - Update path for 64-bit compatibility [SME: 5756]
46
47 * Tue Dec 22 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme
48 - Really apply previous patch in the spec file. [SME: 5659]
49
50 * Wed Dec 9 2009 Charlie Brady <charlieb@budge.apana.org.au> 2.2.0-3.sme
51 - Add patch (Federico Simoncelli) to prevent re-use of uids. [SME: 5659]
52
53 * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme
54 - Add patch to support multiple samba roles [SME: 4172]
55
56 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
57 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
58
59 * Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 1.19.0-1
60 - Roll new dev stream.
61
62 * Sat Aug 9 2008 Shad L. Lords <slords@mail.com> 1.18.0-28
63 - Read /dev/urandmon instead of /dev/random [SME: 4492]
64
65 * Sat Aug 9 2008 Shad L. Lords <slords@mail.com> 1.18.0-27
66 - Make dialog not use STDERR for return values [SME: 3663]
67 - Remove requires for whiptail. No longer needed [SME: 4491]
68
69 * Thu Jul 31 2008 Shad L. Lords <slords@mail.com> 1.18.0-26
70 - Make binmode properties of db class [SME: 4317]
71 - Add new navigation db & utf8 classes [SME: 4317]
72
73 * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 1.18.0-25
74 - Add .utf8 to locale unless server-console [SME: 4162]
75 - Add new languages to langtag2locale [SME: 4163]
76
77 * Sun Mar 30 2008 Shad L. Lords <slords@mail.com> 1.18.0-24
78 - Gracefully handle encoding errors in navigation dbs [SME: 4147]
79
80 * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.18.0-23
81 - Make PAM conv routine not look for english strings [SME: 4117]
82
83 * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.18.0-22
84 - Fix wide output to syslog and allow navigations db to be utf8 [SME: 4101]
85
86 * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.18.0-21
87 - Output navigation in UTF-8 [SME: 3858]
88
89 * Sun Jan 20 2008 Gavin Weight <gweight@gmail.com> 1.18.0-20
90 - Call smbpasswd -e - to reset user correctly. [SME: 3755]
91
92 * Tue Jan 08 2008 Stephen Noble <support@dungog.net> 1.18.0-19
93 - modify validate password strong match for console [SME: 2173]
94
95 * Thu Nov 01 2007 Gavin Weight <gweight@gmail.com> 1.18.0-18
96 - Fix I18N.pm file descriptor leak. [SME: 3509]
97
98 * Wed Oct 31 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-17
99 - Remove undocumented and unused template metadata handling from
100 generic_template_expand action (Take II). [SME: 2798]
101
102 * Fri Jun 1 2007 Shad L. Lords <slords@mail.com> 1.18.0-16
103 - pam_unix requires passwords >= 6 [SME: 3039]
104
105 * Mon May 21 2007 Shad L. Lords <slords@mail.com> 1.18.0-15
106 - Fix ip addr shift to work on 64-bit
107
108 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
109 - Clean up spec so package can be built by koji/plague
110
111 * Thu Apr 05 2007 Shad L. Lords <slords@mail.com> 1.18.0-14
112 - Reverse changes for 1.18.0-12 as it is being used. [SME: 2838]
113
114 * Wed Apr 04 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-13
115 - Allow gauge console widget to be used without following message_page.
116 [SME: 2832].
117
118 * Mon Mar 26 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-12
119 - Remove undocumented and unused template metadata handling from
120 generic_template_expand action. [SME: 2798]
121
122 * Mon Mar 26 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-11
123 - Split logfile rotation code out of generic_template_expand.
124 Code moved to a new action in e-smith-base. [SME: 2795]
125
126 * Mon Mar 19 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-10
127 Don't try to read template.metadata from subdirectories (affects
128 initialize_database_defaults). [SME: 2690]
129
130 * Fri Mar 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-9
131 - Allow template.metadata to be provided via a directory of
132 small files. [SME: 2690]
133 - Add support for a DELETE boolean template.metadata item. [SME: 2691]
134
135 * Wed Feb 28 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-8
136 - Add gauge widget to esmith::console. [SME: 2579]
137
138 * Sun Feb 25 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-7
139 - Default infobox height to 8 rows, and allow override via params.
140 [SME: 2560]
141
142 * Fri Feb 23 2007 Shad L. Lords <slords@mail.com> 1.18.0-6
143 - Really fix clear parameter for inputbox dialog screen [SME: 2533]
144
145 * Fri Feb 23 2007 Shad L. Lords <slords@mail.com> 1.18.0-5
146 - Fix clear parameter for dialog screens [SME: 2533]
147
148 * Thu Feb 22 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-4
149 - switch esmith::console::password_page() to use dialog rather than
150 whiptail. [SME: 2534]
151
152 * Thu Feb 22 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-3
153 - Add infobox widget. [SME: 2533]
154
155 * Sun Jan 28 2007 Shad L. Lords <slords@mail.com> 1.18.0-2
156 - Fix backtitle spacing for new dialog menus [SME: 2328]
157
158 * Fri Jan 26 2007 Shad L. Lords <slords@mail.com> 1.18.0-1
159 - Roll stable stream. [SME: 2328]
160
161 * Tue Dec 15 2006 Federico Simoncelli <federico.simoncelli@gmail.com> 1.17.0-8
162 - Added the validatePassword function to esmith::util. [SME: 2100]
163
164 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
165 - Update to new release naming. No functional changes.
166 - Make Packager generic
167
168 * Fri Nov 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.17.0-06
169 - Allow optional path to peeers directory in
170 esmith::tcpsvd::configure_peers() [SME: 2086]
171
172 * Tue Nov 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-05
173 - Allow defaulno option to esmith::console::yesno.
174 - Fix I/O redirection in esmith::console::new.
175
176 * Tue Nov 07 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-04
177 - Allow display of "0" in iesmith::cgi::genSmallCell. [SME: 2038]
178
179 * Mon Oct 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-03
180 - Make dialog the default console app, with whiptail used only when
181 required.
182
183 * Wed Oct 11 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-02
184 - Allow 'dialog' to be called from esmith::console. [SME: 1958]
185
186 * Wed Oct 11 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-01
187 - Roll development branch.
188
189 * Mon Sep 25 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-06
190 - Fix problem with greedy RE in template.metadata parsing. [SME: 1906]
191
192 * Fri Sep 08 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-05
193 - Fix taint problem in template.metadata handling. [SME: 1906]
194
195 * Thu Apr 13 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-04
196 - Use "kudzu --probe --class network" for NIC detection. [SME: 727]
197
198 * Fri Apr 7 2006 Gordon Rowell <gordonr@gormand.com.au> 1.16.0-03
199 - Don't call smbpasswd -e - setting the password is sufficient [SME: 1193]
200
201 * Tue Mar 28 2006 Gordon Rowell <gordonr@gormand.com.au> 1.16.0-02
202 - Log previous contents of db entry in DELETE log [SME: 1066]
203
204 * Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-01
205 - Roll to stable stream version number. [SME: 1016]
206
207 * Fri Mar 10 2006 Charlie Brady <charlie_brady@mitel.com> 1.15.4-02
208 - Suppress warning from genSmallCell if text is undefined. [SME: 986]
209
210 * Fri Feb 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.4-01
211 - Roll patches up to 1.15.3-42
212 - Trim changelog prior to 1.15.0-01 [SME: 828]
213
214 * Thu Feb 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-42
215 - Adjust console title bar to 'SME Server' [SME: 726]
216
217 * Tue Feb 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-41
218 - Reworded text for template-begin and change URL to /development/
219 rather than /custom/ [SME: 773]
220
221 * Mon Feb 13 2006 Charlie Brady <charlie_brady@mitel.com> 1.15.3-40
222 - Update URL in default template-begin fragment. [SME: 773]
223
224 * Sat Feb 11 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-39
225 - Remove obsolete e-smith-lib-Tai64n package. [SME: 689]
226
227 * Sat Feb 11 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-38
228 - [Null changelog for missing version - we accidentally skipped
229 this version.]
230
231 * Sat Feb 11 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-37
232 - Fix get_all_by_prop in scalar context. [SME: 669,721]
233
234 * Mon Feb 6 2006 Shad L. Lords <slords@mail.com> 1.15.3-37
235 - Add ability to pass many props to get_all_by_prop [SME: 669]
236
237 * Mon Jan 23 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-36
238 - Fix warning during pseudonym deletion. [SME: 491]
239
240 * Fri Jan 20 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-35
241 - Fix up use of Sys::Syslog::syslog. [SME: 526]
242
243 * Thu Jan 19 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-34
244 - Remove running of kudzu during NIC probing. TODO: Find a solution
245 to system reconfiguration when new hardware is added. [SME: 192]
246
247 * Tue Jan 10 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-33
248 - Fold a.b.c.d/255.255.255.255 to a.b.c.d in local_access_spec() to
249 work around bugs in applications which don't accept such specs.
250 [SME: 430]
251
252 * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-32
253 - Check whether an accounts db record exists before trying to create
254 the dot and underscore pseudonyms (new_record will fail silently)
255 and check that the records are pseudonyms before deleting them [SME: 24]
256
257 * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-31
258 - And update POD for last change [SME: 24]
259
260 * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-30
261 - Allow dot and underscore in account names [SME: 24]
262
263 * Tue Dec 27 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-29
264 - Remove newlines from cluck() string and just note that the old
265 path was used [SME: 365]
266
267 * Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-28
268 - If db exists in both the old and new locations in
269 initialize_default_databases, rename the one in the new
270 location to db.time(), avoiding the conflict and saving the
271 evidence in case it is needed later [SME: 229]
272
273 * Mon Dec 05 2005 Mark Knox <mark_knox@mitel.com>
274 - [1.15.3-27]
275 - Moved queueing logic to separate daemon, replaced with FIFO IPC [BZ252
276
277 * Thu Dec 01 2005 Mark Knox <mark_knox@mitel.com>
278 - [1.15.3-26]
279 - Added event queueing (open source portion) for clustered systems [BZ250]
280
281 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-25
282 - Bump release number only
283
284 * Thu Nov 24 2005 Gordon Rowell <gordonr@e-smith.com>
285 - [1.15.3-24]
286 - Add missing 'use Locale::gettext' to esmith::console.pm [MN00108804]
287
288 * Sun Nov 20 2005 Charlie Brady <charlieb@e-smith.com>
289 - [1.15.3-23]
290 - Clarify logic for stopped services in adjust-services. [SF: 1357629]
291
292 * Sun Nov 20 2005 Gordon Rowell <gordonr@e-smith.com>
293 - [1.15.3-22]
294 - Correct adjust-services logic for stopped services [SF: 1357629]
295
296 * Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com>
297 - [1.15.3-21]
298 - Allow services2adjust directories to contain files rather than just dangling
299 symlinks. Files can contain more than one actions to perform. [SF: 1270644]
300
301 * Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com>
302 - [1.15.3-20]
303 - Also don't start services if we just want to "once" them. [SF: 1357629]
304
305 * Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com>
306 - [1.15.3-19]
307 - Fix restart of enabled supervised services which we are attempting to stop.
308 [SF: 1357629]
309
310 * Tue Nov 15 2005 Charlie Brady <charlieb@e-smith.com>
311 - [1.15.3-18]
312 - Set default for $type in esmith::cgi::genSmallCell, to prevent some log
313 noise. [SF: 1357830]
314
315 * Tue Nov 15 2005 Charlie Brady <charlieb@e-smith.com>
316 - [1.15.3-17]
317 - Pass $EVENT to template expansions in generic_template_expand.
318 [SF: MN00106104]
319
320 * Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com>
321 - [1.15.3-16]
322 - Redirect esmith::config calls on old db paths to the new
323 location [SF: 1335865]
324
325 * Thu Oct 27 2005 Charlie Brady <charlieb@e-smith.com>
326 - [1.15.3-15]
327 - Fix a few minor spec file portability issues. [SF: 1339729]
328
329 * Wed Oct 26 2005 Charlie Brady <charlieb@e-smith.com>
330 - [1.15.3-14]
331 - Add it and de to the langtag2locale fixups. [SF: 1338236]
332
333 * Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com>
334 - [1.15.3-13]
335 - Build driver list from .ko files as well as .o files. Untaint driver
336 names while building list. [SF: 1323270]
337
338 * Mon Sep 26 2005 Charlie Brady <charlieb@e-smith.com>
339 - [1.15.3-12]
340 - Fix "defaults" handling so that values which evaluate to false are
341 not overridden by default. [SF: 1303885]
342
343 * Fri Sep 23 2005 Charlie Brady <charlieb@e-smith.com>
344 - [1.15.3-11]
345 - Untaint db names before attempting to move them. [MN00098405]
346
347 * Thu Sep 22 2005 Charlie Brady <charlieb@e-smith.com>
348 - [1.15.3-10]
349 - Provide networks method in esmith::NetworksDB. [SF: 1296099]
350 - Support a "localhost" configuration in esmith::tcpsvd:configure_peers
351 [SF: 1294719]
352
353 * Tue Sep 20 2005 Charlie Brady <charlieb@e-smith.com>
354 - [1.15.3-09]
355 - Remove deprecated functions from esmith::utils. [SF: 1295851]
356 - Include only "network" records in local_access_spec. [SF: 1296099]
357
358 * Mon Sep 12 2005 Charlie Brady <charlieb@e-smith.com>
359 - [1.15.3-08]
360 - Remove warning about explicit path in esmith::db::_db_path.
361 [SF: 1286294]
362
363 * Fri Sep 9 2005 Charlie Brady <charlieb@e-smith.com>
364 - [1.15.3-07]
365 - Tolerate, but warn about, symlinks in /home/e-smith. [SF: 1216546]
366
367 * Fri Sep 9 2005 Charlie Brady <charlieb@e-smith.com>
368 - [1.15.3-06]
369 - Reduce the noise from _file_path() in esmith::DB::db. [SF: 1286294]
370
371 * Wed Sep 7 2005 Charlie Brady <charlieb@e-smith.com>
372 - [1.15.3-05]
373 - Fix operation of expandTemplate when taint check is enabled.
374 [SF: 1284301]
375
376 * Wed Aug 17 2005 Mark Knox <markk@e-smith.com>
377 - [1.15.3-04]
378 - Added open_local and open_ro_local methods for clustering [markk MN00094831]
379
380 * Tue Aug 16 2005 Charlie Brady <charlieb@e-smith.com>
381 - [1.15.3-03]
382 - Fix POD error in util.pm.
383
384 * Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com>
385 - [1.15.3-02]
386 - Move databases default location from /home/e-smith to /home/e-smith/db.
387 During esmith::utils::initialize_default_databases, move from old to new
388 location before doing db migrate actions. [SF: 1216546]
389
390 * Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com>
391 - [1.15.3-01]
392 - Roll a new development stream - 1.15.3
393
394 * Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com>
395 - [1.15.2-04]
396 - Remove broken MergeDB stuff. [SF: 1246315]
397
398 * Wed Jul 27 2005 Mark Knox <markk@e-smith.com>
399 - [1.15.2-03]
400 - Fixed misleading comment in util.pm
401 - Added 'use' statements in Record classes for SOAP compatibility
402 - Fixed undefined max_len warning
403 - Added explicit writeconf calls in db::Record.pm, needed for setting props
404 via SOAP
405
406 * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
407 - [1.15.2-02]
408 - Allow db open API to use default path if a simple filename
409 is provided as arg. This is preparation for move of dbs to
410 /home/e-smith/db. Patch by Shad Lords.
411
412 * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
413 - [1.15.2-01]
414 - Roll new development stream - 1.15.2
415
416 * Fri Jul 15 2005 Mark Knox <markk@e-smith.com>
417 - [1.15.1-44]
418 - Tweak to allow calling _writeconf from SOAP [markk MN00090738]
419
420 * Tue Jun 21 2005 Charlie Brady <charlieb@e-smith.com>
421 - [1.15.1-43]
422 - Ensure that esmith::util::LdapPassword returns bare string without
423 newline terminator.
424
425 * Sun Jun 12 2005 Charlie Brady <charlieb@e-smith.com>
426 - [1.15.1-42]
427 - Remove .rpmsave and .rpmnew symlinks (as well as files). [SF: 1217969]
428 - Handle missing description in pcitables entries.
429
430 * Sun Jun 12 2005 Charlie Brady <charlieb@e-smith.com>
431 - [1.15.1-41]
432 - Provide feedback (via log messages) from services2adjust. [SF: 1218920]
433
434 * Mon May 30 2005 Charlie Brady <charlieb@e-smith.com>
435 - [1.15.1-40]
436 - Add preinstall scripting to create required accounts/groups if they
437 don't already exist. [SF: 1210723]
438
439 * Thu May 5 2005 Charlie Brady <charlieb@e-smith.com>
440 - [1.15.1-39]
441 - Show Text::Template error text rather than inappropriate $! if template
442 expansion fails.
443 - Change error to warning if a config item is set with an empty "type"
444 property.
445
446 * Thu May 5 2005 Charlie Brady <charlieb@e-smith.com>
447 - [1.15.1-38]
448 - Fix esmith::DB::get_prop_and_delete fail if prop is "false" [From Gordon].
449
450 * Tue May 3 2005 Charlie Brady <charlieb@e-smith.com>
451 - [1.15.1-37]
452 - Update directory list so that ethernet drivers from kernel-unsupported are
453 added to "choose by driver" list.
454
455 * Sat Mar 19 2005 Charlie Brady <charlieb@e-smith.com>
456 - [1.15.1-36]
457 - Rework esmith::tcpsvd::configure_peers so that it doesn't chdir.
458 - Fix generic_template_expand so that templates.metadata doesn't
459 need to set OUTPUT_FILENAME is TEMPLATE_PATH is changed. This
460 matches what expand-template already does.
461
462 * Fri Mar 18 2005 Charlie Brady <charlieb@e-smith.com>
463 - [1.15.1-35]
464 - Change numerous calls to "croak" in esmith::template
465 to "carp ...; return", so that problem with any single
466 template expansion doesn't terminate calling program.
467 [MN00075009]
468
469 * Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com>
470 - [1.15.1-34]
471 - Add missing "use esmith::util" in esmith::tcpsvd.
472
473 * Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com>
474 - [1.15.1-33]
475 - Add esmith::tcpsvd library for managing tcpsvd "peers"
476 directories.
477
478 * Mon Mar 14 2005 Charlie Brady <charlieb@e-smith.com>
479 - [1.15.1-32]
480 - Make template expansion message more succinct.
481
482 * Thu Mar 10 2005 Charlie Brady <charlieb@e-smith.com>
483 - [1.15.1-31]
484 - Remove pseudonyms of pseudonyms when removing user
485 accounts. Adapted from patch submitted by Shad. [MN00039941]
486
487 * Wed Feb 23 2005 Charlie Brady <charlieb@e-smith.com>
488 - [1.15.1-30]
489 - Fix incompatibility with CentOS's CGI.pm.
490
491 * Tue Feb 22 2005 Charlie Brady <charlieb@e-smith.com>
492 - [1.15.1-29]
493 - Fix bug in output to empty file when FILTER is used
494 during template expansion. [charlieb MN00050075]
495
496 * Tue Feb 22 2005 Charlie Brady <charlieb@e-smith.com>
497 - [1.15.1-28]
498 - Refresh contents of /etc/sysconfig/hwconf before listing
499 network adaptors [MN00069993]
500 - Fix typo in documentation of esmith::DB::db - reported from Tanna -
501 http://www.livejournal.com/users/gcrumb/61169.html (thanks Dan!)
502
503 * Wed Feb 16 2005 Charlie Brady <charlieb@e-smith.com>
504 - [1.15.1-27]
505 - Fix typo. [MN00066059]
506
507 * Wed Feb 16 2005 Charlie Brady <charlieb@e-smith.com>
508 - [1.15.1-26]
509 - Use /sbin/e-smith/whiptail if it is available. [MN00066059]
510
511 * Mon Feb 7 2005 Charlie Brady <charlieb@e-smith.com>
512 - [1.15.1-25]
513 - Update perms and ownership when expanding templates, regardless of
514 whether file content has changed or not. [MN00068043]
515
516 * Wed Feb 2 2005 Charlie Brady <charlieb@e-smith.com>
517 - [1.15.1-24]
518 - Fix the insertion of implicit actions into sorted action list in
519 event.pm. Problem was perl syntax ambiguity. [MN00066406]
520
521 * Fri Jan 28 2005 Charlie Brady <charlieb@e-smith.com>
522 - [1.15.1-23]
523 - Really move /home/e-smith/* to e-smith-base. [MN00066635]
524
525 * Fri Jan 28 2005 Charlie Brady <charlieb@e-smith.com>
526 - [1.15.1-22]
527 - Move /home/e-smith/* to e-smith-base. [MN00066635]
528 - Move generic-template expand to S05 position in sort, and
529 adjust-service to S90. Fix run-time error. [MN00066406]
530 - Don't attempt to execute non-executable action scripts.
531
532 * Thu Jan 27 2005 Charlie Brady <charlieb@e-smith.com>
533 - [1.15.1-21]
534 - Implicitly include template expand and services adjust actions
535 in each event if the respective metadata directory exists.
536 [MN00066406]
537
538 * Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com>
539 - [1.15.1-20]
540 - Add "adjust" to list of verbs which serviceControl groks,
541 to allow for "masq adjust". [MN00065576]
542
543 * Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com>
544 - [1.15.1-19]
545 - Add adjust-services generic action script [MN00065576]
546
547 * Tue Jan 18 2005 Charlie Brady <charlieb@e-smith.com>
548 - [1.15.1-18]
549 - Fix typo. [MN00064412]
550 - Improve die() message in esmith::config::STORE. [MN00064394]
551
552 * Mon Jan 17 2005 Charlie Brady <charlieb@e-smith.com>
553 - [1.15.1-17]
554 - Fix broken logging (and reduce logging) in initialize_default_databases.
555 [MN00064412]
556 - Fix inappropriate use of global $_ in initialize_default_databases.
557 [MN00064415]
558
559 * Thu Dec 23 2004 Charlie Brady <charlieb@e-smith.com>
560 - [1.15.1-16]
561 - Read templated file metadata (if any) from file tree under
562 /etc/e-smith/templates.metadata. Update expand-template to
563 use current API. [MN00061830]
564
565 * Tue Dec 14 2004 Mark Knox <markk@e-smith.com>
566 - [1.15.1-15]
567 - Change copyright date to 2004 [markk MN00060958]
568
569 * Fri Nov 5 2004 Charlie Brady <charlieb@e-smith.com>
570 - [1.15.1-14]
571 - Fix Authen::PAM dependency header [charlieb MN00040240]
572 - Use kudzu's generated /etc/sysconfig/hwconf file for NIC detection
573 [charlieb MN00056220]
574
575 * Thu Oct 14 2004 Michael Soulier <msoulier@e-smith.com>
576 - [1.15.1-13]
577 - Updated esmith::ethernet's search code to remove File::Find, as it doesn't
578 get along with taint checking. [msoulier MN00052510]
579
580 * Wed Oct 13 2004 Michael Soulier <msoulier@e-smith.com>
581 - [1.15.1-12]
582 - Updated esmith::ethernet's search code such that is it more adaptable, and
583 recurses the directories given. [msoulier MN00052510]
584
585 * Wed Oct 13 2004 Michael Soulier <msoulier@e-smith.com>
586 - [1.15.1-11]
587 - Updated esmith::ethernet's search paths for network drivers.
588 [msoulier MN00052510]
589
590 * Mon Oct 4 2004 Charlie Brady <charlieb@e-smith.com>
591 - [1.15.1-10]
592 - Remove dependency on perl(Filter::Handle) [charlieb MN00050075]
593
594 * Fri Sep 24 2004 Charlie Brady <charlieb@e-smith.com>
595 - [1.15.1-09]
596 - Updated requires with new perl dependencies. [msoulier MN00040240]
597 - Remove "AutoReqProv: no" so that "Provides" headers are auto-generated.
598 [charlieb MN00040240]
599 - Remove anachronistic "require v5.6.0" directives. [charlieb MN00050370]
600 - Avoid use of Filter::Handle in esmith::template. [charlieb MN00050075]
601
602 * Fri Aug 27 2004 Michael Soulier <msoulier@e-smith.com>
603 - [1.15.1-08]
604 - Added esmith::util::network::isValidEmail function. [msoulier MN00023814]
605
606 * Thu Aug 26 2004 Michael Soulier <msoulier@e-smith.com>
607 - [1.15.1-07]
608 - Added svdisable to permissible actions in serviceControl.
609 [msoulier MN00043056]
610
611 * Tue Aug 10 2004 Michael Soulier <msoulier@e-smith.com>
612 - [1.15.1-06]
613 - Fixed new methods. Bad else case. [msoulier MN00044891]
614
615 * Fri Aug 6 2004 Michael Soulier <msoulier@e-smith.com>
616 - [1.15.1-05]
617 - Added a keys() method. [msoulier MN00041968]
618
619 * Fri Aug 6 2004 Michael Soulier <msoulier@e-smith.com>
620 - [1.15.1-04]
621 - Added set_prop and set_value methods in esmith::DB. [msoulier MN00044891]
622
623 * Tue Jul 20 2004 Michael Soulier <msoulier@e-smith.com>
624 - [1.15.1-03]
625 - Undeprecated esmith::util::serviceControl. [msoulier MN00043056]
626
627 * Fri Jun 25 2004 Tony Clayton <apc@e-smith.com>
628 - [1.15.1-02]
629 - Merge language_tag2locale() function from perl-I18N-LangTags [tonyc
630 MN00040170]
631
632 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
633 - [1.15.1-01]
634 - Rolling to collect patches.
635
636 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
637 - [1.15.0-23]
638 - Reordered the create code slightly to catch more errors.
639 [msoulier MN00035059]
640
641 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
642 - [1.15.0-22]
643 - Added yet more error handling and reporting. [msoulier MN00035059]
644
645 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
646 - [1.15.0-21]
647 - Fixed one $Error reference that I missed in the last rev.
648 [msoulier MN00035059]
649
650 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
651 - [1.15.0-20]
652 - Moved error handling from esmith::DB::db to esmith::DB, since it should not
653 be database implementation specific. [msoulier MN00035059]
654
655 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
656 - [1.15.0-19]
657 - Propagated migration failures up to calling code for reporting to syslog.
658 - Propagated creation failures up to calling code.
659 - Moved lexicon $Error in esmith::DB::db to a class property so it can be used
660 by subclasses. [msoulier MN00035059]
661
662 * Thu May 27 2004 Michael Soulier <msoulier@e-smith.com>
663 - [1.15.0-18]
664 - Changed print statements to calls to the logger. [msoulier MN00035059]
665
666 * Thu May 27 2004 Michael Soulier <msoulier@e-smith.com>
667 - [1.15.0-17]
668 - Added print statements to initialize-default-databases for post-install
669 debugging. [msoulier MN00035059]
670
671 * Fri May 7 2004 Michael Soulier <msoulier@e-smith.com>
672 - [1.15.0-16]
673 - Fixed migrate to report the caught error message. [msoulier MN00032503]
674
675 * Thu May 6 2004 Michael Soulier <msoulier@e-smith.com>
676 - [1.15.0-15]
677 - Added isValidHostname function to esmith::util::network.
678 [msoulier MN00024212]
679
680 * Fri Feb 13 2004 Michael Soulier <msoulier@e-smith.com>
681 - [1.15.0-14]
682 - Greatly simplified the _mysystem function by ripping out open3.
683 [msoulier dpar-20385]
684
685 * Fri Feb 13 2004 Michael Soulier <msoulier@e-smith.com>
686 - [1.15.0-13]
687 - Backed-out change in esmith::util, as it's non-trivial there with the exec.
688 Completed update of esmith::event, and separated the esmith::Logger class.
689 [msoulier dpar-20385]
690
691 * Fri Feb 13 2004 Michael Soulier <msoulier@e-smith.com>
692 - [1.15.0-12]
693 - Removed use of the logger entirely, replacing it with an abstracted
694 interface to the Sys::Syslog module. [msoulier dpar-20385]
695
696 * Thu Jan 8 2004 Michael Soulier <msoulier@e-smith.com>
697 - [1.15.0-11]
698 - Fixed esmith::util::network::isValidIP() so valid IP substrings no longer
699 return true values. [msoulier 9308]
700
701 * Thu Jan 8 2004 Michael Soulier <msoulier@e-smith.com>
702 - [1.15.0-10]
703 - Added a check in STORE in esmith::config for invalid attempts to set a value
704 without a type. Also escalated previous warnings for undef key and value to
705 fatal exceptions. [msoulier 7386]
706
707 * Thu Jan 8 2004 Michael Soulier <msoulier@e-smith.com>
708 - [1.15.0-09]
709 - Now trimming whitespace around keys and values during esmith::config STORE
710 events, to prevent invalid keys and values from being saved. [msoulier 7021]
711
712 * Mon Jan 5 2004 Michael Soulier <msoulier@e-smith.com>
713 - [1.15.0-08]
714 - Fixed POD around merge_props. [msoulier 9482]
715
716 * Fri Nov 7 2003 Tony Clayton <apc@e-smith.com>
717 - [1.15.0-07]
718 - And again [tonyc 10569]
719
720 * Fri Nov 7 2003 Tony Clayton <apc@e-smith.com>
721 - [1.15.0-06]
722 - Change Merge API a bit, fix pod [tonyc 10569]
723
724 * Fri Nov 7 2003 Tony Clayton <apc@e-smith.com>
725 - [1.15.0-05]
726 - Add esmith::DB::Merge library [tonyc 10569]
727
728 * Fri Oct 10 2003 Michael Soulier <msoulier@e-smith.com>
729 - [1.15.0-04]
730 - Fixed AccountsDB.pm to handle group names with hyphens and periods, to match
731 the error message in the groups panel, and the rest of the group/user
732 behaviour. [msoulier 10236]
733
734 * Sun Sep 21 2003 Charlie Brady <charlieb@e-smith.com>
735 - [1.15.0-03]
736 - Skip any directries when iterating over action scripts in esmith::event.
737 Add logfile timestamp symlinking to generic_template_expand action.
738 Use templates2expand and logfiles2timestamp subdirectories of the event
739 directory. Fix shebang line. [charlieb 10035]
740
741 * Thu Sep 18 2003 Charlie Brady <charlieb@e-smith.com>
742 - [1.15.0-02]
743 - Add generic_template_expand action. [charlieb 10035]
744
745 * Thu Sep 18 2003 Charlie Brady <charlieb@e-smith.com>
746 - [1.15.0-01]
747 - Changing version to development stream number - 1.15.0
748
749 %prep
750 %setup
751 %patch1 -p1
752 %patch2 -p1
753 %patch3 -p1
754 %patch4 -p1
755 %patch5 -p1
756 %patch6 -p1
757
758 %pre
759 # Remove legacy symlink if one exists
760 [ -L /usr/lib/perl5/site_perl/esmith ] && rm -f /usr/lib/perl5/site_perl/esmith
761
762 # Move files from legacy dir if any exist
763 mkdir -p /usr/lib/perl5/site_perl/esmith
764 if [ -d /usr/lib/perl5/site_perl/5.005/esmith ]; then
765 mv -f /usr/lib/perl5/site_perl/5.005/esmith/* \
766 /usr/lib/perl5/site_perl/esmith
767 rmdir /usr/lib/perl5/site_perl/5.005/esmith/
768 fi
769
770 #--------------------------------------------------
771 # add admin, public and www user accounts
772 #--------------------------------------------------
773 /usr/sbin/groupadd \
774 -g 500 shared 2>/dev/null || :
775 /usr/sbin/useradd \
776 -u 102 -c 'e-smith web server' -d /home/e-smith \
777 -G shared -M -s /bin/false www 2>/dev/null || :
778 /usr/sbin/useradd \
779 -u 101 -c 'e-smith administrator' -d /home/e-smith \
780 -G shared,root,www -M -s /sbin/e-smith/console admin 2>/dev/null || :
781 /usr/sbin/useradd \
782 -u 103 -c 'e-smith guest' -d /home/e-smith \
783 -G shared -M -s /bin/false public 2>/dev/null || :
784 /usr/sbin/useradd \
785 -u 1002 -c 'sme log user' -d /var/log/smelog \
786 -M -s /bin/false smelog 2>/dev/null || :
787
788 exit 0
789
790 %post
791
792 %build
793 for event in post-install post-upgrade bootstrap-console-save console-save
794 do
795 mkdir -p root/etc/e-smith/events/$event
796 done
797 perl createlinks
798
799 %install
800 rm -rf $RPM_BUILD_ROOT
801 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
802 rm -f %{name}-%{version}-%{release}-filelist
803 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
804 >%{name}-%{version}-%{release}-filelist
805 echo "%doc Copying" >> %{name}-%{version}-%{release}-filelist
806 echo "%doc Artistic" >> %{name}-%{version}-%{release}-filelist
807 echo "%doc LICENSE" >> %{name}-%{version}-%{release}-filelist
808
809 %clean
810 rm -rf $RPM_BUILD_ROOT
811
812 %files -f %{name}-%{version}-%{release}-filelist
813 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed