network/zabbix_server: Updated for version 6.4.11.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
zux 2024-03-15 20:30:34 +07:00 committed by Willy Sudiarto Raharjo
parent 7101070064
commit 769d7b5481
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
4 changed files with 16 additions and 16 deletions

View File

@ -4,7 +4,7 @@ README.Slackware
This file contains some specific instructions to complete the
installation of zabbix_server on Slackware.
zabbix-java has been moved to a separate package - zabbix-java-gateway
zabbix-java has been moved to a separate package - zabbix_java_gateway
Frontend is now also in a seperate package - zabbix_frontend as it might be installed on a seperate machine
@ -14,7 +14,7 @@ zabbix_server to run. MariaDB server does not have to be on the same box as
zabbix_server, but they need to be able to communicate and you will need at
least the MariaDB client on the box that will run zabbix_server.
(*) zabbix can work with MySQL and its forks, Oracle and PostgreSQL
(*) zabbix can work with MySQL and its forks and PostgreSQL
databases, but these instructions are for MariaDB, as it is included with
Slackware.

View File

@ -74,6 +74,3 @@ case "$1" in
echo "Usage: $(basename $0) {start|stop|restart }"
RETVAL=1
esac
exit $RETVAL
#EOF

View File

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zabbix_server
VERSION=${VERSION:-6.4.10}
VERSION=${VERSION:-6.4.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -119,11 +119,15 @@ PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64
--with-ssh \
--with-ldap \
--enable-ipv6 \
--with-libxml2=/usr/include/libxml2 \
--with-libxml2 \
--with-openssl \
--enable-ipv6 \
--with-unixodbc \
--with-libpcre2 \
--with-zlib \
--with-libpthread \
--with-libevent \
--with-iconv \
--build=$ARCH-slackware-linux
make
@ -135,11 +139,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Install "frontend" to $DOCROOT/zabbix
#mkdir -p $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/
@ -160,7 +159,11 @@ 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/," \
$PKG/etc/$PRGSHORT/$PRGNAM.conf > $PKG/etc/$PRGSHORT/$PRGNAM.conf.new
rm -f $PKG/etc/$PRGSHORT/$PRGNAM.conf
rm -f $PKG/etc/$PRGSHORT/$PRGNAM.conf
rm -rf $PKG/etc/$PRGSHORT/$PRGNAM.conf.d
rm -rf $PKG/etc/$PRGSHORT/alertscripts/
rm -rf $PKG/etc/$PRGSHORT/externalscripts/
# Init script
mkdir -p $PKG/etc/rc.d

View File

@ -1,8 +1,8 @@
PRGNAM="zabbix_server"
VERSION="6.4.10"
VERSION="6.4.11"
HOMEPAGE="https://www.zabbix.com"
DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.10.tar.gz"
MD5SUM="641cf6e5820dac44700963751042f900"
DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.11.tar.gz"
MD5SUM="c1bac67a0d6b9d0d4376ca8176f327a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="unixODBC"