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