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