/[smecontribs]/rpms/smeserver-sysmon/contribs7/smeserver-sysmon.spec
ViewVC logotype

Annotation of /rpms/smeserver-sysmon/contribs7/smeserver-sysmon.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.11 - (hide annotations) (download)
Thu Dec 2 15:42:20 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: smeserver-sysmon-6_1-4_el4_sme
Changes since 1.10: +5 -2 lines
* Thu Dec 2 2010 Shad L. Lords <slords@mail.com> 6.1-4.sme
- Fix typo in last patch [SME: 4143]

1 slords 1.11 # $Id: smeserver-sysmon.spec,v 1.10 2010/12/01 15:34:12 slords Exp $
2 slords 1.6 # Authority: slords
3     # Name: Shad L. Lords
4    
5 slords 1.1 Summary: sme server system monitor
6     %define name smeserver-sysmon
7     Name: %{name}
8 slords 1.3 %define version 6.1
9 slords 1.11 %define release 4
10 slords 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: Freely distributable
13     Group: Service
14     Source: %{name}-%{version}.tar.gz
15 slords 1.9 Patch0: smeserver-sysmon-6.1-lang-fix.patch
16 slords 1.1 BuildRoot: /var/tmp/e-smith-buildroot
17     BuildRequires: e-smith-devtools
18     BuildArchitectures: noarch
19 slords 1.3 Requires: smeserver-release >= 7
20     Requires: sysstat >= 5
21     Requires: rrdtool >= 1.2
22     Requires: perl(RRDs)
23     Requires: fping
24 slords 1.1 AutoReqProv: no
25    
26     %changelog
27 slords 1.11 * Thu Dec 2 2010 Shad L. Lords <slords@mail.com> 6.1-4.sme
28     - Fix typo in last patch [SME: 4143]
29    
30 slords 1.10 * Wed Dec 1 2010 Shad L. Lords <slords@mail.com> 6.1-3.sme
31 slords 1.9 - Fix LANG env so output can be recognized [SME: 4143]
32    
33     * Sat Mar 29 2008 Shad L. Lords <slords@mail.com> 6.1-2.sme
34 slords 1.5 - Clean up scripts to ensure clean upgrade
35    
36 slords 1.9 * Thu Mar 27 2008 Shad L. Lords <slords@mail.com> 6.1-1.sme
37 slords 1.3 - Upgrade to new sysmon routines
38     - Make compatible with rrdtool 1.2
39     - Format graphs so they look better
40     - Make compatible with SME 7 & 8
41 slords 1.1
42     * Fri Apr 11 2003 Shad L. Lords <slords@mail.com>
43     - 4.1-1
44     - changed rrd file layout to include max/min/avg
45     - added support for nutups logging
46     - changed graphs to use all functions
47     - removed sysmon conversion from v2.0
48    
49     * Thu Apr 10 2003 Shad L. Lords <slords@mail.com>
50     - 4.0-9
51     - fixed gateway to find default gateway only
52    
53     * Wed Jan 22 2003 Shad L. Lords <slords@mail.com>
54     - 4.0-8
55     - fixed decimal point (accept . or ,)
56     - updated sensors to accept numbers without decimals
57    
58     * Fri Jan 3 2003 Shad L. Lords <slords@mail.com>
59     - 4.0-7
60     - need of code police again (!= not same as ne). Thanks Craig Foster.
61    
62     * Fri Jan 3 2003 Shad L. Lords <slords@mail.com>
63     - 4.0-6
64     - more updates for sensors
65     - don't save sensors or ups if no data found
66     - timeout ping after (interval*count+2) (7) seconds (hang bug)
67    
68     * Wed Jan 1 2003 Shad L. Lords <slords@mail.com>
69     - 4.0-5
70     - more updates for sensors
71    
72     * Tue Dec 31 2002 Shad L. Lords <slords@mail.com>
73     - 4.0-4
74     - added swap to memory graph
75    
76     * Tue Dec 31 2002 Shad L. Lords <slords@mail.com>
77     - 4.0-3
78     - updated sensors to pull more combinations
79    
80     * Tue Dec 31 2002 Shad L. Lords <slords@mail.com>
81     - 4.0-2
82     - update ups headers to not wrap
83    
84     * Mon Dec 30 2002 Shad L. Lords <slords@mail.com>
85     - 4.0-1
86     - updated graph formats (more condensed, no percentages)
87     - added new CPU graph (with support for individual CPU's)
88     - changed format of memory graph (more detail)
89     - added sensors graphs (temperature, voltage, fans)
90     - added apcupsd graphs (ups, ups-2)
91     - changed format of harddrive graph (stacked, old one still there as MEM2)
92    
93     * Sun Dec 29 2002 Shad L. Lords <slords@mail.com>
94     - 3.5-1
95     - added integration with apcupsd (collection)
96     - added integration with lm_sensors (collection)
97     - added new system/user/nice CPU graph (manual)
98    
99     * Fri Dec 13 2002 Shad L. Lords <slords@mail.com>
100     - 3.1-3
101     - fixed hard drive space detection for all devices
102     - made hard drive space more accurate
103    
104     * Fri Dec 13 2002 Shad L. Lords <slords@mail.com>
105     - 3.1-2
106     - changed name to e-smith-sysmon
107     - fixed hard drive space detection for software raid
108    
109     * Wed Aug 21 2002 Shad L. Lords <slords@mail.com>
110     - 3.1-1
111     - corrected bug to work with newer version of ping
112     - update routines to work better with v5.5 and v5.6alpha
113    
114     * Sun Aug 4 2002 Shad L. Lords <slords@mail.com>
115     - 3.0-16
116     - Changed spec file to just require rrdtool and not a specific version
117     - Changed graphing code to work with newer version of rrdtool
118     - Added stats for each seperate CPU and hard drive (no graphs yet)
119    
120     * Mon Mar 25 2002 Shad L. Lords <slords@mail.com>
121     - 3.0-15
122     - Fixed bug in daemonizing code to allow ip addresses.
123     - Fixed bug in service code to remove lockfile if dead.
124    
125     * Tue Mar 19 2002 Shad L. Lords <slords@mail.com>
126     - 3.0-14
127     - Included labels in links for both graph pages
128    
129     * Fri Mar 15 2002 Juan J. Prieto
130     - 3.0-13
131     - Minor change in spec file (Group)
132    
133     * Thu Mar 7 2002 Shad L. Lords <slords@mail.com>
134     - 3.0-12
135     - Daemonized pinging routine and adjusted timing for pings.
136    
137     * Sat Mar 2 2002 Shad L. Lords <slords@mail.com>
138     - 3.0-11
139     - Fixed bug in untainting code to allow '.' for hosts.
140    
141     * Sat Mar 2 2002 Shad L. Lords <slords@mail.com>
142     - 3.0-10
143     - Added scaling to sysmonconv for more accurate conversion.
144     - Added data to DS:MAX for sysmonconv so max values show up.
145     - Adjusted runtime for sysmon so falls on 0 secs.
146     - Fixed bug with empty $badifaces in sysmon and sysmonconv.
147    
148     * Fri Mar 1 2002 Shad L. Lords <slords@mail.com>
149     - 3.0-09
150     - Fixed bug in sysmonconv if no old database exists.
151    
152     * Fri Mar 1 2002 Shad L. Lords <slords@mail.com>
153     - 3.0-08
154     - Fixed sysmonconv script to convert all old databases.
155     - Fixed sysmonconv to run faster.
156     - Added sysmonconv to %post script.
157    
158     * Thu Feb 28 2002 Shad L. Lords <slords@mail.com>
159     - 3.0-07
160     - Added user, nice, system cpu time to database.
161     - Added sysmonconv script to convert eth,ppp interfaces to new format.
162    
163     * Thu Feb 28 2002 Shad L. Lords <slords@mail.com>
164     - 3.0-06
165     - Fixed more problems in RPM spec file.
166     - Renamed sysmonitor to sysmon so as not to conflict with e-smith-monitor.
167    
168     * Thu Feb 28 2002 Shad L. Lords <slords@mail.com>
169     - 3.0-05
170     - Fixed problems in RPM spec file.
171     - Added Obsoletes for old e-smith-monitor package
172    
173     * Thu Feb 28 2002 Shad L. Lords <slords@mail.com>
174     - 3.0-04
175     - Changed webmonitor to sysmon in web/functions.
176     - Changed copyright footer notice to reflect Mitel's standard.
177     - Fixed problem with old packages not uninstalling.
178    
179     * Wed Feb 27 2002 Shad L. Lords <slords@mail.com>
180     - 3.0-03
181     - Changed gather script to be daemon instead of cronjob.
182     - Changed gather script to use perl module instead of executable.
183    
184     * Wed Feb 27 2002 Juan J. Prieto <jjptapia@eresmas.com>
185     - 3.0-02
186     - Now the web panel runs with the Taint and warnings up (-wT). Secure mode!.
187     - Conflicts bug fixed in the spec (e-smith-monitor only).
188     - The copyright is licensed under GPL.
189    
190     * Mon Feb 25 2002 Shad L. Lords <slords@mail.com>
191     - 3.0-01
192     - initial release. Completely rewriten Monitor.
193    
194     %description
195 slords 1.2 System monitor for SME Server version 7
196 slords 1.1
197     %prep
198     %setup
199 slords 1.9 %patch0 -p1
200 slords 1.1
201     %build
202     perl createlinks
203    
204     %install
205     rm -rf $RPM_BUILD_ROOT
206     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
207     rm -f %{name}-%{version}-filelist
208     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
209     echo "%doc COPYING" >> %{name}-%{version}-filelist
210    
211     %clean
212     rm -rf $RPM_BUILD_ROOT
213    
214     %pre
215 slords 1.5 if [ $1 -ge 1 ]; then
216     /sbin/service sysmon stop &> /dev/null || :
217     fi
218    
219     %post
220     if [ $1 -ge 2 ]; then
221 slords 1.2 mkdir -p /var/lib/rrd/backup
222 slords 1.5 /bin/mv /var/lib/rrd/*.rrd /var/lib/rrd/backup/ &> /dev/null
223     # FIXME: Fix for broken postun in previous versions (remove later)
224     /sbin/service sysmon restart &> /dev/null || :
225     fi
226    
227     %preun
228     if [ $1 -eq 0 ]; then
229     /sbin/service sysmon stop &> /dev/null || :
230     fi
231    
232     %postun
233     if [ $1 -ge 1 ]; then
234     /sbin/service sysmon restart &> /dev/null || :
235 slords 1.1 fi
236    
237     %files -f %{name}-%{version}-filelist
238     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed