summaryrefslogtreecommitdiff
path: root/network/zabbix_server/zabbix_server.SlackBuild
diff options
context:
space:
mode:
authorzux <zux@pie-dabas.net>2018-10-01 22:40:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-06 07:25:16 +0700
commit204ff098eaadb912364d8a1aacbff59c2c0293e2 (patch)
tree7cf8c2c060ff1c1b2dc5a2f43983fa425cb843aa /network/zabbix_server/zabbix_server.SlackBuild
parent09339ffac42fc427d5312b84ae4a28dfcbbd2b87 (diff)
downloadslackbuilds-204ff098eaadb912364d8a1aacbff59c2c0293e2.tar.gz
network/zabbix_server: Updated for version 3.4.14 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/zabbix_server/zabbix_server.SlackBuild')
-rw-r--r--network/zabbix_server/zabbix_server.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild
index 4e047afe0a..9f519d297c 100644
--- a/network/zabbix_server/zabbix_server.SlackBuild
+++ b/network/zabbix_server/zabbix_server.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zabbix_server
-VERSION=${VERSION:-2.4.3}
+VERSION=${VERSION:-3.4.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -63,8 +63,8 @@ if [ "$(grep ^$ZABBIXUSER: /etc/passwd)" = "" -o "$(grep ^$ZABBIXGROUP: /etc/gro
exit 1
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -102,13 +102,14 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-server \
- --enable-java \
--with-mysql \
--with-jabber \
--with-libcurl \
--with-net-snmp \
--with-ssh2 \
--with-ldap \
+ --with-ipv6 \
+ --with-libxml2 \
--build=$ARCH-slackware-linux
make