aboutsummaryrefslogtreecommitdiff
path: root/network/zabbix_server
diff options
context:
space:
mode:
authorMichal Bialozor <bialyy@o2.pl>2014-05-18 20:11:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-18 20:11:59 +0700
commit9365d162f82b6f904ee667aeec1f61179b2ebcde (patch)
treea40fc78f811a949c1f45ddb7fa4e2d7cba5f5ab2 /network/zabbix_server
parentadd2698fd33f6e7521ae1f92760467fc6b8b261d (diff)
network/zabbix_server: Updated for version 2.2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/zabbix_server')
-rw-r--r--network/zabbix_server/zabbix_server.SlackBuild24
-rw-r--r--network/zabbix_server/zabbix_server.info6
2 files changed, 13 insertions, 17 deletions
diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild
index c24e2de3a5559..bc8d5da780875 100644
--- a/network/zabbix_server/zabbix_server.SlackBuild
+++ b/network/zabbix_server/zabbix_server.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for zabbix_server
-# Copyright 2013 Michal Bialozor, Gdansk, Pomorskie, POLAND
+# Copyright 2013-2014 Michal Bialozor, Gdansk, Pomorskie, POLAND
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zabbix_server
-VERSION=${VERSION:-2.0.11}
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -86,10 +86,10 @@ cd $PRGSHORT-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -122,16 +122,13 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
# Install "frontend" to $DOCROOT/zabbix
mkdir -p $PKG/$DOCROOT/$PRGSHORT
-cp -a frontends/php/* \
- $PKG/$DOCROOT/$PRGSHORT/
+cp -a frontends/php/* $PKG/$DOCROOT/$PRGSHORT/
chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGSHORT
# Database scripts
mkdir -p $PKG/usr/share/$PRGNAM/database/mysql
-cp -a database/mysql \
- $PKG/usr/share/$PRGNAM/database/
-cp -a upgrades/dbpatches \
- $PKG/usr/share/$PRGNAM/upgrades/
+cp -a database/mysql $PKG/usr/share/$PRGNAM/database/
+cp -a upgrades/dbpatches $PKG/usr/share/$PRGNAM/upgrades/
# Initial log file
mkdir -p $PKG/var/log/$PRGSHORT
@@ -157,8 +154,7 @@ cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
diff --git a/network/zabbix_server/zabbix_server.info b/network/zabbix_server/zabbix_server.info
index 1e5a266907bad..eebd36be0b524 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.11"
+VERSION="2.2.3"
HOMEPAGE="http://www.zabbix.com"
-DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-2.0.11.tar.gz"
-MD5SUM="9b093a98bc6907a987d4ab58c306d3be"
+DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-2.2.3.tar.gz"
+MD5SUM="cb1bda41a742175a445e8d32d103a315"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="iksemel jdk libssh2"