X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=contrib%2Fredhat%2Fcollectd.spec;h=2252181335cff9c2e116cc962b0836c6b61d1e22;hb=71478cd6550a4e930a1e9b8a906a66579e4e387a;hp=5315870f2addde810e29c794b6544aae98dbdca3;hpb=979b0fa58b2de639ff79209eff12ec17ff593483;p=collectd.git diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 5315870f..22521813 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -68,6 +68,7 @@ %{?el7:%global _has_atasmart 1} %{?el7:%global _has_hiredis 1} %{?el7:%global _has_asm_msr_index 1} +%{?el7:%global _has_libmosquitto 1} # plugins enabled by default %define with_aggregation 0%{!?_without_aggregation:1} @@ -121,6 +122,7 @@ %define with_memory 0%{!?_without_memory:1} %define with_multimeter 0%{!?_without_multimeter:1} %define with_modbus 0%{!?_without_modbus:0%{?_has_libmodbus}} +%define with_mqtt 0%{!?_without_mqtt:0%{?_has_libmosquitto}} %define with_mysql 0%{!?_without_mysql:1} %define with_netlink 0%{!?_without_netlink:0%{?_has_iproute}} %define with_network 0%{!?_without_network:1} @@ -214,10 +216,12 @@ %define with_write_mongodb 0%{!?_without_write_mongodb:0} # plugin xmms disabled, requires xmms %define with_xmms 0%{!?_without_xmms:0} +# plugin zone disabled, requires Solaris +%define with_zone 0%{!?_without_zone:0} Summary: statistics collection and monitoring daemon Name: collectd -Version: 5.4.2 +Version: 5.5.0 Release: 1%{?dist} URL: http://collectd.org Source: http://collectd.org/files/%{name}-%{version}.tar.bz2 @@ -514,6 +518,16 @@ MySQL querying plugin. This plugin provides data of issued commands, called handlers and database traffic. %endif +%if %{with_mqtt} +%package mqtt +Summary: mqtt plugin for collectd +Group: System Environment/Daemons +Requires: %{name}%{?_isa} = %{version}-%{release} +BuildRequires: mosquitto-devel +%description mqtt +The MQTT plugin publishes and subscribes to MQTT topics. +%endif + %if %{with_netlink} %package netlink Summary: netlink plugin for collectd @@ -1165,6 +1179,12 @@ Collectd utilities %define _with_multimeter --disable-multimeter %endif +%if %{with_mqtt} +%define _with_mqtt --enable-mqtt +%else +%define _with_mqtt --disable-mqtt +%endif + %if %{with_mysql} %define _with_mysql --enable-mysql %else @@ -1571,6 +1591,12 @@ Collectd utilities %define _with_zfs_arc --disable-zfs_arc %endif +%if %{with_zone} +%define _with_zone --enable-zone +%else +%define _with_zone --disable-zone +%endif + %if %{with_zookeeper} %define _with_zookeeper --enable-zookeeper %else @@ -1639,6 +1665,7 @@ Collectd utilities %{?_with_mic} \ %{?_with_modbus} \ %{?_with_multimeter} \ + %{?_with_mqtt} \ %{?_with_mysql} \ %{?_with_netapp} \ %{?_with_netlink} \ @@ -1672,6 +1699,7 @@ Collectd utilities %{?_with_write_redis} \ %{?_with_xmms} \ %{?_with_zfs_arc} \ + %{?_with_zone} \ %{?_with_zookeeper} \ %{?_with_irq} \ %{?_with_load} \ @@ -2196,6 +2224,11 @@ fi %{_libdir}/%{name}/modbus.so %endif +%if %{with_mqtt} +%files mqtt +%{_libdir}/%{name}/mqtt.so +%endif + %if %{with_mysql} %files mysql %{_libdir}/%{name}/mysql.so @@ -2335,15 +2368,22 @@ fi %doc contrib/ %changelog -# * TODO 5.5.0-1 -# - New upstream version -# - New plugins enabled by default: ceph, drbd, log_logstash, write_tsdb, smart, openldap, redis, write_redis, zookeeper, write_log, write_sensu, ipc, turbostat -# - New plugins disabled by default: barometer, write_kafka -# - Enable zfs_arc, now supported on Linux -# - Install disk plugin in a dedicated package, as it depends on libudev -# - use systemd on EL7, sysvinit on EL6 & EL5 -# - Install collectdctl, collectd-tg and collectd-nagios in collectd-utils.rpm -# - Add build-dependency on libcap-devel +#* TODO: next feature release changelog +#- New upstream version +#- New plugins enabled by default: mqtt +#- New plugins disabled by default: zone +# +* Wed May 27 2015 Marc Fournier 5.5.0-1 +- New upstream version +- New plugins enabled by default: ceph, drbd, log_logstash, write_tsdb, smart, + openldap, redis, write_redis, zookeeper, write_log, write_sensu, ipc, + turbostat, fhcount +- New plugins disabled by default: barometer, write_kafka +- Enable zfs_arc, now supported on Linux +- Install disk plugin in a dedicated package, as it depends on libudev +- use systemd on EL7, sysvinit on EL6 & EL5 +- Install collectdctl, collectd-tg and collectd-nagios in collectd-utils.rpm +- Add build-dependency on libcap-devel * Mon Aug 19 2013 Marc Fournier 5.4.0-1 - New upstream version