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