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