From: Sebastian Harl Date: Mon, 8 Oct 2007 16:54:22 +0000 (+0000) Subject: Disable the netlink plugin on alpha, amd64, hppa, ia64 and ppc64. X-Git-Tag: collectd-4.2.0-1~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8f1077ef6066459a9cf3630962b86565d65a5b99;p=pkg-collectd.git 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. --- 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)