summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Bialozor <bialyy@o2.pl>2013-10-25 23:19:11 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:38:50 -0500
commit78347f0add26a25d5a86b0f1ed55f0f9104f6193 (patch)
treec73359cc3c2a333646367549030c4a553d849ea3
parent6b822f86419a8158f8d2bbd46758b5c57dbdcc48 (diff)
downloadslackbuilds-78347f0add26a25d5a86b0f1ed55f0f9104f6193.tar.gz
network/zabbix_agentd: Updated for version 2.0.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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=""