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