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