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