summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7fbb547)
raw | patch | inline | side by side (parent: 7fbb547)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 2 Dec 2014 21:04:50 +0000 (22:04 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 2 Dec 2014 21:04:50 +0000 (22:04 +0100) |
contrib/redhat/collectd.spec | patch | blob | history |
index b9dffca79ec5a3c0d43a49cc16044111ca7cba8e..29efd75d8d611650f6a0085708814e259df22ac1 100644 (file)
%define with_write_riemann 0%{!?_without_write_riemann:1}
%define with_write_tsdb 0%{!?_without_write_tsdb:1}
%define with_zfs_arc 0%{!?_without_zfs_arc:1}
+%define with_zookeeper 0%{!?_without_zookeeper:1}
# Plugins not built by default because of dependencies on libraries not
# available in RHEL or EPEL:
%define _with_zfs_arc --disable-zfs_arc
%endif
+%if %{with_zookeeper}
+%define _with_zookeeper --enable-zookeeper
+%else
+%define _with_zookeeper --disable-zookeeper
+%endif
+
%configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
--disable-static \
--without-included-ltdl \
%{?_with_write_redis} \
%{?_with_xmms} \
%{?_with_zfs_arc} \
+ %{?_with_zookeeper} \
%{?_with_irq} \
%{?_with_load} \
%{?_with_logfile} \
%if %{with_zfs_arc}
%{_libdir}/%{name}/zfs_arc.so
%endif
+%if %{with_zookeeper}
+%{_libdir}/%{name}/zookeeper.so
+%endif
%files -n libcollectdclient-devel
%{_includedir}/collectd/client.h
%changelog
# * TODO 5.5.0-1
# - New upstream version
-# - New plugins enabled by default: drbd, log_logstash, write_tsdb, smart, openldap, redis, write_redis
+# - New plugins enabled by default: drbd, log_logstash, write_tsdb, smart, openldap, redis, write_redis, zookeeper
# - New plugins disabled by default: barometer, write_kafka
# - Enable zfs_arc, now supported on Linux
# - Install disk plugin in an dedicated package, as it depends on libudev