aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix2
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/zabbix2')
-rw-r--r--net-mgmt/zabbix2/Makefile112
-rw-r--r--net-mgmt/zabbix2/distinfo3
-rw-r--r--net-mgmt/zabbix2/files/patch-src-zabbix_sucker-Makefile.in12
-rw-r--r--net-mgmt/zabbix2/files/patch-src-zabbix_sucker-zabbix_sucker.c11
-rw-r--r--net-mgmt/zabbix2/files/pkg-message.in8
-rw-r--r--net-mgmt/zabbix2/files/zabbix_agent.sh.in10
-rw-r--r--net-mgmt/zabbix2/files/zabbix_suckerd.sh.in10
-rw-r--r--net-mgmt/zabbix2/pkg-descr8
-rw-r--r--net-mgmt/zabbix2/pkg-install45
-rw-r--r--net-mgmt/zabbix2/pkg-plist199
-rw-r--r--net-mgmt/zabbix2/pkg-plist.agent8
-rw-r--r--net-mgmt/zabbix2/scripts/dbsetup.sh6
12 files changed, 0 insertions, 432 deletions
diff --git a/net-mgmt/zabbix2/Makefile b/net-mgmt/zabbix2/Makefile
deleted file mode 100644
index dc3a7a463c5a..000000000000
--- a/net-mgmt/zabbix2/Makefile
+++ /dev/null
@@ -1,112 +0,0 @@
-# Ports collection makefile for: zabbix
-# Date created: Jun 18 2003
-# Whom: Sergey Akifyev <asa@gascom.ru>
-#
-# $FreeBSD$
-#
-
-PORTNAME= zabbix
-PORTVERSION= 1.0
-PORTREVISION= 4
-PORTEPOCH= 1
-CATEGORIES?= net-mgmt
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-
-MAINTAINER= asa@gascom.ru
-COMMENT= Very advanced network monitoring system
-
-.ifndef(ZABBIX_AGENT_ONLY)
-OPTIONS= PGSQL "Use a PostgreSQL backend" off \
- MYSQL "Use a MySQL backend" on \
- FPING "Use fping for pinging hosts" on
-.endif
-
-.ifdef(ZABBIX_AGENT_ONLY)
-PKGNAMESUFFIX= -agent
-PLIST= ${MASTERDIR}/pkg-plist.agent
-.else # ZABBIX_AGENT_ONLY
-LIB_DEPENDS= netsnmp.9:${PORTSDIR}/net-mgmt/net-snmp
-USE_PHP= gd snmp sockets
-SUB_FILES= pkg-message
-.endif # ZABBIX_AGENT_ONLY
-
-.include <bsd.port.pre.mk>
-
-.ifndef(WITHOUT_FPING)
-RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping
-.endif
-
-.ifndef(ZABBIX_AGENT_ONLY)
-.ifndef(WITH_PGSQL)
-.ifdef(WITHOUT_MYSQL)
-IGNORE= You should configure to use either a MySQL or PostgreSQL backend
-.endif
-.endif
-
-.ifdef(WITH_PGSQL)
-USE_PGSQL= yes
-CONFIGURE_ARGS+=--with-pgsql
-.endif
-.ifndef(WITHOUT_MYSQL)
-USE_MYSQL= yes
-CONFIGURE_ARGS= --with-mysql
-.endif
-CONFIGURE_ARGS+=--with-net-snmp
-.endif # ZABBIX_AGENT_ONLY
-
-USE_RC_SUBR= zabbix_agent.sh
-.if !defined(ZABBIX_AGENT_ONLY)
-USE_RC_SUBR+= zabbix_suckerd.sh
-.endif
-
-USE_REINPLACE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include
-
-ZABBIX_BINARIES= zabbix_agent zabbix_agentd zabbix_sender
-ZABBIX_CONFIGS= zabbix_agent.conf zabbix_agentd.conf
-.ifndef(ZABBIX_AGENT_ONLY)
-ZABBIX_BINARIES+= zabbix_suckerd zabbix_trapper zabbix_trapperd
-ZABBIX_CONFIGS+= zabbix_suckerd.conf zabbix_trapper.conf zabbix_trapperd.conf
-.endif
-
-pre-patch:
-.ifndef(ZABBIX_AGENT_ONLY)
-post-patch:
- @${REINPLACE_CMD} 's|%LOCALBASE%|${LOCALBASE}|' ${WRKSRC}/src/zabbix_sucker/zabbix_sucker.c
-.ifdef WITHOUT_FPING
- @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_suckerd.conf
-.endif
-.endif # ZABBIX_AGENT_ONLY
-
-.if ${ARCH} == "amd64"
-post-configure:
- ${ECHO_CMD} "#define HAVE_VA_COPY 1" >> ${WRKSRC}/include/config.h
-.endif
-
-do-install:
-.for FILE in ${ZABBIX_BINARIES}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${FILE} ${PREFIX}/bin
-.endfor
- ${MKDIR} ${PREFIX}/etc/zabbix
- ${LN} -sf ${PREFIX}/etc/zabbix /etc/zabbix
-.for FILE in ${ZABBIX_CONFIGS}
- ${INSTALL_DATA} ${WRKSRC}/misc/conf/${FILE} \
- ${PREFIX}/etc/zabbix/${FILE}.sample
-.endfor
-.ifndef(ZABBIX_AGENT_ONLY)
- ${MKDIR} ${PREFIX}/share/zabbix
- ${MKDIR} ${PREFIX}/share/zabbix/create
- ${CP} -Rf ${WRKSRC}/frontends/* ${PREFIX}/share/zabbix
- ${CP} -Rf ${WRKSRC}/create/* ${PREFIX}/share/zabbix/create
- ${CP} -Rf ${WRKSRC}/upgrades/dbpatches ${PREFIX}/share/zabbix
- ${INSTALL_SCRIPT} ${MASTERDIR}/scripts/dbsetup.sh \
- ${PREFIX}/share/zabbix/create
-.endif
- ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-.ifndef(ZABBIX_AGENT_ONLY)
- @${CAT} ${PKGMESSAGE}
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/net-mgmt/zabbix2/distinfo b/net-mgmt/zabbix2/distinfo
deleted file mode 100644
index 4216dd0b2af9..000000000000
--- a/net-mgmt/zabbix2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (zabbix-1.0.tar.gz) = e83a3b92f13942081ed2f3fe3f3084d8
-SHA256 (zabbix-1.0.tar.gz) = 3368a2bd825fdc32075b469779037e556b3d02b64bcf8412cd3b8988cafb5e2e
-SIZE (zabbix-1.0.tar.gz) = 1847471
diff --git a/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-Makefile.in b/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-Makefile.in
deleted file mode 100644
index d72d0587df50..000000000000
--- a/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-Makefile.in
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/zabbix_sucker/Makefile.in.orig Mon Sep 1 21:34:12 2003
-+++ src/zabbix_sucker/Makefile.in Mon Sep 1 21:34:37 2003
-@@ -1,7 +1,7 @@
- # Build rules
-
--INCLUDE = @MYSQL_INCLUDE@ @PGSQL_INCLUDE@ @SNMP_INCLUDE@
--LIBS = @LIBS@ @MYSQL_LFLAGS@ @PGSQL_LFLAGS@ @SNMP_LFLAGS@
-+INCLUDE = @MYSQL_INCLUDE@ @PGSQL_INCLUDE@ @SNMP_INCLUDE@ -I$(LOCALBASE)/include
-+LIBS = @LIBS@ @MYSQL_LFLAGS@ @PGSQL_LFLAGS@ @SNMP_LFLAGS@ -L$(LOCALBASE)/lib
-
- all:
-
diff --git a/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-zabbix_sucker.c b/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-zabbix_sucker.c
deleted file mode 100644
index 1b8ca44f8aac..000000000000
--- a/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-zabbix_sucker.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/zabbix_sucker/zabbix_sucker.c.orig Wed Jan 14 07:43:02 2004
-+++ src/zabbix_sucker/zabbix_sucker.c Wed Jan 14 07:43:21 2004
-@@ -254,7 +254,7 @@
- }
- if(CONFIG_FPING_LOCATION == NULL)
- {
-- CONFIG_FPING_LOCATION=strdup("/usr/sbin/fping");
-+ CONFIG_FPING_LOCATION=strdup("%LOCALBASE%/sbin/fping");
- }
- }
-
diff --git a/net-mgmt/zabbix2/files/pkg-message.in b/net-mgmt/zabbix2/files/pkg-message.in
deleted file mode 100644
index 99c664bc233a..000000000000
--- a/net-mgmt/zabbix2/files/pkg-message.in
+++ /dev/null
@@ -1,8 +0,0 @@
-====================================================
-ACHTUNG!!!
-
-Run dbsetup.sh from %%PREFIX%%/share/zabbix/create
-to setup database tables. Arguments, given to
-it will be passed to mysql client, allowing
-connection do non-local MySQL server
-====================================================
diff --git a/net-mgmt/zabbix2/files/zabbix_agent.sh.in b/net-mgmt/zabbix2/files/zabbix_agent.sh.in
deleted file mode 100644
index 3d6b3f081e1d..000000000000
--- a/net-mgmt/zabbix2/files/zabbix_agent.sh.in
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-. %%RC_SUBR%%
-
-name="zabbix_agentd"
-rcvar=`set_rcvar`
-command="${prefix}/bin/${name}"
-required_files="/etc/zabbix/${name}.conf"
-
-run_rc_command "$1"
diff --git a/net-mgmt/zabbix2/files/zabbix_suckerd.sh.in b/net-mgmt/zabbix2/files/zabbix_suckerd.sh.in
deleted file mode 100644
index e038375d80b8..000000000000
--- a/net-mgmt/zabbix2/files/zabbix_suckerd.sh.in
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-. %%RC_SUBR%%
-
-name="zabbix_suckerd"
-rcvar=`set_rcvar`
-command="${prefix}/bin/${name}"
-required_files="/etc/zabbix/${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 a85383fa4768..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://zabbix.sourceforge.net/
diff --git a/net-mgmt/zabbix2/pkg-install b/net-mgmt/zabbix2/pkg-install
deleted file mode 100644
index bd120120918d..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=112
-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 c2c4ab66dfa5..000000000000
--- a/net-mgmt/zabbix2/pkg-plist
+++ /dev/null
@@ -1,199 +0,0 @@
-etc/zabbix/zabbix_agent.conf.sample
-etc/zabbix/zabbix_agentd.conf.sample
-etc/zabbix/zabbix_suckerd.conf.sample
-etc/zabbix/zabbix_trapper.conf.sample
-etc/zabbix/zabbix_trapperd.conf.sample
-bin/zabbix_agent
-bin/zabbix_agentd
-bin/zabbix_sender
-bin/zabbix_suckerd
-bin/zabbix_trapper
-bin/zabbix_trapperd
-%%DATADIR%%/php/audio/disaster_on.wav
-%%DATADIR%%/php/audio/warning_off.wav
-%%DATADIR%%/php/audio/warning_on.wav
-%%DATADIR%%/php/about.php
-%%DATADIR%%/php/actions.php
-%%DATADIR%%/php/alarms.php
-%%DATADIR%%/php/alerts.php
-%%DATADIR%%/php/chart.php
-%%DATADIR%%/php/chart2.php
-%%DATADIR%%/php/chart3.php
-%%DATADIR%%/php/chart4.php
-%%DATADIR%%/php/chart5.php
-%%DATADIR%%/php/chart_diff.php
-%%DATADIR%%/php/chart_sla.php
-%%DATADIR%%/php/charts.php
-%%DATADIR%%/php/compare.php
-%%DATADIR%%/php/config.php
-%%DATADIR%%/php/css.css
-%%DATADIR%%/php/graph.php
-%%DATADIR%%/php/graphs.php
-%%DATADIR%%/php/helpdesk.php
-%%DATADIR%%/php/history.php
-%%DATADIR%%/php/hosts.php
-%%DATADIR%%/php/index.php
-%%DATADIR%%/php/items.php
-%%DATADIR%%/php/latest.php
-%%DATADIR%%/php/latestalarms.php
-%%DATADIR%%/php/map.php
-%%DATADIR%%/php/maps.php
-%%DATADIR%%/php/media.php
-%%DATADIR%%/php/queue.php
-%%DATADIR%%/php/report1.php
-%%DATADIR%%/php/report2.php
-%%DATADIR%%/php/report3.php
-%%DATADIR%%/php/screenconf.php
-%%DATADIR%%/php/screenedit.php
-%%DATADIR%%/php/screens.php
-%%DATADIR%%/php/services.php
-%%DATADIR%%/php/srv_status.php
-%%DATADIR%%/php/sysmap.php
-%%DATADIR%%/php/sysmaps.php
-%%DATADIR%%/php/tr_comments.php
-%%DATADIR%%/php/tr_status.php
-%%DATADIR%%/php/trend.php
-%%DATADIR%%/php/trends.php
-%%DATADIR%%/php/triggers.php
-%%DATADIR%%/php/users.php
-%%DATADIR%%/php/images/sysmaps/old/Notebook.png
-%%DATADIR%%/php/images/sysmaps/old/Hub.png
-%%DATADIR%%/php/images/sysmaps/old/Printer.png
-%%DATADIR%%/php/images/sysmaps/old/Router.png
-%%DATADIR%%/php/images/sysmaps/old/Server.png
-%%DATADIR%%/php/images/sysmaps/old/Workstation.png
-%%DATADIR%%/php/images/sysmaps/UPS.png
-%%DATADIR%%/php/images/sysmaps/Notebook.png
-%%DATADIR%%/php/images/sysmaps/Hub.png
-%%DATADIR%%/php/images/sysmaps/Printer.png
-%%DATADIR%%/php/images/sysmaps/Router.png
-%%DATADIR%%/php/images/sysmaps/Server.png
-%%DATADIR%%/php/images/sysmaps/Workstation.png
-%%DATADIR%%/php/images/sysmaps/README
-%%DATADIR%%/php/images/sysmaps/Phone.png
-%%DATADIR%%/php/images/sysmaps/Network.png
-%%DATADIR%%/php/images/sysmaps/Satellite.png
-%%DATADIR%%/php/include/.htaccess
-%%DATADIR%%/php/include/classes.inc.php
-%%DATADIR%%/php/include/config.inc.php
-%%DATADIR%%/php/include/db.inc.php
-%%DATADIR%%/php/include/defines.inc.php
-%%DATADIR%%/create/data/data.sql
-%%DATADIR%%/create/mysql/schema.sql
-%%DATADIR%%/create/postgresql/schema.sql
-%%DATADIR%%/create/dbsetup.sh
-%%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13/postgresql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14/mysql/patch.sql
-%%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14/postgresql/patch.sql
-@dirrm etc/zabbix
-@dirrm %%DATADIR%%/php/audio
-@dirrm %%DATADIR%%/php/images/sysmaps/old
-@dirrm %%DATADIR%%/php/images/sysmaps
-@dirrm %%DATADIR%%/php/images
-@dirrm %%DATADIR%%/php/include
-@dirrm %%DATADIR%%/php
-@dirrm %%DATADIR%%/create/data
-@dirrm %%DATADIR%%/create/mysql
-@dirrm %%DATADIR%%/create/postgresql
-@dirrm %%DATADIR%%/create
-@dirrm %%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11
-@dirrm %%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12
-@dirrm %%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1
-@dirrm %%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4
-@dirrm %%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5
-@dirrm %%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7
-@dirrm %%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8
-@dirrm %%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9
-@dirrm %%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10
-@dirrm %%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3
-@dirrm %%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4
-@dirrm %%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5
-@dirrm %%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6
-@dirrm %%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7
-@dirrm %%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8
-@dirrm %%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9
-@dirrm %%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10
-@dirrm %%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11
-@dirrm %%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13
-@dirrm %%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14/mysql
-@dirrm %%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14/postgresql
-@dirrm %%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14
-@dirrm %%DATADIR%%/dbpatches
-@dirrm %%DATADIR%%
-@exec ln -sf %D/etc/zabbix /etc/zabbix
-@unexec rm /etc/zabbix
diff --git a/net-mgmt/zabbix2/pkg-plist.agent b/net-mgmt/zabbix2/pkg-plist.agent
deleted file mode 100644
index 2e5a1980939c..000000000000
--- a/net-mgmt/zabbix2/pkg-plist.agent
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/zabbix_agent
-bin/zabbix_agentd
-bin/zabbix_sender
-etc/zabbix/zabbix_agent.conf.sample
-etc/zabbix/zabbix_agentd.conf.sample
-@dirrm etc/zabbix
-@exec ln -sf %D/etc/zabbix /etc/zabbix
-@unexec rm /etc/zabbix
diff --git a/net-mgmt/zabbix2/scripts/dbsetup.sh b/net-mgmt/zabbix2/scripts/dbsetup.sh
deleted file mode 100644
index 240f46157640..000000000000
--- a/net-mgmt/zabbix2/scripts/dbsetup.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-{
- echo "create database zabbix; use zabbix;"
- cat mysql/schema.sql data/data.sql
-} | mysql ${*}