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