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