From db7a488214ea03684298d2de706a498c43536f93 Mon Sep 17 00:00:00 2001 From: zux Date: Wed, 7 Nov 2018 08:48:39 +0000 Subject: network/zabbix_proxy: Updated for version 4.0.1. Signed-off-by: David Spencer --- network/zabbix_proxy/README.SLACKWARE | 19 ++++++++++--------- network/zabbix_proxy/zabbix_proxy.SlackBuild | 4 +--- network/zabbix_proxy/zabbix_proxy.info | 8 ++++---- 3 files changed, 15 insertions(+), 16 deletions(-) (limited to 'network/zabbix_proxy') diff --git a/network/zabbix_proxy/README.SLACKWARE b/network/zabbix_proxy/README.SLACKWARE index 2c4104ecae..d9ccd5e4ad 100644 --- a/network/zabbix_proxy/README.SLACKWARE +++ b/network/zabbix_proxy/README.SLACKWARE @@ -4,13 +4,14 @@ README.Slackware This file contains some specific instructions to complete the installation of zabbix_proxy on Slackware. -You will need to have a working installation of MySQL (*) for zabbix_proxy -to run. MySQL server does not have to be on the same box as your +You will need to have a working installation of MariaDB (*) for zabbix_proxy +to run. MariaDB server does not have to be on the same box as your zabbix_proxy, but they need to be able to communicate and you will need at -least the MySQL client on the box that will run zabbix_proxy. +least the MariaDB client on the box that will run zabbix_proxy. -(*) zabbix can work with MySQL, Oracle, PostgreSQL and SQLite databases, - but these instructions are for MySQL, as it is included with Slackware. +(*) zabbix can work with MySQL and its forks, Oracle, PostgreSQL and IBM DB2 +databases, but these instructions are for MariaDB, as it is included with +Slackware. 0) Before running the SlackBuild script --------------------------------------- @@ -35,7 +36,7 @@ running: Never use the same DB, as the zabbix server uses. That will defenetly break it. -On your MySQL server, connect with full privileges: +On your MariaDB server, connect with full privileges: # mysql -u -p @@ -47,7 +48,7 @@ Create the zabbix database & user: mysql> flush privileges; mysql> quit -(note: if your MySQL server and zabbix proxy are the same, use "localhost" +(note: if your MariaDB server and zabbix proxy are the same, use "localhost" for ) On your zabbix proxy, connect to the new database: @@ -55,7 +56,7 @@ On your zabbix proxy, connect to the new database: # cd /usr/share/zabbix_proxy/database/mysql # mysql -h -u zabbix_proxy -p zabbix_proxy -In MySQL, create the schema & add initial data: +In MariaDB, create the schema & add initial data: mysql> source schema.sql; mysql> quit @@ -69,7 +70,7 @@ You will need to change at least the following lines: Server= Hostname= - DBHost= (Change if MySQL is not on localhost) + DBHost= (Change if MariaDB is not on localhost) DBName=zabbix_proxy DBUser=zabbix_proxy ("root" doesn't sound like a good idea) DBPassword= (Change as defined above) diff --git a/network/zabbix_proxy/zabbix_proxy.SlackBuild b/network/zabbix_proxy/zabbix_proxy.SlackBuild index c03f1218ff..8954b48c39 100644 --- a/network/zabbix_proxy/zabbix_proxy.SlackBuild +++ b/network/zabbix_proxy/zabbix_proxy.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=zabbix_proxy -VERSION=${VERSION:-3.4.14} +VERSION=${VERSION:-4.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -119,8 +119,6 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/share/$PRGNAM/database/mysql cp -a database/mysql/schema.sql \ $PKG/usr/share/$PRGNAM/database/mysql/ -cp -a upgrades/dbpatches \ - $PKG/usr/share/$PRGNAM/upgrades/ # Initial log file mkdir -p $PKG/var/log/$PRGSHORT diff --git a/network/zabbix_proxy/zabbix_proxy.info b/network/zabbix_proxy/zabbix_proxy.info index 28596da5c6..41fbce4e2e 100644 --- a/network/zabbix_proxy/zabbix_proxy.info +++ b/network/zabbix_proxy/zabbix_proxy.info @@ -1,10 +1,10 @@ PRGNAM="zabbix_proxy" -VERSION="3.4.14" +VERSION="4.0.1" HOMEPAGE="https://www.zabbix.com" -DOWNLOAD="https://downloads.sourceforge.net/zabbix/zabbix-3.4.14.tar.gz" -MD5SUM="16cdacf7198538c0456523d75bb149c7" +DOWNLOAD="https://downloads.sourceforge.net/zabbix/zabbix-4.0.1.tar.gz" +MD5SUM="360a3325389bba50e051080a7ae27eb7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="iksemel" +REQUIRES="iksemel jdk" MAINTAINER="zux" EMAIL="zux@pie-dabas.net" -- cgit v1.2.3