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