summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 60786de)
raw | patch | inline | side by side (parent: 60786de)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 14 Jan 2015 22:30:26 +0000 (23:30 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 14 Jan 2015 22:30:26 +0000 (23:30 +0100) |
contrib/redhat/collectd.spec | patch | blob | history |
index acc38ac4352209efb36db8ce5d7cbaffc036114c..a46400506887539572d386ed6cf8fc4c9adb2c0c 100644 (file)
%define with_wireless 0%{!?_without_wireless:1}
%define with_write_graphite 0%{!?_without_write_graphite:1}
%define with_write_http 0%{!?_without_write_http:1}
+%define with_write_log 0%{!?_without_write_log:1}
%define with_write_redis 0%{!?_without_write_redis:0%{?_has_hiredis}}
%define with_write_riemann 0%{!?_without_write_riemann:1}
%define with_write_tsdb 0%{!?_without_write_tsdb:1}
%define _with_write_kafka --disable-write_kafka
%endif
+%if %{with_write_log}
+%define _with_write_log --enable-write_log
+%else
+%define _with_write_log --disable-write_log
+%endif
+
%if %{with_write_mongodb}
%define _with_write_mongodb --enable-write_mongodb
%else
%{?_with_wireless}\
%{?_with_write_graphite} \
%{?_with_write_http} \
+ %{?_with_write_log} \
%{?_with_write_riemann} \
%{?_with_write_tsdb}
%if %{with_write_graphite}
%{_libdir}/%{name}/write_graphite.so
%endif
+%if %{with_write_log}
+%{_libdir}/%{name}/write_log.so
+%endif
%if %{with_write_tsdb}
%{_libdir}/%{name}/write_tsdb.so
%endif
%changelog
# * TODO 5.5.0-1
# - New upstream version
-# - New plugins enabled by default: drbd, log_logstash, write_tsdb, smart, openldap, redis, write_redis, zookeeper
+# - New plugins enabled by default: drbd, log_logstash, write_tsdb, smart, openldap, redis, write_redis, zookeeper, write_log
# - 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