network/zabbix_server: Updated for version 2.2.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Michal Bialozor 2014-05-18 20:11:59 +07:00 committed by Willy Sudiarto Raharjo
parent add2698fd3
commit 9365d162f8
2 changed files with 13 additions and 17 deletions

View file

@ -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

View file

@ -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"