summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2013-06-29 02:14:38 (GMT)
committer Robby Workman <rworkman@slackbuilds.org>2013-06-29 02:14:38 (GMT)
commit741b299dc9ae49a23078a41baa966827d42d0ecd (patch)
tree703b137e2c7d13ad0c768cfd0febe53121e900b0
parenta17fde03f188217ffa5e838b21ca37ea74ebf151 (diff)
downloadslackbuilds-13.37.tar.gz
slackbuilds-13.37.tar.xz
network/zabbix_server: Updated for version 1.8.16.13.37
This commit was backported from the 14.0 repo at the request of the maintainer. The rationale is that lots of people are still using zabbix*-1.8.x, and since the 14.0 repo will soon be updated for 2.x, this would give those people the latest stable version with a minimum of hassle for them. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/zabbix_server/README3
-rw-r--r--network/zabbix_server/zabbix_server.SlackBuild17
-rw-r--r--network/zabbix_server/zabbix_server.info12
3 files changed, 20 insertions, 12 deletions
diff --git a/network/zabbix_server/README b/network/zabbix_server/README
index e5c11da..9fe2a5e 100644
--- a/network/zabbix_server/README
+++ b/network/zabbix_server/README
@@ -12,3 +12,6 @@ ZABBIXUSER and ZABBIXGROUP variables when running the build script.
For some important post-build and basic configuration instructions,
see the included README.SLACKWARE file.
+
+This requires iksemel and libssh2.
+This conflicts with zabbix_proxy package.
diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild
index ad5da64..191d202 100644
--- a/network/zabbix_server/zabbix_server.SlackBuild
+++ b/network/zabbix_server/zabbix_server.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for zabbix_server
# Copyright 2010-2011 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2012 Michal Bialozor, Gdansk, POLAND
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date 2011/12/30
-
PRGNAM=zabbix_server
-VERSION=${VERSION:-1.8.10}
+VERSION=${VERSION:-1.8.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -105,7 +104,10 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-server \
--with-mysql \
--with-net-snmp \
+ --with-jabber \
--with-libcurl \
+ --with-ssh2 \
+ --with-ldap \
--build=$ARCH-slackware-linux
make
@@ -124,7 +126,7 @@ cp -a frontends/php/* \
chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGSHORT
# Database scripts
-mkdir -p $PKG/usr/share/$PRGNAM/{create,upgrades}
+mkdir -p $PKG/usr/share/$PRGNAM/create $PKG/usr/share/$PRGNAM/upgrades
cp -a create/data create/schema \
$PKG/usr/share/$PRGNAM/create/
cp -a upgrades/dbpatches \
@@ -132,7 +134,7 @@ cp -a upgrades/dbpatches \
# Initial log file
mkdir -p $PKG/var/log/$PRGSHORT
-touch $PKG/var/log/$PRGSHORT/${PRGNAM}.log.new
+touch $PKG/var/log/$PRGSHORT/$PRGNAM.log.new
chown -R $ZABBIXUSER:$ZABBIXGROUP $PKG/var/log/$PRGSHORT
# Dir for pid-file
@@ -140,15 +142,18 @@ mkdir -p $PKG/var/run/$PRGSHORT
chown -R $ZABBIXUSER:$ZABBIXGROUP $PKG/var/run/$PRGSHORT
# Configuration file
-mkdir -p $PKG/etc/$PRGSHORT/externalscripts
+mkdir -p $PKG/etc/$PRGSHORT/alertscripts $PKG/etc/$PRGSHORT/externalscripts \
+ $PKG/etc/$PRGSHORT/zabbix_server.conf.d
sed -e "s,# PidFile=/tmp/,PidFile=/var/run/$PRGSHORT/," \
-e "s,# DBSocket=/tmp/,DBSocket=/var/run/mysql/," \
-e "s,LogFile=/tmp/,LogFile=/var/log/$PRGSHORT/," \
misc/conf/$PRGNAM.conf > $PKG/etc/$PRGSHORT/$PRGNAM.conf.new
+# Init script
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
+# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog CREDITS INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/network/zabbix_server/zabbix_server.info b/network/zabbix_server/zabbix_server.info
index 02695db..5ff96b7 100644
--- a/network/zabbix_server/zabbix_server.info
+++ b/network/zabbix_server/zabbix_server.info
@@ -1,10 +1,10 @@
PRGNAM="zabbix_server"
-VERSION="1.8.10"
+VERSION="1.8.16"
HOMEPAGE="http://www.zabbix.com"
-DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-1.8.10.tar.gz"
-MD5SUM="7e89f80c1822787c0831f7c0dbefcd7b"
+DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-1.8.16.tar.gz"
+MD5SUM="891b7a5c915f3060b66687a483dc0551"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
-APPROVED="Erik Hanson"
+MAINTAINER="Michal Bialozor"
+EMAIL="bialyy@o2.pl"
+APPROVED="rworkman"