RPM specfile: fix bogus dates
[collectd.git] / contrib / redhat / collectd.spec
1 #
2 # q: What is this ?
3 # a: A specfile for building RPM packages of current collectd releases, for
4 #    RHEL/CentOS versions 5, 6 and 7. By default all the plugins which are
5 #    buildable based on the libraries available in the distribution + the
6 #    EPEL repository, will be built. Plugins depending on external libs will
7 #    be packaged in separate RPMs.
8 #
9 # q: And how can I do that ?
10 # a: By following these instructions, using mock:
11 #
12 # - install and configure mock (https://fedoraproject.org/wiki/Projects/Mock)
13 #
14 # - enable the EPEL repository (http://dl.fedoraproject.org/pub/epel/) in the
15 #   configuration files for your target systems (/etc/mock/*.cfg).
16 #
17 # - copy this file in your ~/rpmbuild/SPECS/ directory
18 #
19 # - fetch the desired collectd release file from https://collectd.org/files/
20 #   and save it in your ~/rpmbuild/SOURCES/ directory
21 #
22 # - build the SRPM first:
23 #   mock -r centos-6-x86_64 --buildsrpm --spec ~/rpmbuild/SPECS/collectd.spec \
24 #     --sources ~/rpmbuild/SOURCES/
25 #
26 # - then build the RPMs:
27 #   mock -r centos-6-x86_64 --no-clean --rebuild \
28 #     /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
29 #
30 # - you can also optionally enable/disable plugins which are disabled/enabled
31 #   by default:
32 #   mock -r centos-6-x86_64 --no-clean --without=java --with=oracle --rebuild \
33 #     /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
34 #
35
36 %global _hardened_build 1
37
38 # plugins only buildable on RHEL6
39 # (NB: %{elN} macro is not available on RHEL < 6)
40 %{?el6:%global _has_libyajl 1}
41 %{?el6:%global _has_recent_libpcap 1}
42 %{?el6:%global _has_recent_sockios_h 1}
43 %{?el6:%global _has_recent_libganglia 1}
44 %{?el6:%global _has_working_libiptc 1}
45 %{?el6:%global _has_ip_vs_h 1}
46 %{?el6:%global _has_libmodbus 1}
47
48 %{?el7:%global _has_libyajl 1}
49 %{?el7:%global _has_recent_libpcap 1}
50 %{?el7:%global _has_recent_sockios_h 1}
51 %{?el7:%global _has_working_libiptc 1}
52 %{?el7:%global _has_ip_vs_h 1}
53 %{?el7:%global _has_recent_librrd 1}
54 %{?el7:%global _has_varnish4 1}
55 %{?el7:%global _has_broken_libmemcached 1}
56
57 # plugins enabled by default
58 %define with_aggregation 0%{!?_without_aggregation:1}
59 %define with_amqp 0%{!?_without_amqp:1}
60 %define with_apache 0%{!?_without_apache:1}
61 %define with_apcups 0%{!?_without_apcups:1}
62 %define with_ascent 0%{!?_without_ascent:1}
63 %define with_battery 0%{!?_without_battery:1}
64 %define with_bind 0%{!?_without_bind:1}
65 %define with_conntrack 0%{!?_without_conntrack:1}
66 %define with_contextswitch 0%{!?_without_contextswitch:1}
67 %define with_cpu 0%{!?_without_cpu:1}
68 %define with_cpufreq 0%{!?_without_cpufreq:1}
69 %define with_csv 0%{!?_without_csv:1}
70 %define with_curl 0%{!?_without_curl:1}
71 %define with_curl_json 0%{!?_without_curl_json:0%{?_has_libyajl}}
72 %define with_curl_xml 0%{!?_without_curl_xml:1}
73 %define with_dbi 0%{!?_without_dbi:1}
74 %define with_df 0%{!?_without_df:1}
75 %define with_disk 0%{!?_without_disk:1}
76 %define with_dns 0%{!?_without_dns:0%{?_has_recent_libpcap}}
77 %define with_email 0%{!?_without_email:1}
78 %define with_entropy 0%{!?_without_entropy:1}
79 %define with_ethstat 0%{!?_without_ethstat:0%{?_has_recent_sockios_h}}
80 %define with_exec 0%{!?_without_exec:1}
81 %define with_filecount 0%{!?_without_filecount:1}
82 %define with_fscache 0%{!?_without_fscache:1}
83 %define with_gmond 0%{!?_without_gmond:0%{?_has_recent_libganglia}}
84 %define with_hddtemp 0%{!?_without_hddtemp:1}
85 %define with_interface 0%{!?_without_interface:1}
86 %define with_ipmi 0%{!?_without_ipmi:1}
87 %define with_iptables 0%{!?_without_iptables:0%{?_has_working_libiptc}}
88 %define with_ipvs 0%{!?_without_ipvs:0%{?_has_ip_vs_h}}
89 %define with_irq 0%{!?_without_irq:1}
90 %define with_java 0%{!?_without_java:1}
91 %define with_libvirt 0%{!?_without_libvirt:1}
92 %define with_load 0%{!?_without_load:1}
93 %define with_logfile 0%{!?_without_logfile:1}
94 %define with_madwifi 0%{!?_without_madwifi:1}
95 %define with_mbmon 0%{!?_without_mbmon:1}
96 %define with_md 0%{!?_without_md:1}
97 %define with_memcachec 0%{!?_without_memcachec:0%{!?_has_broken_libmemcached:1}}
98 %define with_memcached 0%{!?_without_memcached:1}
99 %define with_memory 0%{!?_without_memory:1}
100 %define with_multimeter 0%{!?_without_multimeter:1}
101 %define with_modbus 0%{!?_without_modbus:0%{?_has_libmodbus}}
102 %define with_mysql 0%{!?_without_mysql:1}
103 %define with_network 0%{!?_without_network:1}
104 %define with_nfs 0%{!?_without_nfs:1}
105 %define with_nginx 0%{!?_without_nginx:1}
106 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
107 %define with_notify_email 0%{!?_without_notify_email:1}
108 %define with_ntpd 0%{!?_without_ntpd:1}
109 %define with_numa 0%{!?_without_numa:1}
110 %define with_nut 0%{!?_without_nut:1}
111 %define with_olsrd 0%{!?_without_olsrd:1}
112 %define with_openvpn 0%{!?_without_openvpn:1}
113 %define with_perl 0%{!?_without_perl:1}
114 %define with_pinba 0%{!?_without_pinba:1}
115 %define with_ping 0%{!?_without_ping:1}
116 %define with_postgresql 0%{!?_without_postgresql:1}
117 %define with_powerdns 0%{!?_without_powerdns:1}
118 %define with_processes 0%{!?_without_processes:1}
119 %define with_protocols 0%{!?_without_protocols:1}
120 %define with_python 0%{!?_without_python:1}
121 %define with_rrdcached 0%{!?_without_rrdcached:0%{?_has_recent_librrd}}
122 %define with_rrdtool 0%{!?_without_rrdtool:1}
123 %define with_sensors 0%{!?_without_sensors:1}
124 %define with_serial 0%{!?_without_serial:1}
125 %define with_snmp 0%{!?_without_snmp:1}
126 %define with_swap 0%{!?_without_swap:1}
127 %define with_syslog 0%{!?_without_syslog:1}
128 %define with_table 0%{!?_without_table:1}
129 %define with_tail 0%{!?_without_tail:1}
130 %define with_tail_csv 0%{!?_without_tail_csv:1}
131 %define with_tcpconns 0%{!?_without_tcpconns:1}
132 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
133 %define with_ted 0%{!?_without_ted:1}
134 %define with_thermal 0%{!?_without_thermal:1}
135 %define with_threshold 0%{!?_without_threshold:1}
136 %define with_unixsock 0%{!?_without_unixsock:1}
137 %define with_uptime 0%{!?_without_uptime:1}
138 %define with_users 0%{!?_without_users:1}
139 %define with_uuid 0%{!?_without_uuid:1}
140 %define with_varnish 0%{!?_without_varnish:0%{!?_has_varnish4:1}}
141 %define with_vmem 0%{!?_without_vmem:1}
142 %define with_vserver 0%{!?_without_vserver:1}
143 %define with_wireless 0%{!?_without_wireless:1}
144 %define with_write_graphite 0%{!?_without_write_graphite:1}
145 %define with_write_http 0%{!?_without_write_http:1}
146 %define with_write_riemann 0%{!?_without_write_riemann:1}
147
148 # Plugins not built by default because of dependencies on libraries not
149 # available in RHEL or EPEL:
150
151 # plugin apple_sensors disabled, requires a Mac
152 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
153 # plugin lpar disabled, requires AIX
154 %define with_lpar 0%{!?_without_lpar:0}
155 # plugin netapp disabled, requires libnetapp
156 %define with_netapp 0%{!?_without_netapp:0}
157 # plugin netlink disabled, requires libnetlink.h
158 %define with_netlink 0%{!?_without_netlink:0}
159 # plugin onewire disabled, requires libowfs
160 %define with_onewire 0%{!?_without_onewire:0}
161 # plugin oracle disabled, requires Oracle
162 %define with_oracle 0%{!?_without_oracle:0}
163 # plugin oracle disabled, requires BSD
164 %define with_pf 0%{!?_without_pf:0}
165 # plugin redis disabled, requires credis
166 %define with_redis 0%{!?_without_redis:0}
167 # plugin routeros disabled, requires librouteros
168 %define with_routeros 0%{!?_without_routeros:0}
169 # plugin tape disabled, requires libkstat
170 %define with_tape 0%{!?_without_tape:0}
171 # plugin tokyotyrant disabled, requires tcrdb.h
172 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
173 # plugin write_mongodb disabled, requires libmongoc
174 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
175 # plugin write_redis disabled, requires credis
176 %define with_write_redis 0%{!?_without_write_redis:0}
177 # plugin xmms disabled, requires xmms
178 %define with_xmms 0%{!?_without_xmms:0}
179 # plugin zfs_arc disabled, requires FreeBSD/Solaris
180 %define with_zfs_arc 0%{!?_without_zfs_arc:0}
181
182 Summary:        Statistics collection daemon for filling RRD files
183 Name:           collectd
184 Version:        5.3.1
185 Release:        1%{?dist}
186 URL:            http://collectd.org
187 Source:         http://collectd.org/files/%{name}-%{version}.tar.bz2
188 License:        GPLv2
189 Group:          System Environment/Daemons
190 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
191 BuildRequires:  libgcrypt-devel, kernel-headers
192 Vendor:         collectd development team <collectd@verplant.org>
193
194 Requires(post):         chkconfig
195 Requires(preun):        chkconfig, initscripts
196 Requires(postun):       initscripts
197
198 %description
199 collectd is a small daemon which collects system information periodically and
200 provides mechanisms to monitor and store the values in a variety of ways. It
201 is written in C for performance. Since the daemon doesn't need to start up
202 every time it wants to update the values it's very fast and easy on the
203 system. Also, the statistics are very fine grained since the files are updated
204 every 10 seconds by default.
205
206 %if %{with_amqp}
207 %package amqp
208 Summary:        AMQP plugin for collectd
209 Group:          System Environment/Daemons
210 Requires:       %{name}%{?_isa} = %{version}-%{release}
211 BuildRequires:  librabbitmq-devel
212 %description amqp
213 The AMQP plugin transmits or receives values collected by collectd via the
214 Advanced Message Queuing Protocol (AMQP).
215 %endif
216
217 %if %{with_apache}
218 %package apache
219 Summary:        Apache plugin for collectd
220 Group:          System Environment/Daemons
221 Requires:       %{name}%{?_isa} = %{version}-%{release}
222 BuildRequires:  curl-devel
223 %description apache
224 This plugin collects data provided by Apache's `mod_status'.
225 %endif
226
227 %if %{with_ascent}
228 %package ascent
229 Summary:        Ascent plugin for collectd
230 Group:          System Environment/Daemons
231 Requires:       %{name}%{?_isa} = %{version}-%{release}
232 BuildRequires:  libxml2-devel, curl-devel
233 %description ascent
234 The Ascent plugin reads and parses the statistics page of Ascent, a free and
235 open-source server software for the game World of Warcraft by Blizzard
236 Entertainment.
237 %endif
238
239 %if %{with_bind}
240 %package bind
241 Summary:        Bind plugin for collectd
242 Group:          System Environment/Daemons
243 Requires:       %{name}%{?_isa} = %{version}-%{release}
244 BuildRequires:  libxml2-devel, curl-devel
245 %description bind
246 The BIND plugin retrieves this information that's encoded in XML and provided
247 via HTTP and submits the values to collectd.
248 %endif
249
250 %if %{with_curl}
251 %package curl
252 Summary:        Curl plugin for collectd
253 Group:          System Environment/Daemons
254 Requires:       %{name}%{?_isa} = %{version}-%{release}
255 BuildRequires:  curl-devel
256 %description curl
257 The cURL plugin uses libcurl to read files and then parses them according to
258 the configuration.
259 %endif
260
261 %if %{with_curl_json}
262 %package curl_json
263 Summary:        Curl_json plugin for collectd
264 Group:          System Environment/Daemons
265 Requires:       %{name}%{?_isa} = %{version}-%{release}
266 BuildRequires:  curl-devel, yajl-devel
267 %description curl_json
268 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
269 cURL library and parses it according to the user's configuration.
270 %endif
271
272 %if %{with_curl_xml}
273 %package curl_xml
274 Summary:        Curl_xml plugin for collectd
275 Group:          System Environment/Daemons
276 Requires:       %{name}%{?_isa} = %{version}-%{release}
277 BuildRequires:  curl-devel, libxml2-devel
278 %description curl_xml
279 The cURL-XML plugin reads files using libcurl and parses it as Extensible
280 Markup Language (XML).
281 %endif
282
283 %if %{with_dbi}
284 %package dbi
285 Summary:        DBI plugin for collectd
286 Group:          System Environment/Daemons
287 Requires:       %{name}%{?_isa} = %{version}-%{release}
288 BuildRequires:  libdbi-devel
289 %description dbi
290 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
291 statements on a database and read back the result.
292 %endif
293
294 %if %{with_dns}
295 %package dns
296 Summary:        DNS plugin for collectd
297 Group:          System Environment/Daemons
298 Requires:       %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
299 BuildRequires:  libpcap-devel >= 1.0
300 %description dns
301 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
302 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
303 packets and collects statistics of your DNS traffic.
304 %endif
305
306 %if %{with_email}
307 %package email
308 Summary:        Email plugin for collectd
309 Group:          System Environment/Daemons
310 Requires:       %{name}%{?_isa} = %{version}-%{release}, spamassassin
311 %description email
312 This plugin collects data provided by spamassassin.
313 %endif
314
315 %if %{with_gmond}
316 %package gmond
317 Summary:        Gmond plugin for collectd
318 Group:          System Environment/Daemons
319 Requires:       %{name}%{?_isa} = %{version}-%{release}
320 BuildRequires:  ganglia-devel
321 %description gmond
322 The gmond plugin subscribes to a Multicast group to receive data from gmond,
323 the client daemon of the Ganglia project.
324 %endif
325
326 %if %{with_hddtemp}
327 %package hddtemp
328 Summary:        Hddtemp plugin for collectd
329 Group:          System Environment/Daemons
330 Requires:       %{name}%{?_isa} = %{version}-%{release}, hddtemp
331 %description hddtemp
332 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
333 provided via SMART and queried by the external hddtemp daemon.
334 %endif
335
336 %if %{with_ipmi}
337 %package ipmi
338 Summary:        IPMI plugin for collectd
339 Group:          System Environment/Daemons
340 Requires:       %{name}%{?_isa} = %{version}-%{release}
341 BuildRequires:  OpenIPMI-devel
342 %description ipmi
343 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
344 using the Intelligent Platform Management Interface (IPMI).
345 %endif
346
347 %if %{with_iptables}
348 %package iptables
349 Summary:        IPtables plugin for collectd
350 Group:          System Environment/Daemons
351 Requires:       %{name}%{?_isa} = %{version}-%{release}
352 BuildRequires:  iptables-devel
353 %description iptables
354 The IPtables plugin can gather statistics from your ip_tables based packet
355 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
356 the byte- and packet-counters of selected rules and submit them to collectd.
357 %endif
358
359 %if %{with_java}
360 %package java
361 Summary:        Java plugin for collectd
362 Group:          System Environment/Daemons
363 Requires:       %{name}%{?_isa} = %{version}-%{release}
364 BuildRequires:  java-devel, jpackage-utils
365 Requires:       java, jpackage-utils
366 %description java
367 This plugin for collectd allows plugins to be written in Java and executed
368 in an embedded JVM.
369 %endif
370
371 %if %{with_libvirt}
372 %package libvirt
373 Summary:        Libvirt plugin for collectd
374 Group:          System Environment/Daemons
375 Requires:       %{name}%{?_isa} = %{version}-%{release}
376 BuildRequires:  libvirt-devel
377 %description libvirt
378 This plugin collects information from virtualized guests.
379 %endif
380
381 %if %{with_memcachec}
382 %package memcachec
383 Summary:        Memcachec plugin for collectd
384 Group:          System Environment/Daemons
385 Requires:       %{name}%{?_isa} = %{version}-%{release}
386 BuildRequires:  libmemcached-devel
387 %description memcachec
388 The Memcachec plugin uses libmemcached to read statistics from a Memcached
389 instance. Note that another plugin, named `memcached', exists and does a
390 similar job, without requiring the installation of libmemcached.
391 %endif
392
393 %if %{with_modbus}
394 %package modbus
395 Summary:       modbus plugin for collectd
396 Group:         System Environment/Daemons
397 Requires:      %{name}%{?_isa} = %{version}-%{release}
398 BuildRequires:  libmodbus-devel
399 %description modbus
400 The modbus plugin collects values from Modbus/TCP enabled devices
401 %endif
402
403 %if %{with_mysql}
404 %package mysql
405 Summary:        MySQL plugin for collectd
406 Group:          System Environment/Daemons
407 Requires:       %{name}%{?_isa} = %{version}-%{release}
408 BuildRequires:  mysql-devel
409 %description mysql
410 MySQL querying plugin. This plugin provides data of issued commands, called
411 handlers and database traffic.
412 %endif
413
414 %if %{with_nginx}
415 %package nginx
416 Summary:        Nginx plugin for collectd
417 Group:          System Environment/Daemons
418 Requires:       %{name}%{?_isa} = %{version}-%{release}
419 BuildRequires:  curl-devel
420 %description nginx
421 This plugin gets data provided by nginx.
422 %endif
423
424 %if %{with_notify_desktop}
425 %package notify_desktop
426 Summary:        Notify_desktop plugin for collectd
427 Group:          System Environment/Daemons
428 Requires:       %{name}%{?_isa} = %{version}-%{release}
429 BuildRequires:  libnotify-devel, gtk2-devel
430 %description notify_desktop
431 The Notify Desktop plugin uses libnotify to display notifications to the user
432 via the desktop notification specification, i. e. on an X display.
433 %endif
434
435 %if %{with_notify_email}
436 %package notify_email
437 Summary:        Notify_email plugin for collectd
438 Group:          System Environment/Daemons
439 Requires:       %{name}%{?_isa} = %{version}-%{release}
440 BuildRequires:  libesmtp-devel
441 %description notify_email
442 The Notify Email plugin uses libESMTP to send notifications to a configured
443 email address.
444 %endif
445
446 %if %{with_nut}
447 %package nut
448 Summary:        Nut plugin for collectd
449 Group:          System Environment/Daemons
450 Requires:       %{name}%{?_isa} = %{version}-%{release}
451 BuildRequires:  nut-devel
452 %description nut
453 This plugin for collectd provides Network UPS Tools support.
454 %endif
455
456 %if %{with_perl}
457 %package perl
458 Summary:        Perl plugin for collectd
459 Group:          System Environment/Daemons
460 Requires:       %{name}%{?_isa} = %{version}-%{release}
461 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
462 %if 0%{?rhel} >= 6
463 BuildRequires:  perl-ExtUtils-Embed
464 %else
465 BuildRequires:  perl
466 %endif
467 %description perl
468 The Perl plugin embeds a Perl interpreter into collectd and exposes the
469 application programming interface (API) to Perl-scripts.
470 %endif
471
472 %if %{with_pinba}
473 %package pinba
474 Summary:        Pinba plugin for collectd
475 Group:          System Environment/Daemons
476 Requires:       %{name}%{?_isa} = %{version}-%{release}
477 BuildRequires:  protobuf-c-devel
478 %description pinba
479 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
480 extension for PHP.
481 %endif
482
483 %if %{with_ping}
484 %package ping
485 Summary:        Ping plugin for collectd
486 Group:          System Environment/Daemons
487 Requires:       %{name}%{?_isa} = %{version}-%{release}
488 BuildRequires:  liboping-devel
489 %description ping
490 The Ping plugin measures network latency using ICMP “echo requests”, usually
491 known as “ping”.
492 %endif
493
494 %if %{with_postgresql}
495 %package postgresql
496 Summary:        PostgreSQL plugin for collectd
497 Group:          System Environment/Daemons
498 Requires:       %{name}%{?_isa} = %{version}-%{release}
499 BuildRequires:  postgresql-devel
500 %description postgresql
501 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
502 database.
503 %endif
504
505 %if %{with_python}
506 %package python
507 Summary:        Python plugin for collectd
508 Group:          System Environment/Daemons
509 Requires:       %{name}%{?_isa} = %{version}-%{release}
510 %if 0%{?rhel} >= 6
511 BuildRequires: python-devel
512 %else
513 BuildRequires: python26-devel
514 %endif
515 %description python
516 The Python plugin embeds a Python interpreter into collectd and exposes the
517 application programming interface (API) to Python-scripts.
518 %endif
519
520 %if %{with_redis}
521 %package redis
522 Summary:        Redis plugin for collectd
523 Group:          System Environment/Daemons
524 Requires:       %{name}%{?_isa} = %{version}-%{release}
525 BuildRequires:  credis-devel
526 %description redis
527 The Redis plugin connects to one or more instances of Redis, a key-value store,
528 and collects usage information using the credis library.
529 %endif
530
531 %if %{with_rrdcached}
532 %package rrdcached
533 Summary:        RRDCached plugin for collectd
534 Group:          System Environment/Daemons
535 Requires:       %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
536 BuildRequires:  rrdtool-devel
537 %description rrdcached
538 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
539 submits updates for RRD files to that daemon.
540 %endif
541
542 %if %{with_rrdtool}
543 %package rrdtool
544 Summary:        RRDtool plugin for collectd
545 Group:          System Environment/Daemons
546 Requires:       %{name}%{?_isa} = %{version}-%{release}
547 BuildRequires:  rrdtool-devel
548 %description rrdtool
549 The RRDtool plugin writes values to RRD-files using librrd.
550 %endif
551
552 %if %{with_sensors}
553 %package sensors
554 Summary:        Sensors plugin for collectd
555 Group:          System Environment/Daemons
556 Requires:       %{name}%{?_isa} = %{version}-%{release}
557 BuildRequires:  lm_sensors-devel
558 %description sensors
559 This plugin for collectd provides querying of sensors supported by lm_sensors.
560 %endif
561
562 %if %{with_snmp}
563 %package snmp
564 Summary:        SNMP plugin for collectd
565 Group:          System Environment/Daemons
566 Requires:       %{name}%{?_isa} = %{version}-%{release}
567 BuildRequires:  net-snmp-devel
568 %description snmp
569 This plugin for collectd allows querying of network equipment using SNMP.
570 %endif
571
572 %if %{with_varnish}
573 %package varnish
574 Summary:        Varnish plugin for collectd
575 Group:          System Environment/Daemons
576 Requires:       %{name}%{?_isa} = %{version}-%{release}
577 BuildRequires:  varnish-libs-devel
578 %description varnish
579 The Varnish plugin collects information about Varnish, an HTTP accelerator.
580 %endif
581
582 %if %{with_write_http}
583 %package write_http
584 Summary:        Write-HTTP plugin for collectd
585 Group:          System Environment/Daemons
586 Requires:       %{name}%{?_isa} = %{version}-%{release}
587 BuildRequires:  curl-devel
588 %description write_http
589 The Write-HTTP plugin sends the values collected by collectd to a web-server
590 using HTTP POST requests.
591 %endif
592
593 %if %{with_write_redis}
594 %package write_redis
595 Summary:        Write-Redis plugin for collectd
596 Group:          System Environment/Daemons
597 Requires:       %{name}%{?_isa} = %{version}-%{release}
598 BuildRequires:  credis-devel
599 %description write_redis
600 The Write Redis plugin stores values in Redis, a “data structures server”.
601 %endif
602
603 %if %{with_write_riemann}
604 %package write_riemann
605 Summary:        riemann plugin for collectd
606 Group:          System Environment/Daemons
607 Requires:       %{name}%{?_isa} = %{version}-%{release}
608 BuildRequires:  protobuf-c-devel
609 %description write_riemann
610 The riemann plugin submits values to Riemann, an event stream processor.
611 %endif
612
613 %package collection3
614 Summary:        Web-based viewer for collectd
615 Group:          System Environment/Daemons
616 Requires:       %{name}%{?_isa} = %{version}-%{release}
617 Requires: httpd
618 %description collection3
619 collection3 is a graphing front-end for the RRD files created by and filled
620 with collectd. It is written in Perl and should be run as an CGI-script.
621 Graphs are generated on-the-fly, so no cron job or similar is necessary.
622
623 %package php-collection
624 Summary:        collect php webfrontent
625 Group:          System Environment/Daemons
626 Requires:       collectd = %{version}-%{release}
627 Requires:       httpd
628 Requires:       php
629 Requires:       php-rrdtool
630 %description php-collection
631 PHP graphing frontend for RRD files created by and filled with collectd.
632
633 %package contrib
634 Summary:        Contrib files for collectd
635 Group:          System Environment/Daemons
636 Requires:       %{name}%{?_isa} = %{version}-%{release}
637 %description contrib
638 All the files found under contrib/ in the source tree are bundled in this
639 package.
640
641 %package -n libcollectdclient
642 Summary:        Collectd client library
643 Group:          System Environment/Daemons
644 %description -n libcollectdclient
645 Collectd client library
646
647 %package -n libcollectdclient-devel
648 Summary:        Development files for libcollectdclient
649 Group:          System Environment/Daemons
650 Requires:       pkgconfig
651 Requires:       libcollectdclient%{?_isa} = %{version}-%{release}
652 %description -n libcollectdclient-devel
653 Development files for libcollectdclient
654
655
656 %prep
657 %setup -q
658
659 %build
660 %if %{with_aggregation}
661 %define _with_aggregation --enable-aggregation
662 %else
663 %define _with_aggregation --disable-aggregation
664 %endif
665
666 %if %{with_amqp}
667 %define _with_amqp --enable-amqp
668 %else
669 %define _with_amqp --disable-amqp
670 %endif
671
672 %if %{with_apache}
673 %define _with_apache --enable-apache
674 %else
675 %define _with_apache --disable-apache
676 %endif
677
678 %if %{with_apcups}
679 %define _with_apcups --enable-apcups
680 %else
681 %define _with_apcups --disable-apcups
682 %endif
683
684 %if %{with_apple_sensors}
685 %define _with_apple_sensors --enable-apple_sensors
686 %else
687 %define _with_apple_sensors --disable-apple_sensors
688 %endif
689
690 %if %{with_ascent}
691 %define _with_ascent --enable-ascent
692 %else
693 %define _with_ascent --disable-ascent
694 %endif
695
696 %if %{with_battery}
697 %define _with_battery --enable-battery
698 %else
699 %define _with_battery --disable-battery
700 %endif
701
702 %if %{with_bind}
703 %define _with_bind --enable-bind
704 %else
705 %define _with_bind --disable-bind
706 %endif
707
708 %if %{with_conntrack}
709 %define _with_conntrack --enable-conntrack
710 %else
711 %define _with_conntrack --disable-conntrack
712 %endif
713
714 %if %{with_contextswitch}
715 %define _with_contextswitch --enable-contextswitch
716 %else
717 %define _with_contextswitch --disable-contextswitch
718 %endif
719
720 %if %{with_cpu}
721 %define _with_cpu --enable-cpu
722 %else
723 %define _with_cpu --disable-cpu
724 %endif
725
726 %if %{with_cpufreq}
727 %define _with_cpufreq --enable-cpufreq
728 %else
729 %define _with_cpufreq --disable-cpufreq
730 %endif
731
732 %if %{with_csv}
733 %define _with_csv --enable-csv
734 %else
735 %define _with_csv --disable-csv
736 %endif
737
738 %if %{with_curl}
739 %define _with_curl --enable-curl
740 %else
741 %define _with_curl --disable-curl
742 %endif
743
744 %if %{with_curl_json}
745 %define _with_curl_json --enable-curl_json
746 %else
747 %define _with_curl_json --disable-curl_json
748 %endif
749
750 %if %{with_curl_xml}
751 %define _with_curl_xml --enable-curl_xml
752 %else
753 %define _with_curl_xml --disable-curl_xml
754 %endif
755
756 %if %{with_dbi}
757 %define _with_dbi --enable-dbi
758 %else
759 %define _with_dbi --disable-dbi --without-libdbi
760 %endif
761
762 %if %{with_df}
763 %define _with_df --enable-df
764 %else
765 %define _with_df --disable-df
766 %endif
767
768 %if %{with_disk}
769 %define _with_disk --enable-disk
770 %else
771 %define _with_disk --disable-disk
772 %endif
773
774 %if %{with_dns}
775 %define _with_dns --enable-dns
776 %else
777 %define _with_dns --disable-dns
778 %endif
779
780 %if %{with_email}
781 %define _with_email --enable-email
782 %else
783 %define _with_email --disable-email
784 %endif
785
786 %if %{with_entropy}
787 %define _with_entropy --enable-entropy
788 %else
789 %define _with_entropy --disable-entropy
790 %endif
791
792 %if %{with_ethstat}
793 %define _with_ethstat --enable-ethstat
794 %else
795 %define _with_ethstat --disable-ethstat
796 %endif
797
798 %if %{with_exec}
799 %define _with_exec --enable-exec
800 %else
801 %define _with_exec --disable-exec
802 %endif
803
804 %if %{with_filecount}
805 %define _with_filecount --enable-filecount
806 %else
807 %define _with_filecount --disable-filecount
808 %endif
809
810 %if %{with_fscache}
811 %define _with_fscache --enable-fscache
812 %else
813 %define _with_fscache --disable-fscache
814 %endif
815
816 %if %{with_gmond}
817 %define _with_gmond --enable-gmond
818 %else
819 %define _with_gmond --disable-gmond
820 %endif
821
822 %if %{with_hddtemp}
823 %define _with_hddtemp --enable-hddtemp
824 %else
825 %define _with_hddtemp --disable-hddtemp
826 %endif
827
828 %if %{with_interface}
829 %define _with_interface --enable-interface
830 %else
831 %define _with_interface --disable-interface
832 %endif
833
834 %if %{with_ipmi}
835 %define _with_ipmi --enable-ipmi
836 %else
837 %define _with_ipmi --disable-ipmi
838 %endif
839
840 %if %{with_iptables}
841 %define _with_iptables --enable-iptables
842 %else
843 %define _with_iptables --disable-iptables
844 %endif
845
846 %if %{with_ipvs}
847 %define _with_ipvs --enable-ipvs
848 %else
849 %define _with_ipvs --disable-ipvs
850 %endif
851
852 %if %{with_irq}
853 %define _with_irq --enable-irq
854 %else
855 %define _with_irq --disable-irq
856 %endif
857
858 %if %{with_java}
859 %define _with_java --enable-java --with-java=%{java_home}/
860 %else
861 %define _with_java --disable-java
862 %endif
863
864 %if %{with_libvirt}
865 %define _with_libvirt --enable-libvirt
866 %else
867 %define _with_libvirt --disable-libvirt
868 %endif
869
870 %if %{with_load}
871 %define _with_load --enable-load
872 %else
873 %define _with_load --disable-load
874 %endif
875
876 %if %{with_logfile}
877 %define _with_logfile --enable-logfile
878 %else
879 %define _with_logfile --disable-logfile
880 %endif
881
882 %if %{with_lpar}
883 %define _with_lpar --enable-lpar
884 %else
885 %define _with_lpar --disable-lpar
886 %endif
887
888 %if %{with_madwifi}
889 %define _with_madwifi --enable-madwifi
890 %else
891 %define _with_madwifi --disable-madwifi
892 %endif
893
894 %if %{with_mbmon}
895 %define _with_mbmon --enable-mbmon
896 %else
897 %define _with_mbmon --disable-mbmon
898 %endif
899
900 %if %{with_md}
901 %define _with_md --enable-md
902 %else
903 %define _with_md --disable-md
904 %endif
905
906 %if %{with_memcachec}
907 %define _with_memcachec --enable-memcachec
908 %else
909 %define _with_memcachec --disable-memcachec
910 %endif
911
912 %if %{with_memcached}
913 %define _with_memcached --enable-memcached
914 %else
915 %define _with_memcached --disable-memcached
916 %endif
917
918 %if %{with_memory}
919 %define _with_memory --enable-memory
920 %else
921 %define _with_memory --disable-memory
922 %endif
923
924 %if %{with_modbus}
925 %define _with_modbus --enable-modbus
926 %else
927 %define _with_modbus --disable-modbus
928 %endif
929
930 %if %{with_multimeter}
931 %define _with_multimeter --enable-multimeter
932 %else
933 %define _with_multimeter --disable-multimeter
934 %endif
935
936 %if %{with_mysql}
937 %define _with_mysql --enable-mysql
938 %else
939 %define _with_mysql --disable-mysql
940 %endif
941
942 %if %{with_netapp}
943 %define _with_netapp --enable-netapp
944 %else
945 %define _with_netapp --disable-netapp
946 %endif
947
948 %if %{with_netlink}
949 %define _with_netlink --enable-netlink
950 %else
951 %define _with_netlink --disable-netlink
952 %endif
953
954 %if %{with_network}
955 %define _with_network --enable-network
956 %else
957 %define _with_network --disable-network
958 %endif
959
960 %if %{with_nfs}
961 %define _with_nfs --enable-nfs
962 %else
963 %define _with_nfs --disable-nfs
964 %endif
965
966 %if %{with_nginx}
967 %define _with_nginx --enable-nginx
968 %else
969 %define _with_nginx --disable-nginx
970 %endif
971
972 %if %{with_notify_desktop}
973 %define _with_notify_desktop --enable-notify_desktop
974 %else
975 %define _with_notify_desktop --disable-notify_desktop
976 %endif
977
978 %if %{with_notify_email}
979 %define _with_notify_email --enable-notify_email
980 %else
981 %define _with_notify_email --disable-notify_email --without-libesmpt
982 %endif
983
984 %if %{with_ntpd}
985 %define _with_ntpd --enable-ntpd
986 %else
987 %define _with_ntpd --disable-ntpd
988 %endif
989
990 %if %{with_numa}
991 %define _with_numa --enable-numa
992 %else
993 %define _with_numa --disable-numa
994 %endif
995
996 %if %{with_nut}
997 %define _with_nut --enable-nut
998 %else
999 %define _with_nut --disable-nut
1000 %endif
1001
1002 %if %{with_olsrd}
1003 %define _with_olsrd --enable-olsrd
1004 %else
1005 %define _with_olsrd --disable-olsrd
1006 %endif
1007
1008 %if %{with_onewire}
1009 %define _with_onewire --enable-onewire
1010 %else
1011 %define _with_onewire --disable-onewire
1012 %endif
1013
1014 %if %{with_openvpn}
1015 %define _with_openvpn --enable-openvpn
1016 %else
1017 %define _with_openvpn --disable-openvpn
1018 %endif
1019
1020 %if %{with_oracle}
1021 %define _with_oracle --enable-oracle
1022 %else
1023 %define _with_oracle --disable-oracle
1024 %endif
1025
1026 %if %{with_perl}
1027 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1028 %else
1029 %define _with_perl --disable-perl --without-libperl
1030 %endif
1031
1032 %if %{with_pf}
1033 %define _with_pf --enable-pf
1034 %else
1035 %define _with_pf --disable-pf
1036 %endif
1037
1038 %if %{with_pinba}
1039 %define _with_pinba --enable-pinba
1040 %else
1041 %define _with_pinba --disable-pinba
1042 %endif
1043
1044 %if %{with_ping}
1045 %define _with_ping --enable-ping
1046 %else
1047 %define _with_ping --disable-ping
1048 %endif
1049
1050 %if %{with_postgresql}
1051 %define _with_postgresql --enable-postgresql
1052 %else
1053 %define _with_postgresql --disable-postgresql
1054 %endif
1055
1056 %if %{with_powerdns}
1057 %define _with_powerdns --enable-powerdns
1058 %else
1059 %define _with_powerdns --disable-powerdns
1060 %endif
1061
1062 %if %{with_processes}
1063 %define _with_processes --enable-processes
1064 %else
1065 %define _with_processes --disable-processes
1066 %endif
1067
1068 %if %{with_protocols}
1069 %define _with_protocols --enable-protocols
1070 %else
1071 %define _with_protocols --disable-protocols
1072 %endif
1073
1074 %if %{with_python}
1075 %if 0%{?rhel} >= 6
1076 %define _with_python --enable-python
1077 %else
1078 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1079 %endif
1080 %else
1081 %define _with_python --disable-python
1082 %endif
1083
1084 %if %{with_redis}
1085 %define _with_redis --enable-redis
1086 %else
1087 %define _with_redis --disable-redis
1088 %endif
1089
1090 %if %{with_routeros}
1091 %define _with_routeros --enable-routeros
1092 %else
1093 %define _with_routeros --disable-routeros
1094 %endif
1095
1096 %if %{with_rrdcached}
1097 %define _with_rrdcached --enable-rrdcached
1098 %else
1099 %define _with_rrdcached --disable-rrdcached
1100 %endif
1101
1102 %if %{with_rrdtool}
1103 %define _with_rrdtool --enable-rrdtool
1104 %else
1105 %define _with_rrdtool --disable-rrdtool
1106 %endif
1107
1108 %if %{with_sensors}
1109 %define _with_sensors --enable-sensors
1110 %else
1111 %define _with_sensors --disable-sensors
1112 %endif
1113
1114 %if %{with_serial}
1115 %define _with_serial --enable-serial
1116 %else
1117 %define _with_serial --disable-serial
1118 %endif
1119
1120 %if %{with_snmp}
1121 %define _with_snmp --enable-snmp
1122 %else
1123 %define _with_snmp --disable-snmp
1124 %endif
1125
1126 %if %{with_swap}
1127 %define _with_swap --enable-swap
1128 %else
1129 %define _with_swap --disable-swap
1130 %endif
1131
1132 %if %{with_syslog}
1133 %define _with_syslog --enable-syslog
1134 %else
1135 %define _with_syslog --disable-syslog
1136 %endif
1137
1138 %if %{with_table}
1139 %define _with_table --enable-table
1140 %else
1141 %define _with_table --disable-table
1142 %endif
1143
1144 %if %{with_tail}
1145 %define _with_tail --enable-tail
1146 %else
1147 %define _with_tail --disable-tail
1148 %endif
1149
1150 %if %{with_tail_csv}
1151 %define _with_tail_csv --enable-tail_csv
1152 %else
1153 %define _with_tail_csv --disable-tail_csv
1154 %endif
1155
1156 %if %{with_tape}
1157 %define _with_tape --enable-tape
1158 %else
1159 %define _with_tape --disable-tape
1160 %endif
1161
1162 %if %{with_tcpconns}
1163 %define _with_tcpconns --enable-tcpconns
1164 %else
1165 %define _with_tcpconns --disable-tcpconns
1166 %endif
1167
1168 %if %{with_teamspeak2}
1169 %define _with_teamspeak2 --enable-teamspeak2
1170 %else
1171 %define _with_teamspeak2 --disable-teamspeak2
1172 %endif
1173
1174 %if %{with_ted}
1175 %define _with_ted --enable-ted
1176 %else
1177 %define _with_ted --disable-ted
1178 %endif
1179
1180 %if %{with_thermal}
1181 %define _with_thermal --enable-thermal
1182 %else
1183 %define _with_thermal --disable-thermal
1184 %endif
1185
1186 %if %{with_threshold}
1187 %define _with_threshold --enable-threshold
1188 %else
1189 %define _with_threshold --disable-threshold
1190 %endif
1191
1192 %if %{with_tokyotyrant}
1193 %define _with_tokyotyrant --enable-tokyotyrant
1194 %else
1195 %define _with_tokyotyrant --disable-tokyotyrant
1196 %endif
1197
1198 %if %{with_unixsock}
1199 %define _with_unixsock --enable-unixsock
1200 %else
1201 %define _with_unixsock --disable-unixsock
1202 %endif
1203
1204 %if %{with_uptime}
1205 %define _with_uptime --enable-uptime
1206 %else
1207 %define _with_uptime --disable-uptime
1208 %endif
1209
1210 %if %{with_users}
1211 %define _with_users --enable-users
1212 %else
1213 %define _with_users --disable-users
1214 %endif
1215
1216 %if %{with_uuid}
1217 %define _with_uuid --enable-uuid
1218 %else
1219 %define _with_uuid --disable-uuid
1220 %endif
1221
1222 %if %{with_varnish}
1223 %define _with_varnish --enable-varnish
1224 %else
1225 %define _with_varnish --disable-varnish
1226 %endif
1227
1228 %if %{with_vmem}
1229 %define _with_vmem --enable-vmem
1230 %else
1231 %define _with_vmem --disable-vmem
1232 %endif
1233
1234 %if %{with_vserver}
1235 %define _with_vserver --enable-vserver
1236 %else
1237 %define _with_vserver --disable-vserver
1238 %endif
1239
1240 %if %{with_wireless}
1241 %define _with_wireless --enable-wireless
1242 %else
1243 %define _with_wireless --disable-wireless
1244 %endif
1245
1246 %if %{with_write_graphite}
1247 %define _with_write_graphite --enable-write_graphite
1248 %else
1249 %define _with_write_graphite --disable-write_graphite
1250 %endif
1251
1252 %if %{with_write_http}
1253 %define _with_write_http --enable-write_http
1254 %else
1255 %define _with_write_http --disable-write_http
1256 %endif
1257
1258 %if %{with_write_mongodb}
1259 %define _with_write_mongodb --enable-write_mongodb
1260 %else
1261 %define _with_write_mongodb --disable-write_mongodb --without-libmongoc
1262 %endif
1263
1264 %if %{with_write_redis}
1265 %define _with_write_redis --enable-write_redis
1266 %else
1267 %define _with_write_redis --disable-write_redis --without-libcredis
1268 %endif
1269
1270 %if %{with_write_riemann}
1271 %define _with_write_riemann --enable-write_riemann
1272 %else
1273 %define _with_write_riemann --disable-write_riemann
1274 %endif
1275
1276 %if %{with_xmms}
1277 %define _with_xmms --enable-xmms
1278 %else
1279 %define _with_xmms --disable-xmms
1280 %endif
1281
1282 %if %{with_zfs_arc}
1283 %define _with_zfs_arc --enable-zfs_arc
1284 %else
1285 %define _with_zfs_arc --disable-zfs_arc
1286 %endif
1287
1288 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
1289         --disable-static \
1290         --without-included-ltdl \
1291         --enable-all-plugins=yes \
1292         --enable-match_empty_counter \
1293         --enable-match_hashed \
1294         --enable-match_regex \
1295         --enable-match_timediff \
1296         --enable-match_value \
1297         --enable-target_notification \
1298         --enable-target_replace \
1299         --enable-target_scale \
1300         --enable-target_set \
1301         --enable-target_v5upgrade \
1302         %{?_with_aggregation} \
1303         %{?_with_amqp} \
1304         %{?_with_apache} \
1305         %{?_with_apcups} \
1306         %{?_with_apple_sensors} \
1307         %{?_with_ascent} \
1308         %{?_with_battery} \
1309         %{?_with_bind} \
1310         %{?_with_conntrack} \
1311         %{?_with_contextswitch} \
1312         %{?_with_cpu} \
1313         %{?_with_cpufreq} \
1314         %{?_with_csv} \
1315         %{?_with_curl} \
1316         %{?_with_curl_json} \
1317         %{?_with_curl_xml} \
1318         %{?_with_dbi} \
1319         %{?_with_df} \
1320         %{?_with_disk} \
1321         %{?_with_dns} \
1322         %{?_with_email} \
1323         %{?_with_entropy} \
1324         %{?_with_ethstat} \
1325         %{?_with_exec} \
1326         %{?_with_filecount} \
1327         %{?_with_fscache} \
1328         %{?_with_gmond} \
1329         %{?_with_hddtemp} \
1330         %{?_with_interface} \
1331         %{?_with_ipmi} \
1332         %{?_with_iptables} \
1333         %{?_with_ipvs} \
1334         %{?_with_java} \
1335         %{?_with_libvirt} \
1336         %{?_with_lpar} \
1337         %{?_with_memcachec} \
1338         %{?_with_modbus} \
1339         %{?_with_multimeter} \
1340         %{?_with_mysql} \
1341         %{?_with_netapp} \
1342         %{?_with_netlink} \
1343         %{?_with_nginx} \
1344         %{?_with_notify_desktop} \
1345         %{?_with_notify_email} \
1346         %{?_with_nut} \
1347         %{?_with_onewire} \
1348         %{?_with_oracle} \
1349         %{?_with_perl} \
1350         %{?_with_pf} \
1351         %{?_with_pinba} \
1352         %{?_with_ping} \
1353         %{?_with_postgresql} \
1354         %{?_with_python} \
1355         %{?_with_redis} \
1356         %{?_with_routeros} \
1357         %{?_with_rrdcached} \
1358         %{?_with_rrdtool} \
1359         %{?_with_sensors} \
1360         %{?_with_snmp} \
1361         %{?_with_tape} \
1362         %{?_with_tokyotyrant} \
1363         %{?_with_varnish} \
1364         %{?_with_write_http} \
1365         %{?_with_write_mongodb} \
1366         %{?_with_write_redis} \
1367         %{?_with_xmms} \
1368         %{?_with_zfs_arc} \
1369         %{?_with_irq} \
1370         %{?_with_load} \
1371         %{?_with_logfile} \
1372         %{?_with_madwifi} \
1373         %{?_with_mbmon} \
1374         %{?_with_md} \
1375         %{?_with_memcached} \
1376         %{?_with_memory} \
1377         %{?_with_network} \
1378         %{?_with_nfs} \
1379         %{?_with_ntpd} \
1380         %{?_with_numa} \
1381         %{?_with_olsrd} \
1382         %{?_with_openvpn} \
1383         %{?_with_powerdns} \
1384         %{?_with_processes} \
1385         %{?_with_protocols} \
1386         %{?_with_serial} \
1387         %{?_with_swap} \
1388         %{?_with_syslog} \
1389         %{?_with_table} \
1390         %{?_with_tail} \
1391         %{?_with_tail_csv} \
1392         %{?_with_tcpconns} \
1393         %{?_with_teamspeak2} \
1394         %{?_with_ted} \
1395         %{?_with_thermal} \
1396         %{?_with_threshold} \
1397         %{?_with_unixsock} \
1398         %{?_with_uptime} \
1399         %{?_with_users} \
1400         %{?_with_uuid} \
1401         %{?_with_vmem} \
1402         %{?_with_vserver} \
1403         %{?_with_wireless}\
1404         %{?_with_write_graphite} \
1405         %{?_with_write_http} \
1406         %{?_with_write_riemann}
1407
1408
1409 %{__make} %{?_smp_mflags}
1410
1411
1412 %install
1413 rm -rf %{buildroot}
1414 %{__make} install DESTDIR=%{buildroot}
1415 %{__install} -Dp -m 0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
1416 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
1417 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
1418 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
1419
1420 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
1421 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
1422
1423 %{__cp} -a contrib/collection3 %{buildroot}%{_localstatedir}/www
1424 %{__cp} -a contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1425
1426 %{__cp} -a contrib/php-collection %{buildroot}%{_localstatedir}/www
1427 %{__cp} -a contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1428
1429 ### Clean up docs
1430 find contrib/ -type f -exec %{__chmod} a-x {} \;
1431 # *.la files shouldn't be distributed.
1432 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
1433
1434 # Move the Perl examples to a separate directory.
1435 mkdir perl-examples
1436 find contrib -name '*.p[lm]' -exec mv {} perl-examples/ \;
1437
1438 # Remove Perl hidden .packlist files.
1439 find %{buildroot} -type f -name .packlist -delete
1440 # Remove Perl temporary file perllocal.pod
1441 find %{buildroot} -type f -name perllocal.pod -delete
1442
1443 %if ! %{with_java}
1444 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
1445 %endif
1446
1447 %if ! %{with_perl}
1448 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
1449 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
1450 rm -fr perl-examples/
1451 rm -fr %{buildroot}/usr/lib/perl5/
1452 %endif
1453
1454 %if ! %{with_python}
1455 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
1456 %endif
1457
1458 %if ! %{with_snmp}
1459 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
1460 %endif
1461
1462
1463 %clean
1464 rm -rf %{buildroot}
1465
1466 %post
1467 /sbin/chkconfig --add collectd
1468
1469 %preun
1470 if [ $1 -eq 0 ]; then
1471         /sbin/service collectd stop &>/dev/null
1472         /sbin/chkconfig --del collectd
1473 fi
1474
1475 %postun
1476 if [ $1 -ge 1 ]; then
1477         /sbin/service collectd condrestart &>/dev/null || :
1478 fi
1479
1480 %post -n libcollectdclient -p /sbin/ldconfig
1481 %postun -n libcollectdclient -p /sbin/ldconfig
1482
1483
1484 %files
1485 %doc AUTHORS COPYING ChangeLog README
1486 %config(noreplace) %{_sysconfdir}/collectd.conf
1487 %{_initrddir}/collectd
1488 %{_sbindir}/collectd
1489 %{_bindir}/collectd-nagios
1490 %{_bindir}/collectd-tg
1491 %{_bindir}/collectdctl
1492 %{_sbindir}/collectdmon
1493 %{_datadir}/collectd/
1494 %{_sharedstatedir}/collectd
1495 %{_mandir}/man1/collectd-nagios.1*
1496 %{_mandir}/man1/collectd.1*
1497 %{_mandir}/man1/collectdctl.1*
1498 %{_mandir}/man1/collectdmon.1*
1499 %{_mandir}/man1/collectd-tg.1*
1500 %{_mandir}/man5/collectd-email.5*
1501 %{_mandir}/man5/collectd-exec.5*
1502 %{_mandir}/man5/collectd-threshold.5*
1503 %{_mandir}/man5/collectd-unixsock.5*
1504 %{_mandir}/man5/collectd.conf.5*
1505 %{_mandir}/man5/types.db.5*
1506
1507 # all plugins bundled with the main collectd package
1508 %{_libdir}/%{name}/match_empty_counter.so
1509 %{_libdir}/%{name}/match_hashed.so
1510 %{_libdir}/%{name}/match_regex.so
1511 %{_libdir}/%{name}/match_timediff.so
1512 %{_libdir}/%{name}/match_value.so
1513 %{_libdir}/%{name}/target_notification.so
1514 %{_libdir}/%{name}/target_replace.so
1515 %{_libdir}/%{name}/target_scale.so
1516 %{_libdir}/%{name}/target_set.so
1517 %{_libdir}/%{name}/target_v5upgrade.so
1518
1519 %if %{with_aggregation}
1520 %{_libdir}/%{name}/aggregation.so
1521 %endif
1522 %if %{with_apcups}
1523 %{_libdir}/%{name}/apcups.so
1524 %endif
1525 %if %{with_battery}
1526 %{_libdir}/%{name}/battery.so
1527 %endif
1528 %if %{with_conntrack}
1529 %{_libdir}/%{name}/conntrack.so
1530 %endif
1531 %if %{with_contextswitch}
1532 %{_libdir}/%{name}/contextswitch.so
1533 %endif
1534 %if %{with_cpu}
1535 %{_libdir}/%{name}/cpu.so
1536 %endif
1537 %if %{with_cpufreq}
1538 %{_libdir}/%{name}/cpufreq.so
1539 %endif
1540 %if %{with_csv}
1541 %{_libdir}/%{name}/csv.so
1542 %endif
1543 %if %{with_df}
1544 %{_libdir}/%{name}/df.so
1545 %endif
1546 %if %{with_disk}
1547 %{_libdir}/%{name}/disk.so
1548 %endif
1549 %if %{with_ethstat}
1550 %{_libdir}/%{name}/ethstat.so
1551 %endif
1552 %if %{with_entropy}
1553 %{_libdir}/%{name}/entropy.so
1554 %endif
1555 %if %{with_exec}
1556 %{_libdir}/%{name}/exec.so
1557 %endif
1558 %if %{with_filecount}
1559 %{_libdir}/%{name}/filecount.so
1560 %endif
1561 %if %{with_fscache}
1562 %{_libdir}/%{name}/fscache.so
1563 %endif
1564 %if %{with_interface}
1565 %{_libdir}/%{name}/interface.so
1566 %endif
1567 %if %{with_ipvs}
1568 %{_libdir}/%{name}/ipvs.so
1569 %endif
1570 %if %{with_irq}
1571 %{_libdir}/%{name}/irq.so
1572 %endif
1573 %if %{with_load}
1574 %{_libdir}/%{name}/load.so
1575 %endif
1576 %if %{with_logfile}
1577 %{_libdir}/%{name}/logfile.so
1578 %endif
1579 %if %{with_madwifi}
1580 %{_libdir}/%{name}/madwifi.so
1581 %endif
1582 %if %{with_mbmon}
1583 %{_libdir}/%{name}/mbmon.so
1584 %endif
1585 %if %{with_md}
1586 %{_libdir}/%{name}/md.so
1587 %endif
1588 %if %{with_memcached}
1589 %{_libdir}/%{name}/memcached.so
1590 %endif
1591 %if %{with_memory}
1592 %{_libdir}/%{name}/memory.so
1593 %endif
1594 %if %{with_multimeter}
1595 %{_libdir}/%{name}/multimeter.so
1596 %endif
1597 %if %{with_network}
1598 %{_libdir}/%{name}/network.so
1599 %endif
1600 %if %{with_nfs}
1601 %{_libdir}/%{name}/nfs.so
1602 %endif
1603 %if %{with_ntpd}
1604 %{_libdir}/%{name}/ntpd.so
1605 %endif
1606 %if %{with_numa}
1607 %{_libdir}/%{name}/numa.so
1608 %endif
1609 %if %{with_openvpn}
1610 %{_libdir}/%{name}/openvpn.so
1611 %endif
1612 %if %{with_olsrd}
1613 %{_libdir}/%{name}/olsrd.so
1614 %endif
1615 %if %{with_powerdns}
1616 %{_libdir}/%{name}/powerdns.so
1617 %endif
1618 %if %{with_processes}
1619 %{_libdir}/%{name}/processes.so
1620 %endif
1621 %if %{with_protocols}
1622 %{_libdir}/%{name}/protocols.so
1623 %endif
1624 %if %{with_serial}
1625 %{_libdir}/%{name}/serial.so
1626 %endif
1627 %if %{with_swap}
1628 %{_libdir}/%{name}/swap.so
1629 %endif
1630 %if %{with_syslog}
1631 %{_libdir}/%{name}/syslog.so
1632 %endif
1633 %if %{with_table}
1634 %{_libdir}/%{name}/table.so
1635 %endif
1636 %if %{with_tail}
1637 %{_libdir}/%{name}/tail.so
1638 %endif
1639 %if %{with_tail_csv}
1640 %{_libdir}/%{name}/tail_csv.so
1641 %endif
1642 %if %{with_tcpconns}
1643 %{_libdir}/%{name}/tcpconns.so
1644 %endif
1645 %if %{with_teamspeak2}
1646 %{_libdir}/%{name}/teamspeak2.so
1647 %endif
1648 %if %{with_ted}
1649 %{_libdir}/%{name}/ted.so
1650 %endif
1651 %if %{with_thermal}
1652 %{_libdir}/%{name}/thermal.so
1653 %endif
1654 %if %{with_load}
1655 %{_libdir}/%{name}/threshold.so
1656 %endif
1657 %if %{with_unixsock}
1658 %{_libdir}/%{name}/unixsock.so
1659 %endif
1660 %if %{with_uptime}
1661 %{_libdir}/%{name}/uptime.so
1662 %endif
1663 %if %{with_users}
1664 %{_libdir}/%{name}/users.so
1665 %endif
1666 %if %{with_uuid}
1667 %{_libdir}/%{name}/uuid.so
1668 %endif
1669 %if %{with_vmem}
1670 %{_libdir}/%{name}/vmem.so
1671 %endif
1672 %if %{with_vserver}
1673 %{_libdir}/%{name}/vserver.so
1674 %endif
1675 %if %{with_wireless}
1676 %{_libdir}/%{name}/wireless.so
1677 %endif
1678 %if %{with_write_graphite}
1679 %{_libdir}/%{name}/write_graphite.so
1680 %endif
1681
1682
1683 %files -n libcollectdclient-devel
1684 %{_includedir}/collectd/client.h
1685 %{_includedir}/collectd/network.h
1686 %{_includedir}/collectd/network_buffer.h
1687 %{_includedir}/collectd/lcc_features.h
1688 %{_libdir}/pkgconfig/libcollectdclient.pc
1689
1690 %files -n libcollectdclient
1691 %{_libdir}/libcollectdclient.so
1692 %{_libdir}/libcollectdclient.so.*
1693
1694 %if %{with_amqp}
1695 %files amqp
1696 %{_libdir}/%{name}/amqp.so
1697 %endif
1698
1699 %if %{with_apache}
1700 %files apache
1701 %{_libdir}/%{name}/apache.so
1702 %endif
1703
1704 %if %{with_ascent}
1705 %files ascent
1706 %{_libdir}/%{name}/ascent.so
1707 %endif
1708
1709 %if %{with_bind}
1710 %files bind
1711 %{_libdir}/%{name}/bind.so
1712 %endif
1713
1714 %if %{with_curl}
1715 %files curl
1716 %{_libdir}/%{name}/curl.so
1717 %endif
1718
1719 %if %{with_curl_json}
1720 %files curl_json
1721 %{_libdir}/%{name}/curl_json.so
1722 %endif
1723
1724 %if %{with_curl_xml}
1725 %files curl_xml
1726 %{_libdir}/%{name}/curl_xml.so
1727 %endif
1728
1729 %if %{with_dns}
1730 %files dns
1731 %{_libdir}/%{name}/dns.so
1732 %endif
1733
1734 %if %{with_dbi}
1735 %files dbi
1736 %{_libdir}/%{name}/dbi.so
1737 %endif
1738
1739 %if %{with_email}
1740 %files email
1741 %{_libdir}/%{name}/email.so
1742 %endif
1743
1744 %if %{with_gmond}
1745 %files gmond
1746 %{_libdir}/%{name}/gmond.so
1747 %endif
1748
1749 %if %{with_hddtemp}
1750 %files hddtemp
1751 %{_libdir}/%{name}/hddtemp.so
1752 %endif
1753
1754 %if %{with_ipmi}
1755 %files ipmi
1756 %{_libdir}/%{name}/ipmi.so
1757 %endif
1758
1759 %if %{with_iptables}
1760 %files iptables
1761 %{_libdir}/%{name}/iptables.so
1762 %endif
1763
1764 %if %{with_java}
1765 %files java
1766 %{_prefix}/share/collectd/java/collectd-api.jar
1767 %{_prefix}/share/collectd/java/generic-jmx.jar
1768 %{_libdir}/%{name}/java.so
1769 %{_mandir}/man5/collectd-java.5*
1770 %endif
1771
1772 %if %{with_libvirt}
1773 %files libvirt
1774 %{_libdir}/%{name}/libvirt.so
1775 %endif
1776
1777 %if %{with_memcachec}
1778 %files memcachec
1779 %{_libdir}/%{name}/memcachec.so
1780 %endif
1781
1782 %if %{with_modbus}
1783 %files modbus
1784 %{_libdir}/%{name}/modbus.so
1785 %endif
1786
1787 %if %{with_mysql}
1788 %files mysql
1789 %{_libdir}/%{name}/mysql.so
1790 %endif
1791
1792 %if %{with_nginx}
1793 %files nginx
1794 %{_libdir}/%{name}/nginx.so
1795 %endif
1796
1797 %if %{with_notify_desktop}
1798 %files notify_desktop
1799 %{_libdir}/%{name}/notify_desktop.so
1800 %endif
1801
1802 %if %{with_notify_email}
1803 %files notify_email
1804 %{_libdir}/%{name}/notify_email.so
1805 %endif
1806
1807 %if %{with_nut}
1808 %files nut
1809 %{_libdir}/%{name}/nut.so
1810 %endif
1811
1812 %if %{with_perl}
1813 %files perl
1814 %doc perl-examples/*
1815 %{perl_vendorlib}/Collectd.pm
1816 %{perl_vendorlib}/Collectd/
1817 %{_mandir}/man3/Collectd::Unixsock.3pm*
1818 %{_mandir}/man5/collectd-perl.5*
1819 %{_libdir}/%{name}/perl.so
1820 %endif
1821
1822 %if %{with_pinba}
1823 %files pinba
1824 %{_libdir}/%{name}/pinba.so
1825 %endif
1826
1827 %if %{with_ping}
1828 %files ping
1829 %{_libdir}/%{name}/ping.so
1830 %endif
1831
1832 %if %{with_postgresql}
1833 %files postgresql
1834 %{_prefix}/share/collectd/postgresql_default.conf
1835 %{_libdir}/%{name}/postgresql.so
1836 %endif
1837
1838 %if %{with_python}
1839 %files python
1840 %{_mandir}/man5/collectd-python*
1841 %{_libdir}/%{name}/python.so
1842 %endif
1843
1844 %if %{with_redis}
1845 %files redis
1846 %{_libdir}/%{name}/redis.so
1847 %endif
1848
1849 %if %{with_rrdcached}
1850 %files rrdcached
1851 %{_libdir}/%{name}/rrdcached.so
1852 %endif
1853
1854 %if %{with_rrdtool}
1855 %files rrdtool
1856 %{_libdir}/%{name}/rrdtool.so
1857 %endif
1858
1859 %if %{with_sensors}
1860 %files sensors
1861 %{_libdir}/%{name}/sensors.so
1862 %endif
1863
1864 %if %{with_snmp}
1865 %files snmp
1866 %{_mandir}/man5/collectd-snmp.5*
1867 %{_libdir}/%{name}/snmp.so
1868 %endif
1869
1870 %if %{with_varnish}
1871 %files varnish
1872 %{_libdir}/%{name}/varnish.so
1873 %endif
1874
1875 %if %{with_write_http}
1876 %files write_http
1877 %{_libdir}/%{name}/write_http.so
1878 %endif
1879
1880 %if %{with_write_redis}
1881 %files write_redis
1882 %{_libdir}/%{name}/write_redis.so
1883 %endif
1884
1885 %if %{with_write_riemann}
1886 %files write_riemann
1887 %{_libdir}/%{name}/write_riemann.so
1888 %endif
1889
1890 %files collection3
1891 %{_localstatedir}/www/collection3
1892 %{_sysconfdir}/httpd/conf.d/collection3.conf
1893
1894 %files php-collection
1895 %{_localstatedir}/www/php-collection
1896 %{_sysconfdir}/httpd/conf.d/php-collection.conf
1897
1898 %files contrib
1899 %doc contrib/
1900
1901 %changelog
1902 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
1903 - New upstream version
1904 - Added RHEL5 support:
1905   * conditionally disable plugins not building on this platform
1906   * add/specify some build dependencies and options
1907   * replace some RPM macros not available on this platform
1908 - Removed duplicate --enable-aggregation
1909 - Added some comments & usage examples
1910 - Replaced a couple of "Buildrequires" by "BuildRequires"
1911 - Enabled modbus plugin
1912 - Allow perl plugin to build on RHEL5
1913 - Add support for RHEL7
1914
1915 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
1916 - New upstream version
1917 - Enabled write_riemann plugin
1918 - Enabled tail_csv plugin
1919 - Installed collectd-tc manpage
1920
1921 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
1922 - remove dependency on libstatgrab, which isn't required on linux
1923
1924 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
1925 - collection3 and php-collection viewers are now in separate packages
1926
1927 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
1928 - New upstream version
1929 - Enabled aggregation plugin
1930 - Installed collectd-tc
1931 - Added network.h and network_buffer.h to libcollectdclient-devel
1932 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
1933 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
1934 - Added rrdcached and redis plugin descriptions
1935 - Mentioned new pf plugin in disabled plugins list
1936
1937 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
1938 - Follow Fedora Packaging Guidelines in java subpackage
1939
1940 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
1941 - Move perl stuff to perl_vendorlib
1942 - Replace hardcoded paths with macros
1943 - Remove unneccesary Requires
1944 - Removed .a and .la files
1945 - Some other small cleanups
1946
1947 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
1948 - New upstream version
1949 - Changes to support 5.1.0
1950 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
1951 - All plugins requiring external libraries are now shipped in seperate
1952   packages.
1953 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
1954   the build process + ensure build deps are installed.
1955 - Dropped per-plugin configuration files, as they tend to diverge from upstream
1956   defaults.
1957 - Moved perl stuff to /usr/share/perl5/
1958 - Don't alter Interval and ReadThreads by default, let the user change this
1959   himself.
1960 - Initscript improvements:
1961   * checks configuration before (re)starting, based on debian's initscript
1962   * use /etc/sysconfig instdead of /etc/default
1963   * include optional $ARGS in arguments passed to collectd.
1964 - Drop collection.cgi from main package, as it's been obsoleted by collection3
1965 - Moved contrib/ to its own package, to avoid cluttering the main package with
1966   non-essential stuff.
1967 - Replaced BuildPrereq by BuildRequires
1968
1969 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
1970 - New upstream version
1971 - Changes to support 5.0.1
1972
1973 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
1974 - New upstream version
1975 - Changes to support 4.9.0
1976 - Added support for Java/GenericJMX plugin
1977
1978 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
1979 - New upstream version
1980 - Changes to support 4.3.1
1981 - Added More Prereqs to support more plugins
1982 - Added support for perl plugin
1983
1984 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
1985 - New upstream version
1986
1987 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
1988 - New major releas
1989 - Changes to support 4.0.5
1990
1991 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
1992 - fixed spec file to build correctly on fedora core
1993 - added improved init.d script to work with chkconfig
1994 - added %%post and %%postun to call chkconfig automatically
1995
1996 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
1997 - New upstream version
1998
1999 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
2000 - New upstream version
2001
2002 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
2003 - New upstream version
2004
2005 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
2006 - New upstream version
2007
2008 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
2009 - New upstream version
2010
2011 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
2012 - New upstream version
2013
2014 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
2015 - New upstream version
2016 - Added the `apache' package.
2017
2018 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
2019 - New upstream version
2020
2021 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
2022 - New upstream version
2023
2024 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
2025 - New upstream version
2026
2027 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
2028 - Include `tape.so' so the build doesn't terminate because of missing files..
2029 - New upstream version
2030
2031 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
2032 - New upstream version
2033
2034 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
2035 - New upstream version
2036 - Removed the extra `hddtemp' package
2037
2038 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
2039 - New upstream version
2040
2041 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
2042 - New upstream version
2043
2044 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
2045 - New upstream version
2046 - Added config file, `collectd.conf(5)', `df.so'
2047 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
2048
2049 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
2050 - New upstream version
2051
2052 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
2053 - New upstream version
2054
2055 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
2056 - New upstream version
2057
2058 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
2059 - New upstream version
2060 - Added statement to remove the `*.la' files. This fixes a problem when
2061   `Unpackaged files terminate build' is in effect.
2062 - Added `processes.so*' to the main package
2063
2064 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
2065 - New upstream version
2066 - Added package `collectd-hddtemp'
2067
2068 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
2069 - New upstream version
2070 - Split the package into `collectd' and `collectd-sensors'
2071
2072 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
2073 - New upstream version
2074
2075 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
2076 - New upstream version
2077
2078 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
2079 - New upstream version
2080
2081 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
2082 - New upstream version
2083
2084 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
2085 - New upstream version
2086
2087 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
2088 - New upstream version
2089
2090 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
2091 - New upstream version
2092
2093 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
2094 - New upstream version
2095
2096 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
2097 - Built on RedHat 7.3