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