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