diff options
Diffstat (limited to 'community/collectd')
-rw-r--r-- | community/collectd/PKGBUILD | 15 | ||||
-rw-r--r-- | community/collectd/libperl.patch | 1 | ||||
-rw-r--r-- | community/collectd/rtnl_dump_filter.patch | 23 |
3 files changed, 32 insertions, 7 deletions
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD index b1f3a44e4..5fa9a4516 100644 --- a/community/collectd/PKGBUILD +++ b/community/collectd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 61911 2012-01-10 16:09:29Z foutrelis $ +# $Id: PKGBUILD 63391 2012-02-01 06:31:42Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Gerhard Brauer <gerhard.brauer@web.de> pkgname=collectd -pkgver=5.0.1 -pkgrel=2 +pkgver=5.0.2 +pkgrel=1 pkgdesc='Daemon which collects system performance statistics periodically' arch=('i686' 'x86_64' 'mips64el') url='http://collectd.org/' @@ -39,13 +39,15 @@ makedepends=('curl' 'libdbi' 'libesmtp' 'libgcrypt' 'iptables' 'libmemcached' 'libpcap' 'postgresql-libs' 'python2' 'rrdtool' 'lm_sensors' 'libvirt' 'libxml2' 'xmms' 'yajl') -depends=('libtool') +depends=('libltdl') source=("${url}files/${pkgname}-${pkgver}.tar.gz" + 'rtnl_dump_filter.patch' 'libperl.patch' 'rc.d') -sha1sums=('ec1bf97d21a27d9b53b20f7dc4fb61441b4e42e0' - 'b17793f0e7e2c94079257349a1bac7ba8d94e4a3' +sha1sums=('96b2b2c285b2334d41b6ebb2a58acd28757e69fc' + 'c92b8dacff0a71f2cc8645c2e350ff9bdc1cbd5f' + '245c098d121a4a05594553583310953b3a2f6461' '0f441718d5519cb043b1130e5a1d0379078adbcc') install=install @@ -53,6 +55,7 @@ install=install build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../rtnl_dump_filter.patch patch -p1 -i ../libperl.patch autoconf diff --git a/community/collectd/libperl.patch b/community/collectd/libperl.patch index 7a9ad9fc0..baa9c5397 100644 --- a/community/collectd/libperl.patch +++ b/community/collectd/libperl.patch @@ -27,4 +27,3 @@ diff -aur old/configure.in new/configure.in ) ) -Only in new: configure.in.orig diff --git a/community/collectd/rtnl_dump_filter.patch b/community/collectd/rtnl_dump_filter.patch new file mode 100644 index 000000000..d5929a621 --- /dev/null +++ b/community/collectd/rtnl_dump_filter.patch @@ -0,0 +1,23 @@ +diff -Naur old/src/netlink.c new/src/netlink.c +--- old/src/netlink.c 2012-01-22 22:10:04.000000000 +1100 ++++ new/src/netlink.c 2012-02-01 17:22:54.362752065 +1100 +@@ -570,8 +570,7 @@ + return (-1); + } + +- if (rtnl_dump_filter (&rth, link_filter, /* arg1 = */ NULL, +- NULL, NULL) != 0) ++ if (rtnl_dump_filter (&rth, link_filter, /* arg1 = */ NULL) != 0) + { + ERROR ("netlink plugin: ir_read: rtnl_dump_filter failed."); + return (-1); +@@ -608,8 +607,7 @@ + continue; + } + +- if (rtnl_dump_filter (&rth, qos_filter, (void *) &ifindex, +- NULL, NULL) != 0) ++ if (rtnl_dump_filter (&rth, qos_filter, (void *) &ifindex) != 0) + { + ERROR ("netlink plugin: ir_read: rtnl_dump_filter failed."); + continue; |