-
Notifications
You must be signed in to change notification settings - Fork 4
/
ganglia.spec.in
589 lines (523 loc) · 22.2 KB
/
ganglia.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
#
#
# @configure_input@
#
# IMPORTANT NOTE:
# This spec file has conditional constructs using the noarch target.
# To get all packages build you must include noarch and your real target
# (ex: i386, i686, x86_64) when calling rpmbuild as shown by the following
# command line aimed at 80386 or higher CPUs :
#
# % rpmbuild -ta --target noarch,i386 ganglia-@[email protected]
#
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Ganglia Distributed Monitoring System
Name: @PACKAGE@
Version: @VERSION@
URL: http://ganglia.info/
# The Release macro value is set in configure.in, please update it there.
Release: @REL@
License: BSD
Vendor: Ganglia Development Team <[email protected]>
Group: System Environment/Base
Source: %{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires: libpng-devel, libart_lgpl-devel, gcc-c++, python-devel, libconfuse-devel, make, pcre-devel, autoconf, automake, libtool, pkgconfig
%if 0%{?suse_version}
BuildRequires: freetype2-devel, libapr1-devel
%if 0%{?suse_version} > 1020
BuildRequires: rrdtool-devel, libexpat-devel
%else
BuildRequires: rrdtool, expat
%endif
%else
BuildRequires: expat-devel, rrdtool-devel, freetype-devel, apr-devel > 1
%endif
%define conf_dir /etc/ganglia
%define gmond_conf %{_builddir}/%{?buildsubdir}/gmond/gmond.conf
%define generate_gmond_conf %(test -e %gmond_conf && echo 0 || echo 1)
%description
Ganglia is a scalable, real-time monitoring and execution environment
######################################################################
################## noarch section ####################################
######################################################################
%ifarch noarch
%package web
Summary: Ganglia Web Frontend
Group: System Environment/Base
Obsoletes: ganglia-webfrontend < %{version}
Provides: ganglia-webfrontend = %{version}
# We should put rrdtool as a Requires too but rrdtool rpm support is very weak
# so most people install from source
#Requires: ganglia-gmetad >= @VERSION@
Requires: php >= 5, php-gd, php-xml
%if 0%{?suse_version}
%define web_prefixdir /srv/www/htdocs/ganglia
%else
%define web_prefixdir /var/www/html/ganglia
%endif
Prefix: %{web_prefixdir}
%description web
This package provides a web frontend to display the XML tree published by
ganglia, and to provide historical graphs of collected metrics. This website is
written in the PHP5 language and uses the Dwoo templating engine.
#######################################################################
#######################################################################
%else
%package gmetad
Summary: Ganglia Meta daemon http://ganglia.sourceforge.net/
Group: System Environment/Base
Obsoletes: ganglia-monitor-core-gmetad < %{version}
Obsoletes: ganglia-monitor-core < %{version}
Provides: ganglia-monitor-core-gmetad = %{version}
Provides: ganglia-monitor-core = %{version}
%description gmetad
Ganglia is a scalable, real-time monitoring and execution environment
with all execution requests and statistics expressed in an open
well-defined XML format.
This gmetad daemon aggregates monitoring data from several clusters
to form a monitoring grid. It also keeps metric history using rrdtool.
#%package gmetad-python
#Summary: Ganglia Meta daemon in Python http://ganglia.sourceforge.net/
#Group: System Environment/Base
#Requires: python-rrdtool
#Obsoletes: ganglia-monitor-core-gmetad < %{version}
#Obsoletes: ganglia-monitor-core < %{version}
#Provides: ganglia-monitor-core-gmetad = %{version}
#Provides: ganglia-monitor-core = %{version}
#Conflicts: ganglia-gmetad
#%description gmetad-python
#Ganglia is a scalable, real-time monitoring and execution environment
#with all execution requests and statistics expressed in an open
#well-defined XML format.
#This gmetad daemon aggregates monitoring data from several clusters
#to form a monitoring grid. It also keeps metric history using rrdtool.
#gmetad-python is a re-write of the original gmetad code (written in C)
#with pluggable interface. The RRD files, both the metric RRDs and summary
#RRDs are being written by RRD plugins rather than directly from gmetad.
#This provides the ability to plug in new metric storage modules to support
#other types of storage mechanisms other than RRD and also the ability to
#plug in any type of gmetad-level analysis.
%package gmond
Summary: Ganglia Monitor daemon http://ganglia.sourceforge.net/
Group: System Environment/Base
Obsoletes: ganglia-monitor-core-gmond < %{version}
Obsoletes: ganglia-monitor-core < %{version}
Provides: ganglia-monitor-core-gmond = %{version}
Provides: ganglia-monitor-core = %{version}
%description gmond
Ganglia is a scalable, real-time monitoring and execution environment
with all execution requests and statistics expressed in an open
well-defined XML format.
This gmond daemon provides the ganglia service within a single cluster or
Multicast domain.
%package gmond-modules-python
Summary: Ganglia Monitor daemon DSO/Python metric modules support http://ganglia.sourceforge.net/
Group: System Environment/Base
Requires: ganglia-gmond, python
%description gmond-modules-python
Ganglia is a scalable, real-time monitoring and execution environment
with all execution requests and statistics expressed in an open
well-defined XML format.
This gmond modules support package provides the capability of loading gmetric/python modules
via DSO at daemon start time instead of via gmetric
%package devel
Summary: Ganglia static libraries and header files http://ganglia.sourceforge.net/
Group: Development/Libraries
# revisit this list. it might be libtool bloat
# MKN: Adjust requirements for SLES (20120229)
%if 0%{?suse_version}
Requires: libconfuse-devel, libapr1-devel, libganglia
%if 0%{?suse_version} > 1020
Requires: libexpat-devel
%else
Requires: expat
%endif
%else
Requires: expat-devel, apr-devel > 1
%endif
%description devel
The Ganglia Monitoring Core library provides a set of functions that programmers
can use to build scalable cluster or grid applications
%package -n libganglia
Summary: Ganglia Shared Libraries http://ganglia.sourceforge.net/
Group: System Environment/Base
Obsoletes: libganglia-3_1_0
%description -n libganglia
The Ganglia Shared Libraries contains common libraries required by both gmond and
gmetad packages
%endif
%prep
%setup -n %{name}-%{version}
%build
%configure --with-gmetad --enable-status --sysconfdir=%{conf_dir}
%ifnarch noarch
make
%endif
#cd gmetad-python
#%{__python} setup.py build
%pre
%ifnarch noarch
%post gmetad
/sbin/chkconfig --add gmetad
if [ -e /etc/gmetad.conf ]; then
%__mv /etc/gmetad.conf %{conf_dir}
fi
#%post gmetad-python
#/sbin/chkconfig --add gmetad-python
%post gmond
/sbin/chkconfig --add gmond
LEGACY_GMOND_CONF=%{conf_dir}/gmond.conf
if [ -e /etc/gmond.conf ];
then
LEGACY_GMOND_CONF=/etc/gmond.conf
fi
METRIC_LIST="`%{_sbindir}/gmond -c ${LEGACY_GMOND_CONF} -m`"
if [[ $? != 0 ]]; then
# They may have an old configuration file format
echo "-----------------------------------------------------------"
echo "IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT"
echo "-----------------------------------------------------------"
echo "Parsing your gmond.conf file failed"
echo "It appears that you are upgrading from ganglia gmond version"
echo "2.5.x. The configuration file has changed and you need to "
echo "convert your old 2.5.x configuration file to the new format."
echo ""
echo "To convert your old configuration file to the new format"
echo "simply run the command:"
echo ""
echo "% gmond --convert old.conf > new.conf"
echo ""
echo "This conversion was not made automatic to prevent unknowningly"
echo "altering your configuration without your notice."
else
if [ `echo "$METRIC_LIST" | wc -l` -eq 0 ];
then
echo "-----------------------------------------------------------"
echo "IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT"
echo "-----------------------------------------------------------"
echo "No metrics detected - perhaps you are using a gmond.conf"
echo "file from Ganglia 3.0 or earlier."
echo "Please see the README file for details about how to"
echo "create a valid configuration."
else
if [ -e /etc/gmond.conf ]; then
%__mv /etc/gmond.conf %{conf_dir}
fi
fi
fi
%preun gmetad
if [ "$1" = 0 ]
then
/etc/init.d/gmetad stop
/sbin/chkconfig --del gmetad
fi
#%preun gmetad-python
#if [ "$1" = 0 ]
#then
# /etc/init.d/gmetad-python stop
# /sbin/chkconfig --del gmetad-python
#fi
%preun gmond
if [ "$1" = 0 ]
then
/etc/init.d/gmond stop
/sbin/chkconfig --del gmond
fi
%post -n libganglia -p /sbin/ldconfig
%postun -n libganglia -p /sbin/ldconfig
%endif #ifnarch noarch
%install
# Flush any old RPM build root
%__rm -rf $RPM_BUILD_ROOT
%ifarch noarch
%__make -C web
%__install -d -m 0755 $RPM_BUILD_ROOT%{web_prefixdir}
%__cp -rf web/* $RPM_BUILD_ROOT%{web_prefixdir}
%__rm -f $RPM_BUILD_ROOT%{web_prefixdir}/Makefile*
%__rm -f $RPM_BUILD_ROOT%{web_prefixdir}/*.in
%__install -d -m 0755 $RPM_BUILD_ROOT/var/lib/ganglia/dwoo
%__install -d -m 0755 $RPM_BUILD_ROOT/var/lib/ganglia/conf
%__install -d -m 0755 $RPM_BUILD_ROOT/var/lib/ganglia/dwoo/cache
%__install -d -m 0755 $RPM_BUILD_ROOT/var/lib/ganglia/dwoo/compiled
%__cp -f web/conf/*.json $RPM_BUILD_ROOT/var/lib/ganglia/conf
%else
# Create the directory structure
%__install -d -m 0755 $RPM_BUILD_ROOT/etc/init.d
%__install -d -m 0755 $RPM_BUILD_ROOT/etc/sysconfig
%__install -d -m 0755 $RPM_BUILD_ROOT@varstatedir@/ganglia/rrds
# Move the files into the structure
%if 0%{?suse_version}
%__cp -f gmond/gmond.init.SuSE $RPM_BUILD_ROOT/etc/init.d/gmond
%__cp -f gmetad/gmetad.init.SuSE $RPM_BUILD_ROOT/etc/init.d/gmetad
#sed -e 's/sbin\/gmetad/sbin\/gmetad.py/' gmetad/gmetad.init.SuSE > $RPM_BUILD_ROOT/etc/init.d/gmetad-python
#chmod +x $RPM_BUILD_ROOT/etc/init.d/gmetad-python
%else
%__cp -f gmond/gmond.init $RPM_BUILD_ROOT/etc/init.d/gmond
%__cp -f gmetad/gmetad.init $RPM_BUILD_ROOT/etc/init.d/gmetad
#sed -e 's/sbin\/gmetad/sbin\/gmetad.py/' gmetad/gmetad.init > $RPM_BUILD_ROOT/etc/init.d/gmetad-python
#chmod +x $RPM_BUILD_ROOT/etc/init.d/gmetad-python
%endif
%__cp -f gmetad/gmetad-default $RPM_BUILD_ROOT/etc/sysconfig/gmetad
%__install -d -m 0755 $RPM_BUILD_ROOT%{conf_dir}
%__install -d -m 0755 $RPM_BUILD_ROOT%{conf_dir}/conf.d
%__install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/ganglia/python_modules
%if %generate_gmond_conf
# We just output the default gmond.conf from gmond using the '-t' flag
gmond/gmond -t > $RPM_BUILD_ROOT%{conf_dir}/gmond.conf
%else
%__cp -f %gmond_conf $RPM_BUILD_ROOT%{conf_dir}/gmond.conf
%endif
#%__cp -f gmetad/gmetad.conf $RPM_BUILD_ROOT%{conf_dir}/gmetad.conf
%__cp -f gmond/modules/conf.d/* $RPM_BUILD_ROOT%{conf_dir}/conf.d
# Copy the python metric modules and .conf files
%__cp -f gmond/python_modules/conf.d/*.pyconf* $RPM_BUILD_ROOT%{conf_dir}/conf.d/
%{__python} -c 'import compileall; compileall.compile_dir("gmond/python_modules", 1, "/", 1)' > /dev/null
%{__python} -O -c 'import compileall; compileall.compile_dir("gmond/python_modules", 1, "/", 1)' > /dev/null
%__cp -f gmond/python_modules/*/*.{py,pyc,pyo} $RPM_BUILD_ROOT%{_libdir}/ganglia/python_modules/
# Don't install the example modules
%__rm -f $RPM_BUILD_ROOT%{conf_dir}/conf.d/example.conf
%__rm -f $RPM_BUILD_ROOT%{conf_dir}/conf.d/example.pyconf
%__rm -f $RPM_BUILD_ROOT%{conf_dir}/conf.d/spfexample.pyconf
# Clean up the .conf.in files
%__rm -f $RPM_BUILD_ROOT%{conf_dir}/conf.d/*.conf.in
# Disable the diskusage module until it is configured properly
%__mv $RPM_BUILD_ROOT%{conf_dir}/conf.d/diskusage.pyconf $RPM_BUILD_ROOT%{conf_dir}/conf.d/diskusage.pyconf.disabled
%__make DESTDIR=$RPM_BUILD_ROOT install
%__make -C gmond gmond.conf.5
# gmetad-python
#cd gmetad-python
#%{__python} setup.py install --prefix=/usr --skip-build --install-scripts=%{_sbindir} --root=$RPM_BUILD_ROOT
#%{__python} -c 'import compileall; compileall.compile_dir("'"$RPM_BUILD_ROOT%{_libdir}/ganglia/python_modules/gmetad"'", 1, "/", 1)' > /dev/null
#%{__python} -O -c 'import compileall; compileall.compile_dir("'"$RPM_BUILD_ROOT%{_libdir}/ganglia/python_modules/gmetad"'", 1, "/", 1)' > /dev/null
#%{__python} -O -c 'import compileall; compileall.compile_dir("'"$RPM_BUILD_ROOT%{python_sitelib}/Gmetad"'", 1, "/", 1)' > /dev/null
#%{__python} -c 'import compileall; compileall.compile_dir("'"$RPM_BUILD_ROOT%{_sbindir}"'", 1, "/", 1)' > /dev/null
#%{__python} -O -c 'import compileall; compileall.compile_dir("'"$RPM_BUILD_ROOT%{_sbindir}"'", 1, "/", 1)' > /dev/null
%endif
%ifnarch noarch
%files gmetad
%defattr(-,root,root)
%attr(0755,nobody,nobody)@varstatedir@/ganglia/
%{_sbindir}/gmetad
/etc/init.d/gmetad
%config(noreplace) /etc/sysconfig/gmetad
%{_mandir}/man1/gmetad*1*
%config(noreplace) %{conf_dir}/gmetad.conf
#%files gmetad-python
#%defattr(-,root,root)
#%{_sbindir}/gmetad.py*
#/etc/init.d/gmetad-python
#%config(noreplace) %{conf_dir}/gmetad-python.conf
#%{python_sitelib}/*
#%dir %{_libdir}/ganglia
#%dir %{_libdir}/ganglia/python_modules
#%{_libdir}/ganglia/python_modules/gmetad*
#%{_mandir}/man1/gmetad.py.1*
%files gmond
%defattr(-,root,root)
%{_bindir}/gmetric
%{_bindir}/gstat
%{_sbindir}/gmond
/etc/init.d/gmond
%{_mandir}/man1/gmetric.1*
%{_mandir}/man1/gmond.1*
%{_mandir}/man1/gstat.1*
%{_mandir}/man5/gmond.conf.5*
%config(noreplace) %{conf_dir}/gmond.conf
%dir %{conf_dir}
%dir %{conf_dir}/conf.d/
%config(noreplace) %{conf_dir}/conf.d/modgstatus.conf
%dir %{_libdir}/ganglia/
%{_libdir}/ganglia/modmulticpu.so*
%{conf_dir}/conf.d/multicpu.conf
%{_libdir}/ganglia/modcpu.so*
%{_libdir}/ganglia/moddisk.so*
%{_libdir}/ganglia/modgstatus.so
%{_libdir}/ganglia/modload.so*
%{_libdir}/ganglia/modmem.so*
%{_libdir}/ganglia/modnet.so*
%{_libdir}/ganglia/modproc.so*
%{_libdir}/ganglia/modsys.so*
%files gmond-modules-python
%defattr(-,root,root,-)
%dir %{_libdir}/ganglia/python_modules/
%{_libdir}/ganglia/python_modules/*.py*
%{_libdir}/ganglia/modpython.so*
%config(noreplace) %{conf_dir}/conf.d/modpython.conf
%config(noreplace) %{conf_dir}/conf.d/*.pyconf*
%files devel
%defattr(-,root,root,-)
%{_includedir}/ganglia.h
%{_includedir}/ganglia_gexec.h
%{_includedir}/gm_file.h
%{_includedir}/gm_metric.h
%{_includedir}/gm_mmn.h
%{_includedir}/gm_msg.h
%{_includedir}/gm_protocol.h
%{_includedir}/gm_value.h
%{_libdir}/libganglia*.so
%{_libdir}/libganglia*.*a
%{_bindir}/ganglia-config
%files -n libganglia
%defattr(-,root,root,-)
%{_libdir}/libganglia*.so.*
%else
%files web
%defattr(-,root,root)
%attr(0755,apache,apache)@varstatedir@/ganglia/dwoo
%attr(0755,apache,apache)@varstatedir@/ganglia/dwoo/compiled
%attr(0755,apache,apache)@varstatedir@/ganglia/dwoo/cache
%dir %{web_prefixdir}/
%dir %{web_prefixdir}/dwoo
/var/lib/ganglia/conf
%{web_prefixdir}/*
%endif
%clean
%__rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Mar 31 2011 Bernard Li <[email protected]>
- Allow file permissions for gmetric and gstat to be automatically set
* Thu Mar 31 2011 Bernard Li <[email protected]>
- Allow file permissions for gmetric and gstat to be automatically set
* Wed Jan 26 2011 Bernard Li <[email protected]>
- Remove manual steps to install manpages as they are now installed via `make install`
- Include manpage for gmetad-python
- Remove hardcoded library version for libganglia
* Wed Jan 12 2011 Bernard Li <[email protected]>
- Fix gmetad-python subpackage not including files from Python site-packages dir
- Break gmetad-python installation into build and install stages
- Byte compile additional gmond-modules-python and gmetad-python scripts
- Do not include spfexample.pyconf
* Wed Sep 8 2010 Bernard Li <[email protected]>
- Replace TemplatePower with Dwoo for PHP templating engine
* Tue Aug 17 2010 Bernard Li <[email protected]>
- Use the 'install' target for web/ instead of calling make on
conf.php and version.php individually
* Tue Jan 12 2010 Daniel Pocock <[email protected]>
- Add eval_config.php to files list
* Tue Jan 5 2010 Daniel Pocock <[email protected]>
- Add dependency on pcre-devel
* Thu Sep 17 2009 Jesse Becker <[email protected]>
- Use %{version} tags where possible instead of hard-coding
* Thu Jul 30 2009 Daniel Pocock <[email protected]>
- gstatus is now compiled and included in the RPM, but not loaded by default
* Sun Jun 14 2009 Carlo Marcelo Arenas Belon <[email protected]>
- expat-devel is needed for building gstat
* Sat Nov 15 2008 Carlo Marcelo Arenas Belon <[email protected]>
- Update manually selected list of files in %{web_prefixdir}
* Sat Oct 25 2008 Carlo Marcelo Arenas Belon <[email protected]>
- Instruct RPM to byte compile python modules at install time
* Wed Oct 01 2008 Carlo Marcelo Arenas Belon <[email protected]>
- Add missing defattr for gmond-modules-python
* Wed Jul 30 2008 Bernard Li <[email protected]>
- Add make to BuildRequires
* Sun Jul 20 2008 Carlo Marcelo Arenas Belon <[email protected]>
- Remove ChangeLog from ganglia-web
* Tue Jun 10 2008 Bernard Li <[email protected]>
- New subpackage gmetad-python for the Python re-write of gmetad
* Wed Jun 04 2008 Bernard Li <[email protected]>
- Add ganglia_gexec.h to ganglia-devel package
* Tue May 06 2008 Bernard Li <[email protected]>
- Removed host_gmetrics.php from ganglia-web
* Tue Apr 15 2008 Bernard Li <[email protected]>
- Cleanup of *.{la,a} in %{_libdir}/ganglia is not needed anymore
* Mon Mar 31 2008 Carlo Marcelo Arenas Belon <[email protected]>
- Add gm_value.h and gm_msg.h
* Thu Mar 28 2008 Brad Nicholes <[email protected]>
- Add the headers file in the include directory
* Thu Mar 27 2008 Bernard Li <[email protected]>
- Added man1 pages gmetad, gmetric, gmond, gstat
* Thu Mar 13 2008 Jesse Becker <[email protected]>
- Add web/graph.d directory and contents to %files.
* Fri Feb 15 2008 Bernard Li <[email protected]>
- Fix bug where .pyconf files are copied to %{_libdir}/ganglia/python_modules
- Enable tcpconn.py by default since code is now compatible with Python 2.3.x
- No longer need to run %configure when building ganglia-web (noarch)
* Tue Dec 18 2007 Brad Nicholes <[email protected]>
- Remove all built in metrics and replace them with metric modules
* Thu Nov 29 2007 Brad Nicholes <[email protected]>
- Do not install the modgstatus.conf file
- Add scoreboard.h to the -devel package
* Fri Nov 16 2007 Bernard Li <[email protected]>
- Set variable conf_dir to /etc/ganglia
- Migrate /etc/{gmond,gmetad}.conf files to /etc/ganglia for upgrades etc.
* Fri Nov 09 2007 Bernard Li <[email protected]>
- Include .pyc files from @moduledir@/python_modules
* Thu Nov 08 2007 Bernard Li <[email protected]>
- Clean up /etc/ganglia/conf.d/*.conf.in files
* Wed Oct 10 2007 Bernard Li <[email protected]>
- Clean up comments -- they were affecting output of rpm -q --scripts
- Spec by cleanup by darix, new package libganglia for common shared libraries
- New package ganglia-gmond-modules-python
* Tue Oct 9 2007 Brad Nicholes <[email protected]>
- Add tcpconn python metric module
* Fri Jul 13 2007 Brad Nicholes <[email protected]>
- Don't install the example modules
* Wed Jul 11 2007 Bernard Li <[email protected]>
- Delete .in files in %{web_prefixdir}
* Wed Jul 10 2007 Bernard Li <[email protected]>
- Added python-devel to BuildRequires
* Wed Jul 3 2007 Brad Nicholes <[email protected]>
- Add the python modules and configuration
* Wed Jun 14 2007 Brad Nicholes <[email protected]>
- Build the python support module by default
* Fri May 18 2007 Bernard Li <[email protected]>
- Add php-gd to web subpackage Requires
* Wed May 9 2007 Brad Nicholes <[email protected]>
- Converted to dynamically link all external libraries
* Fri Apr 27 2007 Bernard Li <[email protected]>
- Add apr-devel to BuildRequires for distro other than SuSE
(Red Hat/Fedora/Mandriva)
* Wed Apr 25 2007 Brad Nicholes <[email protected]>
- Dynamically link APR rather than statically linking
the Ganglia version of APR.
* Thu Apr 12 2007 Brad Nicholes <[email protected]>
- Move the main .conf file out of /etc and into /etc/ganglia
* Fri Apr 06 2007 Brad Nicholes <[email protected]>
- install the module .conf files under a /etc/ganglia/conf.d
directory and list the file owner of the .conf files and
the module DSOs
* Wed Apr 04 2007 Bernard Li <[email protected]>
- Added libmodexample* files to ganglia-gmond sub-package
* Tue Apr 03 2007 Bernard Li <[email protected]>
- Applied patch from Marcus Rueckert
- Use different web_prefixdir for SuSE
- More extensive use of RPM macroes (eg. %{_mandir}, %{_sbindir})
* Mon Jan 08 2007 Bernard Li <[email protected]>
- Do not automatically start/restart services as this may cause
ganglia to startup with bad config.
* Mon Aug 28 2006 Bernard Li <[email protected]>
- Added gcc-c++ to BuildRequires
* Sun Jul 23 2006 Bernard Li <[email protected]>
- Changed make install prefix=$RPM_BUILD_ROOT/usr to
make DESTDIR=$RPM_BUILD_ROOT install (suggested by Jarod Wilson
* Mon Jun 05 2006 Bernard Li <[email protected]>
- Changed /etc/rc.d/init.d -> /etc/init.d
* Mon May 22 2006 Bernard Li <[email protected]>
- Add rrdtool/rrdtool-devel, freetype2-devel/freetype-devel,
libart_lgpl-devel to BuildRequires
- Use /usr/lib64 for x86_64
* Sun May 21 2006 Bernard Li <[email protected]>
- Correct init scripts dir for SuSE
- Add BuildRequires for libpng-devel
* Fri Feb 25 2006 Bernard Li <[email protected]>
- Use SuSE specific init scripts if /etc/SuSE-release file exists
* Fri Dec 10 2004 Matt Massie <[email protected]>
- Updated the spec file for 2.6.0 release
* Tue Apr 13 2004 Brooks Davis <[email protected]>
- Use the autoconf variable varstatedir instead of /var/lib for consistency.
* Thu Feb 19 2004 Matt Massie <[email protected]>
- Removed the /usr/include/ganglia directory from the lib rpm and
changed the deprecated Copyright to License
* Mon Oct 14 2002 Federico Sacerdoti <[email protected]>
- Split package into -gmetad and -gmond subpackages for clarity,
and separation of purpose/functionality.
* Thu Sep 19 2002 Federico Sacerdoti <[email protected]>
- Added config files, made /var/lib/ganglia for RRD storage.
* Mon Mar 11 2002 Matt Massie <[email protected]>
- Added support for libganglia, added Prefix: for RPM relocation
* Wed Feb 27 2002 Matt Massie <[email protected]>
- Merge gmetric and gmond together into one RPM. Fix some small bugs.
* Fri Nov 2 2001 Matt Massie <[email protected]>
- initial release