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