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