1 |
# $Id: e-smith-manager.spec,v 1.40 2022/07/25 08:46:16 jpp Exp $ |
2 |
|
3 |
Summary: e-smith manager navigation module |
4 |
%define name e-smith-manager |
5 |
Name: %{name} |
6 |
%define version 2.8.0 |
7 |
%define release 36 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-manager-2.8.0-fixsyntax.patch |
14 |
Patch1: e-smith-manager-2.8.0-manager_suid_wrapper.patch |
15 |
Patch2: e-smith-manager-2.8.0-fix_logout.patch |
16 |
Patch3: e-smith-manager-2.8.0-newTKTsyntax.patch |
17 |
Patch4: e-smith-manager-2.8.0-no_index_for_manager_common.patch |
18 |
Patch5: e-smith-manager-2.8.0-koozali.org |
19 |
Patch6: e-smith-manager-2.8.0-Koozali_manager.patch |
20 |
Patch7: e-smith-manager-2.8.0-bz9924-badredirection.patch |
21 |
Patch8: e-smith-manager-2.8.0-bz9921-timeout.patch |
22 |
Patch9: e-smith-manager-2.8.0-bz10167-emptyback.patch |
23 |
Patch10: e-smith-manager-2.8.0-bz10209-unitializedUsername.patch |
24 |
Patch11: e-smith-manager-2.8.0-bz8783-bugreport.patch |
25 |
Patch12: e-smith-manager-2.8.0-bz10170-SME10eol.patch |
26 |
Patch13: e-smith-manager-2.8.0-bz9591-iconspath.patch |
27 |
Patch14: e-smith-manager-2.8.0-bz9677_password_followsymlinks.patch |
28 |
Patch15: e-smith-manager-2.8.0-bz10967-remove-hardcoded-ports.patch |
29 |
Patch16: e-smith-manager-2.8.0-bz11144-bz11110-systemd-update.patch |
30 |
Patch17: e-smith-manager-2.8.0-bz10448-bugreport.patch |
31 |
Patch18: e-smith-manager-2.8.0-bz11872-log.patch |
32 |
Patch19: e-smith-manager-2.8.0-bz12129-httpd24.patch |
33 |
|
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildRequires: e-smith-devtools |
36 |
BuildRequires: gettext |
37 |
BuildRequires: gcc |
38 |
Requires: e-smith-lib >= 1.18.0-26 |
39 |
Requires: mod_auth_tkt |
40 |
Requires: pwauth |
41 |
Requires: perl(Apache::AuthTkt) |
42 |
Requires: e-smith-apache >= 2.6.0-19 |
43 |
Provides: server-manager |
44 |
AutoReqProv: no |
45 |
|
46 |
%changelog |
47 |
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-36.sme |
48 |
- update to httpd 2.4 access syntax [SME: 12129] |
49 |
|
50 |
* Fri Feb 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-35.sme |
51 |
- removing reference to old log rotation action [SME: 11872] |
52 |
|
53 |
* Thu Mar 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-34.sme |
54 |
- take 2 wrong system mode reported in bugreport [SME: 10448] |
55 |
|
56 |
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-33.sme |
57 |
- fix wrong system mode reported in bugreport [SME: 10448] |
58 |
|
59 |
* Thu Dec 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-32.sme |
60 |
- create -update event [SME: 11144] |
61 |
- migrate httpd-admin to systemd [SME: 11110] |
62 |
|
63 |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-31.sme |
64 |
- removing hardcoded ports [SME: 10967] |
65 |
|
66 |
* Wed Dec 18 2019 Michel Begue <mab974@gmail.com> 2.8.0-29.sme |
67 |
- Add a FollowSymlinks for user-password in password/cgi-bin (perl-suid) [SME: 9677] |
68 |
|
69 |
* Tue Dec 10 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-29.sme |
70 |
- update apache icon path [SME: 9591] |
71 |
|
72 |
* Sun Feb 04 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-28.sme |
73 |
- add message to indicate EOL after Jun 30 2024 fix [SME: 10170] |
74 |
|
75 |
* Sun Apr 16 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-26.sme |
76 |
- add a panel to ease reporting bugs [SME: 8783] |
77 |
- Original work from Mats Schuh m.schuh@neckargeo.net |
78 |
|
79 |
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-20.sme |
80 |
- fix warning uninitialized value in lc [SME: 10209] |
81 |
|
82 |
* Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-19.sme |
83 |
- fix typo in e-smith-manager-2.8.0-bz10167-emptyback.patch |
84 |
|
85 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-18.sme |
86 |
- avoid internal server error if empty back parameter [SME: 10167] |
87 |
- return user friendly message |
88 |
|
89 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-17.sme |
90 |
- fix too short timeout in server-manager [SME: 9921] |
91 |
- now 30 min as default instead of 5 |
92 |
- possibility to change this and adapt the default 0.66 of timeout remaining to reset it |
93 |
- by default only a session cookie, can activate persistent cookie |
94 |
- sha256 as encryption. |
95 |
|
96 |
* Mon Jan 16 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-15.sme |
97 |
- fix bad redirection parameter that might reveal session information to remote site [SME: 9924] |
98 |
|
99 |
* Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-13.sme |
100 |
- added missing template-begin for tkt.css [SME: 9676] |
101 |
|
102 |
* Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-12.sme |
103 |
- Update server-manager to Koozali branding [SME: 9676] |
104 |
- We thanks John Crisp for his wonderful work. |
105 |
|
106 |
* Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-11.sme |
107 |
- change link for donation to koozali.org [SME: 9599] |
108 |
|
109 |
* Wed Jun 15 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-10.sme |
110 |
- Fix syntax for removing Indexes options [SME: 9587] |
111 |
|
112 |
* Wed Jun 15 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-9.sme |
113 |
- Remove index option for manager's resources [SME: 9587] |
114 |
|
115 |
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-8.sme |
116 |
- fix 307 redirection to http when https is used [SME: 8825] [SME: 9583] |
117 |
- update syntaxe for TKT Auth |
118 |
- bump 8 for typo |
119 |
|
120 |
* Wed Jun 1 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-6.sme |
121 |
- Fix a syntax error in server-manager's logout script [SME: 9527] |
122 |
|
123 |
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-5.sme |
124 |
- Add a C wrapper to execute manager's cgi to replace perl-suid [SME: 9393] |
125 |
|
126 |
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-4.sme |
127 |
- fix syntax for httpd 2.4 [SME: 9365] |
128 |
|
129 |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-3.sme |
130 |
- rebuild for Bug [SME: 9347] |
131 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
132 |
by assuming the date is correct and changing the weekday. |
133 |
Wed Mar 14 2000 --> Wed Mar 08 2000 or Tue Mar 14 2000 or Wed Mar 15 2000 or .... |
134 |
Wed Apr 04 2002 --> Wed Apr 03 2002 or Thu Apr 04 2002 or Wed Apr 10 2002 or .... |
135 |
Tue May 15 2008 --> Tue May 13 2008 or Thu May 15 2008 or Tue May 20 2008 or .... |
136 |
|
137 |
* Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-2.sme |
138 |
- Don't require perl-suidperl anymore [SME: 9339] |
139 |
|
140 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.8.0-1.sme |
141 |
- Initial release to sme10 |
142 |
|
143 |
* Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
144 |
- Really don't redirect to http when login in/out of the server-manager |
145 |
[SME: 9163] |
146 |
|
147 |
* Sun Jan 31 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
148 |
- Don't redirect to http when login in/out of the server-manager from |
149 |
localhost [SME: 9163] |
150 |
|
151 |
* Tue Jan 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
152 |
- Allow access to the server-manager without SSL from the loopback |
153 |
[SME: 9163] |
154 |
|
155 |
* Sun Mar 23 2014 Ian Wells <esmith@wellsi.com> 2.6.0-1.sme |
156 |
- Roll new stream to remove obsolete images [SME: 7962] |
157 |
|
158 |
* Sun Mar 23 2014 Ian Wells <esmith@wellsi.com> 2.4.0-9.sme |
159 |
- Remove references to obsolete images, by Stephane de Labrusse [SME: 7962] |
160 |
|
161 |
* Fri Oct 11 2013 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme |
162 |
- Renew donation text in server-manager, by John Crisp [SME: 7897] |
163 |
|
164 |
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-7.sme |
165 |
- Do not load mod_ssl [SME: 7602] |
166 |
|
167 |
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-6.sme |
168 |
- Correct path to pwauth [SME: 7319] |
169 |
|
170 |
* Sat Feb 23 2013 Ian Wells <esmith@wellsi.com> 2.4.0-5.sme |
171 |
- Correct processing of server-manager URL [SME: 7254] |
172 |
|
173 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
174 |
- Fix typo in perl(Apache::AuthTkt) requires [SME: 7236] |
175 |
|
176 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-3.sme |
177 |
- Add perl-suidperl dependency [SME: 7235] |
178 |
|
179 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
180 |
- Add perl(Apache::AuthTkt) dependency [SME: 7236] |
181 |
|
182 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
183 |
- Roll new stream for sme9 |
184 |
|
185 |
* Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
186 |
- Remove empty <p> tag from /etc/e-smith/web/common/foot.tmpl, by Daniel [SME: 5905] |
187 |
|
188 |
* Sun Jan 31 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
189 |
- Only display error messages intended for admin in server-manager [SME: 5700] |
190 |
|
191 |
* Wed Dec 9 2009 Charlie Brady <charlieb@budge.apana.org.au> 2.2.0-4.sme |
192 |
- Fix css validation errors. [SME: 5656] |
193 |
|
194 |
* Fri Sep 18 2009 Stephen Noble <support@dungog.net> 2.2.0-4.sme |
195 |
- display reconfigure warning once if UnsavedChanges=yes [SME: 5475] |
196 |
|
197 |
* Fri Sep 18 2009 Stephen Noble <support@dungog.net> 2.2.0-3.sme |
198 |
- display reconfigure warning if UnsavedChanges=yes [SME: 5475] |
199 |
|
200 |
* Sun Apr 26 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
201 |
- Fix misinterpretation of display string [SME: 5022] |
202 |
|
203 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
204 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
205 |
|
206 |
* Sat Oct 4 2008 Shad L. Lords <slords@mail.com> 1.14.0-20 |
207 |
- Make navigation use new db class for navigation [SME: 4619] |
208 |
|
209 |
* Thu Jul 31 2008 Shad L. Lords <slords@mail.com> 1.14.0-19 |
210 |
- Make binmode properties of db class [SME: 4317] |
211 |
- Add new navigation db & utf8 classes [SME: 4317] |
212 |
|
213 |
* Tue Jul 1 2008 Shad L. Lords <slords@mail.com> 1.14.0-18 |
214 |
- Fix open of database to create if necessary [SME: 4147] |
215 |
|
216 |
* Thu May 15 2008 Shad L. Lords <slords@mail.com> 1.14.0-17 |
217 |
Tue May 15 2008 --> Tue May 13 2008 or Thu May 15 2008 or Tue May 20 2008 or .... |
218 |
- No longer remove navigation dbs. [SME: 4147] |
219 |
- Deal a little more gracefully with non UTF-8 lexicons [SME: 4229] |
220 |
|
221 |
* Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 1.14.0-16 |
222 |
- Remove navigation dbs and create new [SME: 4147] |
223 |
|
224 |
* Fri Mar 28 2008 Shad L. Lords <slords@mail.com> 1.14.0-15 |
225 |
- Remove last remnant of pleasewait [SME: 4130] |
226 |
|
227 |
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.14.0-14 |
228 |
- Include general lexicons in nav-config [SME: 4113] |
229 |
|
230 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-13 |
231 |
- Fix wide output to print in navigation and allow navigations db to |
232 |
be utf8 [SME: 4101] |
233 |
|
234 |
* Sat Mar 22 2008 Shad L. Lords <slords@mail.com> 1.14.0-12 |
235 |
- Fix UTF-8 encoding in header and nav-conf [SME: 4072] |
236 |
|
237 |
* Tue Jan 08 2008 Stephen Noble <support@dungog.net> 1.14.0-11 |
238 |
- Fix to remove spaces and newlines in panel headers [SME: 3346] |
239 |
|
240 |
* Tue Jan 08 2008 Stephen Noble <support@dungog.net> 1.14.0-10 |
241 |
- remove the FormMagick session files [SME: 3723] |
242 |
|
243 |
* Tue Jan 08 2008 Stephen Noble <support@dungog.net> 1.14.0-9 |
244 |
- Remove spaces and newlines in panel headers [SME: 3346] |
245 |
|
246 |
* Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-8 |
247 |
- Make login/logout no quite so verbose. [SME: 2660] |
248 |
|
249 |
* Fri May 18 2007 Shad L. Lords <slords@mail.com> 1.14.0-7 |
250 |
- Use correct lib for modules |
251 |
|
252 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
253 |
- Clean up spec so package can be built by koji/plague |
254 |
|
255 |
* Mon Apr 9 2007 Stephen Noble <support@dungog.net> 1.14.0-6 |
256 |
- Convert http to https [SME: 2577] |
257 |
|
258 |
* Mon Mar 12 2007 Gavin Weight <gweight@gmail.com> 1.14.0-5 |
259 |
- Restyle the SME Server manager login form. [SME: 2666] |
260 |
|
261 |
* Mon Mar 05 2007 Shad L. Lords <slords@mail.com> 1.14.0-4 |
262 |
- Don't pass domain in ticket cookie (logout) unless it contains a dot [SME: 2402] |
263 |
|
264 |
* Mon Mar 05 2007 Shad L. Lords <slords@mail.com> 1.14.0-3 |
265 |
- Don't pass domain in ticket cookie (login) unless it contains a dot [SME: 2402] |
266 |
|
267 |
* Tue Feb 13 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-2 |
268 |
- Deal gracefully with renamed apache modules. [SME: 2471] |
269 |
|
270 |
* Fri Jan 26 2007 Shad L. Lords <slords@mail.com> 1.14.0-1 |
271 |
- Roll stable stream. [SME: 2328] |
272 |
|
273 |
* Fri Jan 19 2007 Shad L. Lords <slords@mail.com> 1.13.1-13 |
274 |
- Create /etc/httpd/admin-conf directory |
275 |
|
276 |
* Fri Jan 19 2007 Shad L. Lords <slords@mail.com> 1.13.1-12 |
277 |
- Move apache logrotate to e-smith-apache. |
278 |
- Put quotes around 'httpd-admin' in hashes. |
279 |
|
280 |
* Thu Jan 18 2007 Shad L. Lords <slords@mail.com> 1.13.1-11 |
281 |
- Move last httpd fragments from e-smith-base. |
282 |
|
283 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
284 |
- Update to new release naming. No functional changes. |
285 |
- Make Packager generic |
286 |
|
287 |
* Mon Nov 27 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-09 |
288 |
- Randomize string used for encrypting auth tickets. |
289 |
|
290 |
* Tue Nov 21 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-08 |
291 |
- Add ProxyPassReverse entries for server-manager passthroughs, so that |
292 |
redirects work correctly. |
293 |
|
294 |
* Thu Nov 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-07 |
295 |
- Add basic L10N in navigation-conf. |
296 |
|
297 |
* Wed Nov 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-06 |
298 |
- Avoid use of FormMagick in navigation-conf. TODO: fix I18N. |
299 |
|
300 |
* Mon Nov 06 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-05 |
301 |
- Simplify the sorting code in navigation (so that I can understand |
302 |
it). |
303 |
|
304 |
* Mon Nov 06 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-04 |
305 |
- Simplify javascript, and remove use of pleasewait script. |
306 |
|
307 |
* Mon Nov 06 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-03 |
308 |
- Move swapClass javascript out of standard header and into just |
309 |
navigation. |
310 |
|
311 |
* Fri Nov 03 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-02 |
312 |
- Use mod_auth_tkt authentication for server manager access. |
313 |
|
314 |
* Thu Nov 02 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.1-01 |
315 |
- Add branch tag and roll new development version. |
316 |
|
317 |
* Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.0-06 |
318 |
- Move httpd-admin and its configuration templates from e-smith-base RPM. |
319 |
[SME: 2023] |
320 |
|
321 |
* Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.0-05 |
322 |
- Move more server-manager components from e-smith-base RPM. [SME: 2023] |
323 |
|
324 |
* Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.0-04 |
325 |
- Add manager header/footer templates (moved from e-smith-base) |
326 |
[SME: 2023] |
327 |
|
328 |
* Wed Aug 2 2006 Michael Soulier <msoulier@digitaltorque.ca> |
329 |
- [1.13.0-03] |
330 |
- Fixing broken db path in patch. [SME: 107] |
331 |
|
332 |
* Wed Mar 29 2006 Michael Soulier <michael_soulier@mitel.com> |
333 |
- [1.13.0-02] |
334 |
- Forward porting arbitrary menu plugins. [SME: 107] |
335 |
|
336 |
* Wed Mar 29 2006 Michael Soulier <michael_soulier@mitel.com> |
337 |
- [1.13.0-01] |
338 |
- Rolling to dev. |
339 |
[SME: 107] |
340 |
|
341 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-01 |
342 |
- Roll stable stream version. [SME: 1016] |
343 |
|
344 |
* Tue Jan 31 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-13 |
345 |
- Changed the static CSS files into directory templates, which are |
346 |
expanded in bootstrap-console-save [SME: 408] |
347 |
|
348 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-12 |
349 |
- Bump release number only |
350 |
|
351 |
* Sun Oct 16 2005 Gordon Rowell <gordonr@e-smith.com> |
352 |
- [1.11.0-11] |
353 |
- Removed "table-layout: fixed;" from sme_main.css [SF: 1299779] |
354 |
|
355 |
* Sun Oct 16 2005 Gordon Rowell <gordonr@e-smith.com> |
356 |
- [1.11.0-10] |
357 |
- dos2unix conversion on CSS files [SF: 1299779] |
358 |
|
359 |
* Wed Aug 17 2005 Charlie Brady <charlieb@e-smith.com> |
360 |
- [1.11.0-09] |
361 |
- Remove bogus "Provides: perl(I18N::AcceptLanguage)" header. [SF: 1262438] |
362 |
|
363 |
* Thu Jun 9 2005 Charlie Brady <charlieb@e-smith.com> |
364 |
- [1.11.0-08] |
365 |
- Add newly required manager/cgi-bin/{navigation,noframes} symlinks. |
366 |
[SF: 1217426] |
367 |
|
368 |
* Tue Jun 7 2005 Charlie Brady <charlieb@e-smith.com> |
369 |
- [1.11.0-07] |
370 |
- Remove references to /etc/e-smith/web/panel/manager/common |
371 |
[SF: 1172203, 1210715] |
372 |
|
373 |
* Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com> |
374 |
- [1.11.0-06] |
375 |
- Updated perl dependencies. [msoulier MN00040240] |
376 |
|
377 |
* Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com> |
378 |
- [1.11.0-05] |
379 |
- Added the sme_panel_menu.css file, for tabbed menu support. Added a link to |
380 |
it in the standard header. |
381 |
[msoulier MN00030141] |
382 |
|
383 |
* Thu Feb 26 2004 Michael Soulier <msoulier@e-smith.com> |
384 |
- [1.11.0-04] |
385 |
- Backed-out previous change. It was better before. [msoulier dpar-22042] |
386 |
|
387 |
* Thu Feb 26 2004 Michael Soulier <msoulier@e-smith.com> |
388 |
- [1.11.0-03] |
389 |
- Added vertical-align: text-top; to td.sme-noborders-label to ensure that |
390 |
text is aligned vertically at the top of the cell. [msoulier dpar-22042] |
391 |
|
392 |
* Tue Jul 8 2003 Charlie Brady <charlieb@e-smith.com> |
393 |
- [1.11.0-02] |
394 |
- Check that files are executable before listing in the |
395 |
manager navigation frame. [charlieb 9197] |
396 |
- s/Copyright/License/. |
397 |
|
398 |
* Tue Jul 8 2003 Charlie Brady <charlieb@e-smith.com> |
399 |
- [1.11.0-01] |
400 |
- Changing version to development stream number - 1.11.0 |
401 |
|
402 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
403 |
- [1.10.0-01] |
404 |
- Changing version to stable stream number - 1.10.0 |
405 |
|
406 |
* Mon Apr 21 2003 Gordon Rowell <gordonr@e-smith.com> |
407 |
- [1.9.5-16] |
408 |
- New class for error link within table cell [gordonr 8129] |
409 |
|
410 |
* Tue Apr 8 2003 Gordon Rowell <gordonr@e-smith.com> |
411 |
- [1.9.5-15] |
412 |
- Removed borders around "warning" cells so they don't look like |
413 |
they are bleeding on some browsers (e.g. Mozilla) [gordonr 8127] |
414 |
|
415 |
* Thu Apr 3 2003 Gordon Rowell <gordonr@e-smith.com> |
416 |
- [1.9.5-14] |
417 |
- Make <h2> and <p> within div.{success,error} => {red,green} [gordonr 7919] |
418 |
|
419 |
* Wed Apr 2 2003 Gordon Rowell <gordonr@e-smith.com> |
420 |
- [1.9.5-13] |
421 |
- Moved manager SSL fragments back to e-smith-base [gordonr 7900] |
422 |
|
423 |
* Tue Apr 1 2003 Tony Clayton <apc@e-smith.com> |
424 |
- [1.9.5-12] |
425 |
- add td.sme-radiobutton css class for date/time panel [tonyc 1588] |
426 |
|
427 |
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
428 |
- [1.9.5-11] |
429 |
- Make the question make bold [gordonr 7946] |
430 |
|
431 |
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
432 |
- [1.9.5-10] |
433 |
- Fix SSL listen template for serveronly mode [gordonr 7900] |
434 |
|
435 |
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
436 |
- [1.9.5-09] |
437 |
- Bind manager on port 981 to localhost only [gordonr 7900] |
438 |
|
439 |
* Mon Mar 31 2003 Mike Dickson <miked@e-smith.com> |
440 |
- [1.9.5-08] |
441 |
- changed class for sme-noborders-label to width=33% rather than |
442 |
a fixed 250px wide, due to limitations in IE6 [miked 7676] |
443 |
- added class "sectionbar" for use [miked] |
444 |
- modified "td.noborders-label" colour [miked] |
445 |
|
446 |
|
447 |
* Fri Mar 28 2003 Gordon Rowell <gordonr@e-smith.com> |
448 |
- [1.9.5-07] |
449 |
- Changed Copyright font from 8px to 10px [gordonr 7676] |
450 |
|
451 |
* Thu Mar 27 2003 Mark Knox <markk@e-smith.com> |
452 |
- [1.9.5-06] |
453 |
- Changed Help -> ? and changed formatting of current user and host [markk |
454 |
7707] |
455 |
|
456 |
* Thu Mar 20 2003 Tony Clayton <apc@e-smith.com> |
457 |
- [1.9.5-05] |
458 |
- Add css style for a.error class [tonyc 4718] |
459 |
|
460 |
* Wed Mar 19 2003 Gordon Rowell <gordonr@e-smith.com> |
461 |
- [1.9.5-04] |
462 |
- Move navigation dbs to /home/e-smith/db/navigation. We shouldn't generate |
463 |
them in /etc/e-smith/locale and we should name them by language, in case |
464 |
we share lexicons (e.g. fr/fr-ca) [gordonr 7733] |
465 |
|
466 |
* Sun Mar 16 2003 Mike Dickson <miked@e-smith.com> |
467 |
- [1.9.5-03] |
468 |
- stylesheet fixes: darkend the copyrigt text, adjuste the UL and LI tags [miked 7676] |
469 |
|
470 |
* Thu Mar 13 2003 Mark Knox <markk@e-smith.com> |
471 |
- [1.9.5-02] |
472 |
- Removed 40LogoRow from header.htm templates [markk 4722] |
473 |
|
474 |
* Thu Mar 13 2003 Mark Knox <markk@e-smith.com> |
475 |
- [1.9.5-01] |
476 |
- Removed product_logo.gif [markk 4722] |
477 |
|
478 |
* Tue Mar 11 2003 Mike Dickson <miked@e-smith.com> |
479 |
- [1.9.4-09] |
480 |
- changed Adming to admin in header.htm templates [miked 7595] |
481 |
|
482 |
* Thu Feb 6 2003 Mike Dickson <miked@e-smith.com> |
483 |
- [1.9.4-08] |
484 |
- updated the CSS to add a new "success" class [miked 7032] |
485 |
|
486 |
* Tue Feb 4 2003 Mark Knox <markk@e-smith.com> |
487 |
- [1.9.4-07] |
488 |
- Refer to new SSL cert name of $SystemName.$DomainName [markk 4874] |
489 |
|
490 |
* Mon Feb 3 2003 Mark Knox <markk@e-smith.com> |
491 |
- [1.9.4-06] |
492 |
- Include ValidFrom hosts in SSL allow statements [markk 6428] |
493 |
|
494 |
* Mon Feb 3 2003 Mark Knox <markk@e-smith.com> |
495 |
- [1.9.4-05] |
496 |
- Also Listen on the right ports [markk 6428] |
497 |
|
498 |
* Mon Feb 3 2003 Mark Knox <markk@e-smith.com> |
499 |
- [1.9.4-04] |
500 |
- Bind SSL to port 443 if no primary web server available [markk 6428] |
501 |
|
502 |
* Sat Jan 25 2003 Mike Dickson <miked@e-smith.com> |
503 |
- [1.9.4-03] |
504 |
- darkened colour of copyright text [miked 6696] |
505 |
|
506 |
* Sat Jan 25 2003 Mike Dickson <miked@e-smith.com> |
507 |
- [1.9.4-02] |
508 |
- removed demo class "warn" from nav script [miked 6706] |
509 |
|
510 |
* Mon Jan 13 2003 Mike Dickson <miked@e-smith.com> |
511 |
- [1.9.4-01] |
512 |
- updated CSS file to show correct colour in menu, added "warn.gif" [miked 6398] |
513 |
|
514 |
* Fri Jan 3 2003 Gordon Rowell <gordonr@e-smith.com> |
515 |
- [1.9.3-13] |
516 |
- Made use of esmith::I18N in navigation-conf. Renamed locale->lang |
517 |
to make it more obvious that we are dealing with a langtag [gordonr 5212] |
518 |
|
519 |
* Thu Jan 2 2003 Gordon Rowell <gordonr@e-smith.com> |
520 |
- [1.9.3-12] |
521 |
- Hide online-manual from navigation bar - now in header Help [gordonr 6394] |
522 |
|
523 |
* Wed Jan 1 2003 Gordon Rowell <gordonr@e-smith.com> |
524 |
- [1.9.3-11] |
525 |
- Updated navigation script to use esmith::I18N [gordonr 5212] |
526 |
|
527 |
* Wed Jan 1 2003 Gordon Rowell <gordonr@e-smith.com> |
528 |
- [1.9.3-10] |
529 |
- Spell bootstrap-console-save correctly [gordonr 5493] |
530 |
|
531 |
* Wed Jan 1 2003 Gordon Rowell <gordonr@e-smith.com> |
532 |
- [1.9.3-09] |
533 |
- Work out the correct navigation.info based on browser language [gordonr 5493] |
534 |
|
535 |
* Wed Jan 1 2003 Gordon Rowell <gordonr@e-smith.com> |
536 |
- [1.9.3-08] |
537 |
- Generate navigation.info files (config db format) for each supported |
538 |
language in /etc/e-smith/locale/{language}/etc/e-smith/web/functions |
539 |
- Read the navigation.info file for the preferred language when |
540 |
displaying the navigation bar |
541 |
- TODO: Actually select the correct navigation.info file [gordonr 5493] |
542 |
|
543 |
* Tue Dec 31 2002 Gordon Rowell <gordonr@e-smith.com> |
544 |
- [1.9.3-07] |
545 |
- Skip non-executable files when generating nav bar [gordonr 5802] |
546 |
|
547 |
* Fri Dec 27 2002 Mike Dickson <miked@e-smith.com> |
548 |
- [1.9.3-06] |
549 |
- updates and comments in the CSS files [miked 3185] |
550 |
- commented out the two links in the header that are not ready yet |
551 |
(log out and update available) [miked 5967 and 492] |
552 |
|
553 |
* Mon Dec 16 2002 Mike Dickson <miked@e-smith.com> |
554 |
- [1.9.3-05] |
555 |
- UI Update, part of the tweaking for the new UI [miked 5494] |
556 |
|
557 |
* Tue Dec 10 2002 Mike Dickson <miked@e-smith.com> |
558 |
- [1.9.3-04] |
559 |
- forgot to update header.htm fragments [miked 5494] |
560 |
|
561 |
* Mon Dec 9 2002 Mike Dickson <miked@e-smith.com> |
562 |
- [1.9.3-03] |
563 |
- ui update [miked 5494] |
564 |
|
565 |
* Mon Dec 2 2002 Mike Dickson <miked@e-smith.com> |
566 |
- [1.9.3-02] |
567 |
- ui update [miked 5494] |
568 |
|
569 |
* Wed Nov 27 2002 Mike Dickson <miked@e-smith.com> |
570 |
- [1.9.3-01] |
571 |
- and again to make it stick |
572 |
|
573 |
* Wed Nov 27 2002 Mike Dickson <miked@e-smith.com> |
574 |
- [1.9.2-01] |
575 |
- updated the header images [miked 5529] |
576 |
- updated other UI stuff [miked 5494] |
577 |
|
578 |
* Fri Nov 22 2002 Gordon Rowell <gordonr@e-smith.com> |
579 |
- [1.9.1-02] |
580 |
- templated header.htm [miked 5826] |
581 |
- modified header.htm template to link to online-manual and blades |
582 |
[gordonr 5826] |
583 |
|
584 |
* Thu Nov 21 2002 Mike Dickson <miked@e-smith.com> |
585 |
- [1.9.1-01] |
586 |
- update to new UI system [miked 5494] |
587 |
|
588 |
* Wed Nov 20 2002 Mike Dickson <miked@e-smith.com> |
589 |
- [1.9.0-01] |
590 |
- Changing to development stream; version upped to 1.9.0 |
591 |
|
592 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
593 |
- [1.8.0-01] |
594 |
- Roll to maintained version number to 1.8.0 |
595 |
|
596 |
* Wed Jun 19 2002 Mark Knox <markk@e-smith.com> |
597 |
- [1.7.2-01] |
598 |
- Move SSL mutex and cache out of /var/log [markk 3830] |
599 |
|
600 |
* Tue Jun 18 2002 Charlie Brady <charlieb@e-smith.com> |
601 |
- [1.7.1-01] |
602 |
- Move admin apache SSL mutex and SSL session cache to files named admin_xxx |
603 |
to avoid name clash with main server. [charlieb 3830] |
604 |
|
605 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
606 |
- [1.7.0-01] |
607 |
- Changing version to maintained stream number to 1.7.0 |
608 |
|
609 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
610 |
- [1.6.0-01] |
611 |
- Changing version to maintained stream number to 1.6.0 |
612 |
|
613 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
614 |
- [1.5.11-01] |
615 |
- RPM rebuild forced by cvsroot2rpm |
616 |
|
617 |
* Thu May 16 2002 Tony Clayton <apc@e-smith.com> |
618 |
- [1.5.10-01] |
619 |
- Pass noframes=1 as cgi param for browsers without frames [tonyc 3475] |
620 |
|
621 |
* Thu May 16 2002 Tony Clayton <apc@e-smith.com> |
622 |
- [1.5.9-01] |
623 |
- use Dan McGarry's manager.css/navigation fixes for 3377 [tonyc] |
624 |
|
625 |
* Thu May 16 2002 Tony Clayton <apc@e-smith.com> |
626 |
- [1.5.8-01] |
627 |
- Remove unnecessary <p> tags in navigation html [tonyc 3377] |
628 |
- Fix navigation panel to not import symbols from fm subclasses |
629 |
[tonyc 3109] |
630 |
|
631 |
* Mon May 13 2002 Tony Clayton <apc@e-smith.com> |
632 |
- [1.5.7-01] |
633 |
- Fix navigation panel to play nice with FM subclasses [tonyc 3109] |
634 |
|
635 |
* Fri May 10 2002 Gordon Rowell <gordonr@e-smith.com> |
636 |
- [1.5.6-01] |
637 |
- Tell CGI.pm to not produce xhtml [gordonr 3377] |
638 |
|
639 |
* Tue May 7 2002 Gordon Rowell <gordonr@e-smith.com> |
640 |
- [1.5.5-01] |
641 |
- Missing use esmith::util [gordonr 3372] |
642 |
|
643 |
* Wed Apr 24 2002 Gordon Rowell <gordonr@e-smith.com> |
644 |
- [1.5.4-01] |
645 |
- Ignore cgi-bin/internal-.* in navigation [gordonr 3202] |
646 |
|
647 |
* Mon Apr 22 2002 Gordon Rowell <gordonr@e-smith.com> |
648 |
- [1.5.3-01] |
649 |
- Back out gettext() calls - esmith::FormMagic was Croaking on |
650 |
bad lexicons for old panels. Now properly localises the navigation |
651 |
bar if the localisations exist [gordonr 3155] |
652 |
|
653 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
654 |
- [1.5.2-01] |
655 |
- Added explicit gettext() call to localize navigation bar while |
656 |
figuring out esmith::FormMagick won't do it for me [gordonr 3155] |
657 |
|
658 |
* Wed Apr 10 2002 Gordon Rowell <gordonr@e-smith.com> |
659 |
- [1.5.1-01] |
660 |
- navigation is now polymorphic and does noframes as well [gordonr #3155] |
661 |
|
662 |
* Thu Apr 04 2002 Gordon Rowell <gordonr@e-smith.com> |
663 |
Wed Apr 04 2002 --> Wed Apr 03 2002 or Thu Apr 04 2002 or Wed Apr 10 2002 or .... |
664 |
- [1.5.0-01] |
665 |
- Rolled to development stream [gordonr] |
666 |
|
667 |
* Wed Apr 03 2002 Kirrily Robert <skud@e-smith.com> |
668 |
- [1.4.4-01] |
669 |
- Added red error messages to CSS [skud 3027] |
670 |
|
671 |
* Thu Mar 14 2002 Gordon Rowell <gordonr@e-smith.com> |
672 |
- [1.4.3-01] |
673 |
- Fixed regexp for ignoring pleasewait(-.*?). Two each in |
674 |
pleasewait/noframes. Reduced to one in each [gordonr] |
675 |
|
676 |
* Fri Mar 1 2002 Tony Clayton <tonyc@e-smith.com> |
677 |
- [1.4.2-01] |
678 |
- rollRPM: Rolled version number to 1.4.2-01. Includes patches up to 1.4.1-02. |
679 |
- mkdir panels/manager/common in spec file for CVS migration |
680 |
|
681 |
* Fri Jan 25 2002 Tony Clayton <tonyc@e-smith.com> |
682 |
- [1.4.1-02] |
683 |
- added missing ')' in navigation script pleasewait munging |
684 |
|
685 |
* Fri Jan 25 2002 Tony Clayton <tonyc@e-smith.com> |
686 |
- [1.4.1-01] |
687 |
- rollRPM: Rolled version number to 1.4.1-01. Includes patches up to 1.4.0-02. |
688 |
- navigation now ignores pleasewait-* files |
689 |
|
690 |
* Thu Jan 10 2002 Charlie Brady <charlieb@e-smith.com> |
691 |
- [1.4.0-02] |
692 |
- Use dated log file for ssl_engine_log. Name the file ssl_engine_log.xxxxx |
693 |
to keep it distinct from the main web server's log file. |
694 |
|
695 |
* Tue Dec 11 2001 Jason Miller <jay@e-smith.com> |
696 |
- [1.4.0-01] |
697 |
- rollRPM: Rolled version number to 1.4.0-01. Includes patches up to 1.3.0-07. |
698 |
|
699 |
* Sat Dec 08 2001 Charlie Brady <charlieb@e-smith.com> |
700 |
- [1.3.0-07] |
701 |
- Move genNavigationHeader() down below the script grokking code in |
702 |
"navigation", to help Netscape's faulty rendering. |
703 |
|
704 |
* Wed Nov 21 2001 Charlie Brady <charlieb@e-smith.com> |
705 |
- [1.3.0-06] |
706 |
- Remove troublesome "Requires: e-smith-base". |
707 |
- Remove obsolete "Requires: e-smith". |
708 |
|
709 |
* Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com> |
710 |
- [1.3.0-05] |
711 |
- Indent description within navigation headings sections |
712 |
|
713 |
* Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com> |
714 |
- [1.3.0-04] |
715 |
- Backed out patch from 1.3.0-02 - restored image to navigation frame |
716 |
|
717 |
* Wed Oct 31 2001 Charlie Brady <charlieb@e-smith.com> |
718 |
- [1.3.0-03] |
719 |
- Add Mitel branding changes. |
720 |
|
721 |
* Fri Aug 31 2001 Gordon Rowell <gordonr@e-smith.com> |
722 |
- [1.3.0-02] |
723 |
- Removed image from top of navigation - now in separate frame |
724 |
- Added Provides: server-manager |
725 |
|
726 |
* Fri Aug 31 2001 Gordon Rowell <gordonr@e-smith.com> |
727 |
- [1.3.0-01] |
728 |
- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-02. |
729 |
|
730 |
* Fri Aug 17 2001 gordonr |
731 |
- [1.2.0-02] |
732 |
- Autorebuild by rebuildRPM |
733 |
|
734 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
735 |
- [1.2.0-01] |
736 |
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-04. |
737 |
|
738 |
* Tue Jul 31 2001 Adrian Chung <adrianc@e-smith.com> |
739 |
- [1.1.0-04] |
740 |
- moving manager.css file from manager/html to common/css |
741 |
|
742 |
* Tue Jul 31 2001 Adrian Chung <adrianc@e-smith.com> |
743 |
- [1.1.0-03] |
744 |
- Adding SSL enabling templates for port 981. |
745 |
- Adding 01localAccessString fragment for use in SSL |
746 |
enabling templates. |
747 |
|
748 |
* Fri Jul 27 2001 Charlie Brady <charlieb@e-smith.com> |
749 |
- [1.1.0-02] |
750 |
- Prepend "/server-manager" to hrefs, to allow consistent path interpretation |
751 |
between admin and standard web server. |
752 |
|
753 |
* Fri Jul 27 2001 Charlie Brady <charlieb@e-smith.com> |
754 |
- [1.1.0-01] |
755 |
- Rolled version number to 1.1.0-01. Includes patches upto 0.1.1-06. |
756 |
|
757 |
* Tue Jul 24 2001 Adrian Chung <adrianc@e-smith.com> |
758 |
- [0.1.1-06] |
759 |
- Incorporating font size changes to manager.css |
760 |
|
761 |
* Mon Jul 9 2001 Peter Samuel <peters@e-smith.com> |
762 |
- [0.1.1-05] |
763 |
- Updated packager information |
764 |
|
765 |
* Fri Jul 6 2001 Peter Samuel <peters@e-smith.com> |
766 |
- [0.1.1-04] |
767 |
- Changed license to GPL |
768 |
|
769 |
* Wed Jun 06 2001 Charlie Brady <charlieb@e-smith.com> |
770 |
- [0.1.1-03] |
771 |
- Change font setting in navigation - use css class instead. |
772 |
- Add newlines after each link in navigation frame - so that HTML |
773 |
source is readable. |
774 |
- Add manager.css, which came from e-smith-base. Let's have all look&feel |
775 |
in the one RPM. |
776 |
- Check whether "files" in cgi-bin directory are actually directories. Skip |
777 |
any directories. |
778 |
|
779 |
* Mon Apr 9 2001 Adrian Chung <adrianc@e-smith.com> |
780 |
- [0.1.1-02] |
781 |
- changing CELLPADDING in navigation from 4 to 2. |
782 |
|
783 |
* Tue Mar 14 2000 Charlie Brady <charlieb@e-smith.com> |
784 |
Wed Mar 14 2000 --> Wed Mar 08 2000 or Tue Mar 14 2000 or Wed Mar 15 2000 or .... |
785 |
- initial release |
786 |
|
787 |
%description |
788 |
This RPM contributes the navigation bars for the e-smith-manager. |
789 |
|
790 |
%prep |
791 |
%setup |
792 |
%patch0 -p1 |
793 |
%patch1 -p1 |
794 |
%patch2 -p1 |
795 |
%patch3 -p1 |
796 |
%patch4 -p1 |
797 |
%patch5 -p1 |
798 |
%patch6 -p1 |
799 |
%patch7 -p1 |
800 |
%patch8 -p1 |
801 |
%patch9 -p1 |
802 |
%patch10 -p1 |
803 |
%patch11 -p1 |
804 |
%patch12 -p1 |
805 |
%patch13 -p1 |
806 |
%patch14 -p1 |
807 |
%patch15 -p1 |
808 |
%patch16 -p1 |
809 |
rm -rf root/var/service |
810 |
%patch17 -p1 |
811 |
%patch18 -p1 |
812 |
%patch19 -p1 |
813 |
|
814 |
%build |
815 |
perl createlinks |
816 |
gcc -o root/etc/e-smith/web/functions/wrapper manager.c |
817 |
mkdir -p root/home/e-smith/db/navigation |
818 |
mkdir -p root/etc/e-smith/web/common/css |
819 |
|
820 |
mkdir -p root/usr/share/locale/en_US/LC_MESSAGES/ |
821 |
xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/foot.tmpl.po root/etc/e-smith/templates/etc/e-smith/web/common/foot.tmpl/25Copyright |
822 |
# make header/footer symlinks |
823 |
ln -s head.tmpl root/etc/e-smith/web/common/userpassword_head.tmpl |
824 |
ln -s head.tmpl root/etc/e-smith/web/common/noframes_head.tmpl |
825 |
ln -s foot.tmpl root/etc/e-smith/web/common/noframes_foot.tmpl |
826 |
|
827 |
mkdir -p root/etc/e-smith/web/panels/manager/html |
828 |
for file in index initial |
829 |
do |
830 |
ln -s ../../../functions/wrapper root/etc/e-smith/web/panels/manager/html/${file}.cgi |
831 |
done |
832 |
|
833 |
# Force creation of potentially empty directories |
834 |
mkdir -p root/etc/e-smith/web/{common,functions} |
835 |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,html} |
836 |
mkdir -p root/etc/e-smith/web/panels/password/{cgi-bin,html} |
837 |
mkdir -p root/etc/httpd/admin-conf |
838 |
|
839 |
mkdir -p root/service |
840 |
#mkdir -p root/etc/rc.d/init.d/supervise |
841 |
#for service in httpd-admin |
842 |
#do |
843 |
# ln -s /var/service/$service root/service/$service |
844 |
# mkdir -p root/var/service/$service/supervise |
845 |
# touch root/var/service/$service/down |
846 |
# if [ -d root/var/service/$service/log ] |
847 |
# then |
848 |
# mkdir -p root/var/service/$service/log/supervise |
849 |
# mkdir -p root/var/log/$service |
850 |
# fi |
851 |
# ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service |
852 |
#done |
853 |
|
854 |
%install |
855 |
rm -rf $RPM_BUILD_ROOT |
856 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
857 |
rm -f %{name}-%{version}-%{release}-filelist |
858 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
859 |
--file /etc/e-smith/web/common/cgi-bin/login 'attr(0755,root,root)' \ |
860 |
--file /etc/e-smith/web/common/cgi-bin/logout 'attr(0755,root,root)' \ |
861 |
--file /etc/e-smith/web/functions/wrapper 'attr(4750,root,admin)' \ |
862 |
--dir /var/log/httpd-admin 'attr(0750,smelog,smelog)' \ |
863 |
> %{name}-%{version}-%{release}-filelist |
864 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
865 |
|
866 |
%clean |
867 |
rm -rf $RPM_BUILD_ROOT |
868 |
|
869 |
%pre |
870 |
if [ $1 -gt 1 ] ; then |
871 |
if [ -e /var/service/httpd-admin/run ] ; then |
872 |
/usr/bin/sv d httpd-admin |
873 |
/usr/bin/sv d httpd-admin/log |
874 |
fi |
875 |
fi |
876 |
%preun |
877 |
%post |
878 |
find /etc/e-smith/web/panels/manager/cgi-bin/ -type f | \ |
879 |
sed -n '/\/[0-9a-z]\{32\}$/p' | \ |
880 |
xargs grep -l Persisten | \ |
881 |
xargs rm -f |
882 |
|
883 |
if [ -d /var/service/httpd-admin ] ; then |
884 |
rm -rf /var/service/httpd-admin |
885 |
fi |
886 |
|
887 |
%postun |
888 |
|
889 |
%files -f %{name}-%{version}-%{release}-filelist |
890 |
%defattr(-,root,root) |