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