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