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