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