-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathe-smith-manager.spec
709 lines (548 loc) · 23.8 KB
/
e-smith-manager.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
# $Id: e-smith-manager.spec,v 1.20 2010/08/07 14:34:28 wellsi Exp $
Summary: e-smith manager navigation module
%define name e-smith-manager
Name: %{name}
%define version 2.2.0
%define release 6
Version: %{version}
Release: %{release}%{?dist}
License: GPL
Group: Networking/Daemons
Source: %{name}-%{version}.tar.gz
Patch0: e-smith-manager-2.2.0-bug5022.patch
Patch1: e-smith-manager-2.2.0-unsavedchanges2.patch
Patch2: e-smith-manager-2.2.0-bug5656.patch
Patch3: e-smith-manager-2.2.0-display-admin-only-messages-only-for-server-manager.patch
Patch4: e-smith-manager-2.2.0-remove_empty_p.patch
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
BuildRequires: e-smith-devtools
BuildRequires: gettext
BuildArchitectures: noarch
Requires: e-smith-lib >= 1.18.0-26
Requires: mod_auth_tkt
Provides: server-manager
AutoReqProv: no
%changelog
- Remove empty <p> tag from /etc/e-smith/web/common/foot.tmpl, by Daniel [SME: 5905]
- Only display error messages intended for admin in server-manager [SME: 5700]
- Fix css validation errors. [SME: 5656]
* Fri Sep 18 2009 Stephen Noble <[email protected]> 2.2.0-4.sme
- display reconfigure warning once if UnsavedChanges=yes [SME: 5475]
* Fri Sep 18 2009 Stephen Noble <[email protected]> 2.2.0-3.sme
- display reconfigure warning if UnsavedChanges=yes [SME: 5475]
- Fix misinterpretation of display string [SME: 5022]
- Roll new stream to separate sme7/sme8 trees [SME: 4633]
- Make navigation use new db class for navigation [SME: 4619]
- Make binmode properties of db class [SME: 4317]
- Add new navigation db & utf8 classes [SME: 4317]
- Fix open of database to create if necessary [SME: 4147]
- No longer remove navigation dbs. [SME: 4147]
- Deal a little more gracefully with non UTF-8 lexicons [SME: 4229]
- Remove navigation dbs and create new [SME: 4147]
- Remove last remnant of pleasewait [SME: 4130]
- Include general lexicons in nav-config [SME: 4113]
- Fix wide output to print in navigation and allow navigations db to
be utf8 [SME: 4101]
- Fix UTF-8 encoding in header and nav-conf [SME: 4072]
- Fix to remove spaces and newlines in panel headers [SME: 3346]
- remove the FormMagick session files [SME: 3723]
- Remove spaces and newlines in panel headers [SME: 3346]
- Make login/logout no quite so verbose. [SME: 2660]
- Use correct lib for modules
* Sun Apr 29 2007 Shad L. Lords <[email protected]>
- Clean up spec so package can be built by koji/plague
- Convert http to https [SME: 2577]
- Restyle the SME Server manager login form. [SME: 2666]
- Don't pass domain in ticket cookie (logout) unless it contains a dot [SME: 2402]
- Don't pass domain in ticket cookie (login) unless it contains a dot [SME: 2402]
- Deal gracefully with renamed apache modules. [SME: 2471]
- Roll stable stream. [SME: 2328]
- Create /etc/httpd/admin-conf directory
- Move apache logrotate to e-smith-apache.
- Put quotes around 'httpd-admin' in hashes.
- Move last httpd fragments from e-smith-base.
* Thu Dec 07 2006 Shad L. Lords <[email protected]>
- Update to new release naming. No functional changes.
- Make Packager generic
- Randomize string used for encrypting auth tickets.
- Add ProxyPassReverse entries for server-manager passthroughs, so that
redirects work correctly.
- Add basic L10N in navigation-conf.
- Avoid use of FormMagick in navigation-conf. TODO: fix I18N.
- Simplify the sorting code in navigation (so that I can understand
it).
- Simplify javascript, and remove use of pleasewait script.
- Move swapClass javascript out of standard header and into just
navigation.
- Use mod_auth_tkt authentication for server manager access.
- Add branch tag and roll new development version.
- Move httpd-admin and its configuration templates from e-smith-base RPM.
[SME: 2023]
- Move more server-manager components from e-smith-base RPM. [SME: 2023]
- Add manager header/footer templates (moved from e-smith-base)
[SME: 2023]
* Wed Aug 2 2006 Michael Soulier <[email protected]>
- [1.13.0-03]
- Fixing broken db path in patch. [SME: 107]
* Wed Mar 29 2006 Michael Soulier <[email protected]>
- [1.13.0-02]
- Forward porting arbitrary menu plugins. [SME: 107]
* Wed Mar 29 2006 Michael Soulier <[email protected]>
- [1.13.0-01]
- Rolling to dev.
[SME: 107]
- Roll stable stream version. [SME: 1016]
- Changed the static CSS files into directory templates, which are
expanded in bootstrap-console-save [SME: 408]
- Bump release number only
* Sun Oct 16 2005 Gordon Rowell <[email protected]>
- [1.11.0-11]
- Removed "table-layout: fixed;" from sme_main.css [SF: 1299779]
* Sun Oct 16 2005 Gordon Rowell <[email protected]>
- [1.11.0-10]
- dos2unix conversion on CSS files [SF: 1299779]
* Wed Aug 17 2005 Charlie Brady <[email protected]>
- [1.11.0-09]
- Remove bogus "Provides: perl(I18N::AcceptLanguage)" header. [SF: 1262438]
* Thu Jun 9 2005 Charlie Brady <[email protected]>
- [1.11.0-08]
- Add newly required manager/cgi-bin/{navigation,noframes} symlinks.
[SF: 1217426]
* Tue Jun 7 2005 Charlie Brady <[email protected]>
- [1.11.0-07]
- Remove references to /etc/e-smith/web/panel/manager/common
[SF: 1172203, 1210715]
* Tue Sep 28 2004 Michael Soulier <[email protected]>
- [1.11.0-06]
- Updated perl dependencies. [msoulier MN00040240]
* Tue Jul 13 2004 Michael Soulier <[email protected]>
- [1.11.0-05]
- Added the sme_panel_menu.css file, for tabbed menu support. Added a link to
it in the standard header.
[msoulier MN00030141]
* Thu Feb 26 2004 Michael Soulier <[email protected]>
- [1.11.0-04]
- Backed-out previous change. It was better before. [msoulier dpar-22042]
* Thu Feb 26 2004 Michael Soulier <[email protected]>
- [1.11.0-03]
- Added vertical-align: text-top; to td.sme-noborders-label to ensure that
text is aligned vertically at the top of the cell. [msoulier dpar-22042]
* Tue Jul 8 2003 Charlie Brady <[email protected]>
- [1.11.0-02]
- Check that files are executable before listing in the
manager navigation frame. [charlieb 9197]
- s/Copyright/License/.
* Tue Jul 8 2003 Charlie Brady <[email protected]>
- [1.11.0-01]
- Changing version to development stream number - 1.11.0
* Thu Jun 26 2003 Charlie Brady <[email protected]>
- [1.10.0-01]
- Changing version to stable stream number - 1.10.0
* Mon Apr 21 2003 Gordon Rowell <[email protected]>
- [1.9.5-16]
- New class for error link within table cell [gordonr 8129]
* Tue Apr 8 2003 Gordon Rowell <[email protected]>
- [1.9.5-15]
- Removed borders around "warning" cells so they don't look like
they are bleeding on some browsers (e.g. Mozilla) [gordonr 8127]
* Thu Apr 3 2003 Gordon Rowell <[email protected]>
- [1.9.5-14]
- Make <h2> and <p> within div.{success,error} => {red,green} [gordonr 7919]
* Wed Apr 2 2003 Gordon Rowell <[email protected]>
- [1.9.5-13]
- Moved manager SSL fragments back to e-smith-base [gordonr 7900]
* Tue Apr 1 2003 Tony Clayton <[email protected]>
- [1.9.5-12]
- add td.sme-radiobutton css class for date/time panel [tonyc 1588]
* Tue Apr 1 2003 Gordon Rowell <[email protected]>
- [1.9.5-11]
- Make the question make bold [gordonr 7946]
* Tue Apr 1 2003 Gordon Rowell <[email protected]>
- [1.9.5-10]
- Fix SSL listen template for serveronly mode [gordonr 7900]
* Tue Apr 1 2003 Gordon Rowell <[email protected]>
- [1.9.5-09]
- Bind manager on port 981 to localhost only [gordonr 7900]
* Mon Mar 31 2003 Mike Dickson <[email protected]>
- [1.9.5-08]
- changed class for sme-noborders-label to width=33% rather than
a fixed 250px wide, due to limitations in IE6 [miked 7676]
- added class "sectionbar" for use [miked]
- modified "td.noborders-label" colour [miked]
* Fri Mar 28 2003 Gordon Rowell <[email protected]>
- [1.9.5-07]
- Changed Copyright font from 8px to 10px [gordonr 7676]
* Thu Mar 27 2003 Mark Knox <[email protected]>
- [1.9.5-06]
- Changed Help -> ? and changed formatting of current user and host [markk
7707]
* Thu Mar 20 2003 Tony Clayton <[email protected]>
- [1.9.5-05]
- Add css style for a.error class [tonyc 4718]
* Wed Mar 19 2003 Gordon Rowell <[email protected]>
- [1.9.5-04]
- Move navigation dbs to /home/e-smith/db/navigation. We shouldn't generate
them in /etc/e-smith/locale and we should name them by language, in case
we share lexicons (e.g. fr/fr-ca) [gordonr 7733]
* Sun Mar 16 2003 Mike Dickson <[email protected]>
- [1.9.5-03]
- stylesheet fixes: darkend the copyrigt text, adjuste the UL and LI tags [miked 7676]
* Thu Mar 13 2003 Mark Knox <[email protected]>
- [1.9.5-02]
- Removed 40LogoRow from header.htm templates [markk 4722]
* Thu Mar 13 2003 Mark Knox <[email protected]>
- [1.9.5-01]
- Removed product_logo.gif [markk 4722]
* Tue Mar 11 2003 Mike Dickson <[email protected]>
- [1.9.4-09]
- changed Adming to admin in header.htm templates [miked 7595]
* Thu Feb 6 2003 Mike Dickson <[email protected]>
- [1.9.4-08]
- updated the CSS to add a new "success" class [miked 7032]
* Tue Feb 4 2003 Mark Knox <[email protected]>
- [1.9.4-07]
- Refer to new SSL cert name of $SystemName.$DomainName [markk 4874]
* Mon Feb 3 2003 Mark Knox <[email protected]>
- [1.9.4-06]
- Include ValidFrom hosts in SSL allow statements [markk 6428]
* Mon Feb 3 2003 Mark Knox <[email protected]>
- [1.9.4-05]
- Also Listen on the right ports [markk 6428]
* Mon Feb 3 2003 Mark Knox <[email protected]>
- [1.9.4-04]
- Bind SSL to port 443 if no primary web server available [markk 6428]
* Sat Jan 25 2003 Mike Dickson <[email protected]>
- [1.9.4-03]
- darkened colour of copyright text [miked 6696]
* Sat Jan 25 2003 Mike Dickson <[email protected]>
- [1.9.4-02]
- removed demo class "warn" from nav script [miked 6706]
* Mon Jan 13 2003 Mike Dickson <[email protected]>
- [1.9.4-01]
- updated CSS file to show correct colour in menu, added "warn.gif" [miked 6398]
* Fri Jan 3 2003 Gordon Rowell <[email protected]>
- [1.9.3-13]
- Made use of esmith::I18N in navigation-conf. Renamed locale->lang
to make it more obvious that we are dealing with a langtag [gordonr 5212]
* Thu Jan 2 2003 Gordon Rowell <[email protected]>
- [1.9.3-12]
- Hide online-manual from navigation bar - now in header Help [gordonr 6394]
* Wed Jan 1 2003 Gordon Rowell <[email protected]>
- [1.9.3-11]
- Updated navigation script to use esmith::I18N [gordonr 5212]
* Wed Jan 1 2003 Gordon Rowell <[email protected]>
- [1.9.3-10]
- Spell bootstrap-console-save correctly [gordonr 5493]
* Wed Jan 1 2003 Gordon Rowell <[email protected]>
- [1.9.3-09]
- Work out the correct navigation.info based on browser language [gordonr 5493]
* Wed Jan 1 2003 Gordon Rowell <[email protected]>
- [1.9.3-08]
- Generate navigation.info files (config db format) for each supported
language in /etc/e-smith/locale/{language}/etc/e-smith/web/functions
- Read the navigation.info file for the preferred language when
displaying the navigation bar
- TODO: Actually select the correct navigation.info file [gordonr 5493]
* Tue Dec 31 2002 Gordon Rowell <[email protected]>
- [1.9.3-07]
- Skip non-executable files when generating nav bar [gordonr 5802]
* Fri Dec 27 2002 Mike Dickson <[email protected]>
- [1.9.3-06]
- updates and comments in the CSS files [miked 3185]
- commented out the two links in the header that are not ready yet
(log out and update available) [miked 5967 and 492]
* Mon Dec 16 2002 Mike Dickson <[email protected]>
- [1.9.3-05]
- UI Update, part of the tweaking for the new UI [miked 5494]
* Tue Dec 10 2002 Mike Dickson <[email protected]>
- [1.9.3-04]
- forgot to update header.htm fragments [miked 5494]
* Mon Dec 9 2002 Mike Dickson <[email protected]>
- [1.9.3-03]
- ui update [miked 5494]
* Mon Dec 2 2002 Mike Dickson <[email protected]>
- [1.9.3-02]
- ui update [miked 5494]
* Wed Nov 27 2002 Mike Dickson <[email protected]>
- [1.9.3-01]
- and again to make it stick
* Wed Nov 27 2002 Mike Dickson <[email protected]>
- [1.9.2-01]
- updated the header images [miked 5529]
- updated other UI stuff [miked 5494]
* Fri Nov 22 2002 Gordon Rowell <[email protected]>
- [1.9.1-02]
- templated header.htm [miked 5826]
- modified header.htm template to link to online-manual and blades
[gordonr 5826]
* Thu Nov 21 2002 Mike Dickson <[email protected]>
- [1.9.1-01]
- update to new UI system [miked 5494]
* Wed Nov 20 2002 Mike Dickson <[email protected]>
- [1.9.0-01]
- Changing to development stream; version upped to 1.9.0
* Fri Oct 11 2002 Charlie Brady <[email protected]>
- [1.8.0-01]
- Roll to maintained version number to 1.8.0
* Wed Jun 19 2002 Mark Knox <[email protected]>
- [1.7.2-01]
- Move SSL mutex and cache out of /var/log [markk 3830]
* Tue Jun 18 2002 Charlie Brady <[email protected]>
- [1.7.1-01]
- Move admin apache SSL mutex and SSL session cache to files named admin_xxx
to avoid name clash with main server. [charlieb 3830]
* Wed Jun 5 2002 Charlie Brady <[email protected]>
- [1.7.0-01]
- Changing version to maintained stream number to 1.7.0
* Fri May 31 2002 Charlie Brady <[email protected]>
- [1.6.0-01]
- Changing version to maintained stream number to 1.6.0
* Thu May 23 2002 Gordon Rowell <[email protected]>
- [1.5.11-01]
- RPM rebuild forced by cvsroot2rpm
* Thu May 16 2002 Tony Clayton <[email protected]>
- [1.5.10-01]
- Pass noframes=1 as cgi param for browsers without frames [tonyc 3475]
* Thu May 16 2002 Tony Clayton <[email protected]>
- [1.5.9-01]
- use Dan McGarry's manager.css/navigation fixes for 3377 [tonyc]
* Thu May 16 2002 Tony Clayton <[email protected]>
- [1.5.8-01]
- Remove unnecessary <p> tags in navigation html [tonyc 3377]
- Fix navigation panel to not import symbols from fm subclasses
[tonyc 3109]
* Mon May 13 2002 Tony Clayton <[email protected]>
- [1.5.7-01]
- Fix navigation panel to play nice with FM subclasses [tonyc 3109]
* Fri May 10 2002 Gordon Rowell <[email protected]>
- [1.5.6-01]
- Tell CGI.pm to not produce xhtml [gordonr 3377]
* Tue May 7 2002 Gordon Rowell <[email protected]>
- [1.5.5-01]
- Missing use esmith::util [gordonr 3372]
* Wed Apr 24 2002 Gordon Rowell <[email protected]>
- [1.5.4-01]
- Ignore cgi-bin/internal-.* in navigation [gordonr 3202]
* Mon Apr 22 2002 Gordon Rowell <[email protected]>
- [1.5.3-01]
- Back out gettext() calls - esmith::FormMagic was Croaking on
bad lexicons for old panels. Now properly localises the navigation
bar if the localisations exist [gordonr 3155]
* Fri Apr 19 2002 Gordon Rowell <[email protected]>
- [1.5.2-01]
- Added explicit gettext() call to localize navigation bar while
figuring out esmith::FormMagick won't do it for me [gordonr 3155]
* Wed Apr 10 2002 Gordon Rowell <[email protected]>
- [1.5.1-01]
- navigation is now polymorphic and does noframes as well [gordonr #3155]
* Wed Apr 04 2002 Gordon Rowell <[email protected]>
- [1.5.0-01]
- Rolled to development stream [gordonr]
* Wed Apr 03 2002 Kirrily Robert <[email protected]>
- [1.4.4-01]
- Added red error messages to CSS [skud 3027]
* Thu Mar 14 2002 Gordon Rowell <[email protected]>
- [1.4.3-01]
- Fixed regexp for ignoring pleasewait(-.*?). Two each in
pleasewait/noframes. Reduced to one in each [gordonr]
* Fri Mar 1 2002 Tony Clayton <[email protected]>
- [1.4.2-01]
- rollRPM: Rolled version number to 1.4.2-01. Includes patches up to 1.4.1-02.
- mkdir panels/manager/common in spec file for CVS migration
* Fri Jan 25 2002 Tony Clayton <[email protected]>
- [1.4.1-02]
- added missing ')' in navigation script pleasewait munging
* Fri Jan 25 2002 Tony Clayton <[email protected]>
- [1.4.1-01]
- rollRPM: Rolled version number to 1.4.1-01. Includes patches up to 1.4.0-02.
- navigation now ignores pleasewait-* files
* Thu Jan 10 2002 Charlie Brady <[email protected]>
- [1.4.0-02]
- Use dated log file for ssl_engine_log. Name the file ssl_engine_log.xxxxx
to keep it distinct from the main web server's log file.
* Tue Dec 11 2001 Jason Miller <[email protected]>
- [1.4.0-01]
- rollRPM: Rolled version number to 1.4.0-01. Includes patches up to 1.3.0-07.
* Sat Dec 08 2001 Charlie Brady <[email protected]>
- [1.3.0-07]
- Move genNavigationHeader() down below the script grokking code in
"navigation", to help Netscape's faulty rendering.
* Wed Nov 21 2001 Charlie Brady <[email protected]>
- [1.3.0-06]
- Remove troublesome "Requires: e-smith-base".
- Remove obsolete "Requires: e-smith".
* Thu Nov 1 2001 Gordon Rowell <[email protected]>
- [1.3.0-05]
- Indent description within navigation headings sections
* Thu Nov 1 2001 Gordon Rowell <[email protected]>
- [1.3.0-04]
- Backed out patch from 1.3.0-02 - restored image to navigation frame
* Wed Oct 31 2001 Charlie Brady <[email protected]>
- [1.3.0-03]
- Add Mitel branding changes.
* Fri Aug 31 2001 Gordon Rowell <[email protected]>
- [1.3.0-02]
- Removed image from top of navigation - now in separate frame
- Added Provides: server-manager
* Fri Aug 31 2001 Gordon Rowell <[email protected]>
- [1.3.0-01]
- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-02.
* Fri Aug 17 2001 gordonr
- [1.2.0-02]
- Autorebuild by rebuildRPM
* Wed Aug 8 2001 Charlie Brady <[email protected]>
- [1.2.0-01]
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-04.
* Tue Jul 31 2001 Adrian Chung <[email protected]>
- [1.1.0-04]
- moving manager.css file from manager/html to common/css
* Tue Jul 31 2001 Adrian Chung <[email protected]>
- [1.1.0-03]
- Adding SSL enabling templates for port 981.
- Adding 01localAccessString fragment for use in SSL
enabling templates.
* Fri Jul 27 2001 Charlie Brady <[email protected]>
- [1.1.0-02]
- Prepend "/server-manager" to hrefs, to allow consistent path interpretation
between admin and standard web server.
* Fri Jul 27 2001 Charlie Brady <[email protected]>
- [1.1.0-01]
- Rolled version number to 1.1.0-01. Includes patches upto 0.1.1-06.
* Tue Jul 24 2001 Adrian Chung <[email protected]>
- [0.1.1-06]
- Incorporating font size changes to manager.css
* Mon Jul 9 2001 Peter Samuel <[email protected]>
- [0.1.1-05]
- Updated packager information
* Fri Jul 6 2001 Peter Samuel <[email protected]>
- [0.1.1-04]
- Changed license to GPL
* Wed Jun 06 2001 Charlie Brady <[email protected]>
- [0.1.1-03]
- Change font setting in navigation - use css class instead.
- Add newlines after each link in navigation frame - so that HTML
source is readable.
- Add manager.css, which came from e-smith-base. Let's have all look&feel
in the one RPM.
- Check whether "files" in cgi-bin directory are actually directories. Skip
any directories.
* Mon Apr 9 2001 Adrian Chung <[email protected]>
- [0.1.1-02]
- changing CELLPADDING in navigation from 4 to 2.
* Wed Mar 14 2000 Charlie Brady <[email protected]>
- initial release
%description
This RPM contributes the navigation bars for the e-smith-manager.
%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
perl createlinks
mkdir -p root/home/e-smith/db/navigation
mkdir -p root/etc/e-smith/web/common/css
mkdir -p root/usr/share/locale/en_US/LC_MESSAGES/
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
# make header/footer symlinks
ln -s head.tmpl root/etc/e-smith/web/common/userpassword_head.tmpl
ln -s head.tmpl root/etc/e-smith/web/common/noframes_head.tmpl
ln -s foot.tmpl root/etc/e-smith/web/common/noframes_foot.tmpl
mkdir -p root/etc/e-smith/web/panels/manager/html
for file in index initial
do
ln -s ../../../functions/${file}.cgi root/etc/e-smith/web/panels/manager/html/${file}.cgi
done
# Force creation of potentially empty directories
mkdir -p root/etc/e-smith/web/{common,functions}
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,html}
mkdir -p root/etc/e-smith/web/panels/password/{cgi-bin,html}
mkdir -p root/etc/httpd/admin-conf
mkdir -p root/service
mkdir -p root/etc/rc.d/init.d/supervise
for service in httpd-admin
do
ln -s /var/service/$service root/service/$service
mkdir -p root/var/service/$service/supervise
touch root/var/service/$service/down
if [ -d root/var/service/$service/log ]
then
mkdir -p root/var/service/$service/log/supervise
mkdir -p root/var/log/$service
fi
ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service
done
%install
rm -rf $RPM_BUILD_ROOT
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
rm -f %{name}-%{version}-%{release}-filelist
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
--file /etc/e-smith/web/common/cgi-bin/login 'attr(0755,root,root)' \
--file /etc/e-smith/web/common/cgi-bin/logout 'attr(0755,root,root)' \
--dir /var/service/httpd-admin 'attr(01755,root,root)' \
--file /var/service/httpd-admin/down 'attr(0644,root,root)' \
--file /var/service/httpd-admin/run 'attr(0755,root,root)' \
--dir /var/service/httpd-admin/log 'attr(0755,root,root)' \
--dir /var/service/httpd-admin/log/supervise 'attr(0700,root,root)' \
--dir /var/service/httpd-admin/supervise 'attr(0700,root,root)' \
--file /var/service/httpd-admin/log/run 'attr(0755,root,root)' \
--dir /var/log/httpd-admin 'attr(0750,smelog,smelog)' \
> %{name}-%{version}-%{release}-filelist
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
%clean
rm -rf $RPM_BUILD_ROOT
%pre
%preun
%post
find /etc/e-smith/web/panels/manager/cgi-bin/ -type f | \
sed -n '/\/[0-9a-z]\{32\}$/p' | \
xargs grep -l Persisten | \
xargs rm -f
%postun
%files -f %{name}-%{version}-%{release}-filelist
%defattr(-,root,root)