1 |
slords |
1.1 |
Summary: Web manager panel to provide view access to log files |
2 |
|
|
%define name e-smith-viewlogfiles |
3 |
|
|
Name: %{name} |
4 |
|
|
%define version 1.8.0 |
5 |
|
|
%define release 2 |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: GPL |
9 |
|
|
Group: Networking/Daemons |
10 |
|
|
Source: %{name}-%{version}.tar.gz |
11 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
12 |
|
|
BuildRequires: e-smith-devtools |
13 |
|
|
BuildArchitectures: noarch |
14 |
|
|
Requires: e-smith-base |
15 |
|
|
Requires: e-smith-lib >= 1.13.1-58 |
16 |
|
|
Requires: perl |
17 |
|
|
Requires: perl(CGI::FormMagick) |
18 |
|
|
Requires: perl(Time::TAI64) |
19 |
|
|
AutoReqProv: no |
20 |
|
|
|
21 |
|
|
%changelog |
22 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
23 |
|
|
- Clean up spec so package can be built by koji/plague |
24 |
|
|
|
25 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
26 |
|
|
- Update to new release naming. No functional changes. |
27 |
|
|
- Make Packager generic |
28 |
|
|
|
29 |
|
|
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.8.0-01 |
30 |
|
|
- Roll stable stream version. [SME: 1016] |
31 |
|
|
|
32 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.7.2-03 |
33 |
|
|
- Bump release number only |
34 |
|
|
|
35 |
|
|
* Thu Oct 27 2005 Charlie Brady <charlieb@e-smith.com> |
36 |
|
|
- [1.7.2-02] |
37 |
|
|
- Avoid uninitialized variable warnings in logfile when highlistPattern is |
38 |
|
|
unset. [SF: 1227604] |
39 |
|
|
|
40 |
|
|
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
41 |
|
|
- [1.7.2-01] |
42 |
|
|
- Remove L10Ns from base packages [SF: 1309520] |
43 |
|
|
|
44 |
|
|
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
45 |
|
|
- [1.7.1-01] |
46 |
|
|
- New dev stream before relocating L10Ns |
47 |
|
|
|
48 |
|
|
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
49 |
|
|
- [1.7.0-11] |
50 |
|
|
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
51 |
|
|
|
52 |
|
|
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
53 |
|
|
- [1.7.0-10] |
54 |
|
|
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
55 |
|
|
|
56 |
|
|
* Thu Aug 25 2005 Charlie Brady <charlieb@e-smith.com> |
57 |
|
|
- [1.7.0-09] |
58 |
|
|
- Take II at chomp fix. [SF: 1264596] |
59 |
|
|
|
60 |
|
|
* Thu Aug 25 2005 Gordon Rowell <gordonr@gormand.com.au> |
61 |
|
|
- [1.7.0-08] |
62 |
|
|
- Fix call to chomp, and save a temporary assign [SF: 1264596] |
63 |
|
|
|
64 |
|
|
* Mon Aug 22 2005 Charlie Brady <charlieb@e-smith.com> |
65 |
|
|
- [1.7.0-07] |
66 |
|
|
- Fix typo in last change, and double spacing problem. [SF: 1264596] |
67 |
|
|
|
68 |
|
|
* Tue Aug 16 2005 Charlie Brady <charlieb@e-smith.com> |
69 |
|
|
- [1.7.0-06] |
70 |
|
|
- Use Time::TAI64 module to convert multilog timestamps, rather than |
71 |
|
|
external invocation of tia64nlocal. |
72 |
|
|
|
73 |
|
|
* Thu Jul 28 2005 Charlie Brady <charlieb@e-smith.com> |
74 |
|
|
- [1.7.0-05] |
75 |
|
|
- Remove false "fix" from previous change. [SF: 1227604] |
76 |
|
|
- Replace deprecated "Copyright" header with "License" header. |
77 |
|
|
|
78 |
|
|
* Thu Jul 28 2005 Charlie Brady <charlieb@e-smith.com> |
79 |
|
|
- [1.7.0-04] |
80 |
|
|
- Fix "uninitialized value" warnings from viewlogfiles CGI. [SF: 1227604] |
81 |
|
|
- Replace all uses of the deprecated esmith::config and db_ APIs. |
82 |
|
|
|
83 |
|
|
* Thu Sep 16 2004 Michael Soulier <msoulier@e-smith.com> |
84 |
|
|
- [1.7.0-03] |
85 |
|
|
- Updated requires with new perl dependencies. [msoulier MN00040240] |
86 |
|
|
- Fixed Content disposition. [msoulier MN00049326] |
87 |
|
|
|
88 |
|
|
* Fri Aug 27 2004 Michael Soulier <msoulier@e-smith.com> |
89 |
|
|
- [1.7.0-02] |
90 |
|
|
- Added resolution of multilog timestamps in logfile download. |
91 |
|
|
[msoulier MN00033909] |
92 |
|
|
|
93 |
|
|
* Fri Aug 27 2004 Michael Soulier <msoulier@e-smith.com> |
94 |
|
|
- [1.7.0-01] |
95 |
|
|
- rolling to dev - 1.7.0 |
96 |
|
|
|
97 |
|
|
* Tue Jan 6 2004 Michael Soulier <msoulier@e-smith.com> |
98 |
|
|
- [1.6.0-03] |
99 |
|
|
- Fixed escaping of HTML entities via HTML::Entities::encode_entities(). |
100 |
|
|
[msoulier 10418] |
101 |
|
|
|
102 |
|
|
* Wed Jul 9 2003 Michael Soulier <msoulier@e-smith.com> |
103 |
|
|
- [1.6.0-02] |
104 |
|
|
- Fixed odd FormMagick caching WSOD by removing intermediate page in log |
105 |
|
|
download. [msoulier 9223] |
106 |
|
|
|
107 |
|
|
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
108 |
|
|
- [1.6.0-01] |
109 |
|
|
- Changing version to stable stream number - 1.6.0 |
110 |
|
|
|
111 |
|
|
* Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com> |
112 |
|
|
- [1.5.0-17] |
113 |
|
|
- Spanish nav bar entries [gordonr 9153] |
114 |
|
|
|
115 |
|
|
* Thu Jun 19 2003 Michael Soulier <msoulier@e-smith.com> |
116 |
|
|
- [1.5.0-16] |
117 |
|
|
- Added recognition of Mac clients, and made the .log extension unconditional. |
118 |
|
|
[msoulier 8634] |
119 |
|
|
|
120 |
|
|
* Thu Jun 19 2003 Michael Soulier <msoulier@e-smith.com> |
121 |
|
|
- [1.5.0-15] |
122 |
|
|
- Added handling of filenames with additional subdirectories. |
123 |
|
|
[msoulier 8634] |
124 |
|
|
|
125 |
|
|
* Thu Jun 19 2003 Michael Soulier <msoulier@e-smith.com> |
126 |
|
|
- [1.5.0-14] |
127 |
|
|
- Added detection of windows client via the user-agent string, so .log |
128 |
|
|
extension is only added in that case. Additionally, in that case, CR/LF |
129 |
|
|
conversion is performed on the logfile. [msoulier 8634] |
130 |
|
|
|
131 |
|
|
* Wed Jun 18 2003 Michael Soulier <msoulier@e-smith.com> |
132 |
|
|
- [1.5.0-13] |
133 |
|
|
- Added a .log extension to all logfiles to work around the fact that Windows |
134 |
|
|
ignores http response directives. [msoulier 8634] |
135 |
|
|
|
136 |
|
|
* Wed May 14 2003 Michael Soulier <msoulier@e-smith.com> |
137 |
|
|
- [1.5.0-12] |
138 |
|
|
- Added French and Spanish lexicon. [msoulier 8634] |
139 |
|
|
|
140 |
|
|
* Fri May 9 2003 Gordon Rowell <gordonr@e-smith.com> |
141 |
|
|
- [1.5.0-11] |
142 |
|
|
- Minor Spanish update from Alejandro [gordonr 8634] |
143 |
|
|
|
144 |
|
|
* Fri May 9 2003 Gordon Rowell <gordonr@e-smith.com> |
145 |
|
|
- [1.5.0-10] |
146 |
|
|
- Minor French/Spanish lexicon updates [gordonr 8634] |
147 |
|
|
|
148 |
|
|
* Tue May 6 2003 Lijie Deng <lijied@e-smith.com> |
149 |
|
|
- [1.5.0-09] |
150 |
|
|
- Add Spanish lexicon for viewlogfiles [lijied 3793] |
151 |
|
|
|
152 |
|
|
* Tue May 6 2003 Michael Soulier <msoulier@e-smith.com> |
153 |
|
|
- [1.5.0-08] |
154 |
|
|
- Added the operation parameter to the refresh option to maintain the default |
155 |
|
|
in the configuration database. [msoulier 8634] |
156 |
|
|
|
157 |
|
|
* Tue May 6 2003 Michael Soulier <msoulier@e-smith.com> |
158 |
|
|
- [1.5.0-07] |
159 |
|
|
- Changed the operation selection widget to being generated by the backend |
160 |
|
|
code, so we can control the default. [msoulier 8634] |
161 |
|
|
- Now caching the default choice in the configuration database. |
162 |
|
|
[msoulier 8634] |
163 |
|
|
|
164 |
|
|
* Tue May 6 2003 Michael Soulier <msoulier@e-smith.com> |
165 |
|
|
- [1.5.0-06] |
166 |
|
|
- Updated dependencies for the download logfile feature. [msoulier 8634] |
167 |
|
|
- Added download logfile feature. [msoulier 8634] |
168 |
|
|
|
169 |
|
|
* Tue May 6 2003 Michael Soulier <msoulier@e-smith.com> |
170 |
|
|
- [1.5.0-05] |
171 |
|
|
- Added a "Refresh" log button. [msoulier 6935] |
172 |
|
|
- Added lexicon changes for refresh feature. [msoulier 6935] |
173 |
|
|
|
174 |
|
|
* Fri Apr 11 2003 Lijie Deng <lijied@e-smith.com> |
175 |
|
|
- [1.5.0-04] |
176 |
|
|
- Removed Mitel Networks branding [lijied 8016] |
177 |
|
|
|
178 |
|
|
* Mon Mar 31 2003 Gordon Rowell <gordonr@e-smith.com> |
179 |
|
|
- [1.5.0-03] |
180 |
|
|
- Make use of esmith::Tai64n to display multilog filenames and contents |
181 |
|
|
in local time [gordonr 6930] |
182 |
|
|
- Use a hash instead of an array for the filename list and let |
183 |
|
|
FM do the sorting for us, which allows the displayed name and the filename |
184 |
|
|
to differ [gordonr 6930] |
185 |
|
|
|
186 |
|
|
* Mon Mar 31 2003 Gordon Rowell <gordonr@e-smith.com> |
187 |
|
|
- [1.5.0-02] |
188 |
|
|
- Split out en-us lexicon [gordonr 4030] |
189 |
|
|
|
190 |
|
|
* Mon Mar 31 2003 Gordon Rowell <gordonr@e-smith.com> |
191 |
|
|
- [1.5.0-01] |
192 |
|
|
- dev stream to 1.5.0 |
193 |
|
|
|
194 |
|
|
* Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com> |
195 |
|
|
- [1.4.0-05] |
196 |
|
|
- Modified French lexicon to use lang="fr", rename the lexicon |
197 |
|
|
directory to fr [lijied 6787] |
198 |
|
|
|
199 |
|
|
* Tue Mar 25 2003 Mark Knox <markk@e-smith.com> |
200 |
|
|
- [1.4.0-04] |
201 |
|
|
- Use localised date in report header [markk 3599] |
202 |
|
|
|
203 |
|
|
* Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com> |
204 |
|
|
- [1.4.0-03] |
205 |
|
|
- Modified viewlogfiles panel order [lijied 7356] |
206 |
|
|
|
207 |
|
|
* Mon Mar 3 2003 Lijie Deng <lijied@e-smith.com> |
208 |
|
|
- [1.4.0-02] |
209 |
|
|
- Added French lexicon for viewlogfiles [lijied 5003] |
210 |
|
|
|
211 |
|
|
* Fri Jan 24 2003 Michael Soulier <msoulier@e-smith.com> |
212 |
|
|
- [1.4.0-01] |
213 |
|
|
- rolling to delivery stream to 1.4.0 |
214 |
|
|
|
215 |
|
|
* Thu Nov 7 2002 Charlie Brady <charlieb@e-smith.com> |
216 |
|
|
- [1.3.0-02] |
217 |
|
|
- Fix warning about @logfiles variable [charlieb 4613] |
218 |
|
|
- Allow log files containing spaces in filename to be viewed [charlieb 5588] |
219 |
|
|
- Filter all logfiles using tai64nlocal, so that dates are in |
220 |
|
|
human readable form. [charlieb 5334] |
221 |
|
|
|
222 |
|
|
* Thu Nov 7 2002 Charlie Brady <charlieb@e-smith.com> |
223 |
|
|
- [1.3.0-01] |
224 |
|
|
- Roll development stream to 1.3.0 |
225 |
|
|
|
226 |
|
|
* Sat Oct 12 2002 Charlie Brady <charlieb@e-smith.com> |
227 |
|
|
- [1.2.0-01] |
228 |
|
|
- Roll to maintained version number to 1.2.0 |
229 |
|
|
|
230 |
|
|
* Wed Jul 24 2002 Gordon Rowell <gordonr@e-smith.com> |
231 |
|
|
- [1.1.2-01] |
232 |
|
|
- Removed stray e-smith-viewlogfiles-0.0.1 directory [gordonr 4466] |
233 |
|
|
|
234 |
|
|
* Wed Jul 24 2002 Mark Knox <markk@e-smith.com> |
235 |
|
|
- [1.1.1-01] |
236 |
|
|
- Escape HTML chars even when not highlighting [markk 4466] |
237 |
|
|
|
238 |
|
|
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
239 |
|
|
- [1.1.0-01] |
240 |
|
|
- Changing version to maintained stream number to 1.1.0 |
241 |
|
|
|
242 |
|
|
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
243 |
|
|
- [1.0.5-01] |
244 |
|
|
- RPM rebuild forced by cvsroot2rpm |
245 |
|
|
|
246 |
|
|
* Wed May 1 2002 Gordon Rowell <gordonr@e-smith.com> |
247 |
|
|
- [1.0.4-01] |
248 |
|
|
- esmith::AccountDB -> esmith::AccountsDB [schwern 3287] |
249 |
|
|
|
250 |
|
|
* Tue Apr 16 2002 Adrian Chung <adrianc@e-smith.com> |
251 |
|
|
- [1.0.3-01] |
252 |
|
|
- Conversion of viewlogfiles panel to FormMagick. [mac #3175] |
253 |
|
|
|
254 |
|
|
* Tue Apr 16 2002 Adrian Chung <adrianc@e-smith.com> |
255 |
|
|
- [1.0.2-01] |
256 |
|
|
- Initial CVS version. |
257 |
|
|
|
258 |
|
|
* Tue Apr 16 2002 Adrian Chung <mac@e-smith.com> |
259 |
|
|
- [1.0.1-01] |
260 |
|
|
- rollRPM: Rolled version number to 1.0.1-01. Includes patches up to 1.0.0-03. |
261 |
|
|
|
262 |
|
|
* Wed Nov 07 2001 Tony Clayton <tonyc@e-smith.com> |
263 |
|
|
- [1.0.0-03] |
264 |
|
|
- rebranding to Mitel Networks |
265 |
|
|
|
266 |
|
|
* Tue Aug 21 2001 Charlie Brady <charlieb@e-smith.com> |
267 |
|
|
- [1.0.0-02] |
268 |
|
|
- Distinguish between empty file and no matching lines in output. |
269 |
|
|
|
270 |
|
|
* Mon Aug 20 2001 Gordon Rowell <gordonr@e-smith.com> |
271 |
|
|
- [1.0.0-01] |
272 |
|
|
- Rolled version number to 1.0.0-01. Includes patches upto 0.0.1-05. |
273 |
|
|
|
274 |
|
|
* Mon Aug 20 2001 Gordon Rowell <gordonr@e-smith.com> |
275 |
|
|
- [0.0.1-05] |
276 |
|
|
- Display name of logfile and patterns applied in output |
277 |
|
|
|
278 |
|
|
* Mon Aug 20 2001 Gordon Rowell <gordonr@e-smith.com> |
279 |
|
|
- [0.0.1-04] |
280 |
|
|
- Disabled custom sort order - I find it non-intuitive |
281 |
|
|
- Display "No lines displayed" if this is true |
282 |
|
|
- Expanded text, describing filters in more depth |
283 |
|
|
- Display filename of viewed log file |
284 |
|
|
|
285 |
|
|
* Sat Aug 18 2001 Charlie Brady <charlieb@e-smith.com> |
286 |
|
|
- [0.0.1-03] |
287 |
|
|
- Introduce custom sort order, with messages at top and rotated logs at end. |
288 |
|
|
- Add feature to display gzipped files. |
289 |
|
|
|
290 |
|
|
* Fri Aug 17 2001 Charlie Brady <charlieb@e-smith.com> |
291 |
|
|
- [0.0.1-02] |
292 |
|
|
- Replace fixed log file list with one generated at run time |
293 |
|
|
- Filter out known non-log files from the generated list |
294 |
|
|
- Clean more of the environment (although I don't think it matters) |
295 |
|
|
- Add brief text to explain the entry boxes |
296 |
|
|
|
297 |
|
|
* Fri Aug 17 2001 Charlie Brady <charlieb@e-smith.com> |
298 |
|
|
- [0.0.1-01] |
299 |
|
|
- initial release |
300 |
|
|
|
301 |
|
|
%description |
302 |
|
|
Insert an e-smith-manager web panel to allow log files to be viewed. |
303 |
|
|
|
304 |
|
|
%prep |
305 |
|
|
%setup |
306 |
|
|
|
307 |
|
|
%build |
308 |
|
|
perl createlinks |
309 |
|
|
|
310 |
|
|
%install |
311 |
|
|
rm -rf $RPM_BUILD_ROOT |
312 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
313 |
|
|
rm -f %{name}-%{version}-%{release}-filelist |
314 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
315 |
|
|
> %{name}-%{version}-%{release}-filelist |
316 |
|
|
|
317 |
|
|
%clean |
318 |
|
|
rm -rf $RPM_BUILD_ROOT |
319 |
|
|
|
320 |
|
|
%pre |
321 |
|
|
%preun |
322 |
|
|
%post |
323 |
|
|
%postun |
324 |
|
|
|
325 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
326 |
|
|
%defattr(-,root,root) |