summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Bialozor <bialyy@o2.pl>2013-10-25 23:38:53 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:38:50 -0500
commitdfe204ed9b034f8b97e73dead025c3f4aae1f8ba (patch)
treea07b5fbba8fb4d00a934c2b2e7c3dcacfaba8663
parent78347f0add26a25d5a86b0f1ed55f0f9104f6193 (diff)
downloadslackbuilds-dfe204ed9b034f8b97e73dead025c3f4aae1f8ba.tar.gz
network/zabbix_server: Updated for version 2.0.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/zabbix_server/rc.zabbix_server1
-rw-r--r--network/zabbix_server/zabbix_server.SlackBuild5
-rw-r--r--network/zabbix_server/zabbix_server.info6
3 files changed, 8 insertions, 4 deletions
diff --git a/network/zabbix_server/rc.zabbix_server b/network/zabbix_server/rc.zabbix_server
index 67a0e64575..04011cca4f 100644
--- a/network/zabbix_server/rc.zabbix_server
+++ b/network/zabbix_server/rc.zabbix_server
@@ -17,6 +17,7 @@ prg_start() {
rm -f ${PIDDIR}${PRGNAM}.pid
fi
fi
+ mkdir -p ${PIDDIR}
${PRGDIR}${PRGNAM} >> ${LOGDIR}${PRGNAM}.log 2>&1
RETVAL=$?
diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild
index 4da5434a23..60d0bcd4a4 100644
--- a/network/zabbix_server/zabbix_server.SlackBuild
+++ b/network/zabbix_server/zabbix_server.SlackBuild
@@ -23,14 +23,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zabbix_server
-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
@@ -102,6 +104,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-server \
+ --enable-java \
--with-mysql \
--with-jabber \
--with-libcurl \
diff --git a/network/zabbix_server/zabbix_server.info b/network/zabbix_server/zabbix_server.info
index 1aa1967b28..30700e341f 100644
--- a/network/zabbix_server/zabbix_server.info
+++ b/network/zabbix_server/zabbix_server.info
@@ -1,8 +1,8 @@
PRGNAM="zabbix_server"
-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="iksemel jdk libssh2"