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