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