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