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