Code

rules: Disabled further Linux-specific plugins on kfreebsd.
authorSebastian Harl <tokkee@io.debian.net>
Sat, 23 Jan 2010 18:39:04 +0000 (18:39 +0000)
committerSebastian Harl <tokkee@io.debian.net>
Sat, 23 Jan 2010 18:39:04 +0000 (18:39 +0000)
debian/changelog
debian/rules

index 8f96f62bd42cb0bb5a1c62e52083dae9420d060a..25b4c28d563bda41255484452eec28c1e99b4168 100644 (file)
@@ -32,8 +32,13 @@ collectd (4.9.1-1) unstable; urgency=low
       + "gmond" plugin / libganglia1-dev
       + "libvirt" plugin / libvirt-dev
       + "java" plugin / openjdk6-jdk
+  * debian/rules:
+    - Disabled the following plugins on kfreebsd-{i386,amd64} which have not
+      yet been ported to FreeBSD: battery, conntrack, contextswitch, cpufreq,
+      disk, entropy, fscache, irq, madwifi, nfs, protocols, serial, thermal,
+      vmem, vserver, wireless.
 
- -- Sebastian Harl <tokkee@debian.org>  Sat, 23 Jan 2010 18:20:17 +0000
+ -- Sebastian Harl <tokkee@debian.org>  Sat, 23 Jan 2010 18:38:40 +0000
 
 collectd (4.8.2-1) unstable; urgency=medium
 
index 150271f6daead7b09e3fac886ebfa876a76882f1..cb1e229a380471d7750833dee89cca08f9f61ea0 100755 (executable)
@@ -100,6 +100,27 @@ ifneq (,$(findstring $(DEB_BUILD_ARCH),kfreebsd-i386 kfreebsd-amd64))
                --disable-sensors
 endif
 
+# These plugins have not been ported to FreeBSD yet.
+ifneq (,$(findstring $(DEB_BUILD_ARCH),kfreebsd-i386 kfreebsd-amd64))
+       confflags += \
+               --disable-battery \
+               --disable-conntrack \
+               --disable-contextswitch \
+               --disable-cpufreq \
+               --disable-disk \
+               --disable-entropy \
+               --disable-fscache \
+               --disable-irq \
+               --disable-madwifi \
+               --disable-nfs \
+               --disable-protocols \
+               --disable-serial \
+               --disable-thermal \
+               --disable-vmem \
+               --disable-vserver \
+               --disable-wireless
+endif
+
 # Build-dependencies of these plugins are (not yet) available for kfreebsd.
 ifneq (,$(findstring $(DEB_BUILD_ARCH),kfreebsd-i386 kfreebsd-amd64))
        confflags += \