diff --git a/debian/rules b/debian/rules
index 16153dde499979c48762df61728229aecaa86a1e..0ec86d41ff6eb6e863d88f292322d3c1c6709d1e 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
# librouteros is required for the routeros plugin.
confflags += --disable-routeros
-# libmongoc is required for the write_mongodb plugin.
-confflags += --disable-write_mongodb
-
# xmms1 is required for the xmms plugin.
confflags += --disable-xmms
-# protobuf-compiler >= 3.0.0 is required for the grpc plugin.
-confflags += --disable-grpc
+# libsigrok4 incompatible with the plugin.
+# Cf. https://github.com/collectd/collectd/issues/1574
+confflags += --disable-sigrok
+
+# liblvm2app is deprecated.
+# https://github.com/collectd/collectd/issues/2647
+confflags += --disable-lvm
# These plugins are Linux-specific.
ifneq (,$(filter kfreebsd-i386 kfreebsd-amd64, $(DEB_BUILD_ARCH)))
confflags += \
+ --disable-barometer \
--disable-cgroups \
+ --disable-cpusleep \
+ --disable-drbd \
--disable-ethstat \
+ --disable-fhcount \
+ --disable-hugepages \
+ --disable-ipc \
--disable-iptables \
--disable-ipvs \
- --disable-lvm \
--disable-madwifi \
--disable-md \
--disable-netlink \
--disable-numa \
--disable-sensors \
--disable-vserver
- # libsigrok >= 0.2.0 is required for the sigrok plugin,
- # only available on Linux.
- confflags += \
- --disable-sigrok
endif
# This plugin is FreeBSD-specific.
--disable-pf
endif
+# This plugin is Solaris-specific.
+confflags += \
+ --disable-zone
+
# These plugins have not been ported to FreeBSD yet.
ifneq (,$(filter kfreebsd-i386 kfreebsd-amd64, $(DEB_BUILD_ARCH)))
# Work-around an incomplete check for kvm functionality
--disable-java
endif
-# This plugin is Intel-hardware specific.
+# These plugins are Intel-hardware specific.
ifeq (,$(filter amd64 i386, $(DEB_BUILD_ARCH)))
confflags += \
+ --disable-dpdkstat \
--disable-turbostat
endif
+# This plugin is x86 and arm specific.
+ifeq (,$(filter amd64 arm64 armhf i386, $(DEB_BUILD_ARCH)))
+ confflags += \
+ --disable-xencpu
+endif
+
# libatasmart isn't available on these platforms.
ifneq (,$(filter hurd-i386 kfreebsd-i386 kfreebsd-amd64, $(DEB_BUILD_ARCH)))
confflags += --disable-smart
|| ( status=$$?; cat config.log; exit $$status )
$(MAKE)
+ dh_auto_test
perl ./debian/bin/check_plugins.pl
touch build-stamp
libname=$$(basename $$lib); \
fullpath=$$(echo $$lib | sed -r -e 's,^\./,collectd/,'); \
for dir in $$(find . -mindepth 1 -type d); do \
- sed -r -i -e "s,(include\s+)\".*$$libname\",\1\"$$fullpath\"," $$dir/*.h; \
+ sed -r -i -e "s,(include\s+)\".*\<$$libname\",\1\"$$fullpath\"," $$dir/*.h; \
done; \
done )
dh_testdir
dh_testroot
dh_installchangelogs -i ChangeLog
- dh_installdocs -A -i debian/README.Debian AUTHORS README TODO
+ dh_installdocs -A -i debian/README.Debian AUTHORS README
dh_installexamples -i contrib/examples/myplugin.c \
contrib/examples/MyPlugin.pm
dh_compress -i -Xexamples/
dh_testdir
dh_testroot
dh_installchangelogs -a ChangeLog
- dh_installdocs -A -a debian/README.Debian AUTHORS README TODO
+ dh_installdocs -A -a debian/README.Debian AUTHORS README
dh_installdocs -a debian/NEWS.Debian debian/README.Debian.plugins
dh_installexamples -a contrib/collectd2html.pl contrib/collection.cgi \
contrib/collection3/ contrib/php-collection/ \