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