aboutsummaryrefslogtreecommitdiffstats
path: root/main/collectd/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-16 12:43:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-16 12:54:48 +0000
commite04679c89c4c4c84b9a3648b45f06afc195c8cab (patch)
treea9c89d4e3e24d1d60f5b7e6442d46e91fcca7e2d /main/collectd/APKBUILD
parent6c303c8399ee822aec13ae3ba7bf6c0aceec27fd (diff)
downloadaports-e04679c89c4c4c84b9a3648b45f06afc195c8cab.tar.bz2
aports-e04679c89c4c4c84b9a3648b45f06afc195c8cab.tar.xz
main/collectd: upgrade to 5.5.0
Diffstat (limited to 'main/collectd/APKBUILD')
-rw-r--r--main/collectd/APKBUILD29
1 files changed, 18 insertions, 11 deletions
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD
index 777cb34ae2..d6d70a4bd2 100644
--- a/main/collectd/APKBUILD
+++ b/main/collectd/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=collectd
-pkgver=5.4.2
+pkgver=5.5.0
pkgrel=0
pkgdesc="The system statistics collection daemon"
url="http://collectd.org"
@@ -10,17 +10,19 @@ license="GPL2"
depends=""
makedepends="curl-dev net-snmp-dev postgresql-dev perl-dev
libgcrypt-dev mariadb-dev zlib-dev openssl-dev iptables-dev
- rrdtool-dev yajl-dev libvirt-dev lm_sensors-dev"
+ rrdtool-dev yajl-dev libvirt-dev lm_sensors-dev libxml2-dev
+ autoconf automake libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-perl $pkgname-snmp
$pkgname-curl:_curl
$pkgname-write_http $pkgname-nginx $pkgname-apache $pkgname-postgresql
$pkgname-mysql $pkgname-network $pkgname-rrdtool $pkgname-sensors
$pkgname-python:_python $pkgname-iptables:_ipt $pkgname-bind
- $pkgname-ascent $pkgname-libvirt"
+ $pkgname-ascent $pkgname-virt"
source="http://collectd.org/files/collectd-$pkgver.tar.bz2
- fix-argmax.patch
+ parallel-build.patch
+ gnu_source.patch
collectd.initd"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -32,6 +34,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ autoreconf -vif || return 1
sed -i -e '/CFLAGS/s/-Werror//' configure src/Makefile.in \
src/*/Makefile.in || return 1
}
@@ -49,6 +52,7 @@ build() {
--with-libiptc \
--enable-rrdtool \
--enable-libvirt \
+ --enable-bind \
|| return 1
make || return 1
# disable network plugin by default since its in a subpackage
@@ -98,14 +102,17 @@ _python() { _plugin python; }
_ipt() { _plugin iptables; }
bind() { _plugin bind; }
ascent() { _plugin ascent; }
-libvirt() { _plugin libvirt; }
+virt() { _plugin virt; provides="$pkgname-libvirt"; }
-md5sums="feff9fd0ed89e956d7cf12ba18cfc248 collectd-5.4.2.tar.bz2
-cd543f08b405c13b4734fa528cb6abef fix-argmax.patch
+md5sums="c39305ef5514b44238b0d31f77e29e6a collectd-5.5.0.tar.bz2
+c41b8ab5bb9f1e461277a1b89e16bc52 parallel-build.patch
+4c0b185623baebc4f4b71b3b47383b3a gnu_source.patch
8015a61e7cda7abdf60e63eeff2923d2 collectd.initd"
-sha256sums="9789e900c138b5dbe907d3d744143f12b1e30022276cb1d8c65bbabaf0c4e393 collectd-5.4.2.tar.bz2
-5bf48d30d7d1d0e37d6dc56a8189c1b7de21d483c138c0c54c356304aa89b223 fix-argmax.patch
+sha256sums="847684cf5c10de1dc34145078af3fcf6e0d168ba98c14f1343b1062a4b569e88 collectd-5.5.0.tar.bz2
+d009e687704a139682a59e3389265ff4de52207b57937a3006fd1762fd0c1227 parallel-build.patch
+5f177512b28b5955231457a8c4468e28dfb667986affebd30c1cba01980e6bff gnu_source.patch
7d7b20cb0c804d56d4e7ffe60b975b82c194898160674be2de49d1489589f6a3 collectd.initd"
-sha512sums="715d792a6cc3bf8848fb7139f3478d97387d483703a004eff537ee806412594af6e64f609960f669064e1eb8ac1a8dad8c859e63903ebe432118e60d317907bf collectd-5.4.2.tar.bz2
-c3f841874243a8236ac50e8fbaa419ff603e19ba5c7b8c2f0f5b2c03c7e301b6afd46224624a952cd1b3b86a6afeab61f509d674c04826dbcdb83461c47de3f4 fix-argmax.patch
+sha512sums="d2c2840f681c10345e02ad8df0f7c581dcb45bee276589fcd96b3dadd281a79ebb3b9a34a186242ef41285dde7fc505432376138ff4f72c4f60f1b840e640017 collectd-5.5.0.tar.bz2
+dd9c49a57cf35cfbaebf089aa4a3e7c5bcf6c29c2fd0391f5eb28f8a0f1c18a9341fe94453e50a57cdab7c0bbe603d29b6e6f7a27877de088cc20bf204f6d1d3 parallel-build.patch
+34b65fc2c21980e047e3d803a8293e8b523ad06e725113065787f1ce3ea81c5ce3e907845b03192770972ece3d8b79dc884c9e7782d428416ee418bc0658daae gnu_source.patch
296b9f58df7b0da5b2fbf8c6e77cbd08c6673da28e98e67a34cb52dffc26c45d54a95f0bc51a16729d1844752636419fae98a4d3fd744b736568dfc23fab4296 collectd.initd"