aboutsummaryrefslogtreecommitdiffstats
path: root/main/collectd
diff options
context:
space:
mode:
Diffstat (limited to 'main/collectd')
-rw-r--r--main/collectd/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD
index 524b6c74cc..e26660e6e4 100644
--- a/main/collectd/APKBUILD
+++ b/main/collectd/APKBUILD
@@ -1,8 +1,8 @@
# Contributor:
# Maintainer:
pkgname=collectd
-pkgver=4.10.3
-pkgrel=2
+pkgver=5.0.0
+pkgrel=0
pkgdesc="The system statistics collection daemon"
url="http://collectd.org"
arch="all"
@@ -30,8 +30,10 @@ prepare() {
done
# we need -lm
sed -i -e 's/^collectd_LDADD = \(.*\)/collectd_LDADD = -lm \1/' \
- -e 's/^collectd_nagios_LDADD = \(.*\)/collectd_nagios_LDADD = -lm \1/' src/Makefile.in
-
+ -e 's/^collectd_nagios_LDADD = \(.*\)/collectd_nagios_LDADD = -lm \1/' \
+ src/Makefile.in || return 1
+ sed -i -e 's/_LIBADD =/_LIBADD = -lm/' \
+ src/libcollectdclient/Makefile.in || return 1
}
build() {
@@ -42,7 +44,7 @@ build() {
--infodir=/usr/share/info \
--localstate=/var \
|| return 1
- make || return 1
+ make LDADD='-lm' || return 1
# disable network plugin by default since its in a subpackage
sed -i -e 's/^LoadPlugin network/#LoadPlugin network/' \
src/collectd.conf
@@ -83,6 +85,6 @@ postgresql() { _plugin postgresql; }
mysql() { _plugin mysql; }
network() { _plugin network; }
-md5sums="5f17bfd7342af4f97f78c608f1d1eb1d collectd-4.10.3.tar.bz2
+md5sums="7bfea6e82d35b36f16d1da2c71397213 collectd-5.0.0.tar.bz2
38f2ac1754e0dc0fcc70a04574cc7437 collectd-4.10.3-iptc-check.patch
13a36ae2f92634b5619ab94224e1b77d collectd.initd"