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