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