diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/zabbix_server/README.SLACKWARE | 6 | ||||
-rw-r--r-- | network/zabbix_server/zabbix_server.SlackBuild | 21 | ||||
-rw-r--r-- | network/zabbix_server/zabbix_server.info | 8 |
3 files changed, 25 insertions, 10 deletions
diff --git a/network/zabbix_server/README.SLACKWARE b/network/zabbix_server/README.SLACKWARE index c2865e8fbb..58660f6e7c 100644 --- a/network/zabbix_server/README.SLACKWARE +++ b/network/zabbix_server/README.SLACKWARE @@ -38,7 +38,7 @@ running: On your MySQL server, connect with full privileges: - # mysql -u <your_user> -p <your_password> + # mysql -u <your_user> -p<your_password> Create the zabbix database & user: @@ -67,8 +67,10 @@ In MySQL, create the schema & add initial data: zabbix requires some parameters in /etc/httpd/php.ini to be altered: - - date.timezone Needs to be set (default = blank) + - post_max_size = 16M Default = 8M - max_execution_time = 300 Default = 30 + - max_input_time = 300 Default = 60 + - date.timezone Needs to be set (default = blank) After changing the php.ini file, you'll need to restart httpd for the changes to have effect: diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild index fc4b944622..b824166963 100644 --- a/network/zabbix_server/zabbix_server.SlackBuild +++ b/network/zabbix_server/zabbix_server.SlackBuild @@ -2,10 +2,10 @@ # Slackware build script for zabbix_server # maintained by Niels Horn <niels.horn@gmail.com> -# revision date 2010-01-27 +# revision date 2010-03-30 PRGNAM=zabbix_server -VERSION=1.8.1 +VERSION=1.8.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,12 +44,19 @@ fi if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" + ARCHQUADLET="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" + ARCHQUADLET="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" + ARCHQUADLET="" +elif [ "$ARCH" = "arm" ]; then + SLKCFLAGS="-O2 -march=armv4t" + LIBDIRSUFFIX="" + ARCHQUADLET="-gnueabi" fi rm -rf $PKG @@ -79,7 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \ --with-mysql \ --with-net-snmp \ --with-libcurl \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux$ARCHQUADLET make make install DESTDIR=$PKG @@ -91,6 +98,11 @@ make install DESTDIR=$PKG xargs strip --strip-unneeded 2> /dev/null || true ) +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -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/* \ @@ -115,7 +127,8 @@ chown -R $ZABBIXUSER:$ZABBIXGROUP $PKG/var/run/$PRGSHORT # Configuration file mkdir -p $PKG/etc/$PRGSHORT -sed -e "s,PidFile=/var/tmp/,PidFile=/var/run/$PRGSHORT/," \ +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 diff --git a/network/zabbix_server/zabbix_server.info b/network/zabbix_server/zabbix_server.info index 0a27aaac10..654f6074a6 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.1" +VERSION="1.8.2" HOMEPAGE="http://www.zabbix.com" -DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-1.8.1.tar.gz" -MD5SUM="ab1a5006a885d780084bb870320abbc9" +DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-1.8.2.tar.gz" +MD5SUM="fa4be4fa7ac20a33cc0aa5c27b827746" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Niels Horn" EMAIL="niels.horn@gmail.com" -APPROVED="Erik Hanson" +APPROVED="dsomero" |