aboutsummaryrefslogtreecommitdiffstats
path: root/main/collectd
diff options
context:
space:
mode:
Diffstat (limited to 'main/collectd')
-rw-r--r--main/collectd/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD
index 5f114fb424..cb581a041e 100644
--- a/main/collectd/APKBUILD
+++ b/main/collectd/APKBUILD
@@ -2,18 +2,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=collectd
pkgver=5.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="The system statistics collection daemon"
url="http://collectd.org"
arch="all"
license="GPL"
depends=
makedepends="pkgconfig curl-dev net-snmp-dev postgresql-dev perl-dev
- libgcrypt-dev mysql-dev zlib-dev openssl-dev iptables-dev"
+ libgcrypt-dev mysql-dev zlib-dev openssl-dev iptables-dev rrdtool-dev"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-perl $pkgname-snmp $pkgname-curl
$pkgname-write_http $pkgname-nginx $pkgname-apache $pkgname-postgresql
- $pkgname-mysql $pkgname-network"
+ $pkgname-mysql $pkgname-network $pkgname-rrdtool"
source="http://collectd.org/files/collectd-$pkgver.tar.bz2
collectd.initd"
@@ -44,6 +44,7 @@ build() {
--infodir=/usr/share/info \
--localstate=/var \
--with-libiptc \
+ --enable-rrdtool \
|| return 1
make LDADD='-lm' || return 1
# disable network plugin by default since its in a subpackage
@@ -87,6 +88,7 @@ apache() { _plugin apache; }
postgresql() { _plugin postgresql; }
mysql() { _plugin mysql; }
network() { _plugin network; }
+rrdtool() { _plugin rrdtool; }
md5sums="9ad1e4334bd4a671284e8e92a3e3323e collectd-5.0.1.tar.bz2
13a36ae2f92634b5619ab94224e1b77d collectd.initd"