summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 779e990)
raw | patch | inline | side by side (parent: 779e990)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 14 Jun 2009 15:07:32 +0000 (17:07 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 14 Jun 2009 15:07:32 +0000 (17:07 +0200) |
Remaining changes: Build-conflict with iptables-dev to force the use of the
shipped libiptc.
shipped libiptc.
diff --git a/debian/changelog b/debian/changelog
index d633f9f0beb2cadc1492e774a1a069a8a06e935a..6b7e2e8bcf7f22b57c6c911af77f9ccf54746b93 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
collectd (4.6.3-1~bpo50+1) lenny-backports; urgency=low
* Rebuild for lenny-backports.
+ * Remaining changes:
+ - Build-conflict with iptables-dev to force the use of the shipped libiptc
+ (this allows building the iptables plugin on all architectures).
- -- Sebastian Harl <tokkee@debian.org> Sun, 14 Jun 2009 16:20:23 +0200
+ -- Sebastian Harl <tokkee@debian.org> Sun, 14 Jun 2009 17:06:37 +0200
collectd (4.6.3-1~bpo40+1) etch-backports; urgency=low
diff --git a/debian/collectd.conf b/debian/collectd.conf
index 2b042a9f0aece91001670b01767624c6ff3686b0..31ac1cdb8220a0fcc555cf4fc62fabe592387db9 100644 (file)
--- a/debian/collectd.conf
+++ b/debian/collectd.conf
#LoadPlugin cpufreq
#LoadPlugin csv
#LoadPlugin curl
+#LoadPlugin dbi
LoadPlugin df
LoadPlugin disk
#LoadPlugin dns
# </Page>
#</Plugin>
+#<Plugin dbi>
+# <Query "num_of_customers">
+# Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \
+# FROM customers_tbl"
+# <Result>
+# Type "gauge"
+# InstancesFrom "c_key"
+# ValuesFrom "c_value"
+# </Result>
+# </Query>
+#
+# <Database "customers_db">
+# Driver "mysql"
+# DriverOption "host" "localhost"
+# DriverOption "username" "collectd"
+# DriverOption "password" "secret"
+# DriverOption "dbname" "custdb0"
+# #SelectDB "custdb0"
+# Query "num_of_customers"
+# #Query "..."
+# </Database>
+#</Plugin>
+
#<Plugin df>
# Device "/dev/sda1"
# Device "192.168.0.2:/mnt/nfs"
index f58958ce6f85703bca42645eb98ecfdddb815fa6..669147c9e657a6d2d43e9148fbf56fb3f8ed2a76 100644 (file)
-collectd: shlib-with-non-pic-code usr/lib/collectd/nut.so
collectd: shlib-with-non-pic-code usr/lib/collectd/netlink.so
collectd: spelling-error-in-description apache Apache
collectd: spelling-error-in-description mysql MySQL
diff --git a/debian/control b/debian/control
index c91ad8aedc6893b5033d0e9ba13aca45ca8eefd5..1a7271b777bc5adc52b9e368ea88de3b310e868c 100644 (file)
--- a/debian/control
+++ b/debian/control
Section: utils
Priority: optional
Maintainer: Sebastian Harl <tokkee@debian.org>
-Build-Depends: debhelper (>= 5), po-debconf, dpatch, bison, flex, autotools-dev, pkg-config, linux-kernel-headers, libcurl3-gnutls-dev, libmysqlclient15-dev, librrd2-dev, libsensors-dev, liboping-dev (>= 0.3.3), libpcap0.8-dev | libpcap-dev, nut-dev [!alpha !amd64 !hppa !ia64 !ppc64 !mips !mipsel], libperl-dev, iproute-dev [!alpha !amd64 !hppa !ia64 !ppc64 !mips !mipsel], libsnmp9-dev, libvirt-dev (>= 0.4.0-6) [amd64 i386 powerpc], libxml2-dev, libhal-dev, libopenipmi-dev, libglib2.0-dev, libnotify-dev, libesmtp-dev, libpq-dev
+Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.10), po-debconf, dpatch, bison, flex, autotools-dev, pkg-config, linux-libc-dev (>= 2.6.25-4) | linux-libc-dev (<< 2.6.25-1), libcurl4-gnutls-dev (>= 7.18.2-5) | libcurl4-gnutls-dev (<= 7.18.2-1) | libcurl3-gnutls-dev, libmysqlclient15-dev, librrd-dev | librrd2-dev, libsensors-dev, liboping-dev (>= 0.3.3), libpcap0.8-dev | libpcap-dev, libupsclient1-dev, libperl-dev, iproute-dev [!alpha !amd64 !hppa !ia64 !ppc64 !mips !mipsel], libsnmp-dev | libsnmp9-dev, libvirt-dev (>= 0.4.0-6) [amd64 i386 powerpc], libxml2-dev, libhal-dev, libopenipmi-dev (>= 2.0.14-1~), libglib2.0-dev, libnotify-dev, libesmtp-dev, libpq-dev, libdbi0-dev
Build-Conflicts: libpthread-dev, iptables-dev
Standards-Version: 3.8.1
Homepage: http://collectd.org/
* CPU frequency: cpufreq
* output to comma separated values (CSV) files: csv
* parse statistics from websites: curl
+ * query data from a relational database: dbi
* disk space usage: df
* disk and partition throughput: disk
* DNS traffic information: dns
diff --git a/debian/rules b/debian/rules
index b0ca029add6a3c2bc09474e8b2458d8d7d3aa70f..c944ebe6ff8d6b653bda2d500100699841d57251 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
# These plugins do not provide any functionality under Linux.
confflags += --disable-apple_sensors --disable-tape
-# The static libraries netstat and upsclient cannot be linked into shared
-# objects on some architectures (see bugs #358637 and #419684 for more
-# details).
+# The static library netstat cannot be linked into shared objects on some
+# architectures (see bugs #358637 and #419684 for more details).
ifneq (,$(findstring $(DEB_BUILD_ARCH),alpha amd64 hppa ia64 ppc64 mips mipsel))
- confflags += --disable-netlink --disable-nut
+ confflags += --disable-netlink
endif
# libvirt is only available on amd64, i386 and powerpc.
confflags += --disable-libvirt
endif
-# libdbi is not available on Etch
-confflags += --disable-dbi
-
config.status: configure $(DPATCH_STAMPFN)
dh_testdir
-
- # This is a work-around for #474087 (broken openipmi .pc files).
- mkdir debian/pkgconfig
- sed -re 's/^(Requires:.*) pthread(.*)$$/\1\2/' \
- /usr/lib/pkgconfig/OpenIPMIpthread.pc \
- > debian/pkgconfig/OpenIPMIpthread.pc
-
- PKG_CONFIG_PATH="$(CURDIR)/debian/pkgconfig:$$PKG_CONFIG_PATH" \
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(confflags)
build: build-stamp
rm -f debian/README.Debian.plugins
rm -f src/*.1 src/*.5
- rm -rf debian/pkgconfig
-
dh_clean
debconf-updatepo