summaryrefslogtreecommitdiff
path: root/network/zabbix_agentd
diff options
context:
space:
mode:
Diffstat (limited to 'network/zabbix_agentd')
-rw-r--r--network/zabbix_agentd/rc.zabbix_agentd1
-rw-r--r--network/zabbix_agentd/zabbix_agentd.SlackBuild4
-rw-r--r--network/zabbix_agentd/zabbix_agentd.info6
3 files changed, 7 insertions, 4 deletions
diff --git a/network/zabbix_agentd/rc.zabbix_agentd b/network/zabbix_agentd/rc.zabbix_agentd
index c4dec471ea..bd300d999d 100644
--- a/network/zabbix_agentd/rc.zabbix_agentd
+++ b/network/zabbix_agentd/rc.zabbix_agentd
@@ -17,6 +17,7 @@ prg_start() {
rm -f ${PIDDIR}${PRGNAM}.pid
fi
fi
+ mkdir -p ${PIDDIR}
su -s /bin/sh -c "${PRGDIR}${PRGNAM} >> ${LOGDIR}${PRGNAM}.log 2>&1" @ZABBIXAGENTUSER@
RETVAL=$?
diff --git a/network/zabbix_agentd/zabbix_agentd.SlackBuild b/network/zabbix_agentd/zabbix_agentd.SlackBuild
index 5c8de89178..1a579d9fd5 100644
--- a/network/zabbix_agentd/zabbix_agentd.SlackBuild
+++ b/network/zabbix_agentd/zabbix_agentd.SlackBuild
@@ -23,14 +23,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zabbix_agentd
-VERSION=${VERSION:-2.0.6}
+VERSION=${VERSION:-2.0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
diff --git a/network/zabbix_agentd/zabbix_agentd.info b/network/zabbix_agentd/zabbix_agentd.info
index a1d3dec548..5b6c1a3361 100644
--- a/network/zabbix_agentd/zabbix_agentd.info
+++ b/network/zabbix_agentd/zabbix_agentd.info
@@ -1,8 +1,8 @@
PRGNAM="zabbix_agentd"
-VERSION="2.0.6"
+VERSION="2.0.8"
HOMEPAGE="http://www.zabbix.com"
-DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-2.0.6.tar.gz"
-MD5SUM="f7261987731dd74b58cb1da890655ddc"
+DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-2.0.8.tar.gz"
+MD5SUM="8fef9e6f499295211dd9b2a9db96464b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""