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