Merge branch 'collectd-5.6' into collectd-5.7
[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 # - fetch the desired collectd release file from https://collectd.org/files/
18 #   and save it in your ~/rpmbuild/SOURCES/ directory (or build your own out of
19 #   the git repository: ./build.sh && ./configure && make-dist-bz2)
20 #
21 # - copy this file in your ~/rpmbuild/SPECS/ directory. Make sure the
22 #   "Version:" tag matches the version from the tarball.
23 #
24 # - build the SRPM first:
25 #   mock -r centos-6-x86_64 --buildsrpm --spec ~/rpmbuild/SPECS/collectd.spec \
26 #     --sources ~/rpmbuild/SOURCES/
27 #
28 # - then build the RPMs:
29 #   mock -r centos-6-x86_64 --no-clean --rebuild \
30 #     /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
31 #
32 # - you can also optionally enable/disable plugins which are disabled/enabled
33 #   by default:
34 #   mock -r centos-6-x86_64 --no-clean --without=java --with=oracle --rebuild \
35 #     /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
36 #
37
38 %global _hardened_build 1
39 %{?perl_default_filter}
40
41 # plugins enabled by default
42 %define with_aggregation 0%{!?_without_aggregation:1}
43 %define with_amqp 0%{!?_without_amqp:1}
44 %define with_apache 0%{!?_without_apache:1}
45 %define with_apcups 0%{!?_without_apcups:1}
46 %define with_ascent 0%{!?_without_ascent:1}
47 %define with_battery 0%{!?_without_battery:1}
48 %define with_bind 0%{!?_without_bind:1}
49 %define with_ceph 0%{!?_without_ceph:1}
50 %define with_cgroups 0%{!?_without_cgroups:1}
51 %define with_chrony 0%{!?_without_chrony:1}
52 %define with_conntrack 0%{!?_without_conntrack:1}
53 %define with_contextswitch 0%{!?_without_contextswitch:1}
54 %define with_cpu 0%{!?_without_cpu:1}
55 %define with_cpufreq 0%{!?_without_cpufreq:1}
56 %define with_cpusleep 0%{!?_without_cpusleep:1}
57 %define with_csv 0%{!?_without_csv:1}
58 %define with_curl 0%{!?_without_curl:1}
59 %define with_curl_json 0%{!?_without_curl_json:1}
60 %define with_curl_xml 0%{!?_without_curl_xml:1}
61 %define with_dbi 0%{!?_without_dbi:1}
62 %define with_df 0%{!?_without_df:1}
63 %define with_disk 0%{!?_without_disk:1}
64 %define with_dns 0%{!?_without_dns:1}
65 %define with_drbd 0%{!?_without_drbd:1}
66 %define with_email 0%{!?_without_email:1}
67 %define with_entropy 0%{!?_without_entropy:1}
68 %define with_ethstat 0%{!?_without_ethstat:1}
69 %define with_exec 0%{!?_without_exec:1}
70 %define with_fhcount 0%{!?_without_fhcount:1}
71 %define with_filecount 0%{!?_without_filecount:1}
72 %define with_fscache 0%{!?_without_fscache:1}
73 %define with_gmond 0%{!?_without_gmond:1}
74 %define with_gps 0%{!?_without_gps:1}
75 %define with_hddtemp 0%{!?_without_hddtemp:1}
76 %define with_hugepages 0%{!?_without_hugepages:1}
77 %define with_interface 0%{!?_without_interface:1}
78 %define with_ipc 0%{!?_without_ipc:1}
79 %define with_ipmi 0%{!?_without_ipmi:1}
80 %define with_iptables 0%{!?_without_iptables:1}
81 %define with_ipvs 0%{!?_without_ipvs:1}
82 %define with_irq 0%{!?_without_irq:1}
83 %define with_java 0%{!?_without_java:1}
84 %define with_load 0%{!?_without_load:1}
85 %define with_log_logstash 0%{!?_without_log_logstash:1}
86 %define with_logfile 0%{!?_without_logfile:1}
87 %define with_lua 0%{!?_without_lua:1}
88 %define with_lvm 0%{!?_without_lvm:1}
89 %define with_madwifi 0%{!?_without_madwifi:1}
90 %define with_mbmon 0%{!?_without_mbmon:1}
91 %define with_md 0%{!?_without_md:1}
92 %define with_memcachec 0%{!?_without_memcachec:1}
93 %define with_memcached 0%{!?_without_memcached:1}
94 %define with_memory 0%{!?_without_memory:1}
95 %define with_modbus 0%{!?_without_modbus:1}
96 %define with_mqtt 0%{!?_without_mqtt:1}
97 %define with_multimeter 0%{!?_without_multimeter:1}
98 %define with_mysql 0%{!?_without_mysql:1}
99 %define with_netlink 0%{!?_without_netlink:1}
100 %define with_network 0%{!?_without_network:1}
101 %define with_nfs 0%{!?_without_nfs:1}
102 %define with_nginx 0%{!?_without_nginx:1}
103 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
104 %define with_notify_email 0%{!?_without_notify_email:1}
105 %define with_notify_nagios 0%{!?_without_notify_nagios:1}
106 %define with_ntpd 0%{!?_without_ntpd:1}
107 %define with_numa 0%{!?_without_numa:1}
108 %define with_nut 0%{!?_without_nut:1}
109 %define with_olsrd 0%{!?_without_olsrd:1}
110 %define with_openldap 0%{!?_without_openldap:1}
111 %define with_openvpn 0%{!?_without_openvpn:1}
112 %define with_perl 0%{!?_without_perl:1}
113 %define with_pinba 0%{!?_without_pinba:1}
114 %define with_ping 0%{!?_without_ping:1}
115 %define with_postgresql 0%{!?_without_postgresql:1}
116 %define with_powerdns 0%{!?_without_powerdns:1}
117 %define with_processes 0%{!?_without_processes:1}
118 %define with_protocols 0%{!?_without_protocols:1}
119 %define with_python 0%{!?_without_python:1}
120 %define with_redis 0%{!?_without_redis:1}
121 %define with_rrdcached 0%{!?_without_rrdcached:1}
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_smart 0%{!?_without_smart:1}
126 %define with_snmp 0%{!?_without_snmp:1}
127 %define with_statsd 0%{!?_without_statsd:1}
128 %define with_swap 0%{!?_without_swap:1}
129 %define with_syslog 0%{!?_without_syslog:1}
130 %define with_table 0%{!?_without_table:1}
131 %define with_tail 0%{!?_without_tail:1}
132 %define with_tail_csv 0%{!?_without_tail_csv:1}
133 %define with_tcpconns 0%{!?_without_tcpconns:1}
134 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
135 %define with_ted 0%{!?_without_ted:1}
136 %define with_thermal 0%{!?_without_thermal:1}
137 %define with_threshold 0%{!?_without_threshold:1}
138 %define with_turbostat 0%{!?_without_turbostat:1}
139 %define with_unixsock 0%{!?_without_unixsock:1}
140 %define with_uptime 0%{!?_without_uptime:1}
141 %define with_users 0%{!?_without_users:1}
142 %define with_uuid 0%{!?_without_uuid:1}
143 %define with_varnish 0%{!?_without_varnish:1}
144 %define with_virt 0%{!?_without_virt:1}
145 %define with_vmem 0%{!?_without_vmem:1}
146 %define with_vserver 0%{!?_without_vserver:1}
147 %define with_wireless 0%{!?_without_wireless:1}
148 %define with_write_graphite 0%{!?_without_write_graphite:1}
149 %define with_write_http 0%{!?_without_write_http:1}
150 %define with_write_log 0%{!?_without_write_log:1}
151 %define with_write_prometheus 0%{!?_without_write_prometheus:1}
152 %define with_write_redis 0%{!?_without_write_redis:1}
153 %define with_write_riemann 0%{!?_without_write_riemann:1}
154 %define with_write_sensu 0%{!?_without_write_sensu:1}
155 %define with_write_tsdb 0%{!?_without_write_tsdb:1}
156 %define with_xmms 0%{!?_without_xmms:0%{?_has_xmms}}
157 %define with_zfs_arc 0%{!?_without_zfs_arc:1}
158 %define with_zookeeper 0%{!?_without_zookeeper:1}
159
160 # Plugins not built by default because of dependencies on libraries not
161 # available in RHEL or EPEL:
162
163 # plugin apple_sensors disabled, requires a Mac
164 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
165 # plugin aquaero disabled, requires a libaquaero5
166 %define with_aquaero 0%{!?_without_aquaero:0}
167 # plugin barometer disabled, requires a libi2c
168 %define with_barometer 0%{!?_without_barometer:0}
169 # plugin grpc disabled, requires protobuf-compiler >= 3.0
170 %define with_grpc 0%{!?_without_grpc:0}
171 # plugin dpdkstat disabled, requires libdpdk
172 %define with_dpdkstat 0%{!?_without_dpdkstat:0}
173 # plugin lpar disabled, requires AIX
174 %define with_lpar 0%{!?_without_lpar:0}
175 # plugin intel_rdt disabled, requires intel-cmt-cat
176 %define with_intel_rdt 0%{!?_without_intel_rdt:0}
177 # plugin mic disabled, requires Mic
178 %define with_mic 0%{!?_without_mic:0}
179 # plugin netapp disabled, requires libnetapp
180 %define with_netapp 0%{!?_without_netapp:0}
181 # plugin onewire disabled, requires libowfs
182 %define with_onewire 0%{!?_without_onewire:0}
183 # plugin oracle disabled, requires Oracle
184 %define with_oracle 0%{!?_without_oracle:0}
185 # plugin oracle disabled, requires BSD
186 %define with_pf 0%{!?_without_pf:0}
187 # plugin routeros disabled, requires librouteros
188 %define with_routeros 0%{!?_without_routeros:0}
189 # plugin sigrok disabled, requires libsigrok
190 %define with_sigrok 0%{!?_without_sigrok:0}
191 # plugin tape disabled, requires libkstat
192 %define with_tape 0%{!?_without_tape:0}
193 # plugin tokyotyrant disabled, requires tcrdb.h
194 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
195 # plugin write_kafka disabled, requires librdkafka
196 %define with_write_kafka 0%{!?_without_write_kafka:0}
197 # plugin write_mongodb disabled, requires libmongoc
198 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
199 # plugin xencpu disabled, requires xen-devel from non-default repo
200 %define with_xencpu 0%{!?_without_xencpu:0}
201 # plugin zone disabled, requires Solaris
202 %define with_zone 0%{!?_without_zone:0}
203
204 # Plugins not buildable on RHEL < 6
205 %if 0%{?rhel} && 0%{?rhel} < 6
206 %define with_ceph 0
207 %define with_curl_json 0
208 %define with_log_logstash 0
209 %define with_dns 0
210 %define with_ethstat 0
211 %define with_gmond 0
212 %define with_iptables 0
213 %define with_ipvs 0
214 %define with_lvm 0
215 %define with_modbus 0
216 %define with_netlink 0
217 %define with_redis 0
218 %define with_smart 0
219 %define with_turbostat 0
220 %define with_write_prometheus 0
221 %define with_write_redis 0
222 %define with_write_riemann 0
223 %endif
224
225 # Plugins not buildable on RHEL < 7
226 %if 0%{?rhel} && 0%{?rhel} < 7
227 %define with_cpusleep 0
228 %define with_gps 0
229 %define with_mqtt 0
230 %define with_redis 0
231 %define with_rrdcached 0
232 %define with_write_redis 0
233 %define with_write_riemann 0
234 %define with_xmms 0
235 %endif
236
237 Summary:        Statistics collection and monitoring daemon
238 Name:           collectd
239 Version:        5.7.1
240 Release:        2%{?dist}
241 URL:            https://collectd.org
242 Source:         https://collectd.org/files/%{name}-%{version}.tar.bz2
243 License:        GPLv2
244 Group:          System Environment/Daemons
245 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
246 BuildRequires:  libgcrypt-devel, kernel-headers, libtool-ltdl-devel, libcap-devel, which, xfsprogs-devel
247 Vendor:         collectd development team <collectd@verplant.org>
248
249 %if 0%{?fedora} || 0%{?rhel} >= 7
250 %{?systemd_requires}
251 BuildRequires:          systemd
252 %else
253 Requires(post):         chkconfig
254 Requires(preun):        chkconfig, initscripts
255 Requires(postun):       initscripts
256 %endif
257
258 %description
259 collectd is a small daemon which collects system information periodically and
260 provides mechanisms to monitor and store the values in a variety of ways. It
261 is written in C for performance. Since the daemon doesn't need to start up
262 every time it wants to update the values it's very fast and easy on the
263 system. Also, the statistics are very fine grained since the files are updated
264 every 10 seconds by default.
265
266 %if %{with_amqp}
267 %package amqp
268 Summary:        AMQP plugin for collectd
269 Group:          System Environment/Daemons
270 Requires:       %{name}%{?_isa} = %{version}-%{release}
271 BuildRequires:  librabbitmq-devel
272 %description amqp
273 The AMQP plugin transmits or receives values collected by collectd via the
274 Advanced Message Queuing Protocol (AMQP).
275 %endif
276
277 %if %{with_apache}
278 %package apache
279 Summary:        Apache plugin for collectd
280 Group:          System Environment/Daemons
281 Requires:       %{name}%{?_isa} = %{version}-%{release}
282 BuildRequires:  curl-devel
283 %description apache
284 This plugin collects data provided by Apache's `mod_status'.
285 %endif
286
287 %if %{with_aquaero}
288 %package aquaero
289 Summary:        aquaero plugin for collectd
290 Group:          System Environment/Daemons
291 Requires:       %{name}%{?_isa} = %{version}-%{release}
292 %description aquaero
293 Various sensors in the Aquaero 5 watercooling board made by Aquacomputer.
294 %endif
295
296 %if %{with_ascent}
297 %package ascent
298 Summary:        Ascent plugin for collectd
299 Group:          System Environment/Daemons
300 Requires:       %{name}%{?_isa} = %{version}-%{release}
301 BuildRequires:  libxml2-devel, curl-devel
302 %description ascent
303 The Ascent plugin reads and parses the statistics page of Ascent, a free and
304 open-source server software for the game World of Warcraft by Blizzard
305 Entertainment.
306 %endif
307
308 %if %{with_barometer}
309 %package barometer
310 Summary:       barometer plugin for collectd
311 Group:         System Environment/Daemons
312 Requires:      %{name}%{?_isa} = %{version}-%{release}
313 %description barometer
314 Collects pressure and temperature from digital barometers.
315 %endif
316
317 %if %{with_bind}
318 %package bind
319 Summary:        Bind plugin for collectd
320 Group:          System Environment/Daemons
321 Requires:       %{name}%{?_isa} = %{version}-%{release}
322 BuildRequires:  libxml2-devel, curl-devel
323 %description bind
324 The BIND plugin retrieves this information that's encoded in XML and provided
325 via HTTP and submits the values to collectd.
326 %endif
327
328 %if %{with_ceph}
329 %package ceph
330 Summary:       Ceph plugin for collectd
331 Group:         System Environment/Daemons
332 Requires:      %{name}%{?_isa} = %{version}-%{release}
333 BuildRequires: yajl-devel
334 %description ceph
335 Ceph plugin for collectd
336 %endif
337
338 %if %{with_chrony}
339 %package chrony
340 Summary:       Chrony plugin for collectd
341 Group:         System Environment/Daemons
342 Requires:      %{name}%{?_isa} = %{version}-%{release}
343 %description chrony
344 Chrony plugin for collectd
345 %endif
346
347 %if %{with_curl}
348 %package curl
349 Summary:        Curl plugin for collectd
350 Group:          System Environment/Daemons
351 Requires:       %{name}%{?_isa} = %{version}-%{release}
352 BuildRequires:  curl-devel
353 %description curl
354 The cURL plugin uses libcurl to read files and then parses them according to
355 the configuration.
356 %endif
357
358 %if %{with_curl_json}
359 %package curl_json
360 Summary:        Curl_json plugin for collectd
361 Group:          System Environment/Daemons
362 Requires:       %{name}%{?_isa} = %{version}-%{release}
363 BuildRequires:  curl-devel, yajl-devel
364 %description curl_json
365 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
366 cURL library and parses it according to the user's configuration.
367 %endif
368
369 %if %{with_curl_xml}
370 %package curl_xml
371 Summary:        Curl_xml plugin for collectd
372 Group:          System Environment/Daemons
373 Requires:       %{name}%{?_isa} = %{version}-%{release}
374 BuildRequires:  curl-devel, libxml2-devel
375 %description curl_xml
376 The cURL-XML plugin reads files using libcurl and parses it as Extensible
377 Markup Language (XML).
378 %endif
379
380 %if %{with_dbi}
381 %package dbi
382 Summary:        DBI plugin for collectd
383 Group:          System Environment/Daemons
384 Requires:       %{name}%{?_isa} = %{version}-%{release}
385 BuildRequires:  libdbi-devel
386 %description dbi
387 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
388 statements on a database and read back the result.
389 %endif
390
391 %if %{with_disk}
392 %package disk
393 Summary:        disk plugin for collectd
394 Group:          System Environment/Daemons
395 Requires:       %{name}%{?_isa} = %{version}-%{release}
396 %{?_has_libudev:BuildRequires:  libudev-devel}
397 %description disk
398 The "disk" plugin collects information about the usage of physical disks and
399 logical disks (partitions).
400 %endif
401
402 %if %{with_dns}
403 %package dns
404 Summary:        DNS plugin for collectd
405 Group:          System Environment/Daemons
406 Requires:       %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
407 BuildRequires:  libpcap-devel >= 1.0
408 %description dns
409 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
410 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
411 packets and collects statistics of your DNS traffic.
412 %endif
413
414 %if %{with_email}
415 %package email
416 Summary:        Email plugin for collectd
417 Group:          System Environment/Daemons
418 Requires:       %{name}%{?_isa} = %{version}-%{release}, spamassassin
419 %description email
420 This plugin collects data provided by spamassassin.
421 %endif
422
423 %if %{with_gmond}
424 %package gmond
425 Summary:        Gmond plugin for collectd
426 Group:          System Environment/Daemons
427 Requires:       %{name}%{?_isa} = %{version}-%{release}
428 BuildRequires:  ganglia-devel
429 %description gmond
430 The gmond plugin subscribes to a Multicast group to receive data from gmond,
431 the client daemon of the Ganglia project.
432 %endif
433
434 %if %{with_gps}
435 %package gps
436 Summary:        GPS plugin for collectd
437 Group:          System Environment/Daemons
438 Requires:       %{name}%{?_isa} = %{version}-%{release}
439 BuildRequires:  gpsd-devel
440 %description gps
441 This plugin monitor gps related data through gpsd.
442 %endif
443
444 %if %{with_grpc}
445 %package grpc
446 Summary:        GRPC plugin for collectd
447 Group:          System Environment/Daemons
448 Requires:       %{name}%{?_isa} = %{version}-%{release}
449 BuildRequires:  protobuf-compiler
450 %description grpc
451 This plugin embeds a gRPC server into Collectd.
452 %endif
453
454 %if %{with_hddtemp}
455 %package hddtemp
456 Summary:        Hddtemp plugin for collectd
457 Group:          System Environment/Daemons
458 Requires:       %{name}%{?_isa} = %{version}-%{release}, hddtemp
459 %description hddtemp
460 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
461 provided via SMART and queried by the external hddtemp daemon.
462 %endif
463
464 %if %{with_intel_rdt}
465 %package intel_rdt
466 Summary:        Intel RDT plugin for collectd
467 Group:          System Environment/Daemons
468 Requires:       %{name}%{?_isa} = %{version}-%{release}
469 BuildRequires:  intel-cmt-cat
470 %description intel_rdt
471 The intel_rdt plugin collects information provided by monitoring features of
472 Intel Resource Director Technology (Intel(R) RDT).
473 %endif
474
475 %if %{with_ipmi}
476 %package ipmi
477 Summary:        IPMI plugin for collectd
478 Group:          System Environment/Daemons
479 Requires:       %{name}%{?_isa} = %{version}-%{release}
480 BuildRequires:  OpenIPMI-devel
481 %description ipmi
482 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
483 using the Intelligent Platform Management Interface (IPMI).
484 %endif
485
486 %if %{with_iptables}
487 %package iptables
488 Summary:        IPtables plugin for collectd
489 Group:          System Environment/Daemons
490 Requires:       %{name}%{?_isa} = %{version}-%{release}
491 BuildRequires:  iptables-devel
492 %description iptables
493 The IPtables plugin can gather statistics from your ip_tables based packet
494 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
495 the byte- and packet-counters of selected rules and submit them to collectd.
496 %endif
497
498 %if %{with_java}
499 %package java
500 Summary:        Java plugin for collectd
501 Group:          System Environment/Daemons
502 Requires:       %{name}%{?_isa} = %{version}-%{release}
503 BuildRequires:  java-devel, jpackage-utils
504 Requires:       java, jpackage-utils
505 %description java
506 This plugin for collectd allows plugins to be written in Java and executed
507 in an embedded JVM.
508 %endif
509
510 %if %{with_log_logstash}
511 %package log_logstash
512 Summary:       log_logstash plugin for collectd
513 Group:         System Environment/Daemons
514 Requires:      %{name}%{?_isa} = %{version}-%{release}
515 BuildRequires: yajl-devel
516 %description log_logstash
517 This plugin logs in logstash JSON format
518 %endif
519
520 %if %{with_lua}
521 %package lua
522 Summary:        Lua plugin for collectd
523 Group:          System Environment/Daemons
524 Requires:       %{name}%{?_isa} = %{version}-%{release}
525 BuildRequires:  lua-devel
526 %description lua
527 The Lua plugin embeds a Lua interpreter into collectd and exposes the
528 application programming interface (API) to Lua scripts.
529 %endif
530
531 %if %{with_lvm}
532 %package lvm
533 Summary:        LVM plugin for collectd
534 Group:          System Environment/Daemons
535 Requires:       %{name}%{?_isa} = %{version}-%{release}
536 BuildRequires:  lvm2-devel
537 %description lvm
538 This plugin collects size of “Logical Volumes” (LV) and “Volume Groups” (VG)
539 of Linux' “Logical Volume Manager” (LVM).
540 %endif
541
542 %if %{with_memcachec}
543 %package memcachec
544 Summary:        Memcachec plugin for collectd
545 Group:          System Environment/Daemons
546 Requires:       %{name}%{?_isa} = %{version}-%{release}
547 BuildRequires:  libmemcached-devel
548 %description memcachec
549 The Memcachec plugin uses libmemcached to read statistics from a Memcached
550 instance. Note that another plugin, named `memcached', exists and does a
551 similar job, without requiring the installation of libmemcached.
552 %endif
553
554 %if %{with_mic}
555 %package mic
556 Summary:        mic plugin for collectd
557 Group:          System Environment/Daemons
558 Requires:       %{name}%{?_isa} = %{version}-%{release}
559 %description mic
560 The mic plugin collects CPU usage, memory usage, temperatures and power
561 consumption from Intel Many Integrated Core (MIC) CPUs.
562 %endif
563
564 %if %{with_modbus}
565 %package modbus
566 Summary:       modbus plugin for collectd
567 Group:         System Environment/Daemons
568 Requires:      %{name}%{?_isa} = %{version}-%{release}
569 BuildRequires:  libmodbus-devel
570 %description modbus
571 The modbus plugin collects values from Modbus/TCP enabled devices
572 %endif
573
574 %if %{with_mysql}
575 %package mysql
576 Summary:        MySQL plugin for collectd
577 Group:          System Environment/Daemons
578 Requires:       %{name}%{?_isa} = %{version}-%{release}
579 BuildRequires:  mysql-devel
580 %description mysql
581 MySQL querying plugin. This plugin provides data of issued commands, called
582 handlers and database traffic.
583 %endif
584
585 %if %{with_mqtt}
586 %package mqtt
587 Summary:        mqtt plugin for collectd
588 Group:          System Environment/Daemons
589 Requires:       %{name}%{?_isa} = %{version}-%{release}
590 BuildRequires:  mosquitto-devel
591 %description mqtt
592 The MQTT plugin publishes and subscribes to MQTT topics.
593 %endif
594
595 %if %{with_netlink}
596 %package netlink
597 Summary:        netlink plugin for collectd
598 Group:          System Environment/Daemons
599 Requires:       %{name}%{?_isa} = %{version}-%{release}
600 BuildRequires:  libmnl-devel, iproute-devel
601 %description netlink
602 The netlink plugin collects detailed network interface and routing statistics.
603 %endif
604
605 %if %{with_nginx}
606 %package nginx
607 Summary:        Nginx plugin for collectd
608 Group:          System Environment/Daemons
609 Requires:       %{name}%{?_isa} = %{version}-%{release}
610 BuildRequires:  curl-devel
611 %description nginx
612 This plugin gets data provided by nginx.
613 %endif
614
615 %if %{with_notify_desktop}
616 %package notify_desktop
617 Summary:        Notify_desktop plugin for collectd
618 Group:          System Environment/Daemons
619 Requires:       %{name}%{?_isa} = %{version}-%{release}
620 BuildRequires:  libnotify-devel, gtk2-devel
621 %description notify_desktop
622 The Notify Desktop plugin uses libnotify to display notifications to the user
623 via the desktop notification specification, i. e. on an X display.
624 %endif
625
626 %if %{with_notify_email}
627 %package notify_email
628 Summary:        Notify_email plugin for collectd
629 Group:          System Environment/Daemons
630 Requires:       %{name}%{?_isa} = %{version}-%{release}
631 BuildRequires:  libesmtp-devel
632 %description notify_email
633 The Notify Email plugin uses libESMTP to send notifications to a configured
634 email address.
635 %endif
636
637 %if %{with_nut}
638 %package nut
639 Summary:        Nut plugin for collectd
640 Group:          System Environment/Daemons
641 Requires:       %{name}%{?_isa} = %{version}-%{release}
642 BuildRequires:  nut-devel
643 %description nut
644 This plugin for collectd provides Network UPS Tools support.
645 %endif
646
647 %if %{with_openldap}
648 %package openldap
649 Summary:       Openldap plugin for collectd
650 Group:         System Environment/Daemons
651 Requires:      %{name}%{?_isa} = %{version}-%{release}
652 BuildRequires: openldap-devel
653 %description openldap
654 This plugin reads monitoring information from OpenLDAP's cn=Monitor subtree.
655 %endif
656
657 %if %{with_perl}
658 %package perl
659 Summary:        Perl plugin for collectd
660 Group:          System Environment/Daemons
661 Requires:       %{name}%{?_isa} = %{version}-%{release}
662 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
663         %if 0%{?rhel} && 0%{?rhel} < 6
664 BuildRequires:  perl
665         %else
666 BuildRequires:  perl-ExtUtils-Embed
667         %endif
668 %description perl
669 The Perl plugin embeds a Perl interpreter into collectd and exposes the
670 application programming interface (API) to Perl-scripts.
671 %endif
672
673 %if %{with_pinba}
674 %package pinba
675 Summary:        Pinba plugin for collectd
676 Group:          System Environment/Daemons
677 Requires:       %{name}%{?_isa} = %{version}-%{release}
678 BuildRequires:  protobuf-c-devel
679 %description pinba
680 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
681 extension for PHP.
682 %endif
683
684 %if %{with_ping}
685 %package ping
686 Summary:        Ping plugin for collectd
687 Group:          System Environment/Daemons
688 Requires:       %{name}%{?_isa} = %{version}-%{release}
689 BuildRequires:  liboping-devel
690 %description ping
691 The Ping plugin measures network latency using ICMP “echo requests”, usually
692 known as “ping”.
693 %endif
694
695 %if %{with_postgresql}
696 %package postgresql
697 Summary:        PostgreSQL plugin for collectd
698 Group:          System Environment/Daemons
699 Requires:       %{name}%{?_isa} = %{version}-%{release}
700 BuildRequires:  postgresql-devel
701 %description postgresql
702 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
703 database.
704 %endif
705
706 %if %{with_python}
707 %package python
708 Summary:        Python plugin for collectd
709 Group:          System Environment/Daemons
710 Requires:       %{name}%{?_isa} = %{version}-%{release}
711         %if 0%{?rhel} && 0%{?rhel} < 6
712 BuildRequires: python26-devel
713         %else
714 BuildRequires: python-devel
715         %endif
716 %description python
717 The Python plugin embeds a Python interpreter into collectd and exposes the
718 application programming interface (API) to Python-scripts.
719 %endif
720
721 %if %{with_redis}
722 %package redis
723 Summary:        Redis plugin for collectd
724 Group:          System Environment/Daemons
725 Requires:       %{name}%{?_isa} = %{version}-%{release}
726 BuildRequires:  hiredis-devel
727 %description redis
728 The Redis plugin connects to one or more instances of Redis, a key-value store,
729 and collects usage information using the hiredis library.
730 %endif
731
732 %if %{with_rrdcached}
733 %package rrdcached
734 Summary:        RRDCached plugin for collectd
735 Group:          System Environment/Daemons
736 Requires:       %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
737 BuildRequires:  rrdtool-devel
738 %description rrdcached
739 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
740 submits updates for RRD files to that daemon.
741 %endif
742
743 %if %{with_rrdtool}
744 %package rrdtool
745 Summary:        RRDtool plugin for collectd
746 Group:          System Environment/Daemons
747 Requires:       %{name}%{?_isa} = %{version}-%{release}
748 BuildRequires:  rrdtool-devel
749 %description rrdtool
750 The RRDtool plugin writes values to RRD-files using librrd.
751 %endif
752
753 %if %{with_sensors}
754 %package sensors
755 Summary:        Sensors plugin for collectd
756 Group:          System Environment/Daemons
757 Requires:       %{name}%{?_isa} = %{version}-%{release}
758 BuildRequires:  lm_sensors-devel
759 %description sensors
760 This plugin for collectd provides querying of sensors supported by lm_sensors.
761 %endif
762
763 %if %{with_sigrok}
764 %package sigrok
765 Summary:        sigrok plugin for collectd
766 Group:          System Environment/Daemons
767 Requires:       %{name}%{?_isa} = %{version}-%{release}
768 %description sigrok
769 Uses libsigrok as a backend, allowing any sigrok-supported device to have its
770 measurements fed to collectd. This includes multimeters, sound level meters,
771 thermometers, and much more.
772 %endif
773
774 %if %{with_smart}
775 %package smart
776 Summary:       SMART plugin for collectd
777 Group:         System Environment/Daemons
778 Requires:      %{name}%{?_isa} = %{version}-%{release}
779 BuildRequires: libatasmart-devel
780 %description smart
781 Collect SMART statistics, notably load cycle count, temperature and bad
782 sectors.
783 %endif
784
785 %if %{with_snmp}
786 %package snmp
787 Summary:        SNMP plugin for collectd
788 Group:          System Environment/Daemons
789 Requires:       %{name}%{?_isa} = %{version}-%{release}
790 BuildRequires:  net-snmp-devel
791 %description snmp
792 This plugin for collectd allows querying of network equipment using SNMP.
793 %endif
794
795 %if %{with_varnish}
796 %package varnish
797 Summary:        Varnish plugin for collectd
798 Group:          System Environment/Daemons
799 Requires:       %{name}%{?_isa} = %{version}-%{release}
800 BuildRequires:  varnish-libs-devel
801 %description varnish
802 The Varnish plugin collects information about Varnish, an HTTP accelerator.
803 %endif
804
805 %if %{with_virt}
806 %package virt
807 Summary:        Virt plugin for collectd
808 Group:          System Environment/Daemons
809 Requires:       %{name}%{?_isa} = %{version}-%{release}
810 BuildRequires:  libvirt-devel
811 %description virt
812 This plugin collects information from virtualized guests.
813 %endif
814
815 %if %{with_write_http}
816 %package write_http
817 Summary:        Write-HTTP plugin for collectd
818 Group:          System Environment/Daemons
819 Requires:       %{name}%{?_isa} = %{version}-%{release}
820 BuildRequires:  curl-devel
821 %description write_http
822 The Write-HTTP plugin sends the values collected by collectd to a web-server
823 using HTTP POST requests.
824 %endif
825
826 %if %{with_write_kafka}
827 %package write_kafka
828 Summary:       Write-kafka plugin for collectd
829 Group:         System Environment/Daemons
830 Requires:      %{name}%{?_isa} = %{version}-%{release}
831 BuildRequires: librdkafka-devel
832 %description write_kafka
833 The write_kafka plugin sends values to kafka, a distributed messaging system.
834 %endif
835
836 %if %{with_write_prometheus}
837 %package write_prometheus
838 Summary:        Write-prometheus plugin for collectd
839 Group:          System Environment/Daemons
840 Requires:       %{name}%{?_isa} = %{version}-%{release}
841 BuildRequires:  libmicrohttpd-devel
842 %description write_prometheus
843 The Write Prometheus plugin exposes collected values using an embedded HTTP
844 server, turning the collectd daemon into a Prometheus exporter.
845 %endif
846
847 %if %{with_write_redis}
848 %package write_redis
849 Summary:        Write-Redis plugin for collectd
850 Group:          System Environment/Daemons
851 Requires:       %{name}%{?_isa} = %{version}-%{release}
852 BuildRequires:  hiredis-devel
853 %description write_redis
854 The Write Redis plugin stores values in Redis, a “data structures server”.
855 %endif
856
857 %if %{with_write_riemann}
858 %package write_riemann
859 Summary:        riemann plugin for collectd
860 Group:          System Environment/Daemons
861 Requires:       %{name}%{?_isa} = %{version}-%{release}
862 BuildRequires:  riemann-c-client-devel >= 1.6
863 %description write_riemann
864 The riemann plugin submits values to Riemann, an event stream processor.
865 %endif
866
867 %if %{with_xencpu}
868 %package xencpu
869 Summary:        xencpu plugin for collectd
870 Group:          System Environment/Daemons
871 Requires:       %{name}%{?_isa} = %{version}-%{release}
872 BuildRequires:  xen-devel
873 %description xencpu
874 The xencpu plugin collects CPU statistics from Xen.
875 %endif
876
877 %if %{with_xmms}
878 %package xmms
879 Summary:        XMMS plugin for collectd
880 Group:          System Environment/Daemons
881 Requires:       %{name}%{?_isa} = %{version}-%{release}
882 BuildRequires:  xmms-devel
883 %description xmms
884 The xmms plugin collects information from the XMMS music player.
885 %endif
886
887 %package collection3
888 Summary:        Web-based viewer for collectd
889 Group:          System Environment/Daemons
890 Requires:       %{name}%{?_isa} = %{version}-%{release}
891 Requires: httpd
892 %description collection3
893 collection3 is a graphing front-end for the RRD files created by and filled
894 with collectd. It is written in Perl and should be run as an CGI-script.
895 Graphs are generated on-the-fly, so no cron job or similar is necessary.
896
897 %package php-collection
898 Summary:        collect php webfrontent
899 Group:          System Environment/Daemons
900 Requires:       collectd = %{version}-%{release}
901 Requires:       httpd
902 Requires:       php
903 Requires:       php-rrdtool
904 %description php-collection
905 PHP graphing frontend for RRD files created by and filled with collectd.
906
907 %package contrib
908 Summary:        Contrib files for collectd
909 Group:          System Environment/Daemons
910 Requires:       %{name}%{?_isa} = %{version}-%{release}
911 %description contrib
912 All the files found under contrib/ in the source tree are bundled in this
913 package.
914
915 %package -n libcollectdclient
916 Summary:        Collectd client library
917 Group:          System Environment/Daemons
918 %description -n libcollectdclient
919 Collectd client library
920
921 %package -n libcollectdclient-devel
922 Summary:        Development files for libcollectdclient
923 Group:          System Environment/Daemons
924 Requires:       pkgconfig
925 Requires:       libcollectdclient%{?_isa} = %{version}-%{release}
926 %description -n libcollectdclient-devel
927 Development files for libcollectdclient
928
929 %package -n collectd-utils
930 Summary:        Collectd utilities
931 Group:          System Environment/Daemons
932 Requires:       libcollectdclient%{?_isa} = %{version}-%{release}
933 Requires:       collectd%{?_isa} = %{version}-%{release}
934 %description -n collectd-utils
935 Collectd utilities
936
937 %prep
938 %setup -q
939
940 %build
941 %if %{with_aggregation}
942 %define _with_aggregation --enable-aggregation
943 %else
944 %define _with_aggregation --disable-aggregation
945 %endif
946
947 %if %{with_amqp}
948 %define _with_amqp --enable-amqp
949 %else
950 %define _with_amqp --disable-amqp
951 %endif
952
953 %if %{with_apache}
954 %define _with_apache --enable-apache
955 %else
956 %define _with_apache --disable-apache
957 %endif
958
959 %if %{with_apcups}
960 %define _with_apcups --enable-apcups
961 %else
962 %define _with_apcups --disable-apcups
963 %endif
964
965 %if %{with_apple_sensors}
966 %define _with_apple_sensors --enable-apple_sensors
967 %else
968 %define _with_apple_sensors --disable-apple_sensors
969 %endif
970
971 %if %{with_aquaero}
972 %define _with_aquaero --enable-aquaero
973 %else
974 %define _with_aquaero --disable-aquaero
975 %endif
976
977 %if %{with_ascent}
978 %define _with_ascent --enable-ascent
979 %else
980 %define _with_ascent --disable-ascent
981 %endif
982
983 %if %{with_barometer}
984 %define _with_barometer --enable-barometer
985 %else
986 %define _with_barometer --disable-barometer
987 %endif
988
989 %if %{with_battery}
990 %define _with_battery --enable-battery
991 %else
992 %define _with_battery --disable-battery
993 %endif
994
995 %if %{with_bind}
996 %define _with_bind --enable-bind
997 %else
998 %define _with_bind --disable-bind
999 %endif
1000
1001 %if %{with_cgroups}
1002 %define _with_cgroups --enable-cgroups
1003 %else
1004 %define _with_cgroups --disable-cgroups
1005 %endif
1006
1007 %if %{with_chrony}
1008 %define _with_chrony --enable-chrony
1009 %else
1010 %define _with_chrony --disable-chrony
1011 %endif
1012
1013 %if %{with_conntrack}
1014 %define _with_conntrack --enable-conntrack
1015 %else
1016 %define _with_conntrack --disable-conntrack
1017 %endif
1018
1019 %if %{with_contextswitch}
1020 %define _with_contextswitch --enable-contextswitch
1021 %else
1022 %define _with_contextswitch --disable-contextswitch
1023 %endif
1024
1025 %if %{with_cpu}
1026 %define _with_cpu --enable-cpu
1027 %else
1028 %define _with_cpu --disable-cpu
1029 %endif
1030
1031 %if %{with_cpufreq}
1032 %define _with_cpufreq --enable-cpufreq
1033 %else
1034 %define _with_cpufreq --disable-cpufreq
1035 %endif
1036
1037 %if %{with_cpusleep}
1038 %define _with_cpusleep --enable-cpusleep
1039 %else
1040 %define _with_cpusleep --disable-cpusleep
1041 %endif
1042
1043 %if %{with_csv}
1044 %define _with_csv --enable-csv
1045 %else
1046 %define _with_csv --disable-csv
1047 %endif
1048
1049 %if %{with_ceph}
1050 %define _with_ceph --enable-ceph
1051 %else
1052 %define _with_ceph --disable-ceph
1053 %endif
1054
1055 %if %{with_curl}
1056 %define _with_curl --enable-curl
1057 %else
1058 %define _with_curl --disable-curl
1059 %endif
1060
1061 %if %{with_curl_json}
1062 %define _with_curl_json --enable-curl_json
1063 %else
1064 %define _with_curl_json --disable-curl_json
1065 %endif
1066
1067 %if %{with_curl_xml}
1068 %define _with_curl_xml --enable-curl_xml
1069 %else
1070 %define _with_curl_xml --disable-curl_xml
1071 %endif
1072
1073 %if %{with_dbi}
1074 %define _with_dbi --enable-dbi
1075 %else
1076 %define _with_dbi --disable-dbi
1077 %endif
1078
1079 %if %{with_df}
1080 %define _with_df --enable-df
1081 %else
1082 %define _with_df --disable-df
1083 %endif
1084
1085 %if %{with_disk}
1086 %define _with_disk --enable-disk
1087 %else
1088 %define _with_disk --disable-disk
1089 %endif
1090
1091 %if %{with_dns}
1092 %define _with_dns --enable-dns
1093 %else
1094 %define _with_dns --disable-dns
1095 %endif
1096
1097 %if %{with_drbd}
1098 %define _with_drbd --enable-drbd
1099 %else
1100 %define _with_drbd --disable-drbd
1101 %endif
1102
1103 %if %{with_dpdkstat}
1104 %define _with_dpdkstat --enable-dpdkstat
1105 %else
1106 %define _with_dpdkstat --disable-dpdkstat
1107 %endif
1108
1109 %if %{with_email}
1110 %define _with_email --enable-email
1111 %else
1112 %define _with_email --disable-email
1113 %endif
1114
1115 %if %{with_entropy}
1116 %define _with_entropy --enable-entropy
1117 %else
1118 %define _with_entropy --disable-entropy
1119 %endif
1120
1121 %if %{with_ethstat}
1122 %define _with_ethstat --enable-ethstat
1123 %else
1124 %define _with_ethstat --disable-ethstat
1125 %endif
1126
1127 %if %{with_exec}
1128 %define _with_exec --enable-exec
1129 %else
1130 %define _with_exec --disable-exec
1131 %endif
1132
1133 %if %{with_fhcount}
1134 %define _with_fhcount --enable-fhcount
1135 %else
1136 %define _with_fhcount --disable-fhcount
1137 %endif
1138
1139 %if %{with_filecount}
1140 %define _with_filecount --enable-filecount
1141 %else
1142 %define _with_filecount --disable-filecount
1143 %endif
1144
1145 %if %{with_fscache}
1146 %define _with_fscache --enable-fscache
1147 %else
1148 %define _with_fscache --disable-fscache
1149 %endif
1150
1151 %if %{with_gmond}
1152 %define _with_gmond --enable-gmond
1153 %else
1154 %define _with_gmond --disable-gmond
1155 %endif
1156
1157 %if %{with_gps}
1158 %define _with_gps --enable-gps
1159 %else
1160 %define _with_gps --disable-gps
1161 %endif
1162
1163 %if %{with_grpc}
1164 %define _with_grpc --enable-grpc
1165 %else
1166 %define _with_grpc --disable-grpc
1167 %endif
1168
1169 %if %{with_hddtemp}
1170 %define _with_hddtemp --enable-hddtemp
1171 %else
1172 %define _with_hddtemp --disable-hddtemp
1173 %endif
1174
1175 %if %{with_hugepages}
1176 %define _with_hugepages --enable-hugepages
1177 %else
1178 %define _with_hugepages --disable-hugepages
1179 %endif
1180
1181 %if %{with_intel_rdt}
1182 %define _with_intel_rdt --enable-intel_rdt
1183 %else
1184 %define _with_intel_rdt --disable-intel_rdt
1185 %endif
1186
1187 %if %{with_interface}
1188 %define _with_interface --enable-interface
1189 %else
1190 %define _with_interface --disable-interface
1191 %endif
1192
1193 %if %{with_ipc}
1194 %define _with_ipc --enable-ipc
1195 %else
1196 %define _with_ipc --disable-ipc
1197 %endif
1198
1199 %if %{with_ipmi}
1200 %define _with_ipmi --enable-ipmi
1201 %else
1202 %define _with_ipmi --disable-ipmi
1203 %endif
1204
1205 %if %{with_iptables}
1206 %define _with_iptables --enable-iptables
1207 %else
1208 %define _with_iptables --disable-iptables
1209 %endif
1210
1211 %if %{with_ipvs}
1212 %define _with_ipvs --enable-ipvs
1213 %else
1214 %define _with_ipvs --disable-ipvs
1215 %endif
1216
1217 %if %{with_irq}
1218 %define _with_irq --enable-irq
1219 %else
1220 %define _with_irq --disable-irq
1221 %endif
1222
1223 %if %{with_java}
1224 %define _with_java --enable-java --with-java=%{java_home}/
1225 %else
1226 %define _with_java --disable-java
1227 %endif
1228
1229 %if %{with_virt}
1230 %define _with_virt --enable-virt
1231 %else
1232 %define _with_virt --disable-virt
1233 %endif
1234
1235 %if %{with_load}
1236 %define _with_load --enable-load
1237 %else
1238 %define _with_load --disable-load
1239 %endif
1240
1241 %if %{with_logfile}
1242 %define _with_logfile --enable-logfile
1243 %else
1244 %define _with_logfile --disable-logfile
1245 %endif
1246
1247 %if %{with_log_logstash}
1248 %define _with_log_logstash --enable-log_logstash
1249 %else
1250 %define _with_log_logstash --disable-log_logstash
1251 %endif
1252
1253 %if %{with_lpar}
1254 %define _with_lpar --enable-lpar
1255 %else
1256 %define _with_lpar --disable-lpar
1257 %endif
1258
1259 %if %{with_lua}
1260 %define _with_lua --enable-lua
1261 %else
1262 %define _with_lua --disable-lua
1263 %endif
1264
1265 %if %{with_lvm}
1266 %define _with_lvm --enable-lvm
1267 %else
1268 %define _with_lvm --disable-lvm
1269 %endif
1270
1271 %if %{with_madwifi}
1272 %define _with_madwifi --enable-madwifi
1273 %else
1274 %define _with_madwifi --disable-madwifi
1275 %endif
1276
1277 %if %{with_mbmon}
1278 %define _with_mbmon --enable-mbmon
1279 %else
1280 %define _with_mbmon --disable-mbmon
1281 %endif
1282
1283 %if %{with_md}
1284 %define _with_md --enable-md
1285 %else
1286 %define _with_md --disable-md
1287 %endif
1288
1289 %if %{with_memcachec}
1290 %define _with_memcachec --enable-memcachec
1291 %else
1292 %define _with_memcachec --disable-memcachec
1293 %endif
1294
1295 %if %{with_memcached}
1296 %define _with_memcached --enable-memcached
1297 %else
1298 %define _with_memcached --disable-memcached
1299 %endif
1300
1301 %if %{with_memory}
1302 %define _with_memory --enable-memory
1303 %else
1304 %define _with_memory --disable-memory
1305 %endif
1306
1307 %if %{with_mic}
1308 %define _with_mic --enable-mic
1309 %else
1310 %define _with_mic --disable-mic
1311 %endif
1312
1313 %if %{with_modbus}
1314 %define _with_modbus --enable-modbus
1315 %else
1316 %define _with_modbus --disable-modbus
1317 %endif
1318
1319 %if %{with_multimeter}
1320 %define _with_multimeter --enable-multimeter
1321 %else
1322 %define _with_multimeter --disable-multimeter
1323 %endif
1324
1325 %if %{with_mqtt}
1326 %define _with_mqtt --enable-mqtt
1327 %else
1328 %define _with_mqtt --disable-mqtt
1329 %endif
1330
1331 %if %{with_mysql}
1332 %define _with_mysql --enable-mysql
1333 %else
1334 %define _with_mysql --disable-mysql
1335 %endif
1336
1337 %if %{with_netapp}
1338 %define _with_netapp --enable-netapp
1339 %else
1340 %define _with_netapp --disable-netapp
1341 %endif
1342
1343 %if %{with_netlink}
1344 %define _with_netlink --enable-netlink
1345 %else
1346 %define _with_netlink --disable-netlink
1347 %endif
1348
1349 %if %{with_network}
1350 %define _with_network --enable-network
1351 %else
1352 %define _with_network --disable-network
1353 %endif
1354
1355 %if %{with_nfs}
1356 %define _with_nfs --enable-nfs
1357 %else
1358 %define _with_nfs --disable-nfs
1359 %endif
1360
1361 %if %{with_nginx}
1362 %define _with_nginx --enable-nginx
1363 %else
1364 %define _with_nginx --disable-nginx
1365 %endif
1366
1367 %if %{with_notify_desktop}
1368 %define _with_notify_desktop --enable-notify_desktop
1369 %else
1370 %define _with_notify_desktop --disable-notify_desktop
1371 %endif
1372
1373 %if %{with_notify_email}
1374 %define _with_notify_email --enable-notify_email
1375 %else
1376 %define _with_notify_email --disable-notify_email
1377 %endif
1378
1379 %if %{with_notify_nagios}
1380 %define _with_notify_nagios --enable-notify_nagios
1381 %else
1382 %define _with_notify_nagios --disable-notify_nagios
1383 %endif
1384
1385 %if %{with_ntpd}
1386 %define _with_ntpd --enable-ntpd
1387 %else
1388 %define _with_ntpd --disable-ntpd
1389 %endif
1390
1391 %if %{with_numa}
1392 %define _with_numa --enable-numa
1393 %else
1394 %define _with_numa --disable-numa
1395 %endif
1396
1397 %if %{with_nut}
1398 %define _with_nut --enable-nut
1399 %else
1400 %define _with_nut --disable-nut
1401 %endif
1402
1403 %if %{with_olsrd}
1404 %define _with_olsrd --enable-olsrd
1405 %else
1406 %define _with_olsrd --disable-olsrd
1407 %endif
1408
1409 %if %{with_onewire}
1410 %define _with_onewire --enable-onewire
1411 %else
1412 %define _with_onewire --disable-onewire
1413 %endif
1414
1415 %if %{with_openldap}
1416 %define _with_openldap --enable-openldap
1417 %else
1418 %define _with_openldap --disable-openldap
1419 %endif
1420
1421 %if %{with_openvpn}
1422 %define _with_openvpn --enable-openvpn
1423 %else
1424 %define _with_openvpn --disable-openvpn
1425 %endif
1426
1427 %if %{with_oracle}
1428 %define _with_oracle --enable-oracle
1429 %else
1430 %define _with_oracle --disable-oracle
1431 %endif
1432
1433 %if %{with_perl}
1434 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1435 %else
1436 %define _with_perl --disable-perl
1437 %endif
1438
1439 %if %{with_pf}
1440 %define _with_pf --enable-pf
1441 %else
1442 %define _with_pf --disable-pf
1443 %endif
1444
1445 %if %{with_pinba}
1446 %define _with_pinba --enable-pinba
1447 %else
1448 %define _with_pinba --disable-pinba
1449 %endif
1450
1451 %if %{with_ping}
1452 %define _with_ping --enable-ping
1453 %else
1454 %define _with_ping --disable-ping
1455 %endif
1456
1457 %if %{with_postgresql}
1458 %define _with_postgresql --enable-postgresql
1459 %else
1460 %define _with_postgresql --disable-postgresql
1461 %endif
1462
1463 %if %{with_powerdns}
1464 %define _with_powerdns --enable-powerdns
1465 %else
1466 %define _with_powerdns --disable-powerdns
1467 %endif
1468
1469 %if %{with_processes}
1470 %define _with_processes --enable-processes
1471 %else
1472 %define _with_processes --disable-processes
1473 %endif
1474
1475 %if %{with_protocols}
1476 %define _with_protocols --enable-protocols
1477 %else
1478 %define _with_protocols --disable-protocols
1479 %endif
1480
1481 %if %{with_python}
1482         %if 0%{?rhel} && 0%{?rhel} < 6
1483 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1484 %define _python_config PYTHON_CONFIG="%{_bindir}/python2.6-config"
1485         %else
1486 %define _with_python --enable-python
1487         %endif
1488 %else
1489 %define _with_python --disable-python
1490 %endif
1491
1492 %if %{with_redis}
1493 %define _with_redis --enable-redis
1494 %else
1495 %define _with_redis --disable-redis
1496 %endif
1497
1498 %if %{with_routeros}
1499 %define _with_routeros --enable-routeros
1500 %else
1501 %define _with_routeros --disable-routeros
1502 %endif
1503
1504 %if %{with_rrdcached}
1505 %define _with_rrdcached --enable-rrdcached
1506 %else
1507 %define _with_rrdcached --disable-rrdcached
1508 %endif
1509
1510 %if %{with_rrdtool}
1511 %define _with_rrdtool --enable-rrdtool
1512 %else
1513 %define _with_rrdtool --disable-rrdtool
1514 %endif
1515
1516 %if %{with_sensors}
1517 %define _with_sensors --enable-sensors
1518 %else
1519 %define _with_sensors --disable-sensors
1520 %endif
1521
1522 %if %{with_serial}
1523 %define _with_serial --enable-serial
1524 %else
1525 %define _with_serial --disable-serial
1526 %endif
1527
1528 %if %{with_sigrok}
1529 %define _with_sigrok --enable-sigrok
1530 %else
1531 %define _with_sigrok --disable-sigrok
1532 %endif
1533
1534 %if %{with_smart}
1535 %define _with_smart --enable-smart
1536 %else
1537 %define _with_smart --disable-smart
1538 %endif
1539
1540 %if %{with_snmp}
1541 %define _with_snmp --enable-snmp
1542 %else
1543 %define _with_snmp --disable-snmp
1544 %endif
1545
1546 %if %{with_statsd}
1547 %define _with_statsd --enable-statsd
1548 %else
1549 %define _with_statsd --disable-statsd
1550 %endif
1551
1552 %if %{with_swap}
1553 %define _with_swap --enable-swap
1554 %else
1555 %define _with_swap --disable-swap
1556 %endif
1557
1558 %if %{with_syslog}
1559 %define _with_syslog --enable-syslog
1560 %else
1561 %define _with_syslog --disable-syslog
1562 %endif
1563
1564 %if %{with_table}
1565 %define _with_table --enable-table
1566 %else
1567 %define _with_table --disable-table
1568 %endif
1569
1570 %if %{with_tail}
1571 %define _with_tail --enable-tail
1572 %else
1573 %define _with_tail --disable-tail
1574 %endif
1575
1576 %if %{with_tail_csv}
1577 %define _with_tail_csv --enable-tail_csv
1578 %else
1579 %define _with_tail_csv --disable-tail_csv
1580 %endif
1581
1582 %if %{with_tape}
1583 %define _with_tape --enable-tape
1584 %else
1585 %define _with_tape --disable-tape
1586 %endif
1587
1588 %if %{with_tcpconns}
1589 %define _with_tcpconns --enable-tcpconns
1590 %else
1591 %define _with_tcpconns --disable-tcpconns
1592 %endif
1593
1594 %if %{with_teamspeak2}
1595 %define _with_teamspeak2 --enable-teamspeak2
1596 %else
1597 %define _with_teamspeak2 --disable-teamspeak2
1598 %endif
1599
1600 %if %{with_ted}
1601 %define _with_ted --enable-ted
1602 %else
1603 %define _with_ted --disable-ted
1604 %endif
1605
1606 %if %{with_thermal}
1607 %define _with_thermal --enable-thermal
1608 %else
1609 %define _with_thermal --disable-thermal
1610 %endif
1611
1612 %if %{with_threshold}
1613 %define _with_threshold --enable-threshold
1614 %else
1615 %define _with_threshold --disable-threshold
1616 %endif
1617
1618 %if %{with_tokyotyrant}
1619 %define _with_tokyotyrant --enable-tokyotyrant
1620 %else
1621 %define _with_tokyotyrant --disable-tokyotyrant
1622 %endif
1623
1624 %if %{with_turbostat}
1625 %define _with_turbostat --enable-turbostat
1626 %else
1627 %define _with_turbostat --disable-turbostat
1628 %endif
1629
1630 %if %{with_unixsock}
1631 %define _with_unixsock --enable-unixsock
1632 %else
1633 %define _with_unixsock --disable-unixsock
1634 %endif
1635
1636 %if %{with_uptime}
1637 %define _with_uptime --enable-uptime
1638 %else
1639 %define _with_uptime --disable-uptime
1640 %endif
1641
1642 %if %{with_users}
1643 %define _with_users --enable-users
1644 %else
1645 %define _with_users --disable-users
1646 %endif
1647
1648 %if %{with_uuid}
1649 %define _with_uuid --enable-uuid
1650 %else
1651 %define _with_uuid --disable-uuid
1652 %endif
1653
1654 %if %{with_varnish}
1655 %define _with_varnish --enable-varnish
1656 %else
1657 %define _with_varnish --disable-varnish
1658 %endif
1659
1660 %if %{with_vmem}
1661 %define _with_vmem --enable-vmem
1662 %else
1663 %define _with_vmem --disable-vmem
1664 %endif
1665
1666 %if %{with_vserver}
1667 %define _with_vserver --enable-vserver
1668 %else
1669 %define _with_vserver --disable-vserver
1670 %endif
1671
1672 %if %{with_wireless}
1673 %define _with_wireless --enable-wireless
1674 %else
1675 %define _with_wireless --disable-wireless
1676 %endif
1677
1678 %if %{with_write_graphite}
1679 %define _with_write_graphite --enable-write_graphite
1680 %else
1681 %define _with_write_graphite --disable-write_graphite
1682 %endif
1683
1684 %if %{with_write_http}
1685 %define _with_write_http --enable-write_http
1686 %else
1687 %define _with_write_http --disable-write_http
1688 %endif
1689
1690 %if %{with_write_kafka}
1691 %define _with_write_kafka --enable-write_kafka
1692 %else
1693 %define _with_write_kafka --disable-write_kafka
1694 %endif
1695
1696 %if %{with_write_log}
1697 %define _with_write_log --enable-write_log
1698 %else
1699 %define _with_write_log --disable-write_log
1700 %endif
1701
1702 %if %{with_write_mongodb}
1703 %define _with_write_mongodb --enable-write_mongodb
1704 %else
1705 %define _with_write_mongodb --disable-write_mongodb
1706 %endif
1707
1708 %if %{with_write_prometheus}
1709 %define _with_write_prometheus --enable-write_prometheus
1710 %else
1711 %define _with_write_prometheus --disable-write_prometheus
1712 %endif
1713
1714 %if %{with_write_redis}
1715 %define _with_write_redis --enable-write_redis
1716 %else
1717 %define _with_write_redis --disable-write_redis
1718 %endif
1719
1720 %if %{with_write_riemann}
1721 %define _with_write_riemann --enable-write_riemann
1722 %else
1723 %define _with_write_riemann --disable-write_riemann
1724 %endif
1725
1726 %if %{with_write_sensu}
1727 %define _with_write_sensu --enable-write_sensu
1728 %else
1729 %define _with_write_sensu --disable-write_sensu
1730 %endif
1731
1732 %if %{with_write_tsdb}
1733 %define _with_write_tsdb --enable-write_tsdb
1734 %else
1735 %define _with_write_tsdb --disable-write_tsdb
1736 %endif
1737
1738 %if %{with_xencpu}
1739 %define _with_xencpu --enable-xencpu
1740 %else
1741 %define _with_xencpu --disable-xencpu
1742 %endif
1743
1744 %if %{with_xmms}
1745 %define _with_xmms --enable-xmms
1746 %else
1747 %define _with_xmms --disable-xmms
1748 %endif
1749
1750 %if %{with_zfs_arc}
1751 %define _with_zfs_arc --enable-zfs_arc
1752 %else
1753 %define _with_zfs_arc --disable-zfs_arc
1754 %endif
1755
1756 %if %{with_zone}
1757 %define _with_zone --enable-zone
1758 %else
1759 %define _with_zone --disable-zone
1760 %endif
1761
1762 %if %{with_zookeeper}
1763 %define _with_zookeeper --enable-zookeeper
1764 %else
1765 %define _with_zookeeper --disable-zookeeper
1766 %endif
1767
1768 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
1769         %{?_python_config} \
1770         --disable-static \
1771         --without-included-ltdl \
1772         --enable-all-plugins=yes \
1773         --enable-match_empty_counter \
1774         --enable-match_hashed \
1775         --enable-match_regex \
1776         --enable-match_timediff \
1777         --enable-match_value \
1778         --enable-target_notification \
1779         --enable-target_replace \
1780         --enable-target_scale \
1781         --enable-target_set \
1782         --enable-target_v5upgrade \
1783         %{?_with_aggregation} \
1784         %{?_with_amqp} \
1785         %{?_with_apache} \
1786         %{?_with_apcups} \
1787         %{?_with_apple_sensors} \
1788         %{?_with_aquaero} \
1789         %{?_with_ascent} \
1790         %{?_with_barometer} \
1791         %{?_with_battery} \
1792         %{?_with_bind} \
1793         %{?_with_ceph} \
1794         %{?_with_cgroups} \
1795         %{?_with_chrony} \
1796         %{?_with_conntrack} \
1797         %{?_with_contextswitch} \
1798         %{?_with_cpufreq} \
1799         %{?_with_cpusleep} \
1800         %{?_with_cpu} \
1801         %{?_with_csv} \
1802         %{?_with_curl_json} \
1803         %{?_with_curl_xml} \
1804         %{?_with_curl} \
1805         %{?_with_dbi} \
1806         %{?_with_df} \
1807         %{?_with_disk} \
1808         %{?_with_dns} \
1809         %{?_with_drbd} \
1810         %{?_with_dpdkstat} \
1811         %{?_with_email} \
1812         %{?_with_entropy} \
1813         %{?_with_ethstat} \
1814         %{?_with_exec} \
1815         %{?_with_fhcount} \
1816         %{?_with_filecount} \
1817         %{?_with_fscache} \
1818         %{?_with_gmond} \
1819         %{?_with_gps} \
1820         %{?_with_grpc} \
1821         %{?_with_hddtemp} \
1822         %{?_with_hugepages} \
1823         %{?_with_intel_rdt} \
1824         %{?_with_interface} \
1825         %{?_with_ipc} \
1826         %{?_with_ipmi} \
1827         %{?_with_iptables} \
1828         %{?_with_ipvs} \
1829         %{?_with_irq} \
1830         %{?_with_java} \
1831         %{?_with_load} \
1832         %{?_with_log_logstash} \
1833         %{?_with_logfile} \
1834         %{?_with_lpar} \
1835         %{?_with_lua} \
1836         %{?_with_lvm} \
1837         %{?_with_madwifi} \
1838         %{?_with_mbmon} \
1839         %{?_with_md} \
1840         %{?_with_memcachec} \
1841         %{?_with_memcached} \
1842         %{?_with_memory} \
1843         %{?_with_mic} \
1844         %{?_with_modbus} \
1845         %{?_with_mqtt} \
1846         %{?_with_multimeter} \
1847         %{?_with_mysql} \
1848         %{?_with_netapp} \
1849         %{?_with_netlink} \
1850         %{?_with_network} \
1851         %{?_with_nfs} \
1852         %{?_with_nginx} \
1853         %{?_with_notify_desktop} \
1854         %{?_with_notify_email} \
1855         %{?_with_notify_nagios} \
1856         %{?_with_ntpd} \
1857         %{?_with_numa} \
1858         %{?_with_nut} \
1859         %{?_with_olsrd} \
1860         %{?_with_onewire} \
1861         %{?_with_openldap} \
1862         %{?_with_openvpn} \
1863         %{?_with_oracle} \
1864         %{?_with_perl} \
1865         %{?_with_pf} \
1866         %{?_with_pinba} \
1867         %{?_with_ping} \
1868         %{?_with_postgresql} \
1869         %{?_with_powerdns} \
1870         %{?_with_processes} \
1871         %{?_with_protocols} \
1872         %{?_with_python} \
1873         %{?_with_redis} \
1874         %{?_with_routeros} \
1875         %{?_with_rrdcached} \
1876         %{?_with_rrdtool} \
1877         %{?_with_sensors} \
1878         %{?_with_serial} \
1879         %{?_with_sigrok} \
1880         %{?_with_smart} \
1881         %{?_with_snmp} \
1882         %{?_with_statsd} \
1883         %{?_with_swap} \
1884         %{?_with_syslog} \
1885         %{?_with_table} \
1886         %{?_with_tail_csv} \
1887         %{?_with_tail} \
1888         %{?_with_tape} \
1889         %{?_with_tcpconns} \
1890         %{?_with_teamspeak2} \
1891         %{?_with_ted} \
1892         %{?_with_thermal} \
1893         %{?_with_threshold} \
1894         %{?_with_tokyotyrant} \
1895         %{?_with_turbostat} \
1896         %{?_with_unixsock} \
1897         %{?_with_uptime} \
1898         %{?_with_users} \
1899         %{?_with_uuid} \
1900         %{?_with_varnish} \
1901         %{?_with_virt} \
1902         %{?_with_vmem} \
1903         %{?_with_vserver} \
1904         %{?_with_wireless}\
1905         %{?_with_write_graphite} \
1906         %{?_with_write_http} \
1907         %{?_with_write_http} \
1908         %{?_with_write_kafka} \
1909         %{?_with_write_log} \
1910         %{?_with_write_mongodb} \
1911         %{?_with_write_prometheus} \
1912         %{?_with_write_redis} \
1913         %{?_with_write_riemann} \
1914         %{?_with_write_sensu} \
1915         %{?_with_write_tsdb} \
1916         %{?_with_xencpu} \
1917         %{?_with_xmms} \
1918         %{?_with_zfs_arc} \
1919         %{?_with_zone} \
1920         %{?_with_zookeeper}
1921
1922
1923 %{__make} %{?_smp_mflags}
1924
1925
1926 %install
1927 rm -rf %{buildroot}
1928 %{__make} install DESTDIR=%{buildroot}
1929 %if 0%{?fedora} || 0%{?rhel} >= 7
1930 %{__install} -Dp -m0644 contrib/systemd.collectd.service %{buildroot}%{_unitdir}/collectd.service
1931 %else
1932 %{__install} -Dp -m0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
1933 %endif
1934 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
1935 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
1936 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
1937
1938 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
1939 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
1940
1941 %{__mv} contrib/collection3 %{buildroot}%{_localstatedir}/www
1942 %{__mv} contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1943
1944 %{__mv} contrib/php-collection %{buildroot}%{_localstatedir}/www
1945 %{__mv} contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1946
1947 ### Clean up docs
1948 find contrib/ -type f -exec %{__chmod} a-x {} \;
1949 # *.la files shouldn't be distributed.
1950 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
1951
1952 # Remove Perl hidden .packlist files.
1953 find %{buildroot} -type f -name .packlist -delete
1954 # Remove Perl temporary file perllocal.pod
1955 find %{buildroot} -type f -name perllocal.pod -delete
1956
1957 %if ! %{with_java}
1958 rm -f %{buildroot}%{_datadir}/collectd/java/collectd-api.jar
1959 rm -f %{buildroot}%{_datadir}/collectd/java/generic-jmx.jar
1960 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
1961 %endif
1962
1963 %if ! %{with_lua}
1964 rm -f %{buildroot}%{_mandir}/man5/collectd-lua.5*
1965 %endif
1966
1967 %if ! %{with_perl}
1968 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
1969 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
1970 rm -fr %{buildroot}/usr/lib/perl5/
1971 %endif
1972
1973 %if ! %{with_postgresql}
1974 rm -f %{buildroot}%{_datadir}/collectd/postgresql_default.conf
1975 %endif
1976
1977 %if ! %{with_python}
1978 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
1979 %endif
1980
1981 %if ! %{with_snmp}
1982 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
1983 %endif
1984
1985
1986 %clean
1987 rm -rf %{buildroot}
1988
1989 %post
1990 %if 0%{?fedora} || 0%{?rhel} >= 7
1991 %systemd_post collectd.service
1992 %else
1993 /sbin/chkconfig --add collectd || :
1994 %endif
1995
1996 %preun
1997 %if 0%{?fedora} || 0%{?rhel} >= 7
1998 %systemd_preun collectd.service
1999 %else
2000 # stop collectd only when uninstalling
2001 if [ $1 -eq 0 ]; then
2002         /sbin/service collectd stop >/dev/null 2>&1 || :
2003         /sbin/chkconfig --del collectd || :
2004 fi
2005 %endif
2006
2007 %postun
2008 %if 0%{?fedora} || 0%{?rhel} >= 7
2009 %systemd_postun_with_restart collectd.service
2010 %else
2011 # restart collectd only when upgrading
2012 if [ $1 -eq 1 ]; then
2013         /sbin/service collectd condrestart >/dev/null 2>&1 || :
2014 fi
2015 %endif
2016
2017 %post -n libcollectdclient -p /sbin/ldconfig
2018 %postun -n libcollectdclient -p /sbin/ldconfig
2019
2020
2021 %files
2022 %doc AUTHORS COPYING ChangeLog README
2023 %config(noreplace) %{_sysconfdir}/collectd.conf
2024 %if 0%{?fedora} || 0%{?rhel} >= 7
2025 %{_unitdir}/collectd.service
2026 %else
2027 %{_initrddir}/collectd
2028 %endif
2029 %{_sbindir}/collectd
2030 %{_sbindir}/collectdmon
2031 %{_datadir}/collectd/types.db
2032 %{_sharedstatedir}/collectd
2033 %{_mandir}/man1/collectd.1*
2034 %{_mandir}/man1/collectdmon.1*
2035 %{_mandir}/man5/collectd-email.5*
2036 %{_mandir}/man5/collectd-exec.5*
2037 %{_mandir}/man5/collectd-threshold.5*
2038 %{_mandir}/man5/collectd-unixsock.5*
2039 %{_mandir}/man5/collectd.conf.5*
2040 %{_mandir}/man5/types.db.5*
2041
2042 # all plugins bundled with the main collectd package
2043 %{_libdir}/%{name}/match_empty_counter.so
2044 %{_libdir}/%{name}/match_hashed.so
2045 %{_libdir}/%{name}/match_regex.so
2046 %{_libdir}/%{name}/match_timediff.so
2047 %{_libdir}/%{name}/match_value.so
2048 %{_libdir}/%{name}/target_notification.so
2049 %{_libdir}/%{name}/target_replace.so
2050 %{_libdir}/%{name}/target_scale.so
2051 %{_libdir}/%{name}/target_set.so
2052 %{_libdir}/%{name}/target_v5upgrade.so
2053
2054 %if %{with_aggregation}
2055 %{_libdir}/%{name}/aggregation.so
2056 %endif
2057 %if %{with_apcups}
2058 %{_libdir}/%{name}/apcups.so
2059 %endif
2060 %if %{with_battery}
2061 %{_libdir}/%{name}/battery.so
2062 %endif
2063 %if %{with_cgroups}
2064 %{_libdir}/%{name}/cgroups.so
2065 %endif
2066 %if %{with_conntrack}
2067 %{_libdir}/%{name}/conntrack.so
2068 %endif
2069 %if %{with_contextswitch}
2070 %{_libdir}/%{name}/contextswitch.so
2071 %endif
2072 %if %{with_cpu}
2073 %{_libdir}/%{name}/cpu.so
2074 %endif
2075 %if %{with_cpufreq}
2076 %{_libdir}/%{name}/cpufreq.so
2077 %endif
2078 %if %{with_cpusleep}
2079 %{_libdir}/%{name}/cpusleep.so
2080 %endif
2081 %if %{with_csv}
2082 %{_libdir}/%{name}/csv.so
2083 %endif
2084 %if %{with_df}
2085 %{_libdir}/%{name}/df.so
2086 %endif
2087 %if %{with_drbd}
2088 %{_libdir}/%{name}/drbd.so
2089 %endif
2090 %if %{with_dpdkstat}
2091 %{_libdir}/%{name}/dpdkstat.so
2092 %endif
2093 %if %{with_ethstat}
2094 %{_libdir}/%{name}/ethstat.so
2095 %endif
2096 %if %{with_entropy}
2097 %{_libdir}/%{name}/entropy.so
2098 %endif
2099 %if %{with_exec}
2100 %{_libdir}/%{name}/exec.so
2101 %endif
2102 %if %{with_fhcount}
2103 %{_libdir}/%{name}/fhcount.so
2104 %endif
2105 %if %{with_filecount}
2106 %{_libdir}/%{name}/filecount.so
2107 %endif
2108 %if %{with_fscache}
2109 %{_libdir}/%{name}/fscache.so
2110 %endif
2111 %if %{with_hugepages}
2112 %{_libdir}/%{name}/hugepages.so
2113 %endif
2114 %if %{with_interface}
2115 %{_libdir}/%{name}/interface.so
2116 %endif
2117 %if %{with_ipc}
2118 %{_libdir}/%{name}/ipc.so
2119 %endif
2120 %if %{with_ipvs}
2121 %{_libdir}/%{name}/ipvs.so
2122 %endif
2123 %if %{with_irq}
2124 %{_libdir}/%{name}/irq.so
2125 %endif
2126 %if %{with_load}
2127 %{_libdir}/%{name}/load.so
2128 %endif
2129 %if %{with_logfile}
2130 %{_libdir}/%{name}/logfile.so
2131 %endif
2132 %if %{with_madwifi}
2133 %{_libdir}/%{name}/madwifi.so
2134 %endif
2135 %if %{with_mbmon}
2136 %{_libdir}/%{name}/mbmon.so
2137 %endif
2138 %if %{with_md}
2139 %{_libdir}/%{name}/md.so
2140 %endif
2141 %if %{with_memcached}
2142 %{_libdir}/%{name}/memcached.so
2143 %endif
2144 %if %{with_memory}
2145 %{_libdir}/%{name}/memory.so
2146 %endif
2147 %if %{with_multimeter}
2148 %{_libdir}/%{name}/multimeter.so
2149 %endif
2150 %if %{with_network}
2151 %{_libdir}/%{name}/network.so
2152 %endif
2153 %if %{with_nfs}
2154 %{_libdir}/%{name}/nfs.so
2155 %endif
2156 %if %{with_notify_nagios}
2157 %{_libdir}/%{name}/notify_nagios.so
2158 %endif
2159 %if %{with_ntpd}
2160 %{_libdir}/%{name}/ntpd.so
2161 %endif
2162 %if %{with_numa}
2163 %{_libdir}/%{name}/numa.so
2164 %endif
2165 %if %{with_openvpn}
2166 %{_libdir}/%{name}/openvpn.so
2167 %endif
2168 %if %{with_olsrd}
2169 %{_libdir}/%{name}/olsrd.so
2170 %endif
2171 %if %{with_powerdns}
2172 %{_libdir}/%{name}/powerdns.so
2173 %endif
2174 %if %{with_processes}
2175 %{_libdir}/%{name}/processes.so
2176 %endif
2177 %if %{with_protocols}
2178 %{_libdir}/%{name}/protocols.so
2179 %endif
2180 %if %{with_serial}
2181 %{_libdir}/%{name}/serial.so
2182 %endif
2183 %if %{with_statsd}
2184 %{_libdir}/%{name}/statsd.so
2185 %endif
2186 %if %{with_swap}
2187 %{_libdir}/%{name}/swap.so
2188 %endif
2189 %if %{with_syslog}
2190 %{_libdir}/%{name}/syslog.so
2191 %endif
2192 %if %{with_table}
2193 %{_libdir}/%{name}/table.so
2194 %endif
2195 %if %{with_tail}
2196 %{_libdir}/%{name}/tail.so
2197 %endif
2198 %if %{with_tail_csv}
2199 %{_libdir}/%{name}/tail_csv.so
2200 %endif
2201 %if %{with_tcpconns}
2202 %{_libdir}/%{name}/tcpconns.so
2203 %endif
2204 %if %{with_teamspeak2}
2205 %{_libdir}/%{name}/teamspeak2.so
2206 %endif
2207 %if %{with_ted}
2208 %{_libdir}/%{name}/ted.so
2209 %endif
2210 %if %{with_thermal}
2211 %{_libdir}/%{name}/thermal.so
2212 %endif
2213 %if %{with_threshold}
2214 %{_libdir}/%{name}/threshold.so
2215 %endif
2216 %if %{with_turbostat}
2217 %{_libdir}/%{name}/turbostat.so
2218 %endif
2219 %if %{with_unixsock}
2220 %{_libdir}/%{name}/unixsock.so
2221 %endif
2222 %if %{with_uptime}
2223 %{_libdir}/%{name}/uptime.so
2224 %endif
2225 %if %{with_users}
2226 %{_libdir}/%{name}/users.so
2227 %endif
2228 %if %{with_uuid}
2229 %{_libdir}/%{name}/uuid.so
2230 %endif
2231 %if %{with_vmem}
2232 %{_libdir}/%{name}/vmem.so
2233 %endif
2234 %if %{with_vserver}
2235 %{_libdir}/%{name}/vserver.so
2236 %endif
2237 %if %{with_wireless}
2238 %{_libdir}/%{name}/wireless.so
2239 %endif
2240 %if %{with_write_graphite}
2241 %{_libdir}/%{name}/write_graphite.so
2242 %endif
2243 %if %{with_write_log}
2244 %{_libdir}/%{name}/write_log.so
2245 %endif
2246 %if %{with_write_sensu}
2247 %{_libdir}/%{name}/write_sensu.so
2248 %endif
2249 %if %{with_write_tsdb}
2250 %{_libdir}/%{name}/write_tsdb.so
2251 %endif
2252 %if %{with_zfs_arc}
2253 %{_libdir}/%{name}/zfs_arc.so
2254 %endif
2255 %if %{with_zookeeper}
2256 %{_libdir}/%{name}/zookeeper.so
2257 %endif
2258
2259 %files -n libcollectdclient-devel
2260 %{_includedir}/collectd/client.h
2261 %{_includedir}/collectd/network.h
2262 %{_includedir}/collectd/network_buffer.h
2263 %{_includedir}/collectd/lcc_features.h
2264 %{_libdir}/pkgconfig/libcollectdclient.pc
2265 %{_libdir}/libcollectdclient.so
2266
2267 %files -n libcollectdclient
2268 %{_libdir}/libcollectdclient.so.*
2269
2270 %files -n collectd-utils
2271 %{_bindir}/collectd-nagios
2272 %{_bindir}/collectd-tg
2273 %{_bindir}/collectdctl
2274 %{_mandir}/man1/collectdctl.1*
2275 %{_mandir}/man1/collectd-nagios.1*
2276 %{_mandir}/man1/collectd-tg.1*
2277
2278 %if %{with_amqp}
2279 %files amqp
2280 %{_libdir}/%{name}/amqp.so
2281 %endif
2282
2283 %if %{with_apache}
2284 %files apache
2285 %{_libdir}/%{name}/apache.so
2286 %endif
2287
2288 %if %{with_aquaero}
2289 %files aquaero
2290 %{_libdir}/%{name}/aquaero.so
2291 %endif
2292
2293 %if %{with_ascent}
2294 %files ascent
2295 %{_libdir}/%{name}/ascent.so
2296 %endif
2297
2298 %if %{with_barometer}
2299 %files barometer
2300 %{_libdir}/%{name}/barometer.so
2301 %endif
2302
2303 %if %{with_bind}
2304 %files bind
2305 %{_libdir}/%{name}/bind.so
2306 %endif
2307
2308 %if %{with_ceph}
2309 %files ceph
2310 %{_libdir}/%{name}/ceph.so
2311 %endif
2312
2313 %if %{with_chrony}
2314 %files chrony
2315 %{_libdir}/%{name}/chrony.so
2316 %endif
2317
2318 %if %{with_curl}
2319 %files curl
2320 %{_libdir}/%{name}/curl.so
2321 %endif
2322
2323 %if %{with_curl_json}
2324 %files curl_json
2325 %{_libdir}/%{name}/curl_json.so
2326 %endif
2327
2328 %if %{with_curl_xml}
2329 %files curl_xml
2330 %{_libdir}/%{name}/curl_xml.so
2331 %endif
2332
2333 %if %{with_disk}
2334 %files disk
2335 %{_libdir}/%{name}/disk.so
2336 %endif
2337
2338 %if %{with_dns}
2339 %files dns
2340 %{_libdir}/%{name}/dns.so
2341 %endif
2342
2343 %if %{with_dbi}
2344 %files dbi
2345 %{_libdir}/%{name}/dbi.so
2346 %endif
2347
2348 %if %{with_email}
2349 %files email
2350 %{_libdir}/%{name}/email.so
2351 %endif
2352
2353 %if %{with_gmond}
2354 %files gmond
2355 %{_libdir}/%{name}/gmond.so
2356 %endif
2357
2358 %if %{with_gps}
2359 %files gps
2360 %{_libdir}/%{name}/gps.so
2361 %endif
2362
2363 %if %{with_grpc}
2364 %files grpc
2365 %{_libdir}/%{name}/grpc.so
2366 %endif
2367
2368 %if %{with_hddtemp}
2369 %files hddtemp
2370 %{_libdir}/%{name}/hddtemp.so
2371 %endif
2372
2373 %if %{with_intel_rdt}
2374 %files intel_rdt
2375 %{_libdir}/%{name}/intel_rdt.so
2376 %endif
2377
2378 %if %{with_ipmi}
2379 %files ipmi
2380 %{_libdir}/%{name}/ipmi.so
2381 %endif
2382
2383 %if %{with_iptables}
2384 %files iptables
2385 %{_libdir}/%{name}/iptables.so
2386 %endif
2387
2388 %if %{with_java}
2389 %files java
2390 %{_datadir}/collectd/java/collectd-api.jar
2391 %{_datadir}/collectd/java/generic-jmx.jar
2392 %{_libdir}/%{name}/java.so
2393 %{_mandir}/man5/collectd-java.5*
2394 %endif
2395
2396 %if %{with_virt}
2397 %files virt
2398 %{_libdir}/%{name}/virt.so
2399 %endif
2400
2401 %if %{with_log_logstash}
2402 %files log_logstash
2403 %{_libdir}/%{name}/log_logstash.so
2404 %endif
2405
2406 %if %{with_lua}
2407 %files lua
2408 %{_mandir}/man5/collectd-lua*
2409 %{_libdir}/%{name}/lua.so
2410 %endif
2411
2412 %if %{with_lvm}
2413 %files lvm
2414 %{_libdir}/%{name}/lvm.so
2415 %endif
2416
2417 %if %{with_memcachec}
2418 %files memcachec
2419 %{_libdir}/%{name}/memcachec.so
2420 %endif
2421
2422 %if %{with_mic}
2423 %files mic
2424 %{_libdir}/%{name}/mic.so
2425 %endif
2426
2427 %if %{with_modbus}
2428 %files modbus
2429 %{_libdir}/%{name}/modbus.so
2430 %endif
2431
2432 %if %{with_mqtt}
2433 %files mqtt
2434 %{_libdir}/%{name}/mqtt.so
2435 %endif
2436
2437 %if %{with_mysql}
2438 %files mysql
2439 %{_libdir}/%{name}/mysql.so
2440 %endif
2441
2442 %if %{with_netlink}
2443 %files netlink
2444 %{_libdir}/%{name}/netlink.so
2445 %endif
2446
2447 %if %{with_nginx}
2448 %files nginx
2449 %{_libdir}/%{name}/nginx.so
2450 %endif
2451
2452 %if %{with_notify_desktop}
2453 %files notify_desktop
2454 %{_libdir}/%{name}/notify_desktop.so
2455 %endif
2456
2457 %if %{with_notify_email}
2458 %files notify_email
2459 %{_libdir}/%{name}/notify_email.so
2460 %endif
2461
2462 %if %{with_nut}
2463 %files nut
2464 %{_libdir}/%{name}/nut.so
2465 %endif
2466
2467 %if %{with_openldap}
2468 %files openldap
2469 %{_libdir}/%{name}/openldap.so
2470 %endif
2471
2472 %if %{with_perl}
2473 %files perl
2474 %{perl_vendorlib}/Collectd.pm
2475 %{perl_vendorlib}/Collectd/
2476 %{_mandir}/man3/Collectd::Unixsock.3pm*
2477 %{_mandir}/man5/collectd-perl.5*
2478 %{_libdir}/%{name}/perl.so
2479 %endif
2480
2481 %if %{with_pinba}
2482 %files pinba
2483 %{_libdir}/%{name}/pinba.so
2484 %endif
2485
2486 %if %{with_ping}
2487 %files ping
2488 %{_libdir}/%{name}/ping.so
2489 %endif
2490
2491 %if %{with_postgresql}
2492 %files postgresql
2493 %{_datadir}/collectd/postgresql_default.conf
2494 %{_libdir}/%{name}/postgresql.so
2495 %endif
2496
2497 %if %{with_python}
2498 %files python
2499 %{_mandir}/man5/collectd-python*
2500 %{_libdir}/%{name}/python.so
2501 %endif
2502
2503 %if %{with_redis}
2504 %files redis
2505 %{_libdir}/%{name}/redis.so
2506 %endif
2507
2508 %if %{with_rrdcached}
2509 %files rrdcached
2510 %{_libdir}/%{name}/rrdcached.so
2511 %endif
2512
2513 %if %{with_rrdtool}
2514 %files rrdtool
2515 %{_libdir}/%{name}/rrdtool.so
2516 %endif
2517
2518 %if %{with_sensors}
2519 %files sensors
2520 %{_libdir}/%{name}/sensors.so
2521 %endif
2522
2523 %if %{with_sigrok}
2524 %files sigrok
2525 %{_libdir}/%{name}/sigrok.so
2526 %endif
2527
2528 %if %{with_smart}
2529 %files smart
2530 %{_libdir}/%{name}/smart.so
2531 %endif
2532
2533 %if %{with_snmp}
2534 %files snmp
2535 %{_mandir}/man5/collectd-snmp.5*
2536 %{_libdir}/%{name}/snmp.so
2537 %endif
2538
2539 %if %{with_varnish}
2540 %files varnish
2541 %{_libdir}/%{name}/varnish.so
2542 %endif
2543
2544 %if %{with_write_http}
2545 %files write_http
2546 %{_libdir}/%{name}/write_http.so
2547 %endif
2548
2549 %if %{with_write_kafka}
2550 %files write_kafka
2551 %{_libdir}/%{name}/write_kafka.so
2552 %endif
2553
2554 %if %{with_write_prometheus}
2555 %files write_prometheus
2556 %{_libdir}/%{name}/write_prometheus.so
2557 %endif
2558
2559 %if %{with_write_redis}
2560 %files write_redis
2561 %{_libdir}/%{name}/write_redis.so
2562 %endif
2563
2564 %if %{with_write_riemann}
2565 %files write_riemann
2566 %{_libdir}/%{name}/write_riemann.so
2567 %endif
2568
2569 %if %{with_xencpu}
2570 %files xencpu
2571 %{_libdir}/%{name}/xencpu.so
2572 %endif
2573
2574 %if %{with_xmms}
2575 %files xmms
2576 %{_libdir}/%{name}/xmms.so
2577 %endif
2578
2579 %files collection3
2580 %{_localstatedir}/www/collection3
2581 %{_sysconfdir}/httpd/conf.d/collection3.conf
2582
2583 %files php-collection
2584 %{_localstatedir}/www/php-collection
2585 %{_sysconfdir}/httpd/conf.d/php-collection.conf
2586
2587 %files contrib
2588 %doc contrib/
2589
2590 %changelog
2591 * Wed Feb 22 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-2
2592 - Enable XFS support in df plugin
2593 - Fix bogus date in changelog
2594
2595 * Sun Jan 01 2017 Marc Fournier <marc.fournier@camptocamp.com> - 5.7.1-1
2596 - New upstream version
2597
2598 * Tue Nov 29 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-2
2599 - Disable redis plugin on RHEL 6, hiredis has been retired from EPEL6
2600
2601 * Mon Oct 10 2016 Marc Fournier <marc.fournier@camptocamp.com> - 5.7.0-1
2602 - New PRE-RELEASE version
2603 - New plugins enabled by default: hugepages, write_prometheus
2604 - New plugins disabled by default: dpdkstat, intel_rdt
2605
2606 * Mon Oct 10 2016 Victor Demonchy <v.demonchy@criteo.com> - 5.6.1-1
2607 - New upstream version
2608
2609 * Sun Aug 14 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.6.0-1
2610 - New upstream version
2611 - New plugins enabled by default: chrony, cpusleep, gps, lua, mqtt, notify_nagios
2612 - New plugins disabled by default: grpc, xencpu, zone
2613
2614 * Tue Jul 26 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.5.2-1
2615 - New upstream version
2616 - Contains fix for CVE-2016-6254
2617 - Change collectd.org url to https
2618
2619 * Sat Jun 04 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> 5.5.1-1
2620 - New upstream version
2621
2622 * Wed May 27 2015 Marc Fournier <marc.fournier@camptocamp.com> 5.5.0-1
2623 - New upstream version
2624 - New plugins enabled by default: ceph, drbd, log_logstash, write_tsdb, smart,
2625   openldap, redis, write_redis, zookeeper, write_log, write_sensu, ipc,
2626   turbostat, fhcount
2627 - New plugins disabled by default: barometer, write_kafka
2628 - Enable zfs_arc, now supported on Linux
2629 - Install disk plugin in a dedicated package, as it depends on libudev
2630 - use systemd on EL7, sysvinit on EL6 & EL5
2631 - Install collectdctl, collectd-tg and collectd-nagios in collectd-utils.rpm
2632 - Add build-dependency on libcap-devel
2633
2634 * Mon Aug 19 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.4.2-1
2635 - New upstream version
2636 - Build netlink plugin by default
2637 - Enable cgroups, lvm and statsd plugins
2638 - Enable (but don't build by default) mic, aquaero and sigrok plugins
2639 - Enable modbus, memcachec and xmms plugins on RHEL7
2640
2641 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
2642 - New upstream version
2643 - Added RHEL5 support:
2644   * conditionally disable plugins not building on this platform
2645   * add/specify some build dependencies and options
2646   * replace some RPM macros not available on this platform
2647 - Removed duplicate --enable-aggregation
2648 - Added some comments & usage examples
2649 - Replaced a couple of "Buildrequires" by "BuildRequires"
2650 - Enabled modbus plugin on RHEL6
2651 - Enabled netlink plugin on RHEL6 and RHEL7
2652 - Allow perl plugin to build on RHEL5
2653 - Add support for RHEL7
2654 - Misc perl-related improvements:
2655   * prevent rpmbuild from extracting dependencies from files in /usr/share/doc
2656   * don't package collection3 and php-collection twice
2657   * keep perl scripts from contrib/ in collectd-contrib
2658
2659 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
2660 - New upstream version
2661 - Enabled write_riemann plugin
2662 - Enabled tail_csv plugin
2663 - Installed collectd-tc manpage
2664
2665 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
2666 - remove dependency on libstatgrab, which isn't required on linux
2667
2668 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
2669 - collection3 and php-collection viewers are now in separate packages
2670
2671 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
2672 - New upstream version
2673 - Enabled aggregation plugin
2674 - Installed collectd-tc
2675 - Added network.h and network_buffer.h to libcollectdclient-devel
2676 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
2677 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
2678 - Added rrdcached and redis plugin descriptions
2679 - Mentioned new pf plugin in disabled plugins list
2680
2681 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
2682 - Follow Fedora Packaging Guidelines in java subpackage
2683
2684 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
2685 - Move perl stuff to perl_vendorlib
2686 - Replace hardcoded paths with macros
2687 - Remove unnecessary Requires
2688 - Removed .a and .la files
2689 - Some other small cleanups
2690
2691 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
2692 - New upstream version
2693 - Changes to support 5.1.0
2694 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
2695 - All plugins requiring external libraries are now shipped in separate
2696   packages.
2697 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
2698   the build process + ensure build deps are installed.
2699 - Dropped per-plugin configuration files, as they tend to diverge from upstream
2700   defaults.
2701 - Moved perl stuff to /usr/share/perl5/
2702 - Don't alter Interval and ReadThreads by default, let the user change this
2703   himself.
2704 - Initscript improvements:
2705   * checks configuration before (re)starting, based on debian's initscript
2706   * use /etc/sysconfig instdead of /etc/default
2707   * include optional $ARGS in arguments passed to collectd.
2708 - Drop collection.cgi from main package, as it's been obsoleted by collection3
2709 - Moved contrib/ to its own package, to avoid cluttering the main package with
2710   non-essential stuff.
2711 - Replaced BuildPrereq by BuildRequires
2712
2713 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
2714 - New upstream version
2715 - Changes to support 5.0.1
2716
2717 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
2718 - New upstream version
2719 - Changes to support 4.9.0
2720 - Added support for Java/GenericJMX plugin
2721
2722 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
2723 - New upstream version
2724 - Changes to support 4.3.1
2725 - Added More Prereqs to support more plugins
2726 - Added support for perl plugin
2727
2728 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
2729 - New upstream version
2730
2731 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
2732 - New major releas
2733 - Changes to support 4.0.5
2734
2735 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
2736 - fixed spec file to build correctly on fedora core
2737 - added improved init.d script to work with chkconfig
2738 - added %%post and %%postun to call chkconfig automatically
2739
2740 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
2741 - New upstream version
2742
2743 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
2744 - New upstream version
2745
2746 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
2747 - New upstream version
2748
2749 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
2750 - New upstream version
2751
2752 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
2753 - New upstream version
2754
2755 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
2756 - New upstream version
2757
2758 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
2759 - New upstream version
2760 - Added the `apache' package.
2761
2762 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
2763 - New upstream version
2764
2765 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
2766 - New upstream version
2767
2768 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
2769 - New upstream version
2770
2771 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
2772 - Include `tape.so' so the build doesn't terminate because of missing files..
2773 - New upstream version
2774
2775 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
2776 - New upstream version
2777
2778 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
2779 - New upstream version
2780 - Removed the extra `hddtemp' package
2781
2782 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
2783 - New upstream version
2784
2785 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
2786 - New upstream version
2787
2788 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
2789 - New upstream version
2790 - Added config file, `collectd.conf(5)', `df.so'
2791 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
2792
2793 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
2794 - New upstream version
2795
2796 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
2797 - New upstream version
2798
2799 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
2800 - New upstream version
2801
2802 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
2803 - New upstream version
2804 - Added statement to remove the `*.la' files. This fixes a problem when
2805   `Unpackaged files terminate build' is in effect.
2806 - Added `processes.so*' to the main package
2807
2808 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
2809 - New upstream version
2810 - Added package `collectd-hddtemp'
2811
2812 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
2813 - New upstream version
2814 - Split the package into `collectd' and `collectd-sensors'
2815
2816 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
2817 - New upstream version
2818
2819 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
2820 - New upstream version
2821
2822 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
2823 - New upstream version
2824
2825 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
2826 - New upstream version
2827
2828 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
2829 - New upstream version
2830
2831 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
2832 - New upstream version
2833
2834 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
2835 - New upstream version
2836
2837 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
2838 - New upstream version
2839
2840 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
2841 - Built on RedHat 7.3