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