summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-12-13 22:30:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-12-13 22:30:18 +0000
commit391c68d29c56317c38c9ba153c558dd36d8b62dc (patch)
tree9acac72bca2b91360000dcc1ddb2900b79b7c987
parentMASTER_SITE_FEDORA_LINUX: (diff)
- Update zabbix to 1.8
- Split the port to server, frontend, agent and proxy slaves - Add zabbix16 for people who don't want to update to 1.8 yet PR: ports/141364 Submitted by: Jim Riggs <ports@christianserving.org> (maintainer)
Notes
Notes: svn path=/head/; revision=245727
-rw-r--r--MOVED1
-rw-r--r--UPDATING21
-rw-r--r--net-mgmt/Makefile8
-rw-r--r--net-mgmt/zabbix-agent/Makefile39
-rw-r--r--net-mgmt/zabbix-agent/distinfo3
-rw-r--r--net-mgmt/zabbix-agent/files/patch-configure12
-rw-r--r--net-mgmt/zabbix-agent/files/zabbix_agentd.in16
-rw-r--r--net-mgmt/zabbix-agent/pkg-descr8
-rw-r--r--net-mgmt/zabbix-agent/pkg-install45
-rw-r--r--net-mgmt/zabbix-frontend/Makefile48
-rw-r--r--net-mgmt/zabbix-proxy/Makefile13
-rw-r--r--net-mgmt/zabbix-server/Makefile122
-rw-r--r--net-mgmt/zabbix-server/distinfo3
-rw-r--r--net-mgmt/zabbix-server/files/pkg-message.in11
-rw-r--r--net-mgmt/zabbix-server/files/zabbix_agentd.in26
-rw-r--r--net-mgmt/zabbix-server/files/zabbix_proxy.in26
-rw-r--r--net-mgmt/zabbix-server/files/zabbix_server.in26
-rw-r--r--net-mgmt/zabbix-server/pkg-descr12
-rw-r--r--net-mgmt/zabbix-server/pkg-plist56
-rw-r--r--net-mgmt/zabbix-server/pkg-plist.agent8
-rw-r--r--net-mgmt/zabbix-server/pkg-plist.frontend442
-rw-r--r--net-mgmt/zabbix/Makefile133
-rw-r--r--net-mgmt/zabbix/distinfo3
-rw-r--r--net-mgmt/zabbix/files/patch-configure12
-rw-r--r--net-mgmt/zabbix/files/pkg-message.in7
-rw-r--r--net-mgmt/zabbix/files/zabbix_proxy.in16
-rw-r--r--net-mgmt/zabbix/files/zabbix_server.sh.in16
-rw-r--r--net-mgmt/zabbix/pkg-descr8
-rw-r--r--net-mgmt/zabbix/pkg-install45
-rw-r--r--net-mgmt/zabbix/pkg-plist368
-rw-r--r--net-mgmt/zabbix16-agent/Makefile19
-rw-r--r--net-mgmt/zabbix16-frontend/Makefile47
-rw-r--r--net-mgmt/zabbix16-proxy/Makefile13
-rw-r--r--net-mgmt/zabbix16-server/Makefile118
-rw-r--r--net-mgmt/zabbix16-server/distinfo3
-rw-r--r--net-mgmt/zabbix16-server/files/patch-src-zabbix_get-Makefile.in11
-rw-r--r--net-mgmt/zabbix16-server/files/patch-src-zabbix_sender-Makefile.in11
-rw-r--r--net-mgmt/zabbix16-server/files/pkg-message.in11
-rw-r--r--net-mgmt/zabbix16-server/files/zabbix_agentd.in26
-rw-r--r--net-mgmt/zabbix16-server/files/zabbix_proxy.in26
-rw-r--r--net-mgmt/zabbix16-server/files/zabbix_server.in26
-rw-r--r--net-mgmt/zabbix16-server/pkg-descr12
-rw-r--r--net-mgmt/zabbix16-server/pkg-plist48
-rw-r--r--net-mgmt/zabbix16-server/pkg-plist.agent8
-rw-r--r--net-mgmt/zabbix16-server/pkg-plist.frontend322
-rw-r--r--net-mgmt/zabbix2-agent/Makefile39
-rw-r--r--net-mgmt/zabbix2-agent/distinfo3
-rw-r--r--net-mgmt/zabbix2-agent/files/patch-configure12
-rw-r--r--net-mgmt/zabbix2-agent/files/zabbix_agentd.in16
-rw-r--r--net-mgmt/zabbix2-agent/pkg-descr8
-rw-r--r--net-mgmt/zabbix2-agent/pkg-install45
-rw-r--r--net-mgmt/zabbix2-frontend/Makefile48
-rw-r--r--net-mgmt/zabbix2-proxy/Makefile13
-rw-r--r--net-mgmt/zabbix2-server/Makefile122
-rw-r--r--net-mgmt/zabbix2-server/distinfo3
-rw-r--r--net-mgmt/zabbix2-server/files/pkg-message.in11
-rw-r--r--net-mgmt/zabbix2-server/files/zabbix_agentd.in26
-rw-r--r--net-mgmt/zabbix2-server/files/zabbix_proxy.in26
-rw-r--r--net-mgmt/zabbix2-server/files/zabbix_server.in26
-rw-r--r--net-mgmt/zabbix2-server/pkg-descr12
-rw-r--r--net-mgmt/zabbix2-server/pkg-plist56
-rw-r--r--net-mgmt/zabbix2-server/pkg-plist.agent8
-rw-r--r--net-mgmt/zabbix2-server/pkg-plist.frontend442
-rw-r--r--net-mgmt/zabbix2/Makefile133
-rw-r--r--net-mgmt/zabbix2/distinfo3
-rw-r--r--net-mgmt/zabbix2/files/patch-configure12
-rw-r--r--net-mgmt/zabbix2/files/pkg-message.in7
-rw-r--r--net-mgmt/zabbix2/files/zabbix_proxy.in16
-rw-r--r--net-mgmt/zabbix2/files/zabbix_server.sh.in16
-rw-r--r--net-mgmt/zabbix2/pkg-descr8
-rw-r--r--net-mgmt/zabbix2/pkg-install45
-rw-r--r--net-mgmt/zabbix2/pkg-plist368
72 files changed, 2328 insertions, 1451 deletions
diff --git a/MOVED b/MOVED
index 17dd939abdd4..2f81852edd61 100644
--- a/MOVED
+++ b/MOVED
@@ -4220,3 +4220,4 @@ x11-toolkits/p5-Gnome||2009-12-08|Has expired: Has been broken for more than 6 m
editors/abiword-extras|editors/abiword|2009-12-08|This subport has been included in the main port.
editors/abiword-plugins|editors/abiword|2009-12-08|This subport has been included in the main port.
www/jakarta-tomcat5||2009-12-10|Has expired: Old version, consider using www/tomcat55 or www/tomcat6 instead
+net-mgmt/zabbix|net-mgmt/zabbix-server|2009-12-13|port was split into three components
diff --git a/UPDATING b/UPDATING
index 6b8e47b66c10..56d1cbda1a9e 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,27 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20091213
+ AFFECTS: users of net-mgmt/zabbix, net-mgmt/zabbix-agent
+ AUTHOR: Jim Riggs <ports@christianserving.org>
+
+ In order to simplify configuration and better separate the different
+ components of Zabbix, the former zabbix port has been split into
+ three: zabbix-server, zabbix-proxy, and zabbix-frontend. Each
+ component has distinct functionality and may be installed
+ independently on separate systems. The existing zabbix-agent port
+ remains.
+
+ Additionally, the new zabbix-frontend port now (correctly) installs
+ the PHP frontend in PREFIX/www/zabbix. The old zabbix port
+ installed the files in PREFIX/share/zabbix/php. Web server
+ configurations must be updated accordingly.
+
+ Finally, Zabbix has been updated to version 1.8. Not everyone may
+ be able to upgradee from version 1.6 immediately, though, so 1.6.8
+ versions of the ports are also available as zabbix16-server,
+ zabbix16-proxy, zabbix16-agent, and zabbix16-frontend.
+
20091206:
AFFECTS: users of emulators/qemu
AUTHOR: nox@FreeBSD.org
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index ed17844134e6..a54e43bd1d10 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -276,7 +276,13 @@
SUBDIR += xymon-server
SUBDIR += yabm
SUBDIR += yaf
- SUBDIR += zabbix
+ SUBDIR += zabbix16-agent
+ SUBDIR += zabbix16-frontend
+ SUBDIR += zabbix16-proxy
+ SUBDIR += zabbix16-server
SUBDIR += zabbix-agent
+ SUBDIR += zabbix-frontend
+ SUBDIR += zabbix-proxy
+ SUBDIR += zabbix-server
.include <bsd.port.subdir.mk>
diff --git a/net-mgmt/zabbix-agent/Makefile b/net-mgmt/zabbix-agent/Makefile
index 9f4fa00d5079..4308e6987d5c 100644
--- a/net-mgmt/zabbix-agent/Makefile
+++ b/net-mgmt/zabbix-agent/Makefile
@@ -6,41 +6,14 @@
#
PORTNAME= zabbix
-PORTVERSION= 1.6.6
-PORTEPOCH= 2
-CATEGORIES= net-mgmt
-MASTER_SITES= SF/${PORTNAME}/ZABBIX%20Latest%20Stable/${PORTVERSION}
PKGNAMESUFFIX= -agent
-MAINTAINER= ports@christianserving.org
-COMMENT= Application and network monitoring solution
+MASTERDIR= ${.CURDIR}/../zabbix-server
-USE_GMAKE= yes
-USE_RC_SUBR= zabbix_agentd
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-agent --disable-server
-MAKE_ARGS= ARCH=freebsd
-.ifndef WITHOUT_IPV6
-CONFIGURE_ARGS+=--enable-ipv6
-.endif
+PLIST= ${PKGDIR}/pkg-plist.agent
-ZABBIX_BIN= agent agentd get sender
-ZABBIX_CFG= agent agentd
-ZABBIX_BINFILES=${ZABBIX_BIN:S|^|zabbix_|:C|.+|&/&|:S|agentd/|agent/|}
-ZABBIX_CFGFILES=${ZABBIX_CFG:S|^|zabbix_|:S|$|.conf|}
-PLIST_FILES= ${ZABBIX_BIN:S|^|bin/zabbix_|} \
- ${ZABBIX_CFG:S|^|%%ETCDIR%%/zabbix_|:S|$|.conf.sample|}
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= IPV6 "Support for IPv6" on
-post-patch:
- @${FIND} ${WRKSRC}/src/ -type f|${XARGS} \
- ${REINPLACE_CMD} -e 's|/etc/zabbix|${ETCDIR}|;s|/usr/sbin|${LOCALBASE}/sbin|'
-
-do-install:
- @${ECHO_CMD} '@unexec ${RMDIR} %D/${ETCDIR_REL} 2>/dev/null || true' >> ${TMPPLIST}
- @${INSTALL_PROGRAM} ${ZABBIX_BINFILES:S,^,${WRKSRC}/src/,} ${PREFIX}/bin/
- @${INSTALL} -d ${ETCDIR}/
- @for i in ${ZABBIX_CFGFILES};do\
- ${INSTALL_DATA} ${WRKSRC}/misc/conf/$$i ${ETCDIR}/$$i.sample;done
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-
-.include <bsd.port.mk>
+.include <bsd.port.options.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix-agent/distinfo b/net-mgmt/zabbix-agent/distinfo
deleted file mode 100644
index 086bdcdeffe5..000000000000
--- a/net-mgmt/zabbix-agent/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (zabbix-1.6.6.tar.gz) = 52779160e71c12d47b97f7336e25c395
-SHA256 (zabbix-1.6.6.tar.gz) = 9eb7bbe99c516c11020d5c95c8f8783fb1dc1123ce9c7e2135db7bfd0ea0aa75
-SIZE (zabbix-1.6.6.tar.gz) = 8255436
diff --git a/net-mgmt/zabbix-agent/files/patch-configure b/net-mgmt/zabbix-agent/files/patch-configure
deleted file mode 100644
index a1b0bd52a4fe..000000000000
--- a/net-mgmt/zabbix-agent/files/patch-configure
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure.orig 2009-03-28 13:23:22.000000000 -0500
-+++ configure 2009-03-28 13:23:40.000000000 -0500
-@@ -580,6 +580,9 @@
- # Factoring default headers for most tests.
- ac_includes_default="\
- #include <stdio.h>
-+#include <sys/socket.h>
-+#include <sys/param.h>
-+#include <netinet/in.h>
- #ifdef HAVE_SYS_TYPES_H
- # include <sys/types.h>
- #endif
diff --git a/net-mgmt/zabbix-agent/files/zabbix_agentd.in b/net-mgmt/zabbix-agent/files/zabbix_agentd.in
deleted file mode 100644
index cc3eeb70286b..000000000000
--- a/net-mgmt/zabbix-agent/files/zabbix_agentd.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# PROVIDE: zabbix_agentd
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-. %%RC_SUBR%%
-
-name="zabbix_agentd"
-rcvar=${name}_enable
-load_rc_config $name
-eval : \${${rcvar}='NO'}
-
-command="%%PREFIX%%/bin/${name}"
-required_files="%%ETCDIR%%/${name}.conf"
-
-run_rc_command "$1"
diff --git a/net-mgmt/zabbix-agent/pkg-descr b/net-mgmt/zabbix-agent/pkg-descr
deleted file mode 100644
index 52ecef039fcf..000000000000
--- a/net-mgmt/zabbix-agent/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Zabbix is software for application and network monitoring.
-Zabbix supports both polling and trapping techniques to
-collect data from monitored hosts. Flexible notification
-mechanism allows easy and quckly configure email notifications
-for pre-defined events. Zabbix is freely available under the
-terms of the GNU General Public License (GPL).
-
-WWW: http://www.zabbix.com/
diff --git a/net-mgmt/zabbix-agent/pkg-install b/net-mgmt/zabbix-agent/pkg-install
deleted file mode 100644
index f0b59f76cc4a..000000000000
--- a/net-mgmt/zabbix-agent/pkg-install
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# Script was taken from mysql323-server port, and modified
-# to suit zabbix needs
-
-[ -n "${PACKAGE_BUILDING}" ] && exit 0
-
-[ "${2}" = "POST-INSTALL" ] && exit 0
-
-PATH=/bin:/usr/sbin
-
-USER=zabbix
-GROUP=${USER}
-UID=122
-GID=${UID}
-
-if pw group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
-else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
-fi
-
-if pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
- if pw usermod ${USER} -d /nonexistent
- then
- echo "Changed home directory of \"${USER}\" to /nonexistent"
- else
- echo "Changing home directory of \"${USER}\" to /nonexistent failed..."
- exit 1
- fi
-else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d /nonexistent -s /sbin/nologin -c "Zabbix Sandbox"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
-fi
diff --git a/net-mgmt/zabbix-frontend/Makefile b/net-mgmt/zabbix-frontend/Makefile
new file mode 100644
index 000000000000..a57bfff739e2
--- /dev/null
+++ b/net-mgmt/zabbix-frontend/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: zabbix-frontend
+# Date created: 2009-12-09
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PKGNAMESUFFIX= -frontend
+
+MASTERDIR= ${.CURDIR}/../zabbix-server
+
+NO_BUILD= yes
+PATCHDIR=
+PLIST= ${PKGDIR}/pkg-plist.frontend
+
+USE_PHP= bcmath gd pcre snmp sockets
+IGNORE_WITH_PHP= 4
+WANT_PHP_WEB= yes
+
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= MYSQL "Use MySQL backend" on \
+ PGSQL "Use PostgreSQL backend" off \
+ SQLITE "Use SQLite backend" off
+
+.include <bsd.port.options.mk>
+
+.ifndef WITHOUT_MYSQL
+USE_PHP+= mysql
+.endif
+
+.ifdef WITH_MYSQLI
+USE_PHP+= mysqli
+.endif
+
+.ifdef WITH_PGSQL
+USE_PHP+= pgsql
+.endif
+
+.ifdef WITH_SQLITE
+USE_PHP+= sqlite
+.endif
+
+do-install:
+ @${INSTALL} -d ${WWWDIR}
+ @cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${WWWDIR}
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix-proxy/Makefile b/net-mgmt/zabbix-proxy/Makefile
new file mode 100644
index 000000000000..d43f8c1952e3
--- /dev/null
+++ b/net-mgmt/zabbix-proxy/Makefile
@@ -0,0 +1,13 @@
+# New ports collection makefile for: zabbix-proxy
+# Date created: 2009-12-09
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PKGNAMESUFFIX= -proxy
+
+MASTERDIR= ${.CURDIR}/../zabbix-server
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix-server/Makefile b/net-mgmt/zabbix-server/Makefile
new file mode 100644
index 000000000000..220c7e2ff5a7
--- /dev/null
+++ b/net-mgmt/zabbix-server/Makefile
@@ -0,0 +1,122 @@
+# New ports collection makefile for: zabbix-server
+# Date created: 2009-12-09
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PORTVERSION= 1.8
+PORTEPOCH= 2
+CATEGORIES= net-mgmt
+MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION}
+PKGNAMESUFFIX?= -server
+
+MAINTAINER= ports@christianserving.org
+COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//})
+
+CONFLICTS= ${PKGBASE}-1.[0-6]*
+
+.if ${PKGNAMESUFFIX} != "-agent"
+CONFLICTS+= ${PORTNAME}-1.[0-6]*
+.endif
+
+ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//}
+
+.if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings
+LIB_DEPENDS= netsnmp:${PORTSDIR}/net-mgmt/net-snmp \
+ curl:${PORTSDIR}/ftp/curl
+
+SUB_FILES= pkg-message
+
+.if ${ZABBIX_BUILD} != "agent"
+MAN8= ${PORTNAME}_${ZABBIX_BUILD}.8
+USE_RC_SUBR= ${PORTNAME}_${ZABBIX_BUILD}
+.else
+USE_ICONV= yes
+MAN1= ${PORTNAME}_get.1 ${PORTNAME}_sender.1
+MAN8= ${PORTNAME}_${ZABBIX_BUILD}d.8
+USE_RC_SUBR= ${PORTNAME}_${ZABBIX_BUILD}d
+.endif
+
+USERS= zabbix
+GROUPS= zabbix
+
+PLIST_SUB= ZABBIX_BUILD=${ZABBIX_BUILD}
+SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD}
+
+MAKE_ARGS+= ARCH=freebsd
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} --with-net-snmp
+
+.if ${ZABBIX_BUILD} != "agent"
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= MYSQL "Use MySQL backend" on \
+ PGSQL "Use PostgreSQL backend" off \
+ SQLITE "Use SQLite backend" off \
+ IPV6 "Support for IPv6" on \
+ LDAP "Support for checking LDAP servers" on \
+ JABBER "Use jabber media type" on \
+ FPING "Use fping for pinging hosts" on
+
+.include <bsd.port.options.mk>
+
+.ifndef WITHOUT_MYSQL
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql
+.elifdef WITH_PGSQL
+USE_PGSQL= yes
+CONFIGURE_ARGS+= --with-pgsql
+.elifdef WITH_SQLITE
+USE_SQLITE= yes
+CONFIGURE_ARGS+= --with-sqlite3
+.else
+IGNORE= zabbix requires a database backend
+.endif
+
+.ifndef WITHOUT_LDAP
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+= --with-ldap
+.endif
+
+.ifndef WITHOUT_JABBER
+LIB_DEPENDS+= iksemel:${PORTSDIR}/textproc/iksemel
+CONFIGURE_ARGS+= --with-jabber
+.endif
+
+.ifndef WITHOUT_FPING
+RUN_DEPENDS+= fping:${PORTSDIR}/net/fping
+.endif
+.endif # if ${ZABBIX_BUILD} != "agent"
+
+.ifdef WITH_IPV6
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+post-patch:
+ @${GREP} -rl "/etc/zabbix" ${WRKSRC} \
+ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' \
+ && ${FIND} ${WRKSRC} -type f -name '*.bak' -exec ${RM} -f {} +
+
+.if ${ZABBIX_BUILD} != "agent"
+.ifdef WITHOUT_FPING
+ @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}.conf
+.endif
+.endif
+
+post-install:
+ @${INSTALL} -d ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}.conf ${ETCDIR}/${PORTNAME}_${ZABBIX_BUILD}.conf.sample
+
+.if ${ZABBIX_BUILD} == "agent"
+ @${INSTALL_DATA} ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}d.conf ${ETCDIR}/${PORTNAME}_${ZABBIX_BUILD}d.conf.sample
+.endif
+
+.if ${ZABBIX_BUILD} != "agent"
+ @cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches ${DATADIR}/${ZABBIX_BUILD}/upgrades/
+ @cd ${WRKSRC}/create/ && ${COPYTREE_SHARE} "data schema" ${DATADIR}/${ZABBIX_BUILD}/create/
+ @${CAT} ${PKGMESSAGE}
+.endif
+.endif # if ${ZABBIX_BUILD} != "frontend"
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/zabbix-server/distinfo b/net-mgmt/zabbix-server/distinfo
new file mode 100644
index 000000000000..3ee658f07890
--- /dev/null
+++ b/net-mgmt/zabbix-server/distinfo
@@ -0,0 +1,3 @@
+MD5 (zabbix-1.8.tar.gz) = 066153713c05f873b4344e4ea1e065e9
+SHA256 (zabbix-1.8.tar.gz) = 6743f01f27116ead7b48927ac184708bb920541c88e63602fe1f2b7401866eec
+SIZE (zabbix-1.8.tar.gz) = 3549582
diff --git a/net-mgmt/zabbix-server/files/pkg-message.in b/net-mgmt/zabbix-server/files/pkg-message.in
new file mode 100644
index 000000000000..754f2c90ce66
--- /dev/null
+++ b/net-mgmt/zabbix-server/files/pkg-message.in
@@ -0,0 +1,11 @@
+======================================================================
+Zabbix requires a database. If you are using SQLite, one will be
+created automatically. Otherwise you can install one as follows (<db>
+is your database engine and <db_client> is its client program):
+
+% cd %%DATADIR%%/%%ZABBIX_BUILD%%/create
+% cat schema/<db>.sql data/data.sql data/images_<db>.sql | <db_client>
+
+To upgrade an existing database, see the scripts in
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades.
+======================================================================
diff --git a/net-mgmt/zabbix-server/files/zabbix_agentd.in b/net-mgmt/zabbix-server/files/zabbix_agentd.in
new file mode 100644
index 000000000000..b4f13bdfd4cb
--- /dev/null
+++ b/net-mgmt/zabbix-server/files/zabbix_agentd.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_agentd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_agentd:
+#
+# zabbix_agentd_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_agentd.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_agentd"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_agentd_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix-server/files/zabbix_proxy.in b/net-mgmt/zabbix-server/files/zabbix_proxy.in
new file mode 100644
index 000000000000..14ab46b8a2a1
--- /dev/null
+++ b/net-mgmt/zabbix-server/files/zabbix_proxy.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_proxy
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_proxy:
+#
+# zabbix_proxy_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_proxy.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_proxy"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_proxy_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix-server/files/zabbix_server.in b/net-mgmt/zabbix-server/files/zabbix_server.in
new file mode 100644
index 000000000000..b8c5bc324f44
--- /dev/null
+++ b/net-mgmt/zabbix-server/files/zabbix_server.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_server
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_server:
+#
+# zabbix_server_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_server.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_server"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_server_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix-server/pkg-descr b/net-mgmt/zabbix-server/pkg-descr
new file mode 100644
index 000000000000..4165c097388f
--- /dev/null
+++ b/net-mgmt/zabbix-server/pkg-descr
@@ -0,0 +1,12 @@
+Zabbix is an enterprise-class open source distributed monitoring
+solution.
+
+Zabbix is software that monitors numerous parameters of a network and
+the health and integrity of servers. Zabbix uses a flexible
+notification mechanism that allows users to configure e-mail based
+alerts for virtually any event. This allows a fast reaction to server
+problems. Zabbix offers excellent reporting and data visualisation
+features based on the stored data. This makes Zabbix ideal for
+capacity planning.
+
+WWW: http://www.zabbix.com/
diff --git a/net-mgmt/zabbix-server/pkg-plist b/net-mgmt/zabbix-server/pkg-plist
new file mode 100644
index 000000000000..3f1ab4463203
--- /dev/null
+++ b/net-mgmt/zabbix-server/pkg-plist
@@ -0,0 +1,56 @@
+@comment $FreeBSD$
+%%ETCDIR%%/zabbix_%%ZABBIX_BUILD%%.conf.sample
+sbin/zabbix_%%ZABBIX_BUILD%%
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/data.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Hub.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Hub_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Network.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Network_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Notebook.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Notebook_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Phone.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Phone_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Printer.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Printer_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Router.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Router_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Satellite.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Satellite_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Server.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Server_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/UPS.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/UPS_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Workstation.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Workstation_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_mysql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_oracle.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_pgsql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_sqlite3.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/mysql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/oracle.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/postgresql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/sqlite.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/mysql/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/oracle/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/postgresql/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/oracle/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/postgresql/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/mysql/upgrade
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/mysql/patch.sql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/postgresql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/oracle
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/mysql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/postgresql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/oracle
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/mysql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/schema
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/data
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%
+@dirrmtry %%DATADIR%%
+@dirrmtry %%ETCDIR%%
diff --git a/net-mgmt/zabbix-server/pkg-plist.agent b/net-mgmt/zabbix-server/pkg-plist.agent
new file mode 100644
index 000000000000..098c6d80e769
--- /dev/null
+++ b/net-mgmt/zabbix-server/pkg-plist.agent
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%ETCDIR%%/zabbix_agent.conf.sample
+%%ETCDIR%%/zabbix_agentd.conf.sample
+bin/zabbix_get
+bin/zabbix_sender
+sbin/zabbix_agent
+sbin/zabbix_agentd
+@dirrmtry %%ETCDIR%%
diff --git a/net-mgmt/zabbix-server/pkg-plist.frontend b/net-mgmt/zabbix-server/pkg-plist.frontend
new file mode 100644
index 000000000000..1bc178631f52
--- /dev/null
+++ b/net-mgmt/zabbix-server/pkg-plist.frontend
@@ -0,0 +1,442 @@
+@comment $FreeBSD$
+%%WWWDIR%%/acknow.php
+%%WWWDIR%%/actionconf.php
+%%WWWDIR%%/api/.htaccess
+%%WWWDIR%%/api/classes/class.caction.php
+%%WWWDIR%%/api/classes/class.calert.php
+%%WWWDIR%%/api/classes/class.capiinfo.php
+%%WWWDIR%%/api/classes/class.capplication.php
+%%WWWDIR%%/api/classes/class.cevent.php
+%%WWWDIR%%/api/classes/class.cgraph.php
+%%WWWDIR%%/api/classes/class.cgraphitem.php
+%%WWWDIR%%/api/classes/class.chost.php
+%%WWWDIR%%/api/classes/class.chostgroup.php
+%%WWWDIR%%/api/classes/class.citem.php
+%%WWWDIR%%/api/classes/class.cmaintenance.php
+%%WWWDIR%%/api/classes/class.cmap.php
+%%WWWDIR%%/api/classes/class.cscreen.php
+%%WWWDIR%%/api/classes/class.cscript.php
+%%WWWDIR%%/api/classes/class.ctemplate.php
+%%WWWDIR%%/api/classes/class.ctrigger.php
+%%WWWDIR%%/api/classes/class.cuser.php
+%%WWWDIR%%/api/classes/class.cusergroup.php
+%%WWWDIR%%/api/classes/class.cusermacro.php
+%%WWWDIR%%/api/classes/class.czbxapi.php
+%%WWWDIR%%/api/rpc/class.cjsonrpc.php
+%%WWWDIR%%/api/rpc/class.czbxrpc.php
+%%WWWDIR%%/api_jsonrpc.php
+%%WWWDIR%%/applications.php
+%%WWWDIR%%/audio/trigger_off.wav
+%%WWWDIR%%/audio/trigger_on.wav
+%%WWWDIR%%/audio/trigger_on_average.wav
+%%WWWDIR%%/audio/trigger_on_disaster.wav
+%%WWWDIR%%/audio/trigger_on_high.wav
+%%WWWDIR%%/audio/trigger_on_warning.wav
+%%WWWDIR%%/auditacts.php
+%%WWWDIR%%/auditlogs.php
+%%WWWDIR%%/authentication.php
+%%WWWDIR%%/chart.php
+%%WWWDIR%%/chart2.php
+%%WWWDIR%%/chart3.php
+%%WWWDIR%%/chart4.php
+%%WWWDIR%%/chart5.php
+%%WWWDIR%%/chart6.php
+%%WWWDIR%%/chart7.php
+%%WWWDIR%%/chart_bar.php
+%%WWWDIR%%/chart_sla.php
+%%WWWDIR%%/charts.php
+%%WWWDIR%%/conf/.htaccess
+%%WWWDIR%%/conf/COPYING
+%%WWWDIR%%/conf/maintenance.inc.php
+%%WWWDIR%%/conf/zabbix.conf.php.example
+%%WWWDIR%%/config.php
+%%WWWDIR%%/css.css
+%%WWWDIR%%/dashboard.php
+%%WWWDIR%%/discovery.php
+%%WWWDIR%%/discoveryconf.php
+%%WWWDIR%%/events.php
+%%WWWDIR%%/export.php
+%%WWWDIR%%/fonts/DejaVuSans.ttf
+%%WWWDIR%%/graphs.php
+%%WWWDIR%%/history.php
+%%WWWDIR%%/hostgroups.php
+%%WWWDIR%%/hostprofiles.php
+%%WWWDIR%%/hosts.php
+%%WWWDIR%%/httpconf.php
+%%WWWDIR%%/httpdetails.php
+%%WWWDIR%%/httpmon.php
+%%WWWDIR%%/image.php
+%%WWWDIR%%/images/flash/zbxclock.swf
+%%WWWDIR%%/images/general/arrowdown.gif
+%%WWWDIR%%/images/general/arrowup.gif
+%%WWWDIR%%/images/general/bar/arrow_down.gif
+%%WWWDIR%%/images/general/bar/arrow_sm.gif
+%%WWWDIR%%/images/general/bar/arrow_up.gif
+%%WWWDIR%%/images/general/bar/bar_bg.png
+%%WWWDIR%%/images/general/bar/bar_middle.png
+%%WWWDIR%%/images/general/bar/bg.png
+%%WWWDIR%%/images/general/bar/cal.gif
+%%WWWDIR%%/images/general/bar/left.png
+%%WWWDIR%%/images/general/bar/left_arr.png
+%%WWWDIR%%/images/general/bar/right.png
+%%WWWDIR%%/images/general/bar/right_arr.png
+%%WWWDIR%%/images/general/bttn/arrowdown.png
+%%WWWDIR%%/images/general/bttn/arrowdown_bb.png
+%%WWWDIR%%/images/general/bttn/arrowleft.png
+%%WWWDIR%%/images/general/bttn/arrowleft_bb.png
+%%WWWDIR%%/images/general/bttn/arrowright.png
+%%WWWDIR%%/images/general/bttn/arrowright_bb.png
+%%WWWDIR%%/images/general/bttn/arrowup.png
+%%WWWDIR%%/images/general/bttn/arrowup_bb.png
+%%WWWDIR%%/images/general/bttn/down.png
+%%WWWDIR%%/images/general/bttn/down_bb.png
+%%WWWDIR%%/images/general/bttn/fullscreen.png
+%%WWWDIR%%/images/general/bttn/fullscreen_bb.png
+%%WWWDIR%%/images/general/bttn/help.png
+%%WWWDIR%%/images/general/bttn/help_bb.png
+%%WWWDIR%%/images/general/bttn/menu.png
+%%WWWDIR%%/images/general/bttn/menu_bb.png
+%%WWWDIR%%/images/general/bttn/minus.png
+%%WWWDIR%%/images/general/bttn/minus_bb.png
+%%WWWDIR%%/images/general/bttn/mute.png
+%%WWWDIR%%/images/general/bttn/mute_bb.png
+%%WWWDIR%%/images/general/bttn/plus.png
+%%WWWDIR%%/images/general/bttn/plus_bb.png
+%%WWWDIR%%/images/general/bttn/reset.png
+%%WWWDIR%%/images/general/bttn/reset_bb.png
+%%WWWDIR%%/images/general/bttn/sound.png
+%%WWWDIR%%/images/general/bttn/sound_bb.png
+%%WWWDIR%%/images/general/bttn/up.png
+%%WWWDIR%%/images/general/bttn/up_bb.png
+%%WWWDIR%%/images/general/chart.png
+%%WWWDIR%%/images/general/closed.gif
+%%WWWDIR%%/images/general/dbl_arrow_down.png
+%%WWWDIR%%/images/general/dbl_arrow_down2.png
+%%WWWDIR%%/images/general/dbl_arrow_up.png
+%%WWWDIR%%/images/general/dbl_arrow_up2.png
+%%WWWDIR%%/images/general/down_icon.png
+%%WWWDIR%%/images/general/error.png
+%%WWWDIR%%/images/general/error_icon.png
+%%WWWDIR%%/images/general/error_small.gif
+%%WWWDIR%%/images/general/help.gif
+%%WWWDIR%%/images/general/inst_completed.gif
+%%WWWDIR%%/images/general/inst_current.gif
+%%WWWDIR%%/images/general/inst_step.gif
+%%WWWDIR%%/images/general/ipmi_available.png
+%%WWWDIR%%/images/general/ipmi_available_bb.png
+%%WWWDIR%%/images/general/ipmi_unavailable.png
+%%WWWDIR%%/images/general/ipmi_unknown.png
+%%WWWDIR%%/images/general/ok.png
+%%WWWDIR%%/images/general/ok_bb.png
+%%WWWDIR%%/images/general/ok_icon.png
+%%WWWDIR%%/images/general/ok_icon_bb.png
+%%WWWDIR%%/images/general/opened.gif
+%%WWWDIR%%/images/general/snmp_available.png
+%%WWWDIR%%/images/general/snmp_available_bb.png
+%%WWWDIR%%/images/general/snmp_unavailable.png
+%%WWWDIR%%/images/general/snmp_unknown.png
+%%WWWDIR%%/images/general/sort_down.png
+%%WWWDIR%%/images/general/sort_down_bb.png
+%%WWWDIR%%/images/general/sort_downw.gif
+%%WWWDIR%%/images/general/sort_up.png
+%%WWWDIR%%/images/general/sort_up_bb.png
+%%WWWDIR%%/images/general/sort_upw.gif
+%%WWWDIR%%/images/general/sortdown.gif
+%%WWWDIR%%/images/general/sortdown_off.gif
+%%WWWDIR%%/images/general/sortup.gif
+%%WWWDIR%%/images/general/sortup_off.gif
+%%WWWDIR%%/images/general/tick.png
+%%WWWDIR%%/images/general/tr_space.gif
+%%WWWDIR%%/images/general/tr_top_bottom.gif
+%%WWWDIR%%/images/general/tr_top_right.gif
+%%WWWDIR%%/images/general/tr_top_right_bottom.gif
+%%WWWDIR%%/images/general/tree/minus.gif
+%%WWWDIR%%/images/general/tree/plus.gif
+%%WWWDIR%%/images/general/tree/point.gif
+%%WWWDIR%%/images/general/tree/pointc.gif
+%%WWWDIR%%/images/general/tree/pointl.gif
+%%WWWDIR%%/images/general/tree/zero.gif
+%%WWWDIR%%/images/general/up_icon.png
+%%WWWDIR%%/images/general/warning16r.gif
+%%WWWDIR%%/images/general/warning_small.gif
+%%WWWDIR%%/images/general/zabbix.ico
+%%WWWDIR%%/images/general/zabbix.png
+%%WWWDIR%%/images/general/zabbix_available.png
+%%WWWDIR%%/images/general/zabbix_available_bb.png
+%%WWWDIR%%/images/general/zabbix_bb.ico
+%%WWWDIR%%/images/general/zabbix_bb.png
+%%WWWDIR%%/images/general/zabbix_ob.ico
+%%WWWDIR%%/images/general/zabbix_unavailable.png
+%%WWWDIR%%/images/general/zabbix_unknown.png
+%%WWWDIR%%/images/general/zero.gif
+%%WWWDIR%%/images/gradients/blink1.gif
+%%WWWDIR%%/images/gradients/blink2.gif
+%%WWWDIR%%/images/gradients/button.gif
+%%WWWDIR%%/images/gradients/gradient.png
+%%WWWDIR%%/images/gradients/menu_not_active.gif
+%%WWWDIR%%/images/gradients/menu_not_active2.gif
+%%WWWDIR%%/images/gradients/menu_not_active_bb.gif
+%%WWWDIR%%/images/gradients/sla_blue.png
+%%WWWDIR%%/images/gradients/sla_blue15.png
+%%WWWDIR%%/images/gradients/sla_green.png
+%%WWWDIR%%/images/gradients/sla_green15.png
+%%WWWDIR%%/images/gradients/sla_red.png
+%%WWWDIR%%/images/gradients/sla_red15.png
+%%WWWDIR%%/images/gradients/table_head.gif
+%%WWWDIR%%/images/gradients/table_head2.gif
+%%WWWDIR%%/images/gradients/table_head2_bb.gif
+%%WWWDIR%%/images/gradients/table_head_bb.gif
+%%WWWDIR%%/images/sysmaps/Hub.png
+%%WWWDIR%%/images/sysmaps/Hub_small.png
+%%WWWDIR%%/images/sysmaps/Network.png
+%%WWWDIR%%/images/sysmaps/Network_small.png
+%%WWWDIR%%/images/sysmaps/Notebook.png
+%%WWWDIR%%/images/sysmaps/Notebook_small.png
+%%WWWDIR%%/images/sysmaps/Phone.png
+%%WWWDIR%%/images/sysmaps/Phone_small.png
+%%WWWDIR%%/images/sysmaps/Printer.png
+%%WWWDIR%%/images/sysmaps/Printer_small.png
+%%WWWDIR%%/images/sysmaps/README
+%%WWWDIR%%/images/sysmaps/Router.png
+%%WWWDIR%%/images/sysmaps/Router_small.png
+%%WWWDIR%%/images/sysmaps/Satellite.png
+%%WWWDIR%%/images/sysmaps/Satellite_small.png
+%%WWWDIR%%/images/sysmaps/Server.png
+%%WWWDIR%%/images/sysmaps/Server_small.png
+%%WWWDIR%%/images/sysmaps/UPS.png
+%%WWWDIR%%/images/sysmaps/UPS_small.png
+%%WWWDIR%%/images/sysmaps/Workstation.png
+%%WWWDIR%%/images/sysmaps/Workstation_small.png
+%%WWWDIR%%/images/sysmaps/old/Hub.png
+%%WWWDIR%%/images/sysmaps/old/Notebook.png
+%%WWWDIR%%/images/sysmaps/old/Printer.png
+%%WWWDIR%%/images/sysmaps/old/Router.png
+%%WWWDIR%%/images/sysmaps/old/Server.png
+%%WWWDIR%%/images/sysmaps/old/Workstation.png
+%%WWWDIR%%/imgstore.php
+%%WWWDIR%%/import.php
+%%WWWDIR%%/include/.htaccess
+%%WWWDIR%%/include/acknow.inc.php
+%%WWWDIR%%/include/actions.inc.php
+%%WWWDIR%%/include/audit.inc.php
+%%WWWDIR%%/include/blocks.inc.php
+%%WWWDIR%%/include/classes/.htaccess
+%%WWWDIR%%/include/classes/class.carea.php
+%%WWWDIR%%/include/classes/class.careamap.php
+%%WWWDIR%%/include/classes/class.cbar.php
+%%WWWDIR%%/include/classes/class.cbutton.php
+%%WWWDIR%%/include/classes/class.cbuttoncancel.php
+%%WWWDIR%%/include/classes/class.cbuttondelete.php
+%%WWWDIR%%/include/classes/class.cbuttonqmessage.php
+%%WWWDIR%%/include/classes/class.cchart.php
+%%WWWDIR%%/include/classes/class.ccheckbox.php
+%%WWWDIR%%/include/classes/class.ccol.php
+%%WWWDIR%%/include/classes/class.ccolor.php
+%%WWWDIR%%/include/classes/class.ccolorcell.php
+%%WWWDIR%%/include/classes/class.ccombobox.php
+%%WWWDIR%%/include/classes/class.ccomboitem.php
+%%WWWDIR%%/include/classes/class.cdiv.php
+%%WWWDIR%%/include/classes/class.ceditablecombobox.php
+%%WWWDIR%%/include/classes/class.cfile.php
+%%WWWDIR%%/include/classes/class.cflash.php
+%%WWWDIR%%/include/classes/class.cflashclock.php
+%%WWWDIR%%/include/classes/class.cflashembed.php
+%%WWWDIR%%/include/classes/class.cform.php
+%%WWWDIR%%/include/classes/class.cformtable.php
+%%WWWDIR%%/include/classes/class.cgraphdraw.php
+%%WWWDIR%%/include/classes/class.chelp.php
+%%WWWDIR%%/include/classes/class.chostsinfo.php
+%%WWWDIR%%/include/classes/class.chttp_request.php
+%%WWWDIR%%/include/classes/class.ciframe.php
+%%WWWDIR%%/include/classes/class.cimagetexttable.php
+%%WWWDIR%%/include/classes/class.cimg.php
+%%WWWDIR%%/include/classes/class.cipbox.php
+%%WWWDIR%%/include/classes/class.cjson.php
+%%WWWDIR%%/include/classes/class.cjsscript.php
+%%WWWDIR%%/include/classes/class.cldap.php
+%%WWWDIR%%/include/classes/class.clink.php
+%%WWWDIR%%/include/classes/class.clist.php
+%%WWWDIR%%/include/classes/class.clistbox.php
+%%WWWDIR%%/include/classes/class.clistitem.php
+%%WWWDIR%%/include/classes/class.cnumericbox.php
+%%WWWDIR%%/include/classes/class.cobject.php
+%%WWWDIR%%/include/classes/class.cparam.php
+%%WWWDIR%%/include/classes/class.cpassbox.php
+%%WWWDIR%%/include/classes/class.cpie.php
+%%WWWDIR%%/include/classes/class.cpumenu.php
+%%WWWDIR%%/include/classes/class.crow.php
+%%WWWDIR%%/include/classes/class.cserverinfo.php
+%%WWWDIR%%/include/classes/class.cspan.php
+%%WWWDIR%%/include/classes/class.ctable.php
+%%WWWDIR%%/include/classes/class.ctableinfo.php
+%%WWWDIR%%/include/classes/class.ctag.php
+%%WWWDIR%%/include/classes/class.ctextarea.php
+%%WWWDIR%%/include/classes/class.ctextbox.php
+%%WWWDIR%%/include/classes/class.ctree.php
+%%WWWDIR%%/include/classes/class.ctriggersinfo.php
+%%WWWDIR%%/include/classes/class.ctweenbox.php
+%%WWWDIR%%/include/classes/class.curl.php
+%%WWWDIR%%/include/classes/class.cvar.php
+%%WWWDIR%%/include/classes/class.cvartag.php
+%%WWWDIR%%/include/classes/class.cvisibilitybox.php
+%%WWWDIR%%/include/classes/class.cwidget.php
+%%WWWDIR%%/include/config.inc.php
+%%WWWDIR%%/include/copt.lib.php
+%%WWWDIR%%/include/db.inc.php
+%%WWWDIR%%/include/defines.inc.php
+%%WWWDIR%%/include/discovery.inc.php
+%%WWWDIR%%/include/events.inc.php
+%%WWWDIR%%/include/export.inc.php
+%%WWWDIR%%/include/forms.inc.php
+%%WWWDIR%%/include/func.inc.php
+%%WWWDIR%%/include/graphs.inc.php
+%%WWWDIR%%/include/hosts.inc.php
+%%WWWDIR%%/include/html.inc.php
+%%WWWDIR%%/include/httptest.inc.php
+%%WWWDIR%%/include/images.inc.php
+%%WWWDIR%%/include/items.inc.php
+%%WWWDIR%%/include/js.inc.php
+%%WWWDIR%%/include/locales.inc.php
+%%WWWDIR%%/include/locales/cn_zh.inc.php
+%%WWWDIR%%/include/locales/de_de.inc.php
+%%WWWDIR%%/include/locales/en_gb.inc.php
+%%WWWDIR%%/include/locales/fr_fr.inc.php
+%%WWWDIR%%/include/locales/hu_hu.inc.php
+%%WWWDIR%%/include/locales/it_it.inc.php
+%%WWWDIR%%/include/locales/ja_jp.inc.php
+%%WWWDIR%%/include/locales/ko_kr.inc.php
+%%WWWDIR%%/include/locales/lv_lv.inc.php
+%%WWWDIR%%/include/locales/nl_nl.inc.php
+%%WWWDIR%%/include/locales/pl_pl.inc.php
+%%WWWDIR%%/include/locales/pt_br.inc.php
+%%WWWDIR%%/include/locales/ru_ru.inc.php
+%%WWWDIR%%/include/locales/sp_sp.inc.php
+%%WWWDIR%%/include/locales/sv_se.inc.php
+%%WWWDIR%%/include/maintenances.inc.php
+%%WWWDIR%%/include/maps.inc.php
+%%WWWDIR%%/include/media.inc.php
+%%WWWDIR%%/include/menu.inc.php
+%%WWWDIR%%/include/nodes.inc.php
+%%WWWDIR%%/include/page_footer.php
+%%WWWDIR%%/include/page_header.php
+%%WWWDIR%%/include/perm.inc.php
+%%WWWDIR%%/include/profiles.inc.php
+%%WWWDIR%%/include/regexp.inc.php
+%%WWWDIR%%/include/reports.inc.php
+%%WWWDIR%%/include/screens.inc.php
+%%WWWDIR%%/include/scripts.inc.php
+%%WWWDIR%%/include/services.inc.php
+%%WWWDIR%%/include/setup.inc.php
+%%WWWDIR%%/include/triggers.inc.php
+%%WWWDIR%%/include/users.inc.php
+%%WWWDIR%%/include/validate.inc.php
+%%WWWDIR%%/index.php
+%%WWWDIR%%/instal.php
+%%WWWDIR%%/items.php
+%%WWWDIR%%/js/class.calendar.js
+%%WWWDIR%%/js/class.cmap.js
+%%WWWDIR%%/js/class.cookie.js
+%%WWWDIR%%/js/class.cscreen.js
+%%WWWDIR%%/js/class.ctree.js
+%%WWWDIR%%/js/class.curl.js
+%%WWWDIR%%/js/class.pmaster.js
+%%WWWDIR%%/js/class.switcher.js
+%%WWWDIR%%/js/common.js
+%%WWWDIR%%/js/functions.js
+%%WWWDIR%%/js/gtlc.js
+%%WWWDIR%%/js/main.js
+%%WWWDIR%%/js/menu.js
+%%WWWDIR%%/js/prototype.js
+%%WWWDIR%%/js/scriptaculous.js
+%%WWWDIR%%/js/scriptaculous/builder.js
+%%WWWDIR%%/js/scriptaculous/controls.js
+%%WWWDIR%%/js/scriptaculous/dragdrop.js
+%%WWWDIR%%/js/scriptaculous/effects.js
+%%WWWDIR%%/js/scriptaculous/slider.js
+%%WWWDIR%%/js/scriptaculous/sound.js
+%%WWWDIR%%/latest.php
+%%WWWDIR%%/locales.php
+%%WWWDIR%%/maintenance.php
+%%WWWDIR%%/map.php
+%%WWWDIR%%/maps.php
+%%WWWDIR%%/media_types.php
+%%WWWDIR%%/nodes.php
+%%WWWDIR%%/overview.php
+%%WWWDIR%%/popup.php
+%%WWWDIR%%/popup_bitem.php
+%%WWWDIR%%/popup_gitem.php
+%%WWWDIR%%/popup_httpstep.php
+%%WWWDIR%%/popup_link_tr.php
+%%WWWDIR%%/popup_media.php
+%%WWWDIR%%/popup_period.php
+%%WWWDIR%%/popup_right.php
+%%WWWDIR%%/popup_trexpr.php
+%%WWWDIR%%/popup_users.php
+%%WWWDIR%%/popup_usrgrp.php
+%%WWWDIR%%/profile.php
+%%WWWDIR%%/proxies.php
+%%WWWDIR%%/queue.php
+%%WWWDIR%%/report1.php
+%%WWWDIR%%/report2.php
+%%WWWDIR%%/report3.php
+%%WWWDIR%%/report4.php
+%%WWWDIR%%/report5.php
+%%WWWDIR%%/report6.php
+%%WWWDIR%%/screenconf.php
+%%WWWDIR%%/screenedit.php
+%%WWWDIR%%/screens.php
+%%WWWDIR%%/scripts.php
+%%WWWDIR%%/scripts_exec.php
+%%WWWDIR%%/search.php
+%%WWWDIR%%/services.php
+%%WWWDIR%%/services_form.php
+%%WWWDIR%%/setup.php
+%%WWWDIR%%/slides.php
+%%WWWDIR%%/srv_status.php
+%%WWWDIR%%/styles/blocks.css
+%%WWWDIR%%/styles/calendar.css
+%%WWWDIR%%/styles/css_bb.css
+%%WWWDIR%%/styles/css_ob.css
+%%WWWDIR%%/styles/default.css
+%%WWWDIR%%/styles/div.css
+%%WWWDIR%%/styles/form.css
+%%WWWDIR%%/styles/link.css
+%%WWWDIR%%/styles/p.css
+%%WWWDIR%%/styles/popupmenu.css
+%%WWWDIR%%/styles/table.css
+%%WWWDIR%%/styles/ul.css
+%%WWWDIR%%/sysmap.php
+%%WWWDIR%%/sysmaps.php
+%%WWWDIR%%/templates.php
+%%WWWDIR%%/tr_comments.php
+%%WWWDIR%%/tr_events.php
+%%WWWDIR%%/tr_logform.php
+%%WWWDIR%%/tr_status.php
+%%WWWDIR%%/tr_testexpr.php
+%%WWWDIR%%/triggers.php
+%%WWWDIR%%/usergrps.php
+%%WWWDIR%%/users.php
+%%WWWDIR%%/vtext.php
+%%WWWDIR%%/warning.php
+@dirrm %%WWWDIR%%/styles
+@dirrm %%WWWDIR%%/js/scriptaculous
+@dirrm %%WWWDIR%%/js
+@dirrm %%WWWDIR%%/include/locales
+@dirrm %%WWWDIR%%/include/classes
+@dirrm %%WWWDIR%%/include
+@dirrm %%WWWDIR%%/images/sysmaps/old
+@dirrm %%WWWDIR%%/images/sysmaps
+@dirrm %%WWWDIR%%/images/gradients
+@dirrm %%WWWDIR%%/images/general/tree
+@dirrm %%WWWDIR%%/images/general/bttn
+@dirrm %%WWWDIR%%/images/general/bar
+@dirrm %%WWWDIR%%/images/general
+@dirrm %%WWWDIR%%/images/flash
+@dirrm %%WWWDIR%%/images
+@dirrm %%WWWDIR%%/fonts
+@dirrm %%WWWDIR%%/conf
+@dirrm %%WWWDIR%%/audio
+@dirrm %%WWWDIR%%/api/rpc
+@dirrm %%WWWDIR%%/api/classes
+@dirrm %%WWWDIR%%/api
+@dirrm %%WWWDIR%%
diff --git a/net-mgmt/zabbix/Makefile b/net-mgmt/zabbix/Makefile
deleted file mode 100644
index 30d4a2cf7ea8..000000000000
--- a/net-mgmt/zabbix/Makefile
+++ /dev/null
@@ -1,133 +0,0 @@
-# Ports collection makefile for: zabbix
-# Date created: Jun 18 2003
-# Whom: Sergey Akifyev <asa@gascom.ru>
-#
-# $FreeBSD$
-#
-
-PORTNAME= zabbix
-PORTVERSION= 1.6.6
-PORTEPOCH= 1
-CATEGORIES= net-mgmt
-MASTER_SITES= SF/${PORTNAME}/ZABBIX%20Latest%20Stable/${PORTVERSION}
-
-MAINTAINER= ports@christianserving.org
-COMMENT= Application and network monitoring solution
-
-LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp \
- iksemel.4:${PORTSDIR}/textproc/iksemel \
- curl.5:${PORTSDIR}/ftp/curl
-
-OPTIONS= MYSQL "Use MySQL backend" on \
- PGSQL "Use PostgreSQL backend" off \
- SQLITE "Use SQLite backend" off \
- LDAP "Support for checking LDAP servers" on \
- IPV6 "Support for IPv6" on \
- FPING "Use fping for pinging hosts" on \
- JABBER "Use jabber media type" on \
- PROXY "Install Zabbix Proxy" on \
- SERVER "Install Zabbix Server" on
-
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-agent \
- --with-net-snmp=${LOCALBASE}/bin/net-snmp-config \
- --with-curl=${LOCALBASE}/bin/curl-config
-MAKE_ARGS= ARCH=freebsd
-SUB_FILES= pkg-message
-
-.include <bsd.port.options.mk>
-
-.ifndef WITHOUT_JABBER
-USE_JABBER= yes
-CONFIGURE_ARGS+=--with-jabber=${LOCALBASE}
-.endif
-
-.ifndef WITHOUT_LDAP
-USE_OPENLDAP= yes
-CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
-LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls \
- sasl2.2:${PORTSDIR}/security/cyrus-sasl2
-.endif
-
-.ifdef WITH_IPV6
-CONFIGURE_ARGS+=--enable-ipv6
-.endif
-
-.ifndef WITHOUT_FPING
-RUN_DEPENDS+= fping:${PORTSDIR}/net/fping
-.endif
-
-.ifndef WITHOUT_MYSQL
-USE_MYSQL= yes
-USE_PHP+= mysql
-CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}/bin/mysql_config
-.elifdef WITH_PGSQL
-USE_PGSQL= yes
-USE_PHP+= pgsql
-CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}/bin/pg_config
-.elifdef WITH_SQLITE
-USE_SQLITE= yes
-USE_PHP+= sqlite
-CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE}
-.else
-IGNORE= zabbix needs a database backend
-.endif
-
-.ifndef WITHOUT_PROXY
-CONFIGURE_ARGS+=--enable-proxy
-USE_RC_SUBR+= zabbix_proxy
-PLIST_SUB+= PROXY=""
-.else
-PLIST_SUB+= PROXY="@comment "
-.endif
-
-.ifndef WITHOUT_SERVER
-USE_PHP= gd snmp sockets pcre bcmath
-USE_RC_SUBR+= zabbix_server.sh
-CONFIGURE_ARGS+=--enable-server
-PLIST_SUB+= SERVER=""
-.else
-CONFIGURE_ARGS+=--disable-server
-PLIST_SUB+= SERVER="@comment "
-.endif
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${FIND} ${WRKSRC}/src/ -type f|${XARGS} \
- ${REINPLACE_CMD} -e 's|/etc/zabbix|${ETCDIR}|;s|/usr/sbin|${LOCALBASE}/sbin|'
- @${REINPLACE_CMD} -e '/test.*rf/s|-rf|-f|;/LDFLAGS/s|-static||;\
- /LIBS="-lnetsnmp/s|="|="-lcrypto |;s|-lsqlite3|-lsqlite3 ${PTHREAD_LIBS}|'\
- ${WRKSRC}/configure
- @cd ${WRKSRC} && ${FIND} . -name '*.orig' -exec ${RM} {} \;
-
-.ifdef WITHOUT_FPING
- @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_server.conf
-.endif
-
-.if ${ARCH} == "amd64"
-post-configure:
- ${ECHO_CMD} "#define HAVE_VA_COPY 1" >> ${WRKSRC}/include/config.h
-.endif
-
-do-install:
-.ifndef WITHOUT_SERVER
- @${INSTALL_PROGRAM} ${WRKSRC}/src/zabbix_server/zabbix_server ${PREFIX}/bin/
- @${INSTALL} -d ${ETCDIR}/
- @${INSTALL_DATA} ${WRKSRC}/misc/conf/zabbix_server.conf\
- ${ETCDIR}/zabbix_server.conf.sample
- @cd ${WRKSRC}/frontends/&&${COPYTREE_SHARE} . ${DATADIR}/
-.endif
- @cd ${WRKSRC}/upgrades/&&${COPYTREE_SHARE} dbpatches ${DATADIR}/
- @cd ${WRKSRC}/create/&&${COPYTREE_SHARE} "data schema" ${DATADIR}/create/
-.ifndef WITHOUT_PROXY
- @${INSTALL_PROGRAM} ${WRKSRC}/src/zabbix_proxy/zabbix_proxy ${PREFIX}/bin/
- @${INSTALL} -d ${ETCDIR}/
- @${INSTALL_DATA} ${WRKSRC}/misc/conf/zabbix_proxy.conf\
- ${ETCDIR}/zabbix_proxy.conf.sample
-.endif
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/net-mgmt/zabbix/distinfo b/net-mgmt/zabbix/distinfo
deleted file mode 100644
index 086bdcdeffe5..000000000000
--- a/net-mgmt/zabbix/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (zabbix-1.6.6.tar.gz) = 52779160e71c12d47b97f7336e25c395
-SHA256 (zabbix-1.6.6.tar.gz) = 9eb7bbe99c516c11020d5c95c8f8783fb1dc1123ce9c7e2135db7bfd0ea0aa75
-SIZE (zabbix-1.6.6.tar.gz) = 8255436
diff --git a/net-mgmt/zabbix/files/patch-configure b/net-mgmt/zabbix/files/patch-configure
deleted file mode 100644
index a1b0bd52a4fe..000000000000
--- a/net-mgmt/zabbix/files/patch-configure
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure.orig 2009-03-28 13:23:22.000000000 -0500
-+++ configure 2009-03-28 13:23:40.000000000 -0500
-@@ -580,6 +580,9 @@
- # Factoring default headers for most tests.
- ac_includes_default="\
- #include <stdio.h>
-+#include <sys/socket.h>
-+#include <sys/param.h>
-+#include <netinet/in.h>
- #ifdef HAVE_SYS_TYPES_H
- # include <sys/types.h>
- #endif
diff --git a/net-mgmt/zabbix/files/pkg-message.in b/net-mgmt/zabbix/files/pkg-message.in
deleted file mode 100644
index 5ba8c2fd4809..000000000000
--- a/net-mgmt/zabbix/files/pkg-message.in
+++ /dev/null
@@ -1,7 +0,0 @@
-===============================================================
-You can prepare a database for zabbix this way:
-% cd %%DATADIR%%/create
-% cat schema/<db>.sql data/data.sql data/images_<db>.sql\
-% | <db_client>
-where <db> is your preferred database engine.
-===============================================================
diff --git a/net-mgmt/zabbix/files/zabbix_proxy.in b/net-mgmt/zabbix/files/zabbix_proxy.in
deleted file mode 100644
index 750f3c6d9b0b..000000000000
--- a/net-mgmt/zabbix/files/zabbix_proxy.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# PROVIDE: zabbix_proxy
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-. %%RC_SUBR%%
-
-name="zabbix_proxy"
-rcvar=${name}_enable
-load_rc_config $name
-eval : \${${rcvar}='NO'}
-
-command="%%PREFIX%%/bin/${name}"
-required_files="%%ETCDIR%%/${name}.conf"
-
-run_rc_command "$1"
diff --git a/net-mgmt/zabbix/files/zabbix_server.sh.in b/net-mgmt/zabbix/files/zabbix_server.sh.in
deleted file mode 100644
index 4543669f7000..000000000000
--- a/net-mgmt/zabbix/files/zabbix_server.sh.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# PROVIDE: zabbix_server
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-. %%RC_SUBR%%
-
-name="zabbix_server"
-rcvar=${name}_enable
-load_rc_config $name
-eval : \${${rcvar}='NO'}
-
-command="%%PREFIX%%/bin/${name}"
-required_files="%%ETCDIR%%/${name}.conf"
-
-run_rc_command "$1"
diff --git a/net-mgmt/zabbix/pkg-descr b/net-mgmt/zabbix/pkg-descr
deleted file mode 100644
index 52ecef039fcf..000000000000
--- a/net-mgmt/zabbix/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Zabbix is software for application and network monitoring.
-Zabbix supports both polling and trapping techniques to
-collect data from monitored hosts. Flexible notification
-mechanism allows easy and quckly configure email notifications
-for pre-defined events. Zabbix is freely available under the
-terms of the GNU General Public License (GPL).
-
-WWW: http://www.zabbix.com/
diff --git a/net-mgmt/zabbix/pkg-install b/net-mgmt/zabbix/pkg-install
deleted file mode 100644
index f0b59f76cc4a..000000000000
--- a/net-mgmt/zabbix/pkg-install
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# Script was taken from mysql323-server port, and modified
-# to suit zabbix needs
-
-[ -n "${PACKAGE_BUILDING}" ] && exit 0
-
-[ "${2}" = "POST-INSTALL" ] && exit 0
-
-PATH=/bin:/usr/sbin
-
-USER=zabbix
-GROUP=${USER}
-UID=122
-GID=${UID}
-
-if pw group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
-else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
-fi
-
-if pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
- if pw usermod ${USER} -d /nonexistent
- then
- echo "Changed home directory of \"${USER}\" to /nonexistent"
- else
- echo "Changing home directory of \"${USER}\" to /nonexistent failed..."
- exit 1
- fi
-else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d /nonexistent -s /sbin/nologin -c "Zabbix Sandbox"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
-fi
diff --git a/net-mgmt/zabbix/pkg-plist b/net-mgmt/zabbix/pkg-plist
deleted file mode 100644
index 45d56923c3f5..000000000000
--- a/net-mgmt/zabbix/pkg-plist
+++ /dev/null
@@ -1,368 +0,0 @@
-%%PROXY%%bin/zabbix_proxy
-%%SERVER%%bin/zabbix_server
-%%PROXY%%%%ETCDIR%%/zabbix_proxy.conf.sample
-%%SERVER%%%%ETCDIR%%/zabbix_server.conf.sample
-%%DATADIR%%/create/data/data.sql
-%%DATADIR%%/create/data/images/Hub.png
-%%DATADIR%%/create/data/images/Hub_small.png
-%%DATADIR%%/create/data/images/Network.png
-%%DATADIR%%/create/data/images/Network_small.png
-%%DATADIR%%/create/data/images/Notebook.png
-%%DATADIR%%/create/data/images/Notebook_small.png
-%%DATADIR%%/create/data/images/Phone.png
-%%DATADIR%%/create/data/images/Phone_small.png
-%%DATADIR%%/create/data/images/Printer.png
-%%DATADIR%%/create/data/images/Printer_small.png
-%%DATADIR%%/create/data/images/Router.png
-%%DATADIR%%/create/data/images/Router_small.png
-%%DATADIR%%/create/data/images/Satellite.png
-%%DATADIR%%/create/data/images/Satellite_small.png
-%%DATADIR%%/create/data/images/Server.png
-%%DATADIR%%/create/data/images/Server_small.png
-%%DATADIR%%/create/data/images/UPS.png
-%%DATADIR%%/create/data/images/UPS_small.png
-%%DATADIR%%/create/data/images/Workstation.png
-%%DATADIR%%/create/data/images/Workstation_small.png
-%%DATADIR%%/create/data/images_mysql.sql
-%%DATADIR%%/create/data/images_oracle.sql
-%%DATADIR%%/create/data/images_pgsql.sql
-%%DATADIR%%/create/data/images_sqlite3.sql
-%%DATADIR%%/create/schema/mysql.sql
-%%DATADIR%%/create/schema/oracle.sql
-%%DATADIR%%/create/schema/postgresql.sql
-%%DATADIR%%/create/schema/sqlite.sql
-%%DATADIR%%/dbpatches/1.6/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.6/oracle/patch.sql
-%%DATADIR%%/dbpatches/1.6/postgresql/patch.sql
-%%SERVER%%%%DATADIR%%/php/acknow.php
-%%SERVER%%%%DATADIR%%/php/actionconf.php
-%%SERVER%%%%DATADIR%%/php/audio/trigger_off.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on_average.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on_disaster.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on_high.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on_warning.wav
-%%SERVER%%%%DATADIR%%/php/audit.php
-%%SERVER%%%%DATADIR%%/php/authentication.php
-%%SERVER%%%%DATADIR%%/php/chart.php
-%%SERVER%%%%DATADIR%%/php/chart2.php
-%%SERVER%%%%DATADIR%%/php/chart3.php
-%%SERVER%%%%DATADIR%%/php/chart4.php
-%%SERVER%%%%DATADIR%%/php/chart5.php
-%%SERVER%%%%DATADIR%%/php/chart6.php
-%%SERVER%%%%DATADIR%%/php/chart7.php
-%%SERVER%%%%DATADIR%%/php/chart_sla.php
-%%SERVER%%%%DATADIR%%/php/charts.php
-%%SERVER%%%%DATADIR%%/php/conf/COPYING
-%%SERVER%%%%DATADIR%%/php/conf/maintenance.inc.php
-%%SERVER%%%%DATADIR%%/php/config.php
-%%SERVER%%%%DATADIR%%/php/css.css
-%%SERVER%%%%DATADIR%%/php/dashboard.php
-%%SERVER%%%%DATADIR%%/php/discovery.php
-%%SERVER%%%%DATADIR%%/php/discoveryconf.php
-%%SERVER%%%%DATADIR%%/php/events.php
-%%SERVER%%%%DATADIR%%/php/exp_imp.php
-%%SERVER%%%%DATADIR%%/php/graphs.php
-%%SERVER%%%%DATADIR%%/php/history.php
-%%SERVER%%%%DATADIR%%/php/hostprofiles.php
-%%SERVER%%%%DATADIR%%/php/hosts.php
-%%SERVER%%%%DATADIR%%/php/httpconf.php
-%%SERVER%%%%DATADIR%%/php/httpdetails.php
-%%SERVER%%%%DATADIR%%/php/httpmon.php
-%%SERVER%%%%DATADIR%%/php/image.php
-%%SERVER%%%%DATADIR%%/php/images/flash/zbxclock.swf
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_down.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_l.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_r.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_sm.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_up.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bar_bg.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bar_left.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bar_middle.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bar_right.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bg.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/cal.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/left.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/right.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/arrowdown.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/arrowdown_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/arrowup.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/arrowup_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/down.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/down_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/fullscreen.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/fullscreen_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/help.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/help_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/menu.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/menu_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/minus.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/minus_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/mute.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/mute_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/plus.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/plus_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/reset.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/reset_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/sound.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/sound_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/up.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/up_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/chart.png
-%%SERVER%%%%DATADIR%%/php/images/general/closed.gif
-%%SERVER%%%%DATADIR%%/php/images/general/down_icon.png
-%%SERVER%%%%DATADIR%%/php/images/general/error_small.gif
-%%SERVER%%%%DATADIR%%/php/images/general/help.gif
-%%SERVER%%%%DATADIR%%/php/images/general/inst_completed.gif
-%%SERVER%%%%DATADIR%%/php/images/general/inst_current.gif
-%%SERVER%%%%DATADIR%%/php/images/general/inst_step.gif
-%%SERVER%%%%DATADIR%%/php/images/general/opened.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sort_downw.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sort_upw.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sortdown.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sortdown_off.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sortup.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sortup_off.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tick.png
-%%SERVER%%%%DATADIR%%/php/images/general/tree/minus.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/plus.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/point.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/pointc.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/pointl.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/zero.gif
-%%SERVER%%%%DATADIR%%/php/images/general/trigg_dep.gif
-%%SERVER%%%%DATADIR%%/php/images/general/trigg_dep.png
-%%SERVER%%%%DATADIR%%/php/images/general/up_icon.png
-%%SERVER%%%%DATADIR%%/php/images/general/warning16r.gif
-%%SERVER%%%%DATADIR%%/php/images/general/warning_small.gif
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix.ico
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix.png
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix_bb.ico
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix_ob.ico
-%%SERVER%%%%DATADIR%%/php/images/gradients/blink1.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/blink2.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/button.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/gradient.png
-%%SERVER%%%%DATADIR%%/php/images/gradients/menu_not_active.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/menu_not_active_bb.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/sla_red.png
-%%SERVER%%%%DATADIR%%/php/images/gradients/sla_green.png
-%%SERVER%%%%DATADIR%%/php/images/gradients/table_head.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/table_head2.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/table_head2_bb.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/table_head_bb.gif
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Hub.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Hub_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Network.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Network_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Notebook.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Notebook_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Phone.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Phone_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Printer.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Printer_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/README
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Router.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Router_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Satellite.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Satellite_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Server.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Server_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/UPS.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/UPS_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Workstation.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Workstation_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Hub.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Notebook.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Printer.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Router.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Server.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Workstation.png
-%%SERVER%%%%DATADIR%%/php/include/.htaccess
-%%SERVER%%%%DATADIR%%/php/include/acknow.inc.php
-%%SERVER%%%%DATADIR%%/php/include/actions.inc.php
-%%SERVER%%%%DATADIR%%/php/include/audit.inc.php
-%%SERVER%%%%DATADIR%%/php/include/blocks.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/.htaccess
-%%SERVER%%%%DATADIR%%/php/include/classes/cbutton.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ccheckbox.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ccolor.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ccombobox.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cfile.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cflash.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cflashclock.mod.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cform.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cformtable.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/chart.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/chelp.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/chostsinfo.mod.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ciframe.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cimg.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cldap.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/clink.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/clist.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cmap.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cpumenu.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cscript.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cserverinfo.mod.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cspan.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctable.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctableinfo.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctag.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctextarea.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctextbox.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctree.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctriggerinfo.mod.php
-%%SERVER%%%%DATADIR%%/php/include/classes/curl.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cvar.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/graph.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/pie.inc.php
-%%SERVER%%%%DATADIR%%/php/include/config.inc.php
-%%SERVER%%%%DATADIR%%/php/include/copt.lib.php
-%%SERVER%%%%DATADIR%%/php/include/db.inc.php
-%%SERVER%%%%DATADIR%%/php/include/defines.inc.php
-%%SERVER%%%%DATADIR%%/php/include/discovery.inc.php
-%%SERVER%%%%DATADIR%%/php/include/events.inc.php
-%%SERVER%%%%DATADIR%%/php/include/export.inc.php
-%%SERVER%%%%DATADIR%%/php/include/forms.inc.php
-%%SERVER%%%%DATADIR%%/php/include/func.inc.php
-%%SERVER%%%%DATADIR%%/php/include/graphs.inc.php
-%%SERVER%%%%DATADIR%%/php/include/hosts.inc.php
-%%SERVER%%%%DATADIR%%/php/include/html.inc.php
-%%SERVER%%%%DATADIR%%/php/include/httptest.inc.php
-%%SERVER%%%%DATADIR%%/php/include/images.inc.php
-%%SERVER%%%%DATADIR%%/php/include/import.inc.php
-%%SERVER%%%%DATADIR%%/php/include/items.inc.php
-%%SERVER%%%%DATADIR%%/php/include/js.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/cn_zh.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/de_de.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/en_gb.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/fr_fr.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/hu_hu.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/it_it.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/ja_jp.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/ko_kr.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/lv_lv.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/nl_nl.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/pl_pl.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/pt_br.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/ru_ru.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/sp_sp.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/sv_se.inc.php
-%%SERVER%%%%DATADIR%%/php/include/maps.inc.php
-%%SERVER%%%%DATADIR%%/php/include/media.inc.php
-%%SERVER%%%%DATADIR%%/php/include/nodes.inc.php
-%%SERVER%%%%DATADIR%%/php/include/page_footer.php
-%%SERVER%%%%DATADIR%%/php/include/page_header.php
-%%SERVER%%%%DATADIR%%/php/include/perm.inc.php
-%%SERVER%%%%DATADIR%%/php/include/profiles.inc.php
-%%SERVER%%%%DATADIR%%/php/include/reports.inc.php
-%%SERVER%%%%DATADIR%%/php/include/screens.inc.php
-%%SERVER%%%%DATADIR%%/php/include/scripts.inc.php
-%%SERVER%%%%DATADIR%%/php/include/services.inc.php
-%%SERVER%%%%DATADIR%%/php/include/setup.inc.php
-%%SERVER%%%%DATADIR%%/php/include/triggers.inc.php
-%%SERVER%%%%DATADIR%%/php/include/users.inc.php
-%%SERVER%%%%DATADIR%%/php/include/validate.inc.php
-%%SERVER%%%%DATADIR%%/php/index.php
-%%SERVER%%%%DATADIR%%/php/instal.php
-%%SERVER%%%%DATADIR%%/php/items.php
-%%SERVER%%%%DATADIR%%/php/js/ajax_req.js
-%%SERVER%%%%DATADIR%%/php/js/calendar.js
-%%SERVER%%%%DATADIR%%/php/js/common.js
-%%SERVER%%%%DATADIR%%/php/js/gmenu.js
-%%SERVER%%%%DATADIR%%/php/js/gpc.js
-%%SERVER%%%%DATADIR%%/php/js/graphs.js
-%%SERVER%%%%DATADIR%%/php/js/menu.js
-%%SERVER%%%%DATADIR%%/php/js/menu_scripts.js
-%%SERVER%%%%DATADIR%%/php/js/prototype.js
-%%SERVER%%%%DATADIR%%/php/js/sbinit.js
-%%SERVER%%%%DATADIR%%/php/js/sbox.js
-%%SERVER%%%%DATADIR%%/php/js/scrollbar.js
-%%SERVER%%%%DATADIR%%/php/js/services.js
-%%SERVER%%%%DATADIR%%/php/js/showhint.js
-%%SERVER%%%%DATADIR%%/php/js/tree.js
-%%SERVER%%%%DATADIR%%/php/js/updater.js
-%%SERVER%%%%DATADIR%%/php/latest.php
-%%SERVER%%%%DATADIR%%/php/locales.php
-%%SERVER%%%%DATADIR%%/php/map.php
-%%SERVER%%%%DATADIR%%/php/maps.php
-%%SERVER%%%%DATADIR%%/php/media_types.php
-%%SERVER%%%%DATADIR%%/php/nodes.php
-%%SERVER%%%%DATADIR%%/php/overview.php
-%%SERVER%%%%DATADIR%%/php/popup.php
-%%SERVER%%%%DATADIR%%/php/popup_gitem.php
-%%SERVER%%%%DATADIR%%/php/popup_httpstep.php
-%%SERVER%%%%DATADIR%%/php/popup_link_tr.php
-%%SERVER%%%%DATADIR%%/php/popup_media.php
-%%SERVER%%%%DATADIR%%/php/popup_right.php
-%%SERVER%%%%DATADIR%%/php/popup_trexpr.php
-%%SERVER%%%%DATADIR%%/php/popup_users.php
-%%SERVER%%%%DATADIR%%/php/popup_usrgrp.php
-%%SERVER%%%%DATADIR%%/php/profile.php
-%%SERVER%%%%DATADIR%%/php/queue.php
-%%SERVER%%%%DATADIR%%/php/report1.php
-%%SERVER%%%%DATADIR%%/php/report2.php
-%%SERVER%%%%DATADIR%%/php/report3.php
-%%SERVER%%%%DATADIR%%/php/report4.php
-%%SERVER%%%%DATADIR%%/php/report5.php
-%%SERVER%%%%DATADIR%%/php/screenconf.php
-%%SERVER%%%%DATADIR%%/php/screenedit.php
-%%SERVER%%%%DATADIR%%/php/screens.php
-%%SERVER%%%%DATADIR%%/php/scripts.php
-%%SERVER%%%%DATADIR%%/php/scripts_exec.php
-%%SERVER%%%%DATADIR%%/php/services.php
-%%SERVER%%%%DATADIR%%/php/services_form.php
-%%SERVER%%%%DATADIR%%/php/setup.php
-%%SERVER%%%%DATADIR%%/php/srv_status.php
-%%SERVER%%%%DATADIR%%/php/styles/blocks.css
-%%SERVER%%%%DATADIR%%/php/styles/calendar.css
-%%SERVER%%%%DATADIR%%/php/styles/css_bb.css
-%%SERVER%%%%DATADIR%%/php/styles/css_ob.css
-%%SERVER%%%%DATADIR%%/php/styles/default.css
-%%SERVER%%%%DATADIR%%/php/styles/div.css
-%%SERVER%%%%DATADIR%%/php/styles/form.css
-%%SERVER%%%%DATADIR%%/php/styles/link.css
-%%SERVER%%%%DATADIR%%/php/styles/p.css
-%%SERVER%%%%DATADIR%%/php/styles/popupmenu.css
-%%SERVER%%%%DATADIR%%/php/styles/table.css
-%%SERVER%%%%DATADIR%%/php/styles/ul.css
-%%SERVER%%%%DATADIR%%/php/sysmap.php
-%%SERVER%%%%DATADIR%%/php/sysmaps.php
-%%SERVER%%%%DATADIR%%/php/tr_comments.php
-%%SERVER%%%%DATADIR%%/php/tr_events.php
-%%SERVER%%%%DATADIR%%/php/tr_status.php
-%%SERVER%%%%DATADIR%%/php/triggers.php
-%%SERVER%%%%DATADIR%%/php/users.php
-%%SERVER%%%%DATADIR%%/php/vtext.php
-%%SERVER%%%%DATADIR%%/php/warning.php
-%%SERVER%%@dirrm %%DATADIR%%/php/styles
-%%SERVER%%@dirrm %%DATADIR%%/php/js
-%%SERVER%%@dirrm %%DATADIR%%/php/include/locales
-%%SERVER%%@dirrm %%DATADIR%%/php/include/classes
-%%SERVER%%@dirrm %%DATADIR%%/php/include
-%%SERVER%%@dirrm %%DATADIR%%/php/images/sysmaps/old
-%%SERVER%%@dirrm %%DATADIR%%/php/images/sysmaps
-%%SERVER%%@dirrm %%DATADIR%%/php/images/gradients
-%%SERVER%%@dirrm %%DATADIR%%/php/images/general/tree
-%%SERVER%%@dirrm %%DATADIR%%/php/images/general/bttn
-%%SERVER%%@dirrm %%DATADIR%%/php/images/general/bar
-%%SERVER%%@dirrm %%DATADIR%%/php/images/general
-%%SERVER%%@dirrm %%DATADIR%%/php/images/flash
-%%SERVER%%@dirrm %%DATADIR%%/php/images
-%%SERVER%%@dirrm %%DATADIR%%/php/conf
-%%SERVER%%@dirrm %%DATADIR%%/php/audio
-%%SERVER%%@dirrm %%DATADIR%%/php
-@dirrm %%DATADIR%%/dbpatches/1.6/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.6/oracle
-@dirrm %%DATADIR%%/dbpatches/1.6/mysql
-@dirrm %%DATADIR%%/dbpatches/1.6
-@dirrm %%DATADIR%%/dbpatches
-@dirrm %%DATADIR%%/create/schema
-@dirrm %%DATADIR%%/create/data/images
-@dirrm %%DATADIR%%/create/data
-@dirrm %%DATADIR%%/create
-@dirrm %%DATADIR%%
-@dirrm %%ETCDIR%%
diff --git a/net-mgmt/zabbix16-agent/Makefile b/net-mgmt/zabbix16-agent/Makefile
new file mode 100644
index 000000000000..2983d6ba42fe
--- /dev/null
+++ b/net-mgmt/zabbix16-agent/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: zabbix16-agent
+# Date created: 2009-12-10
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PKGNAMESUFFIX= -agent
+
+MASTERDIR= ${.CURDIR}/../zabbix16-server
+
+PLIST= ${PKGDIR}/pkg-plist.agent
+
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= IPV6 "Support for IPv6" on
+
+.include <bsd.port.options.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix16-frontend/Makefile b/net-mgmt/zabbix16-frontend/Makefile
new file mode 100644
index 000000000000..13deef7e3ec7
--- /dev/null
+++ b/net-mgmt/zabbix16-frontend/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: zabbix16-frontend
+# Date created: 2009-12-10
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PKGNAMESUFFIX= -frontend
+
+MASTERDIR= ${.CURDIR}/../zabbix16-server
+
+NO_BUILD= yes
+PATCHDIR=
+PLIST= ${PKGDIR}/pkg-plist.frontend
+
+USE_PHP= bcmath gd pcre snmp sockets
+WANT_PHP_WEB= yes
+
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= MYSQL "Use MySQL backend" on \
+ PGSQL "Use PostgreSQL backend" off \
+ SQLITE "Use SQLite backend" off
+
+.include <bsd.port.options.mk>
+
+.ifndef WITHOUT_MYSQL
+USE_PHP+= mysql
+.endif
+
+.ifdef WITH_MYSQLI
+USE_PHP+= mysqli
+.endif
+
+.ifdef WITH_PGSQL
+USE_PHP+= pgsql
+.endif
+
+.ifdef WITH_SQLITE
+USE_PHP+= sqlite
+.endif
+
+do-install:
+ @${INSTALL} -d ${WWWDIR}
+ @cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${WWWDIR}
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix16-proxy/Makefile b/net-mgmt/zabbix16-proxy/Makefile
new file mode 100644
index 000000000000..cb2708531fc4
--- /dev/null
+++ b/net-mgmt/zabbix16-proxy/Makefile
@@ -0,0 +1,13 @@
+# New ports collection makefile for: zabbix16-proxy
+# Date created: 2009-12-10
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PKGNAMESUFFIX= -proxy
+
+MASTERDIR= ${.CURDIR}/../zabbix16-server
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix16-server/Makefile b/net-mgmt/zabbix16-server/Makefile
new file mode 100644
index 000000000000..e8a0eaf8c5e5
--- /dev/null
+++ b/net-mgmt/zabbix16-server/Makefile
@@ -0,0 +1,118 @@
+# New ports collection makefile for: zabbix16-server
+# Date created: 2009-12-10
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PORTVERSION= 1.6.8
+PORTEPOCH= 2
+CATEGORIES= net-mgmt
+MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION}
+PKGNAMESUFFIX?= -server
+
+MAINTAINER= ports@christianserving.org
+COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//})
+
+CONFLICTS= ${PKGBASE}-1.8*
+
+.if ${PKGNAMESUFFIX} != "-agent"
+CONFLICTS+= ${PORTNAME}-1.[0-6]*
+.endif
+
+ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//}
+
+.if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings
+LIB_DEPENDS= netsnmp:${PORTSDIR}/net-mgmt/net-snmp \
+ curl:${PORTSDIR}/ftp/curl
+
+SUB_FILES= pkg-message
+
+.if ${ZABBIX_BUILD} != "agent"
+USE_RC_SUBR= ${PORTNAME}_${ZABBIX_BUILD}
+.else
+USE_RC_SUBR= ${PORTNAME}_${ZABBIX_BUILD}d
+.endif
+
+USERS= zabbix
+GROUPS= zabbix
+
+PLIST_SUB= ZABBIX_BUILD=${ZABBIX_BUILD}
+SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD}
+
+MAKE_ARGS+= ARCH=freebsd
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} --with-net-snmp
+
+.if ${ZABBIX_BUILD} != "agent"
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= MYSQL "Use MySQL backend" on \
+ PGSQL "Use PostgreSQL backend" off \
+ SQLITE "Use SQLite backend" off \
+ IPV6 "Support for IPv6" on \
+ LDAP "Support for checking LDAP servers" on \
+ JABBER "Use jabber media type" on \
+ FPING "Use fping for pinging hosts" on
+
+.include <bsd.port.options.mk>
+
+.ifndef WITHOUT_MYSQL
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql
+.elifdef WITH_PGSQL
+USE_PGSQL= yes
+CONFIGURE_ARGS+= --with-pgsql
+.elifdef WITH_SQLITE
+USE_SQLITE= yes
+CONFIGURE_ARGS+= --with-sqlite3
+.else
+IGNORE= zabbix requires a database backend
+.endif
+
+.ifndef WITHOUT_LDAP
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+= --with-ldap
+.endif
+
+.ifndef WITHOUT_JABBER
+LIB_DEPENDS+= iksemel:${PORTSDIR}/textproc/iksemel
+CONFIGURE_ARGS+= --with-jabber
+.endif
+
+.ifndef WITHOUT_FPING
+RUN_DEPENDS+= fping:${PORTSDIR}/net/fping
+.endif
+.endif # if ${ZABBIX_BUILD} != "agent"
+
+.ifdef WITH_IPV6
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+post-patch:
+ @${GREP} -rl "/etc/zabbix" ${WRKSRC} \
+ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' \
+ && ${FIND} ${WRKSRC} -type f -name '*.bak' -exec ${RM} -f {} +
+
+.if ${ZABBIX_BUILD} != "agent"
+.ifdef WITHOUT_FPING
+ @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}.conf
+.endif
+.endif
+
+post-install:
+ @${INSTALL} -d ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}.conf ${ETCDIR}/${PORTNAME}_${ZABBIX_BUILD}.conf.sample
+
+.if ${ZABBIX_BUILD} == "agent"
+ @${INSTALL_DATA} ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}d.conf ${ETCDIR}/${PORTNAME}_${ZABBIX_BUILD}d.conf.sample
+.endif
+
+.if ${ZABBIX_BUILD} != "agent"
+ @cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches ${DATADIR}/${ZABBIX_BUILD}/upgrades/
+ @cd ${WRKSRC}/create/ && ${COPYTREE_SHARE} "data schema" ${DATADIR}/${ZABBIX_BUILD}/create/
+ @${CAT} ${PKGMESSAGE}
+.endif
+.endif # if ${ZABBIX_BUILD} != "frontend"
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/zabbix16-server/distinfo b/net-mgmt/zabbix16-server/distinfo
new file mode 100644
index 000000000000..4c049e9fa965
--- /dev/null
+++ b/net-mgmt/zabbix16-server/distinfo
@@ -0,0 +1,3 @@
+MD5 (zabbix-1.6.8.tar.gz) = 3255afd2d44454bae3ec5158920a824f
+SHA256 (zabbix-1.6.8.tar.gz) = b0fb1bebbe8ee2eaab1c5ee417938191efc7ff1dddd2ce9b275c8bc97b02029e
+SIZE (zabbix-1.6.8.tar.gz) = 8397381
diff --git a/net-mgmt/zabbix16-server/files/patch-src-zabbix_get-Makefile.in b/net-mgmt/zabbix16-server/files/patch-src-zabbix_get-Makefile.in
new file mode 100644
index 000000000000..308b6257fb4c
--- /dev/null
+++ b/net-mgmt/zabbix16-server/files/patch-src-zabbix_get-Makefile.in
@@ -0,0 +1,11 @@
+--- src/zabbix_get/Makefile.in.bak 2009-12-10 21:00:25.000000000 -0600
++++ src/zabbix_get/Makefile.in 2009-12-10 21:00:36.000000000 -0600
+@@ -212,7 +212,7 @@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+ psdir = @psdir@
+-sbindir = @sbindir@
++sbindir = @bindir@
+ sharedstatedir = @sharedstatedir@
+ srcdir = @srcdir@
+ sysconfdir = @sysconfdir@
diff --git a/net-mgmt/zabbix16-server/files/patch-src-zabbix_sender-Makefile.in b/net-mgmt/zabbix16-server/files/patch-src-zabbix_sender-Makefile.in
new file mode 100644
index 000000000000..b5f7c926705b
--- /dev/null
+++ b/net-mgmt/zabbix16-server/files/patch-src-zabbix_sender-Makefile.in
@@ -0,0 +1,11 @@
+--- src/zabbix_sender/Makefile.in.bak 2009-12-10 21:00:56.000000000 -0600
++++ src/zabbix_sender/Makefile.in 2009-12-10 21:01:11.000000000 -0600
+@@ -213,7 +213,7 @@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+ psdir = @psdir@
+-sbindir = @sbindir@
++sbindir = @bindir@
+ sharedstatedir = @sharedstatedir@
+ srcdir = @srcdir@
+ sysconfdir = @sysconfdir@
diff --git a/net-mgmt/zabbix16-server/files/pkg-message.in b/net-mgmt/zabbix16-server/files/pkg-message.in
new file mode 100644
index 000000000000..754f2c90ce66
--- /dev/null
+++ b/net-mgmt/zabbix16-server/files/pkg-message.in
@@ -0,0 +1,11 @@
+======================================================================
+Zabbix requires a database. If you are using SQLite, one will be
+created automatically. Otherwise you can install one as follows (<db>
+is your database engine and <db_client> is its client program):
+
+% cd %%DATADIR%%/%%ZABBIX_BUILD%%/create
+% cat schema/<db>.sql data/data.sql data/images_<db>.sql | <db_client>
+
+To upgrade an existing database, see the scripts in
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades.
+======================================================================
diff --git a/net-mgmt/zabbix16-server/files/zabbix_agentd.in b/net-mgmt/zabbix16-server/files/zabbix_agentd.in
new file mode 100644
index 000000000000..b4f13bdfd4cb
--- /dev/null
+++ b/net-mgmt/zabbix16-server/files/zabbix_agentd.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_agentd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_agentd:
+#
+# zabbix_agentd_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_agentd.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_agentd"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_agentd_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix16-server/files/zabbix_proxy.in b/net-mgmt/zabbix16-server/files/zabbix_proxy.in
new file mode 100644
index 000000000000..14ab46b8a2a1
--- /dev/null
+++ b/net-mgmt/zabbix16-server/files/zabbix_proxy.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_proxy
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_proxy:
+#
+# zabbix_proxy_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_proxy.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_proxy"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_proxy_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix16-server/files/zabbix_server.in b/net-mgmt/zabbix16-server/files/zabbix_server.in
new file mode 100644
index 000000000000..b8c5bc324f44
--- /dev/null
+++ b/net-mgmt/zabbix16-server/files/zabbix_server.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_server
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_server:
+#
+# zabbix_server_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_server.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_server"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_server_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix16-server/pkg-descr b/net-mgmt/zabbix16-server/pkg-descr
new file mode 100644
index 000000000000..4165c097388f
--- /dev/null
+++ b/net-mgmt/zabbix16-server/pkg-descr
@@ -0,0 +1,12 @@
+Zabbix is an enterprise-class open source distributed monitoring
+solution.
+
+Zabbix is software that monitors numerous parameters of a network and
+the health and integrity of servers. Zabbix uses a flexible
+notification mechanism that allows users to configure e-mail based
+alerts for virtually any event. This allows a fast reaction to server
+problems. Zabbix offers excellent reporting and data visualisation
+features based on the stored data. This makes Zabbix ideal for
+capacity planning.
+
+WWW: http://www.zabbix.com/
diff --git a/net-mgmt/zabbix16-server/pkg-plist b/net-mgmt/zabbix16-server/pkg-plist
new file mode 100644
index 000000000000..8718a78de957
--- /dev/null
+++ b/net-mgmt/zabbix16-server/pkg-plist
@@ -0,0 +1,48 @@
+@comment $FreeBSD$
+%%ETCDIR%%/zabbix_%%ZABBIX_BUILD%%.conf.sample
+sbin/zabbix_%%ZABBIX_BUILD%%
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/data.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Hub.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Hub_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Network.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Network_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Notebook.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Notebook_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Phone.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Phone_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Printer.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Printer_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Router.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Router_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Satellite.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Satellite_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Server.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Server_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/UPS.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/UPS_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Workstation.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Workstation_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_mysql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_oracle.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_pgsql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_sqlite3.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/mysql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/oracle.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/postgresql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/sqlite.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/mysql/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/oracle/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/postgresql/patch.sql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/postgresql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/oracle
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/mysql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/schema
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/data
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%
+@dirrmtry %%DATADIR%%
+@dirrmtry %%ETCDIR%%
diff --git a/net-mgmt/zabbix16-server/pkg-plist.agent b/net-mgmt/zabbix16-server/pkg-plist.agent
new file mode 100644
index 000000000000..098c6d80e769
--- /dev/null
+++ b/net-mgmt/zabbix16-server/pkg-plist.agent
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%ETCDIR%%/zabbix_agent.conf.sample
+%%ETCDIR%%/zabbix_agentd.conf.sample
+bin/zabbix_get
+bin/zabbix_sender
+sbin/zabbix_agent
+sbin/zabbix_agentd
+@dirrmtry %%ETCDIR%%
diff --git a/net-mgmt/zabbix16-server/pkg-plist.frontend b/net-mgmt/zabbix16-server/pkg-plist.frontend
new file mode 100644
index 000000000000..d870750d1c4e
--- /dev/null
+++ b/net-mgmt/zabbix16-server/pkg-plist.frontend
@@ -0,0 +1,322 @@
+@comment $FreeBSD$
+%%WWWDIR%%/acknow.php
+%%WWWDIR%%/actionconf.php
+%%WWWDIR%%/audio/trigger_off.wav
+%%WWWDIR%%/audio/trigger_on.wav
+%%WWWDIR%%/audio/trigger_on_average.wav
+%%WWWDIR%%/audio/trigger_on_disaster.wav
+%%WWWDIR%%/audio/trigger_on_high.wav
+%%WWWDIR%%/audio/trigger_on_warning.wav
+%%WWWDIR%%/audit.php
+%%WWWDIR%%/authentication.php
+%%WWWDIR%%/chart.php
+%%WWWDIR%%/chart2.php
+%%WWWDIR%%/chart3.php
+%%WWWDIR%%/chart4.php
+%%WWWDIR%%/chart5.php
+%%WWWDIR%%/chart6.php
+%%WWWDIR%%/chart7.php
+%%WWWDIR%%/chart_sla.php
+%%WWWDIR%%/charts.php
+%%WWWDIR%%/conf/COPYING
+%%WWWDIR%%/conf/maintenance.inc.php
+%%WWWDIR%%/config.php
+%%WWWDIR%%/css.css
+%%WWWDIR%%/dashboard.php
+%%WWWDIR%%/discovery.php
+%%WWWDIR%%/discoveryconf.php
+%%WWWDIR%%/events.php
+%%WWWDIR%%/exp_imp.php
+%%WWWDIR%%/graphs.php
+%%WWWDIR%%/history.php
+%%WWWDIR%%/hostprofiles.php
+%%WWWDIR%%/hosts.php
+%%WWWDIR%%/httpconf.php
+%%WWWDIR%%/httpdetails.php
+%%WWWDIR%%/httpmon.php
+%%WWWDIR%%/image.php
+%%WWWDIR%%/images/flash/zbxclock.swf
+%%WWWDIR%%/images/general/bar/arrow_down.gif
+%%WWWDIR%%/images/general/bar/arrow_l.gif
+%%WWWDIR%%/images/general/bar/arrow_r.gif
+%%WWWDIR%%/images/general/bar/arrow_sm.gif
+%%WWWDIR%%/images/general/bar/arrow_up.gif
+%%WWWDIR%%/images/general/bar/bar_bg.gif
+%%WWWDIR%%/images/general/bar/bar_left.gif
+%%WWWDIR%%/images/general/bar/bar_middle.gif
+%%WWWDIR%%/images/general/bar/bar_right.gif
+%%WWWDIR%%/images/general/bar/bg.gif
+%%WWWDIR%%/images/general/bar/cal.gif
+%%WWWDIR%%/images/general/bar/left.gif
+%%WWWDIR%%/images/general/bar/right.gif
+%%WWWDIR%%/images/general/bttn/arrowdown.png
+%%WWWDIR%%/images/general/bttn/arrowdown_bb.png
+%%WWWDIR%%/images/general/bttn/arrowup.png
+%%WWWDIR%%/images/general/bttn/arrowup_bb.png
+%%WWWDIR%%/images/general/bttn/down.png
+%%WWWDIR%%/images/general/bttn/down_bb.png
+%%WWWDIR%%/images/general/bttn/fullscreen.png
+%%WWWDIR%%/images/general/bttn/fullscreen_bb.png
+%%WWWDIR%%/images/general/bttn/help.png
+%%WWWDIR%%/images/general/bttn/help_bb.png
+%%WWWDIR%%/images/general/bttn/menu.png
+%%WWWDIR%%/images/general/bttn/menu_bb.png
+%%WWWDIR%%/images/general/bttn/minus.png
+%%WWWDIR%%/images/general/bttn/minus_bb.png
+%%WWWDIR%%/images/general/bttn/mute.png
+%%WWWDIR%%/images/general/bttn/mute_bb.png
+%%WWWDIR%%/images/general/bttn/plus.png
+%%WWWDIR%%/images/general/bttn/plus_bb.png
+%%WWWDIR%%/images/general/bttn/reset.png
+%%WWWDIR%%/images/general/bttn/reset_bb.png
+%%WWWDIR%%/images/general/bttn/sound.png
+%%WWWDIR%%/images/general/bttn/sound_bb.png
+%%WWWDIR%%/images/general/bttn/up.png
+%%WWWDIR%%/images/general/bttn/up_bb.png
+%%WWWDIR%%/images/general/chart.png
+%%WWWDIR%%/images/general/closed.gif
+%%WWWDIR%%/images/general/down_icon.png
+%%WWWDIR%%/images/general/error_small.gif
+%%WWWDIR%%/images/general/help.gif
+%%WWWDIR%%/images/general/inst_completed.gif
+%%WWWDIR%%/images/general/inst_current.gif
+%%WWWDIR%%/images/general/inst_step.gif
+%%WWWDIR%%/images/general/opened.gif
+%%WWWDIR%%/images/general/sort_downw.gif
+%%WWWDIR%%/images/general/sort_upw.gif
+%%WWWDIR%%/images/general/sortdown.gif
+%%WWWDIR%%/images/general/sortdown_off.gif
+%%WWWDIR%%/images/general/sortup.gif
+%%WWWDIR%%/images/general/sortup_off.gif
+%%WWWDIR%%/images/general/tick.png
+%%WWWDIR%%/images/general/tree/minus.gif
+%%WWWDIR%%/images/general/tree/plus.gif
+%%WWWDIR%%/images/general/tree/point.gif
+%%WWWDIR%%/images/general/tree/pointc.gif
+%%WWWDIR%%/images/general/tree/pointl.gif
+%%WWWDIR%%/images/general/tree/zero.gif
+%%WWWDIR%%/images/general/trigg_dep.gif
+%%WWWDIR%%/images/general/trigg_dep.png
+%%WWWDIR%%/images/general/up_icon.png
+%%WWWDIR%%/images/general/warning16r.gif
+%%WWWDIR%%/images/general/warning_small.gif
+%%WWWDIR%%/images/general/zabbix.ico
+%%WWWDIR%%/images/general/zabbix.png
+%%WWWDIR%%/images/general/zabbix_bb.ico
+%%WWWDIR%%/images/general/zabbix_bb.png
+%%WWWDIR%%/images/general/zabbix_ob.ico
+%%WWWDIR%%/images/gradients/blink1.gif
+%%WWWDIR%%/images/gradients/blink2.gif
+%%WWWDIR%%/images/gradients/button.gif
+%%WWWDIR%%/images/gradients/gradient.png
+%%WWWDIR%%/images/gradients/menu_not_active.gif
+%%WWWDIR%%/images/gradients/menu_not_active_bb.gif
+%%WWWDIR%%/images/gradients/sla_green.png
+%%WWWDIR%%/images/gradients/sla_red.png
+%%WWWDIR%%/images/gradients/table_head.gif
+%%WWWDIR%%/images/gradients/table_head2.gif
+%%WWWDIR%%/images/gradients/table_head2_bb.gif
+%%WWWDIR%%/images/gradients/table_head_bb.gif
+%%WWWDIR%%/images/sysmaps/Hub.png
+%%WWWDIR%%/images/sysmaps/Hub_small.png
+%%WWWDIR%%/images/sysmaps/Network.png
+%%WWWDIR%%/images/sysmaps/Network_small.png
+%%WWWDIR%%/images/sysmaps/Notebook.png
+%%WWWDIR%%/images/sysmaps/Notebook_small.png
+%%WWWDIR%%/images/sysmaps/Phone.png
+%%WWWDIR%%/images/sysmaps/Phone_small.png
+%%WWWDIR%%/images/sysmaps/Printer.png
+%%WWWDIR%%/images/sysmaps/Printer_small.png
+%%WWWDIR%%/images/sysmaps/README
+%%WWWDIR%%/images/sysmaps/Router.png
+%%WWWDIR%%/images/sysmaps/Router_small.png
+%%WWWDIR%%/images/sysmaps/Satellite.png
+%%WWWDIR%%/images/sysmaps/Satellite_small.png
+%%WWWDIR%%/images/sysmaps/Server.png
+%%WWWDIR%%/images/sysmaps/Server_small.png
+%%WWWDIR%%/images/sysmaps/UPS.png
+%%WWWDIR%%/images/sysmaps/UPS_small.png
+%%WWWDIR%%/images/sysmaps/Workstation.png
+%%WWWDIR%%/images/sysmaps/Workstation_small.png
+%%WWWDIR%%/images/sysmaps/old/Hub.png
+%%WWWDIR%%/images/sysmaps/old/Notebook.png
+%%WWWDIR%%/images/sysmaps/old/Printer.png
+%%WWWDIR%%/images/sysmaps/old/Router.png
+%%WWWDIR%%/images/sysmaps/old/Server.png
+%%WWWDIR%%/images/sysmaps/old/Workstation.png
+%%WWWDIR%%/include/.htaccess
+%%WWWDIR%%/include/acknow.inc.php
+%%WWWDIR%%/include/actions.inc.php
+%%WWWDIR%%/include/audit.inc.php
+%%WWWDIR%%/include/blocks.inc.php
+%%WWWDIR%%/include/classes/.htaccess
+%%WWWDIR%%/include/classes/cbutton.inc.php
+%%WWWDIR%%/include/classes/ccheckbox.inc.php
+%%WWWDIR%%/include/classes/ccolor.inc.php
+%%WWWDIR%%/include/classes/ccombobox.inc.php
+%%WWWDIR%%/include/classes/cfile.inc.php
+%%WWWDIR%%/include/classes/cflash.inc.php
+%%WWWDIR%%/include/classes/cflashclock.mod.php
+%%WWWDIR%%/include/classes/cform.inc.php
+%%WWWDIR%%/include/classes/cformtable.inc.php
+%%WWWDIR%%/include/classes/chart.inc.php
+%%WWWDIR%%/include/classes/chelp.inc.php
+%%WWWDIR%%/include/classes/chostsinfo.mod.php
+%%WWWDIR%%/include/classes/ciframe.inc.php
+%%WWWDIR%%/include/classes/cimg.inc.php
+%%WWWDIR%%/include/classes/cldap.inc.php
+%%WWWDIR%%/include/classes/clink.inc.php
+%%WWWDIR%%/include/classes/clist.inc.php
+%%WWWDIR%%/include/classes/cmap.inc.php
+%%WWWDIR%%/include/classes/cpumenu.inc.php
+%%WWWDIR%%/include/classes/cscript.inc.php
+%%WWWDIR%%/include/classes/cserverinfo.mod.php
+%%WWWDIR%%/include/classes/cspan.inc.php
+%%WWWDIR%%/include/classes/ctable.inc.php
+%%WWWDIR%%/include/classes/ctableinfo.inc.php
+%%WWWDIR%%/include/classes/ctag.inc.php
+%%WWWDIR%%/include/classes/ctextarea.inc.php
+%%WWWDIR%%/include/classes/ctextbox.inc.php
+%%WWWDIR%%/include/classes/ctree.inc.php
+%%WWWDIR%%/include/classes/ctriggerinfo.mod.php
+%%WWWDIR%%/include/classes/curl.inc.php
+%%WWWDIR%%/include/classes/cvar.inc.php
+%%WWWDIR%%/include/classes/graph.inc.php
+%%WWWDIR%%/include/classes/pie.inc.php
+%%WWWDIR%%/include/config.inc.php
+%%WWWDIR%%/include/copt.lib.php
+%%WWWDIR%%/include/db.inc.php
+%%WWWDIR%%/include/defines.inc.php
+%%WWWDIR%%/include/discovery.inc.php
+%%WWWDIR%%/include/events.inc.php
+%%WWWDIR%%/include/export.inc.php
+%%WWWDIR%%/include/forms.inc.php
+%%WWWDIR%%/include/func.inc.php
+%%WWWDIR%%/include/graphs.inc.php
+%%WWWDIR%%/include/hosts.inc.php
+%%WWWDIR%%/include/html.inc.php
+%%WWWDIR%%/include/httptest.inc.php
+%%WWWDIR%%/include/images.inc.php
+%%WWWDIR%%/include/import.inc.php
+%%WWWDIR%%/include/items.inc.php
+%%WWWDIR%%/include/js.inc.php
+%%WWWDIR%%/include/locales.inc.php
+%%WWWDIR%%/include/locales/cn_zh.inc.php
+%%WWWDIR%%/include/locales/de_de.inc.php
+%%WWWDIR%%/include/locales/en_gb.inc.php
+%%WWWDIR%%/include/locales/fr_fr.inc.php
+%%WWWDIR%%/include/locales/hu_hu.inc.php
+%%WWWDIR%%/include/locales/it_it.inc.php
+%%WWWDIR%%/include/locales/ja_jp.inc.php
+%%WWWDIR%%/include/locales/ko_kr.inc.php
+%%WWWDIR%%/include/locales/lv_lv.inc.php
+%%WWWDIR%%/include/locales/nl_nl.inc.php
+%%WWWDIR%%/include/locales/pl_pl.inc.php
+%%WWWDIR%%/include/locales/pt_br.inc.php
+%%WWWDIR%%/include/locales/ru_ru.inc.php
+%%WWWDIR%%/include/locales/sp_sp.inc.php
+%%WWWDIR%%/include/locales/sv_se.inc.php
+%%WWWDIR%%/include/maps.inc.php
+%%WWWDIR%%/include/media.inc.php
+%%WWWDIR%%/include/nodes.inc.php
+%%WWWDIR%%/include/page_footer.php
+%%WWWDIR%%/include/page_header.php
+%%WWWDIR%%/include/perm.inc.php
+%%WWWDIR%%/include/profiles.inc.php
+%%WWWDIR%%/include/reports.inc.php
+%%WWWDIR%%/include/screens.inc.php
+%%WWWDIR%%/include/scripts.inc.php
+%%WWWDIR%%/include/services.inc.php
+%%WWWDIR%%/include/setup.inc.php
+%%WWWDIR%%/include/triggers.inc.php
+%%WWWDIR%%/include/users.inc.php
+%%WWWDIR%%/include/validate.inc.php
+%%WWWDIR%%/index.php
+%%WWWDIR%%/instal.php
+%%WWWDIR%%/items.php
+%%WWWDIR%%/js/ajax_req.js
+%%WWWDIR%%/js/calendar.js
+%%WWWDIR%%/js/common.js
+%%WWWDIR%%/js/gmenu.js
+%%WWWDIR%%/js/gpc.js
+%%WWWDIR%%/js/graphs.js
+%%WWWDIR%%/js/menu.js
+%%WWWDIR%%/js/menu_scripts.js
+%%WWWDIR%%/js/prototype.js
+%%WWWDIR%%/js/sbinit.js
+%%WWWDIR%%/js/sbox.js
+%%WWWDIR%%/js/scrollbar.js
+%%WWWDIR%%/js/services.js
+%%WWWDIR%%/js/showhint.js
+%%WWWDIR%%/js/tree.js
+%%WWWDIR%%/js/updater.js
+%%WWWDIR%%/latest.php
+%%WWWDIR%%/locales.php
+%%WWWDIR%%/map.php
+%%WWWDIR%%/maps.php
+%%WWWDIR%%/media_types.php
+%%WWWDIR%%/nodes.php
+%%WWWDIR%%/overview.php
+%%WWWDIR%%/popup.php
+%%WWWDIR%%/popup_gitem.php
+%%WWWDIR%%/popup_httpstep.php
+%%WWWDIR%%/popup_link_tr.php
+%%WWWDIR%%/popup_media.php
+%%WWWDIR%%/popup_right.php
+%%WWWDIR%%/popup_trexpr.php
+%%WWWDIR%%/popup_users.php
+%%WWWDIR%%/popup_usrgrp.php
+%%WWWDIR%%/profile.php
+%%WWWDIR%%/queue.php
+%%WWWDIR%%/report1.php
+%%WWWDIR%%/report2.php
+%%WWWDIR%%/report3.php
+%%WWWDIR%%/report4.php
+%%WWWDIR%%/report5.php
+%%WWWDIR%%/screenconf.php
+%%WWWDIR%%/screenedit.php
+%%WWWDIR%%/screens.php
+%%WWWDIR%%/scripts.php
+%%WWWDIR%%/scripts_exec.php
+%%WWWDIR%%/services.php
+%%WWWDIR%%/services_form.php
+%%WWWDIR%%/setup.php
+%%WWWDIR%%/srv_status.php
+%%WWWDIR%%/styles/blocks.css
+%%WWWDIR%%/styles/calendar.css
+%%WWWDIR%%/styles/css_bb.css
+%%WWWDIR%%/styles/css_ob.css
+%%WWWDIR%%/styles/default.css
+%%WWWDIR%%/styles/div.css
+%%WWWDIR%%/styles/form.css
+%%WWWDIR%%/styles/link.css
+%%WWWDIR%%/styles/p.css
+%%WWWDIR%%/styles/popupmenu.css
+%%WWWDIR%%/styles/table.css
+%%WWWDIR%%/styles/ul.css
+%%WWWDIR%%/sysmap.php
+%%WWWDIR%%/sysmaps.php
+%%WWWDIR%%/tr_comments.php
+%%WWWDIR%%/tr_events.php
+%%WWWDIR%%/tr_status.php
+%%WWWDIR%%/triggers.php
+%%WWWDIR%%/users.php
+%%WWWDIR%%/vtext.php
+%%WWWDIR%%/warning.php
+@dirrm %%WWWDIR%%/styles
+@dirrm %%WWWDIR%%/js
+@dirrm %%WWWDIR%%/include/locales
+@dirrm %%WWWDIR%%/include/classes
+@dirrm %%WWWDIR%%/include
+@dirrm %%WWWDIR%%/images/sysmaps/old
+@dirrm %%WWWDIR%%/images/sysmaps
+@dirrm %%WWWDIR%%/images/gradients
+@dirrm %%WWWDIR%%/images/general/tree
+@dirrm %%WWWDIR%%/images/general/bttn
+@dirrm %%WWWDIR%%/images/general/bar
+@dirrm %%WWWDIR%%/images/general
+@dirrm %%WWWDIR%%/images/flash
+@dirrm %%WWWDIR%%/images
+@dirrm %%WWWDIR%%/conf
+@dirrm %%WWWDIR%%/audio
+@dirrm %%WWWDIR%%
diff --git a/net-mgmt/zabbix2-agent/Makefile b/net-mgmt/zabbix2-agent/Makefile
index 9f4fa00d5079..4308e6987d5c 100644
--- a/net-mgmt/zabbix2-agent/Makefile
+++ b/net-mgmt/zabbix2-agent/Makefile
@@ -6,41 +6,14 @@
#
PORTNAME= zabbix
-PORTVERSION= 1.6.6
-PORTEPOCH= 2
-CATEGORIES= net-mgmt
-MASTER_SITES= SF/${PORTNAME}/ZABBIX%20Latest%20Stable/${PORTVERSION}
PKGNAMESUFFIX= -agent
-MAINTAINER= ports@christianserving.org
-COMMENT= Application and network monitoring solution
+MASTERDIR= ${.CURDIR}/../zabbix-server
-USE_GMAKE= yes
-USE_RC_SUBR= zabbix_agentd
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-agent --disable-server
-MAKE_ARGS= ARCH=freebsd
-.ifndef WITHOUT_IPV6
-CONFIGURE_ARGS+=--enable-ipv6
-.endif
+PLIST= ${PKGDIR}/pkg-plist.agent
-ZABBIX_BIN= agent agentd get sender
-ZABBIX_CFG= agent agentd
-ZABBIX_BINFILES=${ZABBIX_BIN:S|^|zabbix_|:C|.+|&/&|:S|agentd/|agent/|}
-ZABBIX_CFGFILES=${ZABBIX_CFG:S|^|zabbix_|:S|$|.conf|}
-PLIST_FILES= ${ZABBIX_BIN:S|^|bin/zabbix_|} \
- ${ZABBIX_CFG:S|^|%%ETCDIR%%/zabbix_|:S|$|.conf.sample|}
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= IPV6 "Support for IPv6" on
-post-patch:
- @${FIND} ${WRKSRC}/src/ -type f|${XARGS} \
- ${REINPLACE_CMD} -e 's|/etc/zabbix|${ETCDIR}|;s|/usr/sbin|${LOCALBASE}/sbin|'
-
-do-install:
- @${ECHO_CMD} '@unexec ${RMDIR} %D/${ETCDIR_REL} 2>/dev/null || true' >> ${TMPPLIST}
- @${INSTALL_PROGRAM} ${ZABBIX_BINFILES:S,^,${WRKSRC}/src/,} ${PREFIX}/bin/
- @${INSTALL} -d ${ETCDIR}/
- @for i in ${ZABBIX_CFGFILES};do\
- ${INSTALL_DATA} ${WRKSRC}/misc/conf/$$i ${ETCDIR}/$$i.sample;done
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-
-.include <bsd.port.mk>
+.include <bsd.port.options.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix2-agent/distinfo b/net-mgmt/zabbix2-agent/distinfo
deleted file mode 100644
index 086bdcdeffe5..000000000000
--- a/net-mgmt/zabbix2-agent/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (zabbix-1.6.6.tar.gz) = 52779160e71c12d47b97f7336e25c395
-SHA256 (zabbix-1.6.6.tar.gz) = 9eb7bbe99c516c11020d5c95c8f8783fb1dc1123ce9c7e2135db7bfd0ea0aa75
-SIZE (zabbix-1.6.6.tar.gz) = 8255436
diff --git a/net-mgmt/zabbix2-agent/files/patch-configure b/net-mgmt/zabbix2-agent/files/patch-configure
deleted file mode 100644
index a1b0bd52a4fe..000000000000
--- a/net-mgmt/zabbix2-agent/files/patch-configure
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure.orig 2009-03-28 13:23:22.000000000 -0500
-+++ configure 2009-03-28 13:23:40.000000000 -0500
-@@ -580,6 +580,9 @@
- # Factoring default headers for most tests.
- ac_includes_default="\
- #include <stdio.h>
-+#include <sys/socket.h>
-+#include <sys/param.h>
-+#include <netinet/in.h>
- #ifdef HAVE_SYS_TYPES_H
- # include <sys/types.h>
- #endif
diff --git a/net-mgmt/zabbix2-agent/files/zabbix_agentd.in b/net-mgmt/zabbix2-agent/files/zabbix_agentd.in
deleted file mode 100644
index cc3eeb70286b..000000000000
--- a/net-mgmt/zabbix2-agent/files/zabbix_agentd.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# PROVIDE: zabbix_agentd
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-. %%RC_SUBR%%
-
-name="zabbix_agentd"
-rcvar=${name}_enable
-load_rc_config $name
-eval : \${${rcvar}='NO'}
-
-command="%%PREFIX%%/bin/${name}"
-required_files="%%ETCDIR%%/${name}.conf"
-
-run_rc_command "$1"
diff --git a/net-mgmt/zabbix2-agent/pkg-descr b/net-mgmt/zabbix2-agent/pkg-descr
deleted file mode 100644
index 52ecef039fcf..000000000000
--- a/net-mgmt/zabbix2-agent/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Zabbix is software for application and network monitoring.
-Zabbix supports both polling and trapping techniques to
-collect data from monitored hosts. Flexible notification
-mechanism allows easy and quckly configure email notifications
-for pre-defined events. Zabbix is freely available under the
-terms of the GNU General Public License (GPL).
-
-WWW: http://www.zabbix.com/
diff --git a/net-mgmt/zabbix2-agent/pkg-install b/net-mgmt/zabbix2-agent/pkg-install
deleted file mode 100644
index f0b59f76cc4a..000000000000
--- a/net-mgmt/zabbix2-agent/pkg-install
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# Script was taken from mysql323-server port, and modified
-# to suit zabbix needs
-
-[ -n "${PACKAGE_BUILDING}" ] && exit 0
-
-[ "${2}" = "POST-INSTALL" ] && exit 0
-
-PATH=/bin:/usr/sbin
-
-USER=zabbix
-GROUP=${USER}
-UID=122
-GID=${UID}
-
-if pw group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
-else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
-fi
-
-if pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
- if pw usermod ${USER} -d /nonexistent
- then
- echo "Changed home directory of \"${USER}\" to /nonexistent"
- else
- echo "Changing home directory of \"${USER}\" to /nonexistent failed..."
- exit 1
- fi
-else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d /nonexistent -s /sbin/nologin -c "Zabbix Sandbox"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
-fi
diff --git a/net-mgmt/zabbix2-frontend/Makefile b/net-mgmt/zabbix2-frontend/Makefile
new file mode 100644
index 000000000000..a57bfff739e2
--- /dev/null
+++ b/net-mgmt/zabbix2-frontend/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: zabbix-frontend
+# Date created: 2009-12-09
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PKGNAMESUFFIX= -frontend
+
+MASTERDIR= ${.CURDIR}/../zabbix-server
+
+NO_BUILD= yes
+PATCHDIR=
+PLIST= ${PKGDIR}/pkg-plist.frontend
+
+USE_PHP= bcmath gd pcre snmp sockets
+IGNORE_WITH_PHP= 4
+WANT_PHP_WEB= yes
+
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= MYSQL "Use MySQL backend" on \
+ PGSQL "Use PostgreSQL backend" off \
+ SQLITE "Use SQLite backend" off
+
+.include <bsd.port.options.mk>
+
+.ifndef WITHOUT_MYSQL
+USE_PHP+= mysql
+.endif
+
+.ifdef WITH_MYSQLI
+USE_PHP+= mysqli
+.endif
+
+.ifdef WITH_PGSQL
+USE_PHP+= pgsql
+.endif
+
+.ifdef WITH_SQLITE
+USE_PHP+= sqlite
+.endif
+
+do-install:
+ @${INSTALL} -d ${WWWDIR}
+ @cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${WWWDIR}
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix2-proxy/Makefile b/net-mgmt/zabbix2-proxy/Makefile
new file mode 100644
index 000000000000..d43f8c1952e3
--- /dev/null
+++ b/net-mgmt/zabbix2-proxy/Makefile
@@ -0,0 +1,13 @@
+# New ports collection makefile for: zabbix-proxy
+# Date created: 2009-12-09
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PKGNAMESUFFIX= -proxy
+
+MASTERDIR= ${.CURDIR}/../zabbix-server
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/zabbix2-server/Makefile b/net-mgmt/zabbix2-server/Makefile
new file mode 100644
index 000000000000..220c7e2ff5a7
--- /dev/null
+++ b/net-mgmt/zabbix2-server/Makefile
@@ -0,0 +1,122 @@
+# New ports collection makefile for: zabbix-server
+# Date created: 2009-12-09
+# Whom: Jim Riggs <ports@christianserving.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zabbix
+PORTVERSION= 1.8
+PORTEPOCH= 2
+CATEGORIES= net-mgmt
+MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION}
+PKGNAMESUFFIX?= -server
+
+MAINTAINER= ports@christianserving.org
+COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//})
+
+CONFLICTS= ${PKGBASE}-1.[0-6]*
+
+.if ${PKGNAMESUFFIX} != "-agent"
+CONFLICTS+= ${PORTNAME}-1.[0-6]*
+.endif
+
+ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//}
+
+.if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings
+LIB_DEPENDS= netsnmp:${PORTSDIR}/net-mgmt/net-snmp \
+ curl:${PORTSDIR}/ftp/curl
+
+SUB_FILES= pkg-message
+
+.if ${ZABBIX_BUILD} != "agent"
+MAN8= ${PORTNAME}_${ZABBIX_BUILD}.8
+USE_RC_SUBR= ${PORTNAME}_${ZABBIX_BUILD}
+.else
+USE_ICONV= yes
+MAN1= ${PORTNAME}_get.1 ${PORTNAME}_sender.1
+MAN8= ${PORTNAME}_${ZABBIX_BUILD}d.8
+USE_RC_SUBR= ${PORTNAME}_${ZABBIX_BUILD}d
+.endif
+
+USERS= zabbix
+GROUPS= zabbix
+
+PLIST_SUB= ZABBIX_BUILD=${ZABBIX_BUILD}
+SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD}
+
+MAKE_ARGS+= ARCH=freebsd
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} --with-net-snmp
+
+.if ${ZABBIX_BUILD} != "agent"
+OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
+OPTIONS= MYSQL "Use MySQL backend" on \
+ PGSQL "Use PostgreSQL backend" off \
+ SQLITE "Use SQLite backend" off \
+ IPV6 "Support for IPv6" on \
+ LDAP "Support for checking LDAP servers" on \
+ JABBER "Use jabber media type" on \
+ FPING "Use fping for pinging hosts" on
+
+.include <bsd.port.options.mk>
+
+.ifndef WITHOUT_MYSQL
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql
+.elifdef WITH_PGSQL
+USE_PGSQL= yes
+CONFIGURE_ARGS+= --with-pgsql
+.elifdef WITH_SQLITE
+USE_SQLITE= yes
+CONFIGURE_ARGS+= --with-sqlite3
+.else
+IGNORE= zabbix requires a database backend
+.endif
+
+.ifndef WITHOUT_LDAP
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+= --with-ldap
+.endif
+
+.ifndef WITHOUT_JABBER
+LIB_DEPENDS+= iksemel:${PORTSDIR}/textproc/iksemel
+CONFIGURE_ARGS+= --with-jabber
+.endif
+
+.ifndef WITHOUT_FPING
+RUN_DEPENDS+= fping:${PORTSDIR}/net/fping
+.endif
+.endif # if ${ZABBIX_BUILD} != "agent"
+
+.ifdef WITH_IPV6
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+post-patch:
+ @${GREP} -rl "/etc/zabbix" ${WRKSRC} \
+ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' \
+ && ${FIND} ${WRKSRC} -type f -name '*.bak' -exec ${RM} -f {} +
+
+.if ${ZABBIX_BUILD} != "agent"
+.ifdef WITHOUT_FPING
+ @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}.conf
+.endif
+.endif
+
+post-install:
+ @${INSTALL} -d ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}.conf ${ETCDIR}/${PORTNAME}_${ZABBIX_BUILD}.conf.sample
+
+.if ${ZABBIX_BUILD} == "agent"
+ @${INSTALL_DATA} ${WRKSRC}/misc/conf/${PORTNAME}_${ZABBIX_BUILD}d.conf ${ETCDIR}/${PORTNAME}_${ZABBIX_BUILD}d.conf.sample
+.endif
+
+.if ${ZABBIX_BUILD} != "agent"
+ @cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches ${DATADIR}/${ZABBIX_BUILD}/upgrades/
+ @cd ${WRKSRC}/create/ && ${COPYTREE_SHARE} "data schema" ${DATADIR}/${ZABBIX_BUILD}/create/
+ @${CAT} ${PKGMESSAGE}
+.endif
+.endif # if ${ZABBIX_BUILD} != "frontend"
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/zabbix2-server/distinfo b/net-mgmt/zabbix2-server/distinfo
new file mode 100644
index 000000000000..3ee658f07890
--- /dev/null
+++ b/net-mgmt/zabbix2-server/distinfo
@@ -0,0 +1,3 @@
+MD5 (zabbix-1.8.tar.gz) = 066153713c05f873b4344e4ea1e065e9
+SHA256 (zabbix-1.8.tar.gz) = 6743f01f27116ead7b48927ac184708bb920541c88e63602fe1f2b7401866eec
+SIZE (zabbix-1.8.tar.gz) = 3549582
diff --git a/net-mgmt/zabbix2-server/files/pkg-message.in b/net-mgmt/zabbix2-server/files/pkg-message.in
new file mode 100644
index 000000000000..754f2c90ce66
--- /dev/null
+++ b/net-mgmt/zabbix2-server/files/pkg-message.in
@@ -0,0 +1,11 @@
+======================================================================
+Zabbix requires a database. If you are using SQLite, one will be
+created automatically. Otherwise you can install one as follows (<db>
+is your database engine and <db_client> is its client program):
+
+% cd %%DATADIR%%/%%ZABBIX_BUILD%%/create
+% cat schema/<db>.sql data/data.sql data/images_<db>.sql | <db_client>
+
+To upgrade an existing database, see the scripts in
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades.
+======================================================================
diff --git a/net-mgmt/zabbix2-server/files/zabbix_agentd.in b/net-mgmt/zabbix2-server/files/zabbix_agentd.in
new file mode 100644
index 000000000000..b4f13bdfd4cb
--- /dev/null
+++ b/net-mgmt/zabbix2-server/files/zabbix_agentd.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_agentd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_agentd:
+#
+# zabbix_agentd_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_agentd.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_agentd"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_agentd_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix2-server/files/zabbix_proxy.in b/net-mgmt/zabbix2-server/files/zabbix_proxy.in
new file mode 100644
index 000000000000..14ab46b8a2a1
--- /dev/null
+++ b/net-mgmt/zabbix2-server/files/zabbix_proxy.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_proxy
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_proxy:
+#
+# zabbix_proxy_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_proxy.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_proxy"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_proxy_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix2-server/files/zabbix_server.in b/net-mgmt/zabbix2-server/files/zabbix_server.in
new file mode 100644
index 000000000000..b8c5bc324f44
--- /dev/null
+++ b/net-mgmt/zabbix2-server/files/zabbix_server.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# PROVIDE: zabbix_server
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to
+# enable zabbix_server:
+#
+# zabbix_server_enable (bool): Set to NO by default. Set it to YES to
+# enable zabbix_server.
+#
+
+. %%RC_SUBR%%
+
+name="zabbix_server"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/sbin/${name}"
+required_files="%%ETCDIR%%/${name}.conf"
+
+load_rc_config $name
+
+: ${zabbix_server_enable="NO"}
+
+run_rc_command "$1"
diff --git a/net-mgmt/zabbix2-server/pkg-descr b/net-mgmt/zabbix2-server/pkg-descr
new file mode 100644
index 000000000000..4165c097388f
--- /dev/null
+++ b/net-mgmt/zabbix2-server/pkg-descr
@@ -0,0 +1,12 @@
+Zabbix is an enterprise-class open source distributed monitoring
+solution.
+
+Zabbix is software that monitors numerous parameters of a network and
+the health and integrity of servers. Zabbix uses a flexible
+notification mechanism that allows users to configure e-mail based
+alerts for virtually any event. This allows a fast reaction to server
+problems. Zabbix offers excellent reporting and data visualisation
+features based on the stored data. This makes Zabbix ideal for
+capacity planning.
+
+WWW: http://www.zabbix.com/
diff --git a/net-mgmt/zabbix2-server/pkg-plist b/net-mgmt/zabbix2-server/pkg-plist
new file mode 100644
index 000000000000..3f1ab4463203
--- /dev/null
+++ b/net-mgmt/zabbix2-server/pkg-plist
@@ -0,0 +1,56 @@
+@comment $FreeBSD$
+%%ETCDIR%%/zabbix_%%ZABBIX_BUILD%%.conf.sample
+sbin/zabbix_%%ZABBIX_BUILD%%
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/data.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Hub.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Hub_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Network.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Network_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Notebook.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Notebook_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Phone.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Phone_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Printer.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Printer_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Router.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Router_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Satellite.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Satellite_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Server.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Server_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/UPS.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/UPS_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Workstation.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images/Workstation_small.png
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_mysql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_oracle.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_pgsql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images_sqlite3.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/mysql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/oracle.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/postgresql.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/create/schema/sqlite.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/mysql/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/oracle/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/postgresql/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/oracle/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/postgresql/patch.sql
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/mysql/upgrade
+%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/mysql/patch.sql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/postgresql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/oracle
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/mysql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/postgresql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/oracle
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/mysql
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/upgrades
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/schema
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/data/images
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create/data
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%/create
+@dirrm %%DATADIR%%/%%ZABBIX_BUILD%%
+@dirrmtry %%DATADIR%%
+@dirrmtry %%ETCDIR%%
diff --git a/net-mgmt/zabbix2-server/pkg-plist.agent b/net-mgmt/zabbix2-server/pkg-plist.agent
new file mode 100644
index 000000000000..098c6d80e769
--- /dev/null
+++ b/net-mgmt/zabbix2-server/pkg-plist.agent
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%ETCDIR%%/zabbix_agent.conf.sample
+%%ETCDIR%%/zabbix_agentd.conf.sample
+bin/zabbix_get
+bin/zabbix_sender
+sbin/zabbix_agent
+sbin/zabbix_agentd
+@dirrmtry %%ETCDIR%%
diff --git a/net-mgmt/zabbix2-server/pkg-plist.frontend b/net-mgmt/zabbix2-server/pkg-plist.frontend
new file mode 100644
index 000000000000..1bc178631f52
--- /dev/null
+++ b/net-mgmt/zabbix2-server/pkg-plist.frontend
@@ -0,0 +1,442 @@
+@comment $FreeBSD$
+%%WWWDIR%%/acknow.php
+%%WWWDIR%%/actionconf.php
+%%WWWDIR%%/api/.htaccess
+%%WWWDIR%%/api/classes/class.caction.php
+%%WWWDIR%%/api/classes/class.calert.php
+%%WWWDIR%%/api/classes/class.capiinfo.php
+%%WWWDIR%%/api/classes/class.capplication.php
+%%WWWDIR%%/api/classes/class.cevent.php
+%%WWWDIR%%/api/classes/class.cgraph.php
+%%WWWDIR%%/api/classes/class.cgraphitem.php
+%%WWWDIR%%/api/classes/class.chost.php
+%%WWWDIR%%/api/classes/class.chostgroup.php
+%%WWWDIR%%/api/classes/class.citem.php
+%%WWWDIR%%/api/classes/class.cmaintenance.php
+%%WWWDIR%%/api/classes/class.cmap.php
+%%WWWDIR%%/api/classes/class.cscreen.php
+%%WWWDIR%%/api/classes/class.cscript.php
+%%WWWDIR%%/api/classes/class.ctemplate.php
+%%WWWDIR%%/api/classes/class.ctrigger.php
+%%WWWDIR%%/api/classes/class.cuser.php
+%%WWWDIR%%/api/classes/class.cusergroup.php
+%%WWWDIR%%/api/classes/class.cusermacro.php
+%%WWWDIR%%/api/classes/class.czbxapi.php
+%%WWWDIR%%/api/rpc/class.cjsonrpc.php
+%%WWWDIR%%/api/rpc/class.czbxrpc.php
+%%WWWDIR%%/api_jsonrpc.php
+%%WWWDIR%%/applications.php
+%%WWWDIR%%/audio/trigger_off.wav
+%%WWWDIR%%/audio/trigger_on.wav
+%%WWWDIR%%/audio/trigger_on_average.wav
+%%WWWDIR%%/audio/trigger_on_disaster.wav
+%%WWWDIR%%/audio/trigger_on_high.wav
+%%WWWDIR%%/audio/trigger_on_warning.wav
+%%WWWDIR%%/auditacts.php
+%%WWWDIR%%/auditlogs.php
+%%WWWDIR%%/authentication.php
+%%WWWDIR%%/chart.php
+%%WWWDIR%%/chart2.php
+%%WWWDIR%%/chart3.php
+%%WWWDIR%%/chart4.php
+%%WWWDIR%%/chart5.php
+%%WWWDIR%%/chart6.php
+%%WWWDIR%%/chart7.php
+%%WWWDIR%%/chart_bar.php
+%%WWWDIR%%/chart_sla.php
+%%WWWDIR%%/charts.php
+%%WWWDIR%%/conf/.htaccess
+%%WWWDIR%%/conf/COPYING
+%%WWWDIR%%/conf/maintenance.inc.php
+%%WWWDIR%%/conf/zabbix.conf.php.example
+%%WWWDIR%%/config.php
+%%WWWDIR%%/css.css
+%%WWWDIR%%/dashboard.php
+%%WWWDIR%%/discovery.php
+%%WWWDIR%%/discoveryconf.php
+%%WWWDIR%%/events.php
+%%WWWDIR%%/export.php
+%%WWWDIR%%/fonts/DejaVuSans.ttf
+%%WWWDIR%%/graphs.php
+%%WWWDIR%%/history.php
+%%WWWDIR%%/hostgroups.php
+%%WWWDIR%%/hostprofiles.php
+%%WWWDIR%%/hosts.php
+%%WWWDIR%%/httpconf.php
+%%WWWDIR%%/httpdetails.php
+%%WWWDIR%%/httpmon.php
+%%WWWDIR%%/image.php
+%%WWWDIR%%/images/flash/zbxclock.swf
+%%WWWDIR%%/images/general/arrowdown.gif
+%%WWWDIR%%/images/general/arrowup.gif
+%%WWWDIR%%/images/general/bar/arrow_down.gif
+%%WWWDIR%%/images/general/bar/arrow_sm.gif
+%%WWWDIR%%/images/general/bar/arrow_up.gif
+%%WWWDIR%%/images/general/bar/bar_bg.png
+%%WWWDIR%%/images/general/bar/bar_middle.png
+%%WWWDIR%%/images/general/bar/bg.png
+%%WWWDIR%%/images/general/bar/cal.gif
+%%WWWDIR%%/images/general/bar/left.png
+%%WWWDIR%%/images/general/bar/left_arr.png
+%%WWWDIR%%/images/general/bar/right.png
+%%WWWDIR%%/images/general/bar/right_arr.png
+%%WWWDIR%%/images/general/bttn/arrowdown.png
+%%WWWDIR%%/images/general/bttn/arrowdown_bb.png
+%%WWWDIR%%/images/general/bttn/arrowleft.png
+%%WWWDIR%%/images/general/bttn/arrowleft_bb.png
+%%WWWDIR%%/images/general/bttn/arrowright.png
+%%WWWDIR%%/images/general/bttn/arrowright_bb.png
+%%WWWDIR%%/images/general/bttn/arrowup.png
+%%WWWDIR%%/images/general/bttn/arrowup_bb.png
+%%WWWDIR%%/images/general/bttn/down.png
+%%WWWDIR%%/images/general/bttn/down_bb.png
+%%WWWDIR%%/images/general/bttn/fullscreen.png
+%%WWWDIR%%/images/general/bttn/fullscreen_bb.png
+%%WWWDIR%%/images/general/bttn/help.png
+%%WWWDIR%%/images/general/bttn/help_bb.png
+%%WWWDIR%%/images/general/bttn/menu.png
+%%WWWDIR%%/images/general/bttn/menu_bb.png
+%%WWWDIR%%/images/general/bttn/minus.png
+%%WWWDIR%%/images/general/bttn/minus_bb.png
+%%WWWDIR%%/images/general/bttn/mute.png
+%%WWWDIR%%/images/general/bttn/mute_bb.png
+%%WWWDIR%%/images/general/bttn/plus.png
+%%WWWDIR%%/images/general/bttn/plus_bb.png
+%%WWWDIR%%/images/general/bttn/reset.png
+%%WWWDIR%%/images/general/bttn/reset_bb.png
+%%WWWDIR%%/images/general/bttn/sound.png
+%%WWWDIR%%/images/general/bttn/sound_bb.png
+%%WWWDIR%%/images/general/bttn/up.png
+%%WWWDIR%%/images/general/bttn/up_bb.png
+%%WWWDIR%%/images/general/chart.png
+%%WWWDIR%%/images/general/closed.gif
+%%WWWDIR%%/images/general/dbl_arrow_down.png
+%%WWWDIR%%/images/general/dbl_arrow_down2.png
+%%WWWDIR%%/images/general/dbl_arrow_up.png
+%%WWWDIR%%/images/general/dbl_arrow_up2.png
+%%WWWDIR%%/images/general/down_icon.png
+%%WWWDIR%%/images/general/error.png
+%%WWWDIR%%/images/general/error_icon.png
+%%WWWDIR%%/images/general/error_small.gif
+%%WWWDIR%%/images/general/help.gif
+%%WWWDIR%%/images/general/inst_completed.gif
+%%WWWDIR%%/images/general/inst_current.gif
+%%WWWDIR%%/images/general/inst_step.gif
+%%WWWDIR%%/images/general/ipmi_available.png
+%%WWWDIR%%/images/general/ipmi_available_bb.png
+%%WWWDIR%%/images/general/ipmi_unavailable.png
+%%WWWDIR%%/images/general/ipmi_unknown.png
+%%WWWDIR%%/images/general/ok.png
+%%WWWDIR%%/images/general/ok_bb.png
+%%WWWDIR%%/images/general/ok_icon.png
+%%WWWDIR%%/images/general/ok_icon_bb.png
+%%WWWDIR%%/images/general/opened.gif
+%%WWWDIR%%/images/general/snmp_available.png
+%%WWWDIR%%/images/general/snmp_available_bb.png
+%%WWWDIR%%/images/general/snmp_unavailable.png
+%%WWWDIR%%/images/general/snmp_unknown.png
+%%WWWDIR%%/images/general/sort_down.png
+%%WWWDIR%%/images/general/sort_down_bb.png
+%%WWWDIR%%/images/general/sort_downw.gif
+%%WWWDIR%%/images/general/sort_up.png
+%%WWWDIR%%/images/general/sort_up_bb.png
+%%WWWDIR%%/images/general/sort_upw.gif
+%%WWWDIR%%/images/general/sortdown.gif
+%%WWWDIR%%/images/general/sortdown_off.gif
+%%WWWDIR%%/images/general/sortup.gif
+%%WWWDIR%%/images/general/sortup_off.gif
+%%WWWDIR%%/images/general/tick.png
+%%WWWDIR%%/images/general/tr_space.gif
+%%WWWDIR%%/images/general/tr_top_bottom.gif
+%%WWWDIR%%/images/general/tr_top_right.gif
+%%WWWDIR%%/images/general/tr_top_right_bottom.gif
+%%WWWDIR%%/images/general/tree/minus.gif
+%%WWWDIR%%/images/general/tree/plus.gif
+%%WWWDIR%%/images/general/tree/point.gif
+%%WWWDIR%%/images/general/tree/pointc.gif
+%%WWWDIR%%/images/general/tree/pointl.gif
+%%WWWDIR%%/images/general/tree/zero.gif
+%%WWWDIR%%/images/general/up_icon.png
+%%WWWDIR%%/images/general/warning16r.gif
+%%WWWDIR%%/images/general/warning_small.gif
+%%WWWDIR%%/images/general/zabbix.ico
+%%WWWDIR%%/images/general/zabbix.png
+%%WWWDIR%%/images/general/zabbix_available.png
+%%WWWDIR%%/images/general/zabbix_available_bb.png
+%%WWWDIR%%/images/general/zabbix_bb.ico
+%%WWWDIR%%/images/general/zabbix_bb.png
+%%WWWDIR%%/images/general/zabbix_ob.ico
+%%WWWDIR%%/images/general/zabbix_unavailable.png
+%%WWWDIR%%/images/general/zabbix_unknown.png
+%%WWWDIR%%/images/general/zero.gif
+%%WWWDIR%%/images/gradients/blink1.gif
+%%WWWDIR%%/images/gradients/blink2.gif
+%%WWWDIR%%/images/gradients/button.gif
+%%WWWDIR%%/images/gradients/gradient.png
+%%WWWDIR%%/images/gradients/menu_not_active.gif
+%%WWWDIR%%/images/gradients/menu_not_active2.gif
+%%WWWDIR%%/images/gradients/menu_not_active_bb.gif
+%%WWWDIR%%/images/gradients/sla_blue.png
+%%WWWDIR%%/images/gradients/sla_blue15.png
+%%WWWDIR%%/images/gradients/sla_green.png
+%%WWWDIR%%/images/gradients/sla_green15.png
+%%WWWDIR%%/images/gradients/sla_red.png
+%%WWWDIR%%/images/gradients/sla_red15.png
+%%WWWDIR%%/images/gradients/table_head.gif
+%%WWWDIR%%/images/gradients/table_head2.gif
+%%WWWDIR%%/images/gradients/table_head2_bb.gif
+%%WWWDIR%%/images/gradients/table_head_bb.gif
+%%WWWDIR%%/images/sysmaps/Hub.png
+%%WWWDIR%%/images/sysmaps/Hub_small.png
+%%WWWDIR%%/images/sysmaps/Network.png
+%%WWWDIR%%/images/sysmaps/Network_small.png
+%%WWWDIR%%/images/sysmaps/Notebook.png
+%%WWWDIR%%/images/sysmaps/Notebook_small.png
+%%WWWDIR%%/images/sysmaps/Phone.png
+%%WWWDIR%%/images/sysmaps/Phone_small.png
+%%WWWDIR%%/images/sysmaps/Printer.png
+%%WWWDIR%%/images/sysmaps/Printer_small.png
+%%WWWDIR%%/images/sysmaps/README
+%%WWWDIR%%/images/sysmaps/Router.png
+%%WWWDIR%%/images/sysmaps/Router_small.png
+%%WWWDIR%%/images/sysmaps/Satellite.png
+%%WWWDIR%%/images/sysmaps/Satellite_small.png
+%%WWWDIR%%/images/sysmaps/Server.png
+%%WWWDIR%%/images/sysmaps/Server_small.png
+%%WWWDIR%%/images/sysmaps/UPS.png
+%%WWWDIR%%/images/sysmaps/UPS_small.png
+%%WWWDIR%%/images/sysmaps/Workstation.png
+%%WWWDIR%%/images/sysmaps/Workstation_small.png
+%%WWWDIR%%/images/sysmaps/old/Hub.png
+%%WWWDIR%%/images/sysmaps/old/Notebook.png
+%%WWWDIR%%/images/sysmaps/old/Printer.png
+%%WWWDIR%%/images/sysmaps/old/Router.png
+%%WWWDIR%%/images/sysmaps/old/Server.png
+%%WWWDIR%%/images/sysmaps/old/Workstation.png
+%%WWWDIR%%/imgstore.php
+%%WWWDIR%%/import.php
+%%WWWDIR%%/include/.htaccess
+%%WWWDIR%%/include/acknow.inc.php
+%%WWWDIR%%/include/actions.inc.php
+%%WWWDIR%%/include/audit.inc.php
+%%WWWDIR%%/include/blocks.inc.php
+%%WWWDIR%%/include/classes/.htaccess
+%%WWWDIR%%/include/classes/class.carea.php
+%%WWWDIR%%/include/classes/class.careamap.php
+%%WWWDIR%%/include/classes/class.cbar.php
+%%WWWDIR%%/include/classes/class.cbutton.php
+%%WWWDIR%%/include/classes/class.cbuttoncancel.php
+%%WWWDIR%%/include/classes/class.cbuttondelete.php
+%%WWWDIR%%/include/classes/class.cbuttonqmessage.php
+%%WWWDIR%%/include/classes/class.cchart.php
+%%WWWDIR%%/include/classes/class.ccheckbox.php
+%%WWWDIR%%/include/classes/class.ccol.php
+%%WWWDIR%%/include/classes/class.ccolor.php
+%%WWWDIR%%/include/classes/class.ccolorcell.php
+%%WWWDIR%%/include/classes/class.ccombobox.php
+%%WWWDIR%%/include/classes/class.ccomboitem.php
+%%WWWDIR%%/include/classes/class.cdiv.php
+%%WWWDIR%%/include/classes/class.ceditablecombobox.php
+%%WWWDIR%%/include/classes/class.cfile.php
+%%WWWDIR%%/include/classes/class.cflash.php
+%%WWWDIR%%/include/classes/class.cflashclock.php
+%%WWWDIR%%/include/classes/class.cflashembed.php
+%%WWWDIR%%/include/classes/class.cform.php
+%%WWWDIR%%/include/classes/class.cformtable.php
+%%WWWDIR%%/include/classes/class.cgraphdraw.php
+%%WWWDIR%%/include/classes/class.chelp.php
+%%WWWDIR%%/include/classes/class.chostsinfo.php
+%%WWWDIR%%/include/classes/class.chttp_request.php
+%%WWWDIR%%/include/classes/class.ciframe.php
+%%WWWDIR%%/include/classes/class.cimagetexttable.php
+%%WWWDIR%%/include/classes/class.cimg.php
+%%WWWDIR%%/include/classes/class.cipbox.php
+%%WWWDIR%%/include/classes/class.cjson.php
+%%WWWDIR%%/include/classes/class.cjsscript.php
+%%WWWDIR%%/include/classes/class.cldap.php
+%%WWWDIR%%/include/classes/class.clink.php
+%%WWWDIR%%/include/classes/class.clist.php
+%%WWWDIR%%/include/classes/class.clistbox.php
+%%WWWDIR%%/include/classes/class.clistitem.php
+%%WWWDIR%%/include/classes/class.cnumericbox.php
+%%WWWDIR%%/include/classes/class.cobject.php
+%%WWWDIR%%/include/classes/class.cparam.php
+%%WWWDIR%%/include/classes/class.cpassbox.php
+%%WWWDIR%%/include/classes/class.cpie.php
+%%WWWDIR%%/include/classes/class.cpumenu.php
+%%WWWDIR%%/include/classes/class.crow.php
+%%WWWDIR%%/include/classes/class.cserverinfo.php
+%%WWWDIR%%/include/classes/class.cspan.php
+%%WWWDIR%%/include/classes/class.ctable.php
+%%WWWDIR%%/include/classes/class.ctableinfo.php
+%%WWWDIR%%/include/classes/class.ctag.php
+%%WWWDIR%%/include/classes/class.ctextarea.php
+%%WWWDIR%%/include/classes/class.ctextbox.php
+%%WWWDIR%%/include/classes/class.ctree.php
+%%WWWDIR%%/include/classes/class.ctriggersinfo.php
+%%WWWDIR%%/include/classes/class.ctweenbox.php
+%%WWWDIR%%/include/classes/class.curl.php
+%%WWWDIR%%/include/classes/class.cvar.php
+%%WWWDIR%%/include/classes/class.cvartag.php
+%%WWWDIR%%/include/classes/class.cvisibilitybox.php
+%%WWWDIR%%/include/classes/class.cwidget.php
+%%WWWDIR%%/include/config.inc.php
+%%WWWDIR%%/include/copt.lib.php
+%%WWWDIR%%/include/db.inc.php
+%%WWWDIR%%/include/defines.inc.php
+%%WWWDIR%%/include/discovery.inc.php
+%%WWWDIR%%/include/events.inc.php
+%%WWWDIR%%/include/export.inc.php
+%%WWWDIR%%/include/forms.inc.php
+%%WWWDIR%%/include/func.inc.php
+%%WWWDIR%%/include/graphs.inc.php
+%%WWWDIR%%/include/hosts.inc.php
+%%WWWDIR%%/include/html.inc.php
+%%WWWDIR%%/include/httptest.inc.php
+%%WWWDIR%%/include/images.inc.php
+%%WWWDIR%%/include/items.inc.php
+%%WWWDIR%%/include/js.inc.php
+%%WWWDIR%%/include/locales.inc.php
+%%WWWDIR%%/include/locales/cn_zh.inc.php
+%%WWWDIR%%/include/locales/de_de.inc.php
+%%WWWDIR%%/include/locales/en_gb.inc.php
+%%WWWDIR%%/include/locales/fr_fr.inc.php
+%%WWWDIR%%/include/locales/hu_hu.inc.php
+%%WWWDIR%%/include/locales/it_it.inc.php
+%%WWWDIR%%/include/locales/ja_jp.inc.php
+%%WWWDIR%%/include/locales/ko_kr.inc.php
+%%WWWDIR%%/include/locales/lv_lv.inc.php
+%%WWWDIR%%/include/locales/nl_nl.inc.php
+%%WWWDIR%%/include/locales/pl_pl.inc.php
+%%WWWDIR%%/include/locales/pt_br.inc.php
+%%WWWDIR%%/include/locales/ru_ru.inc.php
+%%WWWDIR%%/include/locales/sp_sp.inc.php
+%%WWWDIR%%/include/locales/sv_se.inc.php
+%%WWWDIR%%/include/maintenances.inc.php
+%%WWWDIR%%/include/maps.inc.php
+%%WWWDIR%%/include/media.inc.php
+%%WWWDIR%%/include/menu.inc.php
+%%WWWDIR%%/include/nodes.inc.php
+%%WWWDIR%%/include/page_footer.php
+%%WWWDIR%%/include/page_header.php
+%%WWWDIR%%/include/perm.inc.php
+%%WWWDIR%%/include/profiles.inc.php
+%%WWWDIR%%/include/regexp.inc.php
+%%WWWDIR%%/include/reports.inc.php
+%%WWWDIR%%/include/screens.inc.php
+%%WWWDIR%%/include/scripts.inc.php
+%%WWWDIR%%/include/services.inc.php
+%%WWWDIR%%/include/setup.inc.php
+%%WWWDIR%%/include/triggers.inc.php
+%%WWWDIR%%/include/users.inc.php
+%%WWWDIR%%/include/validate.inc.php
+%%WWWDIR%%/index.php
+%%WWWDIR%%/instal.php
+%%WWWDIR%%/items.php
+%%WWWDIR%%/js/class.calendar.js
+%%WWWDIR%%/js/class.cmap.js
+%%WWWDIR%%/js/class.cookie.js
+%%WWWDIR%%/js/class.cscreen.js
+%%WWWDIR%%/js/class.ctree.js
+%%WWWDIR%%/js/class.curl.js
+%%WWWDIR%%/js/class.pmaster.js
+%%WWWDIR%%/js/class.switcher.js
+%%WWWDIR%%/js/common.js
+%%WWWDIR%%/js/functions.js
+%%WWWDIR%%/js/gtlc.js
+%%WWWDIR%%/js/main.js
+%%WWWDIR%%/js/menu.js
+%%WWWDIR%%/js/prototype.js
+%%WWWDIR%%/js/scriptaculous.js
+%%WWWDIR%%/js/scriptaculous/builder.js
+%%WWWDIR%%/js/scriptaculous/controls.js
+%%WWWDIR%%/js/scriptaculous/dragdrop.js
+%%WWWDIR%%/js/scriptaculous/effects.js
+%%WWWDIR%%/js/scriptaculous/slider.js
+%%WWWDIR%%/js/scriptaculous/sound.js
+%%WWWDIR%%/latest.php
+%%WWWDIR%%/locales.php
+%%WWWDIR%%/maintenance.php
+%%WWWDIR%%/map.php
+%%WWWDIR%%/maps.php
+%%WWWDIR%%/media_types.php
+%%WWWDIR%%/nodes.php
+%%WWWDIR%%/overview.php
+%%WWWDIR%%/popup.php
+%%WWWDIR%%/popup_bitem.php
+%%WWWDIR%%/popup_gitem.php
+%%WWWDIR%%/popup_httpstep.php
+%%WWWDIR%%/popup_link_tr.php
+%%WWWDIR%%/popup_media.php
+%%WWWDIR%%/popup_period.php
+%%WWWDIR%%/popup_right.php
+%%WWWDIR%%/popup_trexpr.php
+%%WWWDIR%%/popup_users.php
+%%WWWDIR%%/popup_usrgrp.php
+%%WWWDIR%%/profile.php
+%%WWWDIR%%/proxies.php
+%%WWWDIR%%/queue.php
+%%WWWDIR%%/report1.php
+%%WWWDIR%%/report2.php
+%%WWWDIR%%/report3.php
+%%WWWDIR%%/report4.php
+%%WWWDIR%%/report5.php
+%%WWWDIR%%/report6.php
+%%WWWDIR%%/screenconf.php
+%%WWWDIR%%/screenedit.php
+%%WWWDIR%%/screens.php
+%%WWWDIR%%/scripts.php
+%%WWWDIR%%/scripts_exec.php
+%%WWWDIR%%/search.php
+%%WWWDIR%%/services.php
+%%WWWDIR%%/services_form.php
+%%WWWDIR%%/setup.php
+%%WWWDIR%%/slides.php
+%%WWWDIR%%/srv_status.php
+%%WWWDIR%%/styles/blocks.css
+%%WWWDIR%%/styles/calendar.css
+%%WWWDIR%%/styles/css_bb.css
+%%WWWDIR%%/styles/css_ob.css
+%%WWWDIR%%/styles/default.css
+%%WWWDIR%%/styles/div.css
+%%WWWDIR%%/styles/form.css
+%%WWWDIR%%/styles/link.css
+%%WWWDIR%%/styles/p.css
+%%WWWDIR%%/styles/popupmenu.css
+%%WWWDIR%%/styles/table.css
+%%WWWDIR%%/styles/ul.css
+%%WWWDIR%%/sysmap.php
+%%WWWDIR%%/sysmaps.php
+%%WWWDIR%%/templates.php
+%%WWWDIR%%/tr_comments.php
+%%WWWDIR%%/tr_events.php
+%%WWWDIR%%/tr_logform.php
+%%WWWDIR%%/tr_status.php
+%%WWWDIR%%/tr_testexpr.php
+%%WWWDIR%%/triggers.php
+%%WWWDIR%%/usergrps.php
+%%WWWDIR%%/users.php
+%%WWWDIR%%/vtext.php
+%%WWWDIR%%/warning.php
+@dirrm %%WWWDIR%%/styles
+@dirrm %%WWWDIR%%/js/scriptaculous
+@dirrm %%WWWDIR%%/js
+@dirrm %%WWWDIR%%/include/locales
+@dirrm %%WWWDIR%%/include/classes
+@dirrm %%WWWDIR%%/include
+@dirrm %%WWWDIR%%/images/sysmaps/old
+@dirrm %%WWWDIR%%/images/sysmaps
+@dirrm %%WWWDIR%%/images/gradients
+@dirrm %%WWWDIR%%/images/general/tree
+@dirrm %%WWWDIR%%/images/general/bttn
+@dirrm %%WWWDIR%%/images/general/bar
+@dirrm %%WWWDIR%%/images/general
+@dirrm %%WWWDIR%%/images/flash
+@dirrm %%WWWDIR%%/images
+@dirrm %%WWWDIR%%/fonts
+@dirrm %%WWWDIR%%/conf
+@dirrm %%WWWDIR%%/audio
+@dirrm %%WWWDIR%%/api/rpc
+@dirrm %%WWWDIR%%/api/classes
+@dirrm %%WWWDIR%%/api
+@dirrm %%WWWDIR%%
diff --git a/net-mgmt/zabbix2/Makefile b/net-mgmt/zabbix2/Makefile
deleted file mode 100644
index 30d4a2cf7ea8..000000000000
--- a/net-mgmt/zabbix2/Makefile
+++ /dev/null
@@ -1,133 +0,0 @@
-# Ports collection makefile for: zabbix
-# Date created: Jun 18 2003
-# Whom: Sergey Akifyev <asa@gascom.ru>
-#
-# $FreeBSD$
-#
-
-PORTNAME= zabbix
-PORTVERSION= 1.6.6
-PORTEPOCH= 1
-CATEGORIES= net-mgmt
-MASTER_SITES= SF/${PORTNAME}/ZABBIX%20Latest%20Stable/${PORTVERSION}
-
-MAINTAINER= ports@christianserving.org
-COMMENT= Application and network monitoring solution
-
-LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp \
- iksemel.4:${PORTSDIR}/textproc/iksemel \
- curl.5:${PORTSDIR}/ftp/curl
-
-OPTIONS= MYSQL "Use MySQL backend" on \
- PGSQL "Use PostgreSQL backend" off \
- SQLITE "Use SQLite backend" off \
- LDAP "Support for checking LDAP servers" on \
- IPV6 "Support for IPv6" on \
- FPING "Use fping for pinging hosts" on \
- JABBER "Use jabber media type" on \
- PROXY "Install Zabbix Proxy" on \
- SERVER "Install Zabbix Server" on
-
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-agent \
- --with-net-snmp=${LOCALBASE}/bin/net-snmp-config \
- --with-curl=${LOCALBASE}/bin/curl-config
-MAKE_ARGS= ARCH=freebsd
-SUB_FILES= pkg-message
-
-.include <bsd.port.options.mk>
-
-.ifndef WITHOUT_JABBER
-USE_JABBER= yes
-CONFIGURE_ARGS+=--with-jabber=${LOCALBASE}
-.endif
-
-.ifndef WITHOUT_LDAP
-USE_OPENLDAP= yes
-CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
-LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls \
- sasl2.2:${PORTSDIR}/security/cyrus-sasl2
-.endif
-
-.ifdef WITH_IPV6
-CONFIGURE_ARGS+=--enable-ipv6
-.endif
-
-.ifndef WITHOUT_FPING
-RUN_DEPENDS+= fping:${PORTSDIR}/net/fping
-.endif
-
-.ifndef WITHOUT_MYSQL
-USE_MYSQL= yes
-USE_PHP+= mysql
-CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}/bin/mysql_config
-.elifdef WITH_PGSQL
-USE_PGSQL= yes
-USE_PHP+= pgsql
-CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}/bin/pg_config
-.elifdef WITH_SQLITE
-USE_SQLITE= yes
-USE_PHP+= sqlite
-CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE}
-.else
-IGNORE= zabbix needs a database backend
-.endif
-
-.ifndef WITHOUT_PROXY
-CONFIGURE_ARGS+=--enable-proxy
-USE_RC_SUBR+= zabbix_proxy
-PLIST_SUB+= PROXY=""
-.else
-PLIST_SUB+= PROXY="@comment "
-.endif
-
-.ifndef WITHOUT_SERVER
-USE_PHP= gd snmp sockets pcre bcmath
-USE_RC_SUBR+= zabbix_server.sh
-CONFIGURE_ARGS+=--enable-server
-PLIST_SUB+= SERVER=""
-.else
-CONFIGURE_ARGS+=--disable-server
-PLIST_SUB+= SERVER="@comment "
-.endif
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${FIND} ${WRKSRC}/src/ -type f|${XARGS} \
- ${REINPLACE_CMD} -e 's|/etc/zabbix|${ETCDIR}|;s|/usr/sbin|${LOCALBASE}/sbin|'
- @${REINPLACE_CMD} -e '/test.*rf/s|-rf|-f|;/LDFLAGS/s|-static||;\
- /LIBS="-lnetsnmp/s|="|="-lcrypto |;s|-lsqlite3|-lsqlite3 ${PTHREAD_LIBS}|'\
- ${WRKSRC}/configure
- @cd ${WRKSRC} && ${FIND} . -name '*.orig' -exec ${RM} {} \;
-
-.ifdef WITHOUT_FPING
- @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_server.conf
-.endif
-
-.if ${ARCH} == "amd64"
-post-configure:
- ${ECHO_CMD} "#define HAVE_VA_COPY 1" >> ${WRKSRC}/include/config.h
-.endif
-
-do-install:
-.ifndef WITHOUT_SERVER
- @${INSTALL_PROGRAM} ${WRKSRC}/src/zabbix_server/zabbix_server ${PREFIX}/bin/
- @${INSTALL} -d ${ETCDIR}/
- @${INSTALL_DATA} ${WRKSRC}/misc/conf/zabbix_server.conf\
- ${ETCDIR}/zabbix_server.conf.sample
- @cd ${WRKSRC}/frontends/&&${COPYTREE_SHARE} . ${DATADIR}/
-.endif
- @cd ${WRKSRC}/upgrades/&&${COPYTREE_SHARE} dbpatches ${DATADIR}/
- @cd ${WRKSRC}/create/&&${COPYTREE_SHARE} "data schema" ${DATADIR}/create/
-.ifndef WITHOUT_PROXY
- @${INSTALL_PROGRAM} ${WRKSRC}/src/zabbix_proxy/zabbix_proxy ${PREFIX}/bin/
- @${INSTALL} -d ${ETCDIR}/
- @${INSTALL_DATA} ${WRKSRC}/misc/conf/zabbix_proxy.conf\
- ${ETCDIR}/zabbix_proxy.conf.sample
-.endif
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/net-mgmt/zabbix2/distinfo b/net-mgmt/zabbix2/distinfo
deleted file mode 100644
index 086bdcdeffe5..000000000000
--- a/net-mgmt/zabbix2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (zabbix-1.6.6.tar.gz) = 52779160e71c12d47b97f7336e25c395
-SHA256 (zabbix-1.6.6.tar.gz) = 9eb7bbe99c516c11020d5c95c8f8783fb1dc1123ce9c7e2135db7bfd0ea0aa75
-SIZE (zabbix-1.6.6.tar.gz) = 8255436
diff --git a/net-mgmt/zabbix2/files/patch-configure b/net-mgmt/zabbix2/files/patch-configure
deleted file mode 100644
index a1b0bd52a4fe..000000000000
--- a/net-mgmt/zabbix2/files/patch-configure
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure.orig 2009-03-28 13:23:22.000000000 -0500
-+++ configure 2009-03-28 13:23:40.000000000 -0500
-@@ -580,6 +580,9 @@
- # Factoring default headers for most tests.
- ac_includes_default="\
- #include <stdio.h>
-+#include <sys/socket.h>
-+#include <sys/param.h>
-+#include <netinet/in.h>
- #ifdef HAVE_SYS_TYPES_H
- # include <sys/types.h>
- #endif
diff --git a/net-mgmt/zabbix2/files/pkg-message.in b/net-mgmt/zabbix2/files/pkg-message.in
deleted file mode 100644
index 5ba8c2fd4809..000000000000
--- a/net-mgmt/zabbix2/files/pkg-message.in
+++ /dev/null
@@ -1,7 +0,0 @@
-===============================================================
-You can prepare a database for zabbix this way:
-% cd %%DATADIR%%/create
-% cat schema/<db>.sql data/data.sql data/images_<db>.sql\
-% | <db_client>
-where <db> is your preferred database engine.
-===============================================================
diff --git a/net-mgmt/zabbix2/files/zabbix_proxy.in b/net-mgmt/zabbix2/files/zabbix_proxy.in
deleted file mode 100644
index 750f3c6d9b0b..000000000000
--- a/net-mgmt/zabbix2/files/zabbix_proxy.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# PROVIDE: zabbix_proxy
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-. %%RC_SUBR%%
-
-name="zabbix_proxy"
-rcvar=${name}_enable
-load_rc_config $name
-eval : \${${rcvar}='NO'}
-
-command="%%PREFIX%%/bin/${name}"
-required_files="%%ETCDIR%%/${name}.conf"
-
-run_rc_command "$1"
diff --git a/net-mgmt/zabbix2/files/zabbix_server.sh.in b/net-mgmt/zabbix2/files/zabbix_server.sh.in
deleted file mode 100644
index 4543669f7000..000000000000
--- a/net-mgmt/zabbix2/files/zabbix_server.sh.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# PROVIDE: zabbix_server
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-. %%RC_SUBR%%
-
-name="zabbix_server"
-rcvar=${name}_enable
-load_rc_config $name
-eval : \${${rcvar}='NO'}
-
-command="%%PREFIX%%/bin/${name}"
-required_files="%%ETCDIR%%/${name}.conf"
-
-run_rc_command "$1"
diff --git a/net-mgmt/zabbix2/pkg-descr b/net-mgmt/zabbix2/pkg-descr
deleted file mode 100644
index 52ecef039fcf..000000000000
--- a/net-mgmt/zabbix2/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Zabbix is software for application and network monitoring.
-Zabbix supports both polling and trapping techniques to
-collect data from monitored hosts. Flexible notification
-mechanism allows easy and quckly configure email notifications
-for pre-defined events. Zabbix is freely available under the
-terms of the GNU General Public License (GPL).
-
-WWW: http://www.zabbix.com/
diff --git a/net-mgmt/zabbix2/pkg-install b/net-mgmt/zabbix2/pkg-install
deleted file mode 100644
index f0b59f76cc4a..000000000000
--- a/net-mgmt/zabbix2/pkg-install
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# Script was taken from mysql323-server port, and modified
-# to suit zabbix needs
-
-[ -n "${PACKAGE_BUILDING}" ] && exit 0
-
-[ "${2}" = "POST-INSTALL" ] && exit 0
-
-PATH=/bin:/usr/sbin
-
-USER=zabbix
-GROUP=${USER}
-UID=122
-GID=${UID}
-
-if pw group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
-else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
-fi
-
-if pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
- if pw usermod ${USER} -d /nonexistent
- then
- echo "Changed home directory of \"${USER}\" to /nonexistent"
- else
- echo "Changing home directory of \"${USER}\" to /nonexistent failed..."
- exit 1
- fi
-else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d /nonexistent -s /sbin/nologin -c "Zabbix Sandbox"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
-fi
diff --git a/net-mgmt/zabbix2/pkg-plist b/net-mgmt/zabbix2/pkg-plist
deleted file mode 100644
index 45d56923c3f5..000000000000
--- a/net-mgmt/zabbix2/pkg-plist
+++ /dev/null
@@ -1,368 +0,0 @@
-%%PROXY%%bin/zabbix_proxy
-%%SERVER%%bin/zabbix_server
-%%PROXY%%%%ETCDIR%%/zabbix_proxy.conf.sample
-%%SERVER%%%%ETCDIR%%/zabbix_server.conf.sample
-%%DATADIR%%/create/data/data.sql
-%%DATADIR%%/create/data/images/Hub.png
-%%DATADIR%%/create/data/images/Hub_small.png
-%%DATADIR%%/create/data/images/Network.png
-%%DATADIR%%/create/data/images/Network_small.png
-%%DATADIR%%/create/data/images/Notebook.png
-%%DATADIR%%/create/data/images/Notebook_small.png
-%%DATADIR%%/create/data/images/Phone.png
-%%DATADIR%%/create/data/images/Phone_small.png
-%%DATADIR%%/create/data/images/Printer.png
-%%DATADIR%%/create/data/images/Printer_small.png
-%%DATADIR%%/create/data/images/Router.png
-%%DATADIR%%/create/data/images/Router_small.png
-%%DATADIR%%/create/data/images/Satellite.png
-%%DATADIR%%/create/data/images/Satellite_small.png
-%%DATADIR%%/create/data/images/Server.png
-%%DATADIR%%/create/data/images/Server_small.png
-%%DATADIR%%/create/data/images/UPS.png
-%%DATADIR%%/create/data/images/UPS_small.png
-%%DATADIR%%/create/data/images/Workstation.png
-%%DATADIR%%/create/data/images/Workstation_small.png
-%%DATADIR%%/create/data/images_mysql.sql
-%%DATADIR%%/create/data/images_oracle.sql
-%%DATADIR%%/create/data/images_pgsql.sql
-%%DATADIR%%/create/data/images_sqlite3.sql
-%%DATADIR%%/create/schema/mysql.sql
-%%DATADIR%%/create/schema/oracle.sql
-%%DATADIR%%/create/schema/postgresql.sql
-%%DATADIR%%/create/schema/sqlite.sql
-%%DATADIR%%/dbpatches/1.6/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.6/oracle/patch.sql
-%%DATADIR%%/dbpatches/1.6/postgresql/patch.sql
-%%SERVER%%%%DATADIR%%/php/acknow.php
-%%SERVER%%%%DATADIR%%/php/actionconf.php
-%%SERVER%%%%DATADIR%%/php/audio/trigger_off.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on_average.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on_disaster.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on_high.wav
-%%SERVER%%%%DATADIR%%/php/audio/trigger_on_warning.wav
-%%SERVER%%%%DATADIR%%/php/audit.php
-%%SERVER%%%%DATADIR%%/php/authentication.php
-%%SERVER%%%%DATADIR%%/php/chart.php
-%%SERVER%%%%DATADIR%%/php/chart2.php
-%%SERVER%%%%DATADIR%%/php/chart3.php
-%%SERVER%%%%DATADIR%%/php/chart4.php
-%%SERVER%%%%DATADIR%%/php/chart5.php
-%%SERVER%%%%DATADIR%%/php/chart6.php
-%%SERVER%%%%DATADIR%%/php/chart7.php
-%%SERVER%%%%DATADIR%%/php/chart_sla.php
-%%SERVER%%%%DATADIR%%/php/charts.php
-%%SERVER%%%%DATADIR%%/php/conf/COPYING
-%%SERVER%%%%DATADIR%%/php/conf/maintenance.inc.php
-%%SERVER%%%%DATADIR%%/php/config.php
-%%SERVER%%%%DATADIR%%/php/css.css
-%%SERVER%%%%DATADIR%%/php/dashboard.php
-%%SERVER%%%%DATADIR%%/php/discovery.php
-%%SERVER%%%%DATADIR%%/php/discoveryconf.php
-%%SERVER%%%%DATADIR%%/php/events.php
-%%SERVER%%%%DATADIR%%/php/exp_imp.php
-%%SERVER%%%%DATADIR%%/php/graphs.php
-%%SERVER%%%%DATADIR%%/php/history.php
-%%SERVER%%%%DATADIR%%/php/hostprofiles.php
-%%SERVER%%%%DATADIR%%/php/hosts.php
-%%SERVER%%%%DATADIR%%/php/httpconf.php
-%%SERVER%%%%DATADIR%%/php/httpdetails.php
-%%SERVER%%%%DATADIR%%/php/httpmon.php
-%%SERVER%%%%DATADIR%%/php/image.php
-%%SERVER%%%%DATADIR%%/php/images/flash/zbxclock.swf
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_down.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_l.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_r.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_sm.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/arrow_up.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bar_bg.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bar_left.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bar_middle.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bar_right.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/bg.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/cal.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/left.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bar/right.gif
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/arrowdown.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/arrowdown_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/arrowup.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/arrowup_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/down.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/down_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/fullscreen.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/fullscreen_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/help.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/help_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/menu.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/menu_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/minus.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/minus_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/mute.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/mute_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/plus.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/plus_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/reset.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/reset_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/sound.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/sound_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/up.png
-%%SERVER%%%%DATADIR%%/php/images/general/bttn/up_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/chart.png
-%%SERVER%%%%DATADIR%%/php/images/general/closed.gif
-%%SERVER%%%%DATADIR%%/php/images/general/down_icon.png
-%%SERVER%%%%DATADIR%%/php/images/general/error_small.gif
-%%SERVER%%%%DATADIR%%/php/images/general/help.gif
-%%SERVER%%%%DATADIR%%/php/images/general/inst_completed.gif
-%%SERVER%%%%DATADIR%%/php/images/general/inst_current.gif
-%%SERVER%%%%DATADIR%%/php/images/general/inst_step.gif
-%%SERVER%%%%DATADIR%%/php/images/general/opened.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sort_downw.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sort_upw.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sortdown.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sortdown_off.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sortup.gif
-%%SERVER%%%%DATADIR%%/php/images/general/sortup_off.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tick.png
-%%SERVER%%%%DATADIR%%/php/images/general/tree/minus.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/plus.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/point.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/pointc.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/pointl.gif
-%%SERVER%%%%DATADIR%%/php/images/general/tree/zero.gif
-%%SERVER%%%%DATADIR%%/php/images/general/trigg_dep.gif
-%%SERVER%%%%DATADIR%%/php/images/general/trigg_dep.png
-%%SERVER%%%%DATADIR%%/php/images/general/up_icon.png
-%%SERVER%%%%DATADIR%%/php/images/general/warning16r.gif
-%%SERVER%%%%DATADIR%%/php/images/general/warning_small.gif
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix.ico
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix.png
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix_bb.ico
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix_bb.png
-%%SERVER%%%%DATADIR%%/php/images/general/zabbix_ob.ico
-%%SERVER%%%%DATADIR%%/php/images/gradients/blink1.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/blink2.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/button.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/gradient.png
-%%SERVER%%%%DATADIR%%/php/images/gradients/menu_not_active.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/menu_not_active_bb.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/sla_red.png
-%%SERVER%%%%DATADIR%%/php/images/gradients/sla_green.png
-%%SERVER%%%%DATADIR%%/php/images/gradients/table_head.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/table_head2.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/table_head2_bb.gif
-%%SERVER%%%%DATADIR%%/php/images/gradients/table_head_bb.gif
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Hub.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Hub_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Network.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Network_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Notebook.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Notebook_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Phone.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Phone_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Printer.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Printer_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/README
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Router.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Router_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Satellite.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Satellite_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Server.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Server_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/UPS.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/UPS_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Workstation.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/Workstation_small.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Hub.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Notebook.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Printer.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Router.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Server.png
-%%SERVER%%%%DATADIR%%/php/images/sysmaps/old/Workstation.png
-%%SERVER%%%%DATADIR%%/php/include/.htaccess
-%%SERVER%%%%DATADIR%%/php/include/acknow.inc.php
-%%SERVER%%%%DATADIR%%/php/include/actions.inc.php
-%%SERVER%%%%DATADIR%%/php/include/audit.inc.php
-%%SERVER%%%%DATADIR%%/php/include/blocks.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/.htaccess
-%%SERVER%%%%DATADIR%%/php/include/classes/cbutton.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ccheckbox.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ccolor.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ccombobox.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cfile.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cflash.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cflashclock.mod.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cform.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cformtable.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/chart.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/chelp.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/chostsinfo.mod.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ciframe.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cimg.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cldap.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/clink.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/clist.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cmap.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cpumenu.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cscript.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cserverinfo.mod.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cspan.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctable.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctableinfo.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctag.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctextarea.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctextbox.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctree.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/ctriggerinfo.mod.php
-%%SERVER%%%%DATADIR%%/php/include/classes/curl.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/cvar.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/graph.inc.php
-%%SERVER%%%%DATADIR%%/php/include/classes/pie.inc.php
-%%SERVER%%%%DATADIR%%/php/include/config.inc.php
-%%SERVER%%%%DATADIR%%/php/include/copt.lib.php
-%%SERVER%%%%DATADIR%%/php/include/db.inc.php
-%%SERVER%%%%DATADIR%%/php/include/defines.inc.php
-%%SERVER%%%%DATADIR%%/php/include/discovery.inc.php
-%%SERVER%%%%DATADIR%%/php/include/events.inc.php
-%%SERVER%%%%DATADIR%%/php/include/export.inc.php
-%%SERVER%%%%DATADIR%%/php/include/forms.inc.php
-%%SERVER%%%%DATADIR%%/php/include/func.inc.php
-%%SERVER%%%%DATADIR%%/php/include/graphs.inc.php
-%%SERVER%%%%DATADIR%%/php/include/hosts.inc.php
-%%SERVER%%%%DATADIR%%/php/include/html.inc.php
-%%SERVER%%%%DATADIR%%/php/include/httptest.inc.php
-%%SERVER%%%%DATADIR%%/php/include/images.inc.php
-%%SERVER%%%%DATADIR%%/php/include/import.inc.php
-%%SERVER%%%%DATADIR%%/php/include/items.inc.php
-%%SERVER%%%%DATADIR%%/php/include/js.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/cn_zh.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/de_de.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/en_gb.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/fr_fr.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/hu_hu.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/it_it.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/ja_jp.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/ko_kr.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/lv_lv.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/nl_nl.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/pl_pl.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/pt_br.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/ru_ru.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/sp_sp.inc.php
-%%SERVER%%%%DATADIR%%/php/include/locales/sv_se.inc.php
-%%SERVER%%%%DATADIR%%/php/include/maps.inc.php
-%%SERVER%%%%DATADIR%%/php/include/media.inc.php
-%%SERVER%%%%DATADIR%%/php/include/nodes.inc.php
-%%SERVER%%%%DATADIR%%/php/include/page_footer.php
-%%SERVER%%%%DATADIR%%/php/include/page_header.php
-%%SERVER%%%%DATADIR%%/php/include/perm.inc.php
-%%SERVER%%%%DATADIR%%/php/include/profiles.inc.php
-%%SERVER%%%%DATADIR%%/php/include/reports.inc.php
-%%SERVER%%%%DATADIR%%/php/include/screens.inc.php
-%%SERVER%%%%DATADIR%%/php/include/scripts.inc.php
-%%SERVER%%%%DATADIR%%/php/include/services.inc.php
-%%SERVER%%%%DATADIR%%/php/include/setup.inc.php
-%%SERVER%%%%DATADIR%%/php/include/triggers.inc.php
-%%SERVER%%%%DATADIR%%/php/include/users.inc.php
-%%SERVER%%%%DATADIR%%/php/include/validate.inc.php
-%%SERVER%%%%DATADIR%%/php/index.php
-%%SERVER%%%%DATADIR%%/php/instal.php
-%%SERVER%%%%DATADIR%%/php/items.php
-%%SERVER%%%%DATADIR%%/php/js/ajax_req.js
-%%SERVER%%%%DATADIR%%/php/js/calendar.js
-%%SERVER%%%%DATADIR%%/php/js/common.js
-%%SERVER%%%%DATADIR%%/php/js/gmenu.js
-%%SERVER%%%%DATADIR%%/php/js/gpc.js
-%%SERVER%%%%DATADIR%%/php/js/graphs.js
-%%SERVER%%%%DATADIR%%/php/js/menu.js
-%%SERVER%%%%DATADIR%%/php/js/menu_scripts.js
-%%SERVER%%%%DATADIR%%/php/js/prototype.js
-%%SERVER%%%%DATADIR%%/php/js/sbinit.js
-%%SERVER%%%%DATADIR%%/php/js/sbox.js
-%%SERVER%%%%DATADIR%%/php/js/scrollbar.js
-%%SERVER%%%%DATADIR%%/php/js/services.js
-%%SERVER%%%%DATADIR%%/php/js/showhint.js
-%%SERVER%%%%DATADIR%%/php/js/tree.js
-%%SERVER%%%%DATADIR%%/php/js/updater.js
-%%SERVER%%%%DATADIR%%/php/latest.php
-%%SERVER%%%%DATADIR%%/php/locales.php
-%%SERVER%%%%DATADIR%%/php/map.php
-%%SERVER%%%%DATADIR%%/php/maps.php
-%%SERVER%%%%DATADIR%%/php/media_types.php
-%%SERVER%%%%DATADIR%%/php/nodes.php
-%%SERVER%%%%DATADIR%%/php/overview.php
-%%SERVER%%%%DATADIR%%/php/popup.php
-%%SERVER%%%%DATADIR%%/php/popup_gitem.php
-%%SERVER%%%%DATADIR%%/php/popup_httpstep.php
-%%SERVER%%%%DATADIR%%/php/popup_link_tr.php
-%%SERVER%%%%DATADIR%%/php/popup_media.php
-%%SERVER%%%%DATADIR%%/php/popup_right.php
-%%SERVER%%%%DATADIR%%/php/popup_trexpr.php
-%%SERVER%%%%DATADIR%%/php/popup_users.php
-%%SERVER%%%%DATADIR%%/php/popup_usrgrp.php
-%%SERVER%%%%DATADIR%%/php/profile.php
-%%SERVER%%%%DATADIR%%/php/queue.php
-%%SERVER%%%%DATADIR%%/php/report1.php
-%%SERVER%%%%DATADIR%%/php/report2.php
-%%SERVER%%%%DATADIR%%/php/report3.php
-%%SERVER%%%%DATADIR%%/php/report4.php
-%%SERVER%%%%DATADIR%%/php/report5.php
-%%SERVER%%%%DATADIR%%/php/screenconf.php
-%%SERVER%%%%DATADIR%%/php/screenedit.php
-%%SERVER%%%%DATADIR%%/php/screens.php
-%%SERVER%%%%DATADIR%%/php/scripts.php
-%%SERVER%%%%DATADIR%%/php/scripts_exec.php
-%%SERVER%%%%DATADIR%%/php/services.php
-%%SERVER%%%%DATADIR%%/php/services_form.php
-%%SERVER%%%%DATADIR%%/php/setup.php
-%%SERVER%%%%DATADIR%%/php/srv_status.php
-%%SERVER%%%%DATADIR%%/php/styles/blocks.css
-%%SERVER%%%%DATADIR%%/php/styles/calendar.css
-%%SERVER%%%%DATADIR%%/php/styles/css_bb.css
-%%SERVER%%%%DATADIR%%/php/styles/css_ob.css
-%%SERVER%%%%DATADIR%%/php/styles/default.css
-%%SERVER%%%%DATADIR%%/php/styles/div.css
-%%SERVER%%%%DATADIR%%/php/styles/form.css
-%%SERVER%%%%DATADIR%%/php/styles/link.css
-%%SERVER%%%%DATADIR%%/php/styles/p.css
-%%SERVER%%%%DATADIR%%/php/styles/popupmenu.css
-%%SERVER%%%%DATADIR%%/php/styles/table.css
-%%SERVER%%%%DATADIR%%/php/styles/ul.css
-%%SERVER%%%%DATADIR%%/php/sysmap.php
-%%SERVER%%%%DATADIR%%/php/sysmaps.php
-%%SERVER%%%%DATADIR%%/php/tr_comments.php
-%%SERVER%%%%DATADIR%%/php/tr_events.php
-%%SERVER%%%%DATADIR%%/php/tr_status.php
-%%SERVER%%%%DATADIR%%/php/triggers.php
-%%SERVER%%%%DATADIR%%/php/users.php
-%%SERVER%%%%DATADIR%%/php/vtext.php
-%%SERVER%%%%DATADIR%%/php/warning.php
-%%SERVER%%@dirrm %%DATADIR%%/php/styles
-%%SERVER%%@dirrm %%DATADIR%%/php/js
-%%SERVER%%@dirrm %%DATADIR%%/php/include/locales
-%%SERVER%%@dirrm %%DATADIR%%/php/include/classes
-%%SERVER%%@dirrm %%DATADIR%%/php/include
-%%SERVER%%@dirrm %%DATADIR%%/php/images/sysmaps/old
-%%SERVER%%@dirrm %%DATADIR%%/php/images/sysmaps
-%%SERVER%%@dirrm %%DATADIR%%/php/images/gradients
-%%SERVER%%@dirrm %%DATADIR%%/php/images/general/tree
-%%SERVER%%@dirrm %%DATADIR%%/php/images/general/bttn
-%%SERVER%%@dirrm %%DATADIR%%/php/images/general/bar
-%%SERVER%%@dirrm %%DATADIR%%/php/images/general
-%%SERVER%%@dirrm %%DATADIR%%/php/images/flash
-%%SERVER%%@dirrm %%DATADIR%%/php/images
-%%SERVER%%@dirrm %%DATADIR%%/php/conf
-%%SERVER%%@dirrm %%DATADIR%%/php/audio
-%%SERVER%%@dirrm %%DATADIR%%/php
-@dirrm %%DATADIR%%/dbpatches/1.6/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.6/oracle
-@dirrm %%DATADIR%%/dbpatches/1.6/mysql
-@dirrm %%DATADIR%%/dbpatches/1.6
-@dirrm %%DATADIR%%/dbpatches
-@dirrm %%DATADIR%%/create/schema
-@dirrm %%DATADIR%%/create/data/images
-@dirrm %%DATADIR%%/create/data
-@dirrm %%DATADIR%%/create
-@dirrm %%DATADIR%%
-@dirrm %%ETCDIR%%