aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo J. Barberis <ricardo.barberis@gmail.com>2018-11-19 10:14:25 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-24 12:35:11 +0700
commita92241940032fe3950eedc8c4542987bcdbcf581 (patch)
tree0dde710d4863d717dafd4e67082fad79dc4efc70
parent73ab82dd3b0c363e23692df817251ec4ec7b910f (diff)
system/collectd: Updated for version 5.8.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/collectd/README13
-rw-r--r--system/collectd/collectd.SlackBuild3
-rw-r--r--system/collectd/collectd.info6
-rw-r--r--system/collectd/rc.collectd12
4 files changed, 24 insertions, 10 deletions
diff --git a/system/collectd/README b/system/collectd/README
index 1ac01630cdff0..64abd67633f29 100644
--- a/system/collectd/README
+++ b/system/collectd/README
@@ -7,3 +7,16 @@ information. Those statistics can then be used to find current performance
bottlenecks (i.e. performance analysis) and predict future system load (i.e.
capacity planning). Or if you just want pretty graphs of your private server
and are fed up with some homegrown solution you're at the right place, too ;).
+
+Optional, tested, recommended dependencies:
+rrdtool, yajl
+
+Optional, not heavily tested dependencies:
+libvirt, lua, postgresql
+
+This package has several more optional dependencies, which are
+autodetected, but are mostly not tested by me (feedback welcome!):
+
+ganglia, gpsd, hiredis, i2c-tools, kafka, libdbi, libesmtp, libmemcached,
+libmicrohttpd, libmodbus, libsigrok, libstatgrab, mongo-c, mosquitto,
+protobuf, protobuf-c, rabbitmq-c, tokyotyrant, varnish, xen
diff --git a/system/collectd/collectd.SlackBuild b/system/collectd/collectd.SlackBuild
index 4c681252a04da..018423225a2a3 100644
--- a/system/collectd/collectd.SlackBuild
+++ b/system/collectd/collectd.SlackBuild
@@ -13,7 +13,7 @@
# Copyright (c) 2017-2018, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
PRGNAM=collectd
-VERSION=${VERSION:-5.8.0}
+VERSION=${VERSION:-5.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,6 +70,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-perl-bindings="PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3" \
--enable-static=no \
+ --without-java \
--build=$ARCH-slackware-linux
make
diff --git a/system/collectd/collectd.info b/system/collectd/collectd.info
index 800115be0661b..84dbbf1a7493e 100644
--- a/system/collectd/collectd.info
+++ b/system/collectd/collectd.info
@@ -1,8 +1,8 @@
PRGNAM="collectd"
-VERSION="5.8.0"
+VERSION="5.8.1"
HOMEPAGE="https://collectd.org"
-DOWNLOAD="https://collectd.org/files/collectd-5.8.0.tar.bz2"
-MD5SUM="a841159323624f18bf03198e9f5aa364"
+DOWNLOAD="https://collectd.org/files/collectd-5.8.1.tar.bz2"
+MD5SUM="bfce96c42cede5243028510bcc57c1e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/collectd/rc.collectd b/system/collectd/rc.collectd
index 23233959292fb..098c01656caff 100644
--- a/system/collectd/rc.collectd
+++ b/system/collectd/rc.collectd
@@ -12,11 +12,11 @@ pidfile=/var/run/collectd.pid
start() {
[ -x $exec ] || exit 5
if [ -f $pidfile ]; then
- echo "Seems that an active process is up and running with pid $(cat $pidfile)"
- echo "If this is not true try first to remove pidfile $pidfile"
- exit 5
+ echo "Seems that an active process is up and running with pid $(cat $pidfile)"
+ echo "If this is not true try first to remove pidfile $pidfile"
+ exit 5
fi
- echo $"Starting $prog"
+ echo $"Starting $prog"
$exec -P $pidfile -C $configfile
}
@@ -33,9 +33,9 @@ status() {
CHECK=$(ps aux | grep $exec | grep -v grep)
STATUS=$?
if [ "$STATUS" == "1" ]; then
- echo "not running"
+ echo "not running"
else
- echo "running"
+ echo "running"
fi
}