git: 6d16a1701e7f - main - cleanup: Remove expired ports:
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Feb 2022 17:37:53 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=6d16a1701e7fdceb3195f4241affb82037614888 commit 6d16a1701e7fdceb3195f4241affb82037614888 Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2022-02-28 17:37:26 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-02-28 17:37:47 +0000 cleanup: Remove expired ports: 2022-02-28 net-mgmt/zabbix3-proxy: Upstream EOL reached on 2021-02-28 2022-02-28 net-mgmt/zabbix3-java: Upstream EOL reached on 2021-02-28 2022-02-28 net-mgmt/zabbix3-frontend: Upstream EOL reached on 2021-02-28 2022-02-28 net-mgmt/zabbix3-agent: Upstream EOL reached on 2021-02-28 2022-02-28 net-mgmt/zabbix3-server: Upstream EOL reached on 2021-02-28 --- MOVED | 5 + net-mgmt/Makefile | 5 - net-mgmt/zabbix3-agent/Makefile | 13 - net-mgmt/zabbix3-frontend/Makefile | 47 -- net-mgmt/zabbix3-java/Makefile | 13 - net-mgmt/zabbix3-proxy/Makefile | 9 - net-mgmt/zabbix3-server/Makefile | 216 ------ net-mgmt/zabbix3-server/distinfo | 3 - .../files/patch-src_zabbix_agent_zabbix_agentd.c | 11 - .../files/patch-src_zabbix_proxy_proxy.c | 11 - .../files/patch-src_zabbix_server_server.c | 11 - net-mgmt/zabbix3-server/files/pkg-message.in | 51 -- net-mgmt/zabbix3-server/files/zabbix_agentd.in | 64 -- net-mgmt/zabbix3-server/files/zabbix_java.in | 47 -- net-mgmt/zabbix3-server/files/zabbix_proxy.in | 65 -- net-mgmt/zabbix3-server/files/zabbix_server.in | 66 -- net-mgmt/zabbix3-server/pkg-descr | 10 - net-mgmt/zabbix3-server/pkg-plist | 39 -- net-mgmt/zabbix3-server/pkg-plist.agent | 8 - net-mgmt/zabbix3-server/pkg-plist.frontend | 756 --------------------- net-mgmt/zabbix3-server/pkg-plist.java | 11 - 21 files changed, 5 insertions(+), 1456 deletions(-) diff --git a/MOVED b/MOVED index 2830e9ad57f3..90fb92d21d74 100644 --- a/MOVED +++ b/MOVED @@ -16907,3 +16907,8 @@ databases/zabbix3-libzbxpgsql||2022-02-27|Has expired: Upstream EOL reached on 2 lang/bf2c||2022-02-28|Has expired: No development since 2013 lang/nbc||2022-02-28|Has expired: No releases since 2011, for previous generation LEGO Mindstorms textproc/gutenmark||2022-02-28|Has expired: No releases since 2011 +net-mgmt/zabbix3-proxy||2022-02-28|Has expired: Upstream EOL reached on 2021-02-28 +net-mgmt/zabbix3-java||2022-02-28|Has expired: Upstream EOL reached on 2021-02-28 +net-mgmt/zabbix3-frontend||2022-02-28|Has expired: Upstream EOL reached on 2021-02-28 +net-mgmt/zabbix3-agent||2022-02-28|Has expired: Upstream EOL reached on 2021-02-28 +net-mgmt/zabbix3-server||2022-02-28|Has expired: Upstream EOL reached on 2021-02-28 diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index a5837872b64e..b43a959cc092 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -391,11 +391,6 @@ SUBDIR += xymon-client SUBDIR += xymon-server SUBDIR += yaf - SUBDIR += zabbix3-agent - SUBDIR += zabbix3-frontend - SUBDIR += zabbix3-java - SUBDIR += zabbix3-proxy - SUBDIR += zabbix3-server SUBDIR += zabbix4-agent SUBDIR += zabbix4-frontend SUBDIR += zabbix4-java diff --git a/net-mgmt/zabbix3-agent/Makefile b/net-mgmt/zabbix3-agent/Makefile deleted file mode 100644 index deb88fa451d1..000000000000 --- a/net-mgmt/zabbix3-agent/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# Created by: Pakhom Golynga <pg@pakhom.spb.ru> - -PORTNAME= zabbix3 -CATEGORIES= net-mgmt -PKGNAMESUFFIX= -agent - -MASTERDIR= ${.CURDIR}/../zabbix3-server -PLIST= ${PKGDIR}/pkg-plist.agent - -OPTIONS_DEFINE= CURL IPV6 -OPTIONS_DEFAULT= CURL OPENSSL - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix3-frontend/Makefile b/net-mgmt/zabbix3-frontend/Makefile deleted file mode 100644 index 6a0c1e83e3c8..000000000000 --- a/net-mgmt/zabbix3-frontend/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -# Created by: Pakhom Golynga <pg@pakhom.spb.ru> - -PORTNAME= zabbix3 -CATEGORIES= net-mgmt -PKGNAMESUFFIX= -frontend - -MASTERDIR= ${.CURDIR}/../zabbix3-server - -NO_BUILD= yes -NO_ARCH= yes -PATCHDIR= -PLIST= ${PKGDIR}/pkg-plist.frontend - -USE_PHP= bcmath ctype dom gd gettext json ldap mbstring pcre \ - session simplexml snmp sockets xml xmlreader xmlwriter - -USES= php:web gettext - -OPTIONS_DEFINE= MYSQLI PGSQL SQLITE ORACLE -OPTIONS_DEFAULT= MYSQLI -MYSQLI_DESC= MySQLI backend - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MMYSQLI} -USE_PHP+= mysqli -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USE_PHP+= pgsql -.endif - -.if ${PORT_OPTIONS:MSQLITE} -USE_PHP+= sqlite3 -.endif - -.if ${PORT_OPTIONS:MORACLE} -ZABBIX_REQUIRE= -CONFIGURE_ARGS+= --with-oracle -.endif - -do-install: - @${MKDIR} ${STAGEDIR}${WWWDIR} - (cd ${WRKSRC}/frontends/php && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix3-java/Makefile b/net-mgmt/zabbix3-java/Makefile deleted file mode 100644 index 8a179e436cbe..000000000000 --- a/net-mgmt/zabbix3-java/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -PORTNAME= zabbix3 -PORTREVISION= 1 -CATEGORIES= net-mgmt -PKGNAMESUFFIX= -java - -MASTERDIR= ${.CURDIR}/../zabbix3-server -PLIST= ${PKGDIR}/pkg-plist.java - -OPTIONS_DEFINE= IPV6 - -USE_JAVA= yes - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix3-proxy/Makefile b/net-mgmt/zabbix3-proxy/Makefile deleted file mode 100644 index caaf72a7982d..000000000000 --- a/net-mgmt/zabbix3-proxy/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# Created by: Pakhom Golynga <pg@pakhom.spb.ru> - -PORTNAME= zabbix3 -CATEGORIES= net-mgmt -PKGNAMESUFFIX= -proxy - -MASTERDIR= ${.CURDIR}/../zabbix3-server - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix3-server/Makefile b/net-mgmt/zabbix3-server/Makefile deleted file mode 100644 index 8c72d7420f7a..000000000000 --- a/net-mgmt/zabbix3-server/Makefile +++ /dev/null @@ -1,216 +0,0 @@ -# Created by: Pakhom Golynga <pg@pakhom.spb.ru> - -PORTNAME= zabbix3 -PORTVERSION= 3.0.32 -PORTREVISION?= 0 -CATEGORIES= net-mgmt -MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${PORTVERSION:R}/ -PKGNAMESUFFIX?= -server -DISTNAME= zabbix-${PORTVERSION} - -MAINTAINER= pg@pakhom.spb.ru -COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LTS - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -DEPRECATED=Upstream EOL reached on 2021-02-28 -EXPIRATION_DATE=2022-02-28 - -CONFLICTS_INSTALL= zabbix[0-9][0-9]${PKGNAMESUFFIX} zabbix[0-24-9]${PKGNAMESUFFIX} - -ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} - -.if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings -.if ${ZABBIX_BUILD} != "agent" -CONFIGURE_ARGS+= --cache-file=${WRKSRC}/config.cache -USE_RC_SUBR= zabbix_${ZABBIX_BUILD} -.else -USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d -.endif - -USES= pkgconfig iconv - -USERS= zabbix -GROUPS= zabbix - -.if ${ZABBIX_BUILD} != "proxy" -PLIST_SUB= PROXY="@comment " -.else -PLIST_SUB= PROXY="" -.endif - -.if ${ZABBIX_BUILD} == "server" -PLIST_SUB+= SERVER="" -.else -PLIST_SUB+= SERVER="@comment " -.endif - -PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} -SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} ZABBIX_REQUIRE=${ZABBIX_REQUIRE} - -MAKE_ARGS+= ARCH=freebsd -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ - --sysconfdir=${ETCDIR} \ - --datadir=${ETCDIR} \ - --with-iconv=${ICONV_PREFIX} - -.if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" -LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp - -CPPFLAGS+= -I${LOCALBASE}/include - -SUB_FILES= pkg-message - -CONFIGURE_ARGS+= --with-net-snmp - -OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP LIBXML2 - -OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL -OPTIONS_SUB= yes - -FPING_DESC= Build/install fping for ping checks -IPMI_DESC= Support for IPMI checks -JABBER_DESC= Support for Jabber media type -LDAP_DESC= Support for LDAP server checks -NMAP_DESC= Build/install nmap for o/s detection -SSH_DESC= Support for SSH-based checks -ODBC_DESC= Support for database checks via ODBC -LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) - -OPTIONS_SINGLE= DB ODBC SSL -OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE -OPTIONS_SINGLE_ODBC= IODBC UNIXODBC -OPTIONS_SINGLE_SSL= OPENSSL GNUTLS - -MYSQL_CONFIGURE_WITH= mysql -MYSQL_USES+= compiler:c11 mysql - -PGSQL_CONFIGURE_WITH= postgresql -PGSQL_USES+= pgsql - -SQLITE_CONFIGURE_WITH= sqlite3 -SQLITE_USES+= sqlite:3 - -ORACLE_CONFIGURE_WITH= oracle - -LDAP_CONFIGURE_WITH= ldap -LDAP_USE= OPENLDAP=yes - -IPMI_CONFIGURE_WITH= openipmi -IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi - -JABBER_CONFIGURE_WITH= jabber -JABBER_LIB_DEPENDS= libiksemel.so:textproc/iksemel - -FPING_RUN_DEPENDS= fping:net/fping - -SSH_CONFIGURE_WITH= ssh2 -SSH_LIB_DEPENDS= libssh2.so:security/libssh2 - -IODBC_CONFIGURE_WITH= iodbc -IODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc - -UNIXODBC_CONFIGURE_WITH=unixodbc -UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC -.elif ${ZABBIX_BUILD} == "agent" -OPTIONS_SINGLE= SSL -OPTIONS_SINGLE_SSL= OPENSSL GNUTLS -.endif # if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" - -CURL_DESC= Support for web monitoring -CURL_CONFIGURE_WITH= libcurl -CURL_LIB_DEPENDS= libcurl.so:ftp/curl - -IPV6_CONFIGURE_ENABLE= ipv6 - -NMAP_RUN_DEPENDS= nmap:security/nmap \ - sudo:security/sudo - -LIBXML2_CONFIGURE_WITH= libxml2=${LOCALBASE} -LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 - -OPENSSL_CONFIGURE_WITH= openssl -OPENSSL_USES= ssl -OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ - BROKEN_SSL_REASON="PSK is not provided by LibreSSL" - -GNUTLS_CONFIGURE_WITH= gnutls -GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls - -.include <bsd.port.pre.mk> - -post-patch: - @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ - | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' - @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ - ${WRKSRC}/conf/zabbix_*.conf \ - ${WRKSRC}/src/zabbix_proxy/proxy.c \ - ${WRKSRC}/src/zabbix_server/server.c - -.if ${ZABBIX_BUILD} == "server" - @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_server.pid#PidFile=/var/run/zabbix/zabbix_server.pid#g' \ - ${WRKSRC}/conf/zabbix_server*.conf - @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ - ${WRKSRC}/conf/zabbix_server*.conf -.endif - -.if ${ZABBIX_BUILD} == "proxy" - @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_proxy.pid#PidFile=/var/run/zabbix/zabbix_proxy.pid#g' \ - ${WRKSRC}/conf/zabbix_proxy*.conf - @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ - ${WRKSRC}/conf/zabbix_proxy*.conf -.endif - -.if ${ZABBIX_BUILD} == "agent" - @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_agentd.pid#PidFile=/var/run/zabbix/zabbix_agentd.pid#g' \ - ${WRKSRC}/conf/zabbix_agentd*.conf - @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ - ${WRKSRC}/conf/zabbix_agentd*.conf -.endif - -.if ${ZABBIX_BUILD} == "java" - @${REINPLACE_CMD} -e 's#PID_FILE="/tmp/zabbix_java.pid"#PID_FILE="/var/run/zabbix/zabbix_java.pid"#g' \ - ${WRKSRC}/src/zabbix_java/settings.sh -.endif - -.if ${ZABBIX_BUILD} != "agent" -. for d in mysql oracle postgresql sqlite3 - @${REINPLACE_CMD} \ - -e 's|/bin/ping|/sbin/ping|g' \ - -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ - -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ - ${WRKSRC}/database/${d}/data.sql -. endfor -.endif - @${REINPLACE_CMD} \ - -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ - ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in - @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ - -exec ${RM} {} + - -pre-configure: - @echo "ac_cv_env_PKG_CONFIG_set=${LOCALBASE}/bin/pkgconf" > ${WRKSRC}/config.cache - -post-install: - -.if ${ZABBIX_BUILD} == "java" - ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ - ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample - @${MKDIR} ${STAGEDIR}/var/run/zabbix -.endif - -.if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" - ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database - (cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches \ - ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/upgrades/) - (cd ${WRKSRC}/database/ && \ - ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" \ - ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) -.endif -.else # frontend -.include <bsd.port.pre.mk> -.endif - -.include <bsd.port.post.mk> diff --git a/net-mgmt/zabbix3-server/distinfo b/net-mgmt/zabbix3-server/distinfo deleted file mode 100644 index 79a815bbc0fc..000000000000 --- a/net-mgmt/zabbix3-server/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1615293112 -SHA256 (zabbix-3.0.32.tar.gz) = 27f613254779ff78a763cb8c0d8a38900de15157f84b01ff2fafba58290534d9 -SIZE (zabbix-3.0.32.tar.gz) = 14890890 diff --git a/net-mgmt/zabbix3-server/files/patch-src_zabbix_agent_zabbix_agentd.c b/net-mgmt/zabbix3-server/files/patch-src_zabbix_agent_zabbix_agentd.c deleted file mode 100644 index 35431dbadae2..000000000000 --- a/net-mgmt/zabbix3-server/files/patch-src_zabbix_agent_zabbix_agentd.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/zabbix_agent/zabbix_agentd.c.orig 2016-05-13 14:37:25.696606000 +0300 -+++ src/zabbix_agent/zabbix_agentd.c 2016-05-13 14:49:45.011554761 +0300 -@@ -521,7 +521,7 @@ - CONFIG_LOAD_MODULE_PATH = zbx_strdup(CONFIG_LOAD_MODULE_PATH, LIBDIR "/modules"); - - if (NULL == CONFIG_PID_FILE) -- CONFIG_PID_FILE = "/tmp/zabbix_agentd.pid"; -+ CONFIG_PID_FILE = "/var/run/zabbix/zabbix_agentd.pid"; - #endif - if (NULL == CONFIG_LOG_TYPE_STR) - CONFIG_LOG_TYPE_STR = zbx_strdup(CONFIG_LOG_TYPE_STR, ZBX_OPTION_LOGTYPE_FILE); diff --git a/net-mgmt/zabbix3-server/files/patch-src_zabbix_proxy_proxy.c b/net-mgmt/zabbix3-server/files/patch-src_zabbix_proxy_proxy.c deleted file mode 100644 index 7c2b91ded88f..000000000000 --- a/net-mgmt/zabbix3-server/files/patch-src_zabbix_proxy_proxy.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/zabbix_proxy/proxy.c.orig 2016-04-20 12:51:20.000000000 +0300 -+++ src/zabbix_proxy/proxy.c 2016-05-13 14:46:44.193569184 +0300 -@@ -389,7 +389,7 @@ - CONFIG_SNMPTRAP_FILE = zbx_strdup(CONFIG_SNMPTRAP_FILE, "/tmp/zabbix_traps.tmp"); - - if (NULL == CONFIG_PID_FILE) -- CONFIG_PID_FILE = zbx_strdup(CONFIG_PID_FILE, "/tmp/zabbix_proxy.pid"); -+ CONFIG_PID_FILE = zbx_strdup(CONFIG_PID_FILE, "/var/run/zabbix/zabbix_proxy.pid"); - - if (NULL == CONFIG_TMPDIR) - CONFIG_TMPDIR = zbx_strdup(CONFIG_TMPDIR, "/tmp"); diff --git a/net-mgmt/zabbix3-server/files/patch-src_zabbix_server_server.c b/net-mgmt/zabbix3-server/files/patch-src_zabbix_server_server.c deleted file mode 100644 index 0bf2b74b2efe..000000000000 --- a/net-mgmt/zabbix3-server/files/patch-src_zabbix_server_server.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/zabbix_server/server.c.orig 2016-04-20 12:51:20.000000000 +0300 -+++ src/zabbix_server/server.c 2016-05-13 14:20:17.603677788 +0300 -@@ -369,7 +369,7 @@ - CONFIG_SNMPTRAP_FILE = zbx_strdup(CONFIG_SNMPTRAP_FILE, "/tmp/zabbix_traps.tmp"); - - if (NULL == CONFIG_PID_FILE) -- CONFIG_PID_FILE = zbx_strdup(CONFIG_PID_FILE, "/tmp/zabbix_server.pid"); -+ CONFIG_PID_FILE = zbx_strdup(CONFIG_PID_FILE, "/var/run/zabbix/zabbix_server.pid"); - - if (NULL == CONFIG_ALERT_SCRIPTS_PATH) - CONFIG_ALERT_SCRIPTS_PATH = zbx_strdup(CONFIG_ALERT_SCRIPTS_PATH, DATADIR "/zabbix/alertscripts"); diff --git a/net-mgmt/zabbix3-server/files/pkg-message.in b/net-mgmt/zabbix3-server/files/pkg-message.in deleted file mode 100644 index e2ba7617d455..000000000000 --- a/net-mgmt/zabbix3-server/files/pkg-message.in +++ /dev/null @@ -1,51 +0,0 @@ -[ -{ type: install - message: <<EOM -For Zabbix server and proxy daemons, as well as Zabbix frontend, a database is required. It is not needed to run Zabbix agent. -% cd %%DATADIR%%/%%ZABBIX_BUILD%%/database - -PostgreSQL: -shell> psql -U <username> -psql> create database zabbix; -psql> \q -shell> cd database/postgresql -shell> psql -U <username> zabbix < schema.sql -shell> psql -U <username> zabbix < images.sql -shell> psql -U <username> zabbix < data.sql - -MySQL: -shell> mysql -u<username> -p<password> -mysql> create database zabbix character set utf8; -mysql> quit; -shell> mysql -u<username> -p<password> zabbix < database/mysql/schema.sql -shell> mysql -u<username> -p<password> zabbix < database/mysql/images.sql -shell> mysql -u<username> -p<password> zabbix < database/mysql/data.sql - -SQLite: -shell> cd database/sqlite3 -shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql -shell> sqlite3 /var/lib/sqlite/zabbix.db < images.sql -shell> sqlite3 /var/lib/sqlite/zabbix.db < data.sql - -IBM DB2: -shell> db2 "create database zabbix using codeset utf-8 territory us pagesize 32768" -shell> cd database/ibm_db2 -shell> db2batch -d zabbix -f schema.sql -shell> db2batch -d zabbix -f images.sql -shell> db2batch -d zabbix -f data.sql - - -Upgrade notes for 3.0.0 https://www.zabbix.com/documentation/3.0/manual/installation/upgrade_notes_300 - -Upgrade procedure https://www.zabbix.com/documentation/3.0/manual/installation/upgrade - -Please see https://www.zabbix.com/ for detailed information about Zabbix. - -On-line Zabbix documentation is available at https://www.zabbix.com/documentation/3.0/start - -For Zabbix frontend “Welcome” screen. Enter the user name Admin with password zabbix to log in as a Zabbix superuser. - -For use NMAP please edit sudoers -EOM -} -] diff --git a/net-mgmt/zabbix3-server/files/zabbix_agentd.in b/net-mgmt/zabbix3-server/files/zabbix_agentd.in deleted file mode 100644 index d3ac5102f812..000000000000 --- a/net-mgmt/zabbix3-server/files/zabbix_agentd.in +++ /dev/null @@ -1,64 +0,0 @@ -#!/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. -# zabbix_agentd_config (string): Set to the standard config file path by -# default. -# zabbix_agentd_pidfile (string): Location of the zabbix_agent pid file -# Default is /var/run/zabbix/zabbix_agentd.pid -# zabbix_agentd_paths (string): Set to standard path by default. Set a search -# if you have custom userparams that need binaries elsewhere. -# - -. /etc/rc.subr - -name="zabbix_agentd" -rcvar=zabbix_agentd_enable - -load_rc_config $name - -: ${zabbix_agentd_enable:=NO} -: ${zabbix_agentd_config:=%%ETCDIR%%/${name}.conf} -: ${zabbix_agentd_pidfile:=/var/run/zabbix/zabbix_agentd.pid} -: ${zabbix_agentd_paths:=$PATH} - -command="%%PREFIX%%/sbin/${name}" -required_files="${zabbix_agentd_config}" - -start_cmd=zabbix_agentd_cmd -start_precmd=zabbix_agentd_precmd -status_precmd=zabbix_agentd_precmd -stop_precmd=zabbix_agentd_precmd - -zabbix_agentd_precmd() -{ - if get_pidfile_from_conf PidFile ${zabbix_agentd_config}; then - pidfile="$_pidfile_from_conf" - else - pidfile=${zabbix_agentd_pidfile} - local rundir=${zabbix_agentd_pidfile%/*} - if [ ! -d $rundir ] ; then - install -d -m 0755 -o zabbix -g zabbix $rundir - fi - fi - - # This shouldn't be necessary with pidfile, but empirically it was the - # only way to reap the parent PID instead of all PIDs from - # check_process, which may leak SysV IPC objects and prevent restart - # and/or race condition on restart. - rc_pid=$(check_pidfile ${pidfile} ${command}) -} - -zabbix_agentd_cmd() -{ - PATH=$zabbix_agentd_paths $command -c $zabbix_agentd_config -} - -run_rc_command "$1" diff --git a/net-mgmt/zabbix3-server/files/zabbix_java.in b/net-mgmt/zabbix3-server/files/zabbix_java.in deleted file mode 100644 index ef0f1318c76c..000000000000 --- a/net-mgmt/zabbix3-server/files/zabbix_java.in +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -# PROVIDE: zabbix_java -# REQUIRE: NETWORKING SERVERS -# BEFORE: DAEMON -# KEYWORD: shutdown -# -# Options to configure zabbix_java via /etc/rc.conf: -# -# zabbix_java_enable (bool): -# Enable service on boot. -# Default: NO -# - -. /etc/rc.subr - -name="zabbix_java" -rcvar=zabbix_java_enable - -load_rc_config $name - -: ${zabbix_java_enable:=NO} - -start_cmd="/usr/bin/su -m zabbix -c %%PREFIX%%/sbin/zabbix_java/startup.sh" -stop_cmd="/usr/bin/su -m zabbix -c %%PREFIX%%/sbin/zabbix_java/shutdown.sh" -status_cmd="zabbix_java_status" - -extra_commands="status" - -zabbix_java_status() { - if get_pidfile_from_conf PID_FILE %%PREFIX%%/sbin/zabbix_java/settings.sh; then - PID_FILE="$_pidfile_from_conf" - fi - - if [ -n "$PID_FILE" -a -f "$PID_FILE" ]; then - PID=`cat "$PID_FILE"` - if ps -p "$PID" > /dev/null 2>&1; then - echo "${name} is running as pid ${PID}" - else - echo "${name} is not running" - fi - else - echo "${name} is not running" - fi -} - -run_rc_command "$1" diff --git a/net-mgmt/zabbix3-server/files/zabbix_proxy.in b/net-mgmt/zabbix3-server/files/zabbix_proxy.in deleted file mode 100644 index 213c989966f8..000000000000 --- a/net-mgmt/zabbix3-server/files/zabbix_proxy.in +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -# PROVIDE: zabbix_proxy -# REQUIRE: DAEMON -%%PGSQL%%# REQUIRE: postgresql -%%MYSQL%%# REQUIRE: mysql -# 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. -# zabbix_proxy_config (string): Set to the standard config file path by -# default. -# zabbix_proxy_pidfile (string): Location of the zabbix_proxy pid file -# Default is /var/run/zabbix/zabbix_proxy.pid -# zabbix_proxy_paths (string): Set to standard path by default. Set a search -# if you have custom userparams that need binaries elsewhere. -# - -. /etc/rc.subr - -name="zabbix_proxy" -rcvar=zabbix_proxy_enable - -load_rc_config $name - -: ${zabbix_proxy_enable:=NO} -: ${zabbix_proxy_config:=%%ETCDIR%%/${name}.conf} -: ${zabbix_proxy_pidfile:=/var/run/zabbix/zabbix_proxy.pid} - -command="%%PREFIX%%/sbin/${name}" -required_files="${zabbix_proxy_config}" - -start_cmd=zabbix_proxy_cmd -start_precmd=zabbix_proxy_precmd -status_precmd=zabbix_proxy_precmd -stop_precmd=zabbix_proxy_precmd - -zabbix_proxy_precmd() -{ - if get_pidfile_from_conf PidFile ${zabbix_proxy_config}; then - pidfile="$_pidfile_from_conf" - else - pidfile=${zabbix_proxy_pidfile} - local rundir=${zabbix_proxy_pidfile%/*} - if [ ! -d $rundir ] ; then - install -d -m 0755 -o zabbix -g zabbix $rundir - fi - fi - - # This shouldn't be necessary with pidfile, but empirically it was the - # only way to reap the parent PID instead of all PIDs from - # check_process, which may leak SysV IPC objects and prevent restart - # and/or race condition on restart. - rc_pid=$(check_pidfile ${pidfile} ${command}) -} - -zabbix_proxy_cmd() -{ - PATH=$zabbix_proxy_paths $command -c $zabbix_proxy_config -} - -run_rc_command "$1" diff --git a/net-mgmt/zabbix3-server/files/zabbix_server.in b/net-mgmt/zabbix3-server/files/zabbix_server.in deleted file mode 100644 index 4ccf2b80aa85..000000000000 --- a/net-mgmt/zabbix3-server/files/zabbix_server.in +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -# PROVIDE: zabbix_server -# REQUIRE: DAEMON -%%PGSQL%%# REQUIRE: postgresql -%%MYSQL%%# REQUIRE: mysql -# 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. -# zabbix_server_config (string): Set to the standard config file path by -# default. -# zabbix_server_pidfile (string): Location of the zabbix_server pid file -# Default is /var/run/zabbix/zabbix_server.pid -# zabbix_server_paths (string): Set to standard path by default. Set a search -# if you have custom userparams that need binaries elsewhere. -# - -. /etc/rc.subr - -name="zabbix_server" -rcvar=zabbix_server_enable - -load_rc_config $name - -: ${zabbix_server_enable:=NO} -: ${zabbix_server_config:=%%ETCDIR%%/${name}.conf} -: ${zabbix_server_pidfile:=/var/run/zabbix/zabbix_server.pid} -: ${zabbix_server_paths:=$PATH} - -command="%%PREFIX%%/sbin/${name}" -required_files="${zabbix_server_config}" - -start_cmd=zabbix_server_cmd -start_precmd=zabbix_server_precmd -status_precmd=zabbix_server_precmd -stop_precmd=zabbix_server_precmd - -zabbix_server_precmd() -{ - if get_pidfile_from_conf PidFile ${zabbix_server_config}; then - pidfile="$_pidfile_from_conf" - else - pidfile=${zabbix_server_pidfile} - local rundir=${zabbix_server_pidfile%/*} - if [ ! -d $rundir ] ; then - install -d -m 0755 -o zabbix -g zabbix $rundir - fi - fi - - # This shouldn't be necessary with pidfile, but empirically it was the - # only way to reap the parent PID instead of all PIDs from - # check_process, which may leak SysV IPC objects and prevent restart - # and/or race condition on restart. - rc_pid=$(check_pidfile ${pidfile} ${command}) -} - -zabbix_server_cmd() -{ - PATH=$zabbix_server_paths $command -c $zabbix_server_config -} - -run_rc_command "$1" diff --git a/net-mgmt/zabbix3-server/pkg-descr b/net-mgmt/zabbix3-server/pkg-descr deleted file mode 100644 index 28b4da564fbf..000000000000 --- a/net-mgmt/zabbix3-server/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -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: https://www.zabbix.com/ diff --git a/net-mgmt/zabbix3-server/pkg-plist b/net-mgmt/zabbix3-server/pkg-plist deleted file mode 100644 index cbfd1bca38aa..000000000000 --- a/net-mgmt/zabbix3-server/pkg-plist +++ /dev/null @@ -1,39 +0,0 @@ -%%ETCDIR%%/zabbix_%%ZABBIX_BUILD%%.conf.sample -man/man8/zabbix_%%ZABBIX_BUILD%%.8.gz -sbin/zabbix_%%ZABBIX_BUILD%% -%%DATADIR%%/%%ZABBIX_BUILD%%/database/mysql/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/mysql/schema.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/mysql/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/postgresql/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/postgresql/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/postgresql/schema.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/schema.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/ibm_db2/schema.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/ibm_db2/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/ibm_db2/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/oracle/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/oracle/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/oracle/schema.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.2/README -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/ibm_db2/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/ibm_db2/rc4_rc5.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/postgresql/rc4_rc5.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/postgresql/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/oracle/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/oracle/rc4_rc5.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/mysql/rc4_rc5.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/mysql/upgrade -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/2.0/mysql/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/mysql/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/mysql/upgrade -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/postgresql/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.8/oracle/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/postgresql/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/oracle/patch.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/upgrades/dbpatches/1.6/mysql/patch.sql -%%SERVER%%@dir %%ETCDIR%%/zabbix/alertscripts -@dir %%ETCDIR%%/zabbix/externalscripts -%%PROXY%%@dir %%ETCDIR%%/zabbix_proxy.conf.d -%%SERVER%%@dir %%ETCDIR%%/zabbix_server.conf.d diff --git a/net-mgmt/zabbix3-server/pkg-plist.agent b/net-mgmt/zabbix3-server/pkg-plist.agent deleted file mode 100644 index c0bbdf59023d..000000000000 --- a/net-mgmt/zabbix3-server/pkg-plist.agent +++ /dev/null @@ -1,8 +0,0 @@ -%%ETCDIR%%/zabbix_agentd.conf.sample -bin/zabbix_get -bin/zabbix_sender -sbin/zabbix_agentd -@dir %%ETCDIR%%/zabbix_agentd.conf.d -man/man1/zabbix_get.1.gz -man/man1/zabbix_sender.1.gz -man/man8/zabbix_%%ZABBIX_BUILD%%d.8.gz diff --git a/net-mgmt/zabbix3-server/pkg-plist.frontend b/net-mgmt/zabbix3-server/pkg-plist.frontend deleted file mode 100644 index 1ff90dafb963..000000000000 --- a/net-mgmt/zabbix3-server/pkg-plist.frontend +++ /dev/null @@ -1,756 +0,0 @@ -%%WWWDIR%%/actionconf.php -%%WWWDIR%%/adm.gui.php -%%WWWDIR%%/adm.housekeeper.php -%%WWWDIR%%/adm.iconmapping.php -%%WWWDIR%%/adm.images.php -%%WWWDIR%%/adm.macros.php -%%WWWDIR%%/adm.other.php -%%WWWDIR%%/adm.regexps.php -%%WWWDIR%%/adm.triggerdisplayoptions.php -%%WWWDIR%%/adm.triggerseverities.php -%%WWWDIR%%/adm.valuemapping.php -%%WWWDIR%%/adm.workingtime.php -%%WWWDIR%%/api_jsonrpc.php -%%WWWDIR%%/app/.htaccess -%%WWWDIR%%/app/controllers/CControllerAcknowledgeCreate.php -%%WWWDIR%%/app/controllers/CControllerAcknowledgeEdit.php -%%WWWDIR%%/app/controllers/CControllerDashboardFavourite.php -%%WWWDIR%%/app/controllers/CControllerDashboardSort.php -%%WWWDIR%%/app/controllers/CControllerDashboardView.php -%%WWWDIR%%/app/controllers/CControllerDashboardWidget.php -%%WWWDIR%%/app/controllers/CControllerDiscoveryView.php -%%WWWDIR%%/app/controllers/CControllerFavouriteCreate.php -%%WWWDIR%%/app/controllers/CControllerFavouriteDelete.php -%%WWWDIR%%/app/controllers/CControllerMapView.php -%%WWWDIR%%/app/controllers/CControllerMediatypeCreate.php -%%WWWDIR%%/app/controllers/CControllerMediatypeDelete.php -%%WWWDIR%%/app/controllers/CControllerMediatypeDisable.php -%%WWWDIR%%/app/controllers/CControllerMediatypeEdit.php -%%WWWDIR%%/app/controllers/CControllerMediatypeEnable.php -%%WWWDIR%%/app/controllers/CControllerMediatypeList.php -%%WWWDIR%%/app/controllers/CControllerMediatypeUpdate.php -%%WWWDIR%%/app/controllers/CControllerProfileUpdate.php -%%WWWDIR%%/app/controllers/CControllerProxyCreate.php -%%WWWDIR%%/app/controllers/CControllerProxyDelete.php -%%WWWDIR%%/app/controllers/CControllerProxyEdit.php -%%WWWDIR%%/app/controllers/CControllerProxyHostDisable.php -%%WWWDIR%%/app/controllers/CControllerProxyHostEnable.php -%%WWWDIR%%/app/controllers/CControllerProxyList.php -%%WWWDIR%%/app/controllers/CControllerProxyUpdate.php -%%WWWDIR%%/app/controllers/CControllerReportServices.php -%%WWWDIR%%/app/controllers/CControllerReportStatus.php -%%WWWDIR%%/app/controllers/CControllerScriptCreate.php -%%WWWDIR%%/app/controllers/CControllerScriptDelete.php -%%WWWDIR%%/app/controllers/CControllerScriptEdit.php -%%WWWDIR%%/app/controllers/CControllerScriptList.php -%%WWWDIR%%/app/controllers/CControllerScriptUpdate.php -%%WWWDIR%%/app/controllers/CControllerSystemWarning.php -%%WWWDIR%%/app/controllers/CControllerWebView.php -%%WWWDIR%%/app/controllers/CControllerWidgetDiscoveryView.php -%%WWWDIR%%/app/controllers/CControllerWidgetHostsView.php -%%WWWDIR%%/app/controllers/CControllerWidgetIssuesView.php -%%WWWDIR%%/app/controllers/CControllerWidgetStatusView.php -%%WWWDIR%%/app/controllers/CControllerWidgetSystemView.php -%%WWWDIR%%/app/controllers/CControllerWidgetWebView.php -%%WWWDIR%%/app/views/administration.mediatype.edit.js.php -%%WWWDIR%%/app/views/administration.mediatype.edit.php -%%WWWDIR%%/app/views/administration.mediatype.list.php -%%WWWDIR%%/app/views/administration.proxy.edit.js.php -%%WWWDIR%%/app/views/administration.proxy.edit.php -%%WWWDIR%%/app/views/administration.proxy.list.php -%%WWWDIR%%/app/views/administration.script.edit.js.php -%%WWWDIR%%/app/views/administration.script.edit.php -%%WWWDIR%%/app/views/administration.script.list.php -%%WWWDIR%%/app/views/layout.htmlpage.footer.php -%%WWWDIR%%/app/views/layout.htmlpage.header.php -%%WWWDIR%%/app/views/layout.htmlpage.menu.php -%%WWWDIR%%/app/views/layout.htmlpage.php -%%WWWDIR%%/app/views/layout.javascript.php -%%WWWDIR%%/app/views/layout.json.php -%%WWWDIR%%/app/views/layout.warning.php -%%WWWDIR%%/app/views/layout.widget.php -%%WWWDIR%%/app/views/monitoring.acknowledge.edit.js.php -%%WWWDIR%%/app/views/monitoring.acknowledge.edit.php -%%WWWDIR%%/app/views/monitoring.dashboard.view.php -%%WWWDIR%%/app/views/monitoring.discovery.view.php -%%WWWDIR%%/app/views/monitoring.map.view.php -%%WWWDIR%%/app/views/monitoring.web.view.php -%%WWWDIR%%/app/views/monitoring.widget.discovery.view.php -%%WWWDIR%%/app/views/monitoring.widget.hosts.view.php -%%WWWDIR%%/app/views/monitoring.widget.issues.view.php -%%WWWDIR%%/app/views/monitoring.widget.status.view.php -%%WWWDIR%%/app/views/monitoring.widget.system.view.php -%%WWWDIR%%/app/views/monitoring.widget.web.view.php -%%WWWDIR%%/app/views/report.services.php -%%WWWDIR%%/app/views/report.status.php -%%WWWDIR%%/app/views/system.warning.php -%%WWWDIR%%/applications.php -%%WWWDIR%%/audio/alarm_average.wav -%%WWWDIR%%/audio/alarm_disaster.wav -%%WWWDIR%%/audio/alarm_high.wav -%%WWWDIR%%/audio/alarm_information.wav -%%WWWDIR%%/audio/alarm_ok.wav -%%WWWDIR%%/audio/alarm_warning.wav -%%WWWDIR%%/audio/no_sound.wav -%%WWWDIR%%/auditacts.php -%%WWWDIR%%/auditlogs.php -%%WWWDIR%%/authentication.php -%%WWWDIR%%/browserwarning.php -%%WWWDIR%%/chart.php -%%WWWDIR%%/chart2.php -%%WWWDIR%%/chart3.php -%%WWWDIR%%/chart4.php -%%WWWDIR%%/chart5.php -%%WWWDIR%%/chart6.php -%%WWWDIR%%/chart7.php -%%WWWDIR%%/charts.php -%%WWWDIR%%/conf.import.php -%%WWWDIR%%/conf/.htaccess -%%WWWDIR%%/conf/maintenance.inc.php -%%WWWDIR%%/conf/zabbix.conf.php.example -%%WWWDIR%%/dashconf.php -%%WWWDIR%%/disc_prototypes.php -%%WWWDIR%%/discoveryconf.php -%%WWWDIR%%/events.php -%%WWWDIR%%/favicon.ico -%%WWWDIR%%/fonts/DejaVuSans.ttf -%%WWWDIR%%/graphs.php -%%WWWDIR%%/history.php -%%WWWDIR%%/host_discovery.php -%%WWWDIR%%/host_prototypes.php -%%WWWDIR%%/host_screen.php -%%WWWDIR%%/hostgroups.php -%%WWWDIR%%/hostinventories.php -%%WWWDIR%%/hostinventoriesoverview.php -%%WWWDIR%%/hosts.php *** 648 LINES SKIPPED ***