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