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