From 07037c1df9164a981b7cb037b2ffce80a9eb16a9 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 15 Sep 2013 14:10:04 +0200 Subject: [PATCH] control, rules: Limit the LVM plugin to Linux. --- debian/changelog | 3 +-- debian/control | 2 +- debian/rules | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2facd48..d489354 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,8 +17,7 @@ collectd (5.4.0-1) UNRELEASED; urgency=low - Depend on libmnl-dev and enable the netlink plugin on all architectures (upstream removed the dependency on the netlink library which is only available as a static non-PIC library on Debian) (Closes: #531352). - * debian/control: - - Depend on liblvm2-dev (required by the new LVM plugin). + - Depend on liblvm2-dev and enable the LVM plugin on Linux. * debian/rules: - Disable the aquaero plugin which requires libaquaero5. - Disable the cgroups plugin on non-Linux. diff --git a/debian/control b/debian/control index cde3c76..0acf432 100644 --- a/debian/control +++ b/debian/control @@ -16,7 +16,7 @@ Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.10), po-debconf, dpatch, libglib2.0-dev, libhal-dev, libkvm-dev [kfreebsd-any], - liblvm2-dev, + liblvm2-dev [linux-any], libmemcached-dev, libmodbus-dev, libmnl-dev, diff --git a/debian/rules b/debian/rules index 64c66ad..0d69699 100755 --- a/debian/rules +++ b/debian/rules @@ -105,6 +105,7 @@ ifneq (,$(filter kfreebsd-i386 kfreebsd-amd64, $(DEB_BUILD_ARCH))) --disable-ethstat \ --disable-iptables \ --disable-ipvs \ + --disable-lvm \ --disable-madwifi \ --disable-md \ --disable-netlink \ -- 2.30.2