X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=contrib%2Fredhat%2Fcollectd.spec;h=722de15b31bd0a1337b1df2ff754ac3fbd56e90e;hb=6a78e221ef7f3df40417dcd2e51285300bef55b9;hp=73e69c75395e4d1d07a23ef2857102525b0069b5;hpb=ed946a10401f7b46d6e52fabf2a96568a71cb10a;p=collectd.git diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 73e69c75..722de15b 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -166,6 +166,8 @@ %define with_barometer 0%{!?_without_barometer:0} # plugin grpc disabled, requires protobuf-compiler >= 3.0 %define with_grpc 0%{!?_without_grpc:0} +# plugin dpdk disabled, requires libdpdk +%define with_dpdk 0%{!?_without_dpdk:0} # plugin lpar disabled, requires AIX %define with_lpar 0%{!?_without_lpar:0} # plugin mic disabled, requires Mic @@ -1069,6 +1071,12 @@ Collectd utilities %define _with_drbd --disable-drbd %endif +%if %{with_dpdk} +%define _with_dpdk --enable-dpdk +%else +%define _with_dpdk --disable-dpdk +%endif + %if %{with_email} %define _with_email --enable-email %else @@ -1758,6 +1766,7 @@ Collectd utilities %{?_with_disk} \ %{?_with_dns} \ %{?_with_drbd} \ + %{?_with_dpdk} \ %{?_with_email} \ %{?_with_entropy} \ %{?_with_ethstat} \ @@ -2035,6 +2044,9 @@ fi %if %{with_drbd} %{_libdir}/%{name}/drbd.so %endif +%if %{with_dpdk} +%{_libdir}/%{name}/dpdk.so +%endif %if %{with_ethstat} %{_libdir}/%{name}/ethstat.so %endif @@ -2526,6 +2538,7 @@ fi * Tue Aug 23 2016 Marc Fournier - 5.7.0-1 - New PRE-RELEASE version - New plugins enabled by default: hugepages +- New plugins disabled by default: dpdk * Sun Aug 14 2016 Ruben Kerkhof - 5.6.0-1 - New PRE-RELEASE version