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