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