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