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