From 8f1077ef6066459a9cf3630962b86565d65a5b99 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 8 Oct 2007 16:54:22 +0000 Subject: [PATCH] Disable the netlink plugin on alpha, amd64, hppa, ia64 and ppc64. libnetlink is only available as a static library compiled without -fPIC and thus cannot be linked into a shared object on those architectures. --- debian/changelog | 3 ++- debian/rules | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index d2f81a2..4ca0ea0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,7 +4,8 @@ collectd (4.1.2-1) experimental; urgency=low - Added options to collectd2html.pl to specify host and data directory (Closes: #438499). New plugins: - - Detailed Linux network interface and routing statistics: netlink + - Detailed Linux network interface and routing statistics: netlink (32bit + systems only) - Values from SNMP enabled network devices: snmp - Bitrate and frequency of music played with XMMS: xmms * Updated init script to wait for collectd to shut down (Closes: #422208). diff --git a/debian/rules b/debian/rules index 3ab7f12..46addb8 100755 --- a/debian/rules +++ b/debian/rules @@ -31,10 +31,10 @@ confflags = --host=$(DEB_HOST_GNU_TYPE) \ # These plugins do not provide any functionality under Linux. confflags += --disable-apple_sensors --disable-tape -# The static libraries iptc and upsclient cannot be used on 64bit systems -# (see bugs #358637 and #419684 for more details). +# The static libraries iptc, netstat and upsclient cannot be used on +# 64bit systems (see bugs #358637 and #419684 for more details). ifneq (,$(findstring $(DEB_BUILD_ARCH),alpha amd64 hppa ia64 ppc64)) - confflags += --disable-iptables --disable-nut + confflags += --disable-iptables --disable-netlink --disable-nut endif config.status: configure $(DPATCH_STAMPFN) -- 2.30.2