From owner-dev-commits-ports-main@freebsd.org Sun Sep 19 21:09:35 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA190671B53; Sun, 19 Sep 2021 21:09:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HCL0v41HQz3rMC; Sun, 19 Sep 2021 21:09:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 691F223F6F; Sun, 19 Sep 2021 21:09:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18JL9ZIA055317; Sun, 19 Sep 2021 21:09:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18JL9Z2J055316; Sun, 19 Sep 2021 21:09:35 GMT (envelope-from git) Date: Sun, 19 Sep 2021 21:09:35 GMT Message-Id: <202109192109.18JL9Z2J055316@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: 7737d5d3b1e9 - main - net-mgmt: Remove unsupported zabbix52 ports MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7737d5d3b1e94c878f356e1253c264d59bb28d3c Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2021 21:09:35 -0000 The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=7737d5d3b1e94c878f356e1253c264d59bb28d3c commit 7737d5d3b1e94c878f356e1253c264d59bb28d3c Author: Juraj Lutter AuthorDate: 2021-09-05 20:13:02 +0000 Commit: Juraj Lutter CommitDate: 2021-09-19 21:08:30 +0000 net-mgmt: Remove unsupported zabbix52 ports - Remove ports - Disconnect from build Approved by: pg_pakhom.spb.ru (maintainer) Differential Revision: https://reviews.freebsd.org/D31847 --- net-mgmt/Makefile | 5 - net-mgmt/zabbix52-agent/Makefile | 13 - net-mgmt/zabbix52-frontend/Makefile | 33 - net-mgmt/zabbix52-java/Makefile | 12 - net-mgmt/zabbix52-proxy/Makefile | 11 - net-mgmt/zabbix52-server/Makefile | 222 ---- net-mgmt/zabbix52-server/distinfo | 3 - net-mgmt/zabbix52-server/files/pkg-message.in | 45 - net-mgmt/zabbix52-server/files/zabbix_agentd.in | 64 -- net-mgmt/zabbix52-server/files/zabbix_java.in | 47 - net-mgmt/zabbix52-server/files/zabbix_proxy.in | 65 -- net-mgmt/zabbix52-server/files/zabbix_server.in | 66 -- net-mgmt/zabbix52-server/pkg-descr | 10 - net-mgmt/zabbix52-server/pkg-plist | 24 - net-mgmt/zabbix52-server/pkg-plist.agent | 9 - net-mgmt/zabbix52-server/pkg-plist.frontend | 1308 ----------------------- net-mgmt/zabbix52-server/pkg-plist.java | 11 - 17 files changed, 1948 deletions(-) diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 54871937d1c3..e453115fa14e 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -403,11 +403,6 @@ SUBDIR += zabbix5-java SUBDIR += zabbix5-proxy SUBDIR += zabbix5-server - SUBDIR += zabbix52-agent - SUBDIR += zabbix52-frontend - SUBDIR += zabbix52-java - SUBDIR += zabbix52-proxy - SUBDIR += zabbix52-server SUBDIR += zabbix54-agent SUBDIR += zabbix54-frontend SUBDIR += zabbix54-java diff --git a/net-mgmt/zabbix52-agent/Makefile b/net-mgmt/zabbix52-agent/Makefile deleted file mode 100644 index 34adea33db49..000000000000 --- a/net-mgmt/zabbix52-agent/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# Created by: Pakhom Golynga - -PORTNAME= zabbix52 -CATEGORIES= net-mgmt -PKGNAMESUFFIX= -agent - -MASTERDIR= ${.CURDIR}/../zabbix52-server -PLIST= ${PKGDIR}/pkg-plist.agent - -OPTIONS_DEFINE= CURL IPV6 MODBUS -OPTIONS_DEFAULT= CURL OPENSSL - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix52-frontend/Makefile b/net-mgmt/zabbix52-frontend/Makefile deleted file mode 100644 index 950bdff33055..000000000000 --- a/net-mgmt/zabbix52-frontend/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# Created by: Pakhom Golynga - -PORTNAME= zabbix52 -CATEGORIES= net-mgmt -PKGNAMESUFFIX= -frontend - -MASTERDIR= ${.CURDIR}/../zabbix52-server - -NO_BUILD= yes -NO_ARCH= yes -PATCHDIR= -PLIST= ${PKGDIR}/pkg-plist.frontend - -USE_PHP= bcmath ctype dom fileinfo filter gd gettext hash json ldap mbstring \ - openssl pcre session simplexml snmp sockets xml xmlreader xmlwriter -USES+= php:web - -OPTIONS_DEFINE= MYSQLI PGSQL ORACLE -OPTIONS_DEFAULT= MYSQLI -MYSQLI_DESC= MySQLI backend - -MYSQLI_USE= PHP=mysqli - -PGSQL_USE= PHP=pgsql - -ORACLE_CONFIGURE_WITH= oracle - -do-install: - @${MKDIR} ${STAGEDIR}${WWWDIR} - (cd ${WRKSRC}/ui && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix52-java/Makefile b/net-mgmt/zabbix52-java/Makefile deleted file mode 100644 index ceb962565e96..000000000000 --- a/net-mgmt/zabbix52-java/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -PORTNAME= zabbix52 -CATEGORIES= net-mgmt -PKGNAMESUFFIX= -java - -MASTERDIR= ${.CURDIR}/../zabbix52-server -PLIST= ${PKGDIR}/pkg-plist.java - -OPTIONS_DEFINE= IPV6 - -USE_JAVA= yes - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix52-proxy/Makefile b/net-mgmt/zabbix52-proxy/Makefile deleted file mode 100644 index 410c018bae12..000000000000 --- a/net-mgmt/zabbix52-proxy/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# Created by: Pakhom Golynga - -PORTNAME= zabbix52 -CATEGORIES= net-mgmt -PKGNAMESUFFIX= -proxy - -MASTERDIR= ${.CURDIR}/../zabbix52-server - -OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix52-server/Makefile b/net-mgmt/zabbix52-server/Makefile deleted file mode 100644 index 91d2db8641f0..000000000000 --- a/net-mgmt/zabbix52-server/Makefile +++ /dev/null @@ -1,222 +0,0 @@ -# Created by: Pakhom Golynga - -PORTNAME= zabbix52 -DISTVERSION= 5.2.7 -PORTREVISION?= 0 -CATEGORIES= net-mgmt -MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/ -PKGNAMESUFFIX?= -server -DISTNAME= zabbix-${DISTVERSION} - -MAINTAINER= pg@pakhom.spb.ru -COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -LIB_DEPENDS= libpcre.so:devel/pcre - -CONFLICTS_INSTALL= zabbix[0-46-9][0-9]${PKGNAMESUFFIX} \ - zabbix5[0-13-9]${PKGNAMESUFFIX} \ - zabbix[0-9]${PKGNAMESUFFIX} - -ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} - -.if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings -.if ${ZABBIX_BUILD} != "agent" -CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --cache-file=${WRKSRC}/config.cache -LIB_DEPENDS+= libevent.so:devel/libevent -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="" -PLIST_FILES+= bin/zabbix_proxy_js -.endif - -.if ${ZABBIX_BUILD} == "server" -PLIST_SUB+= SERVER="" -PLIST_FILES+= bin/zabbix_js -.else -PLIST_SUB+= SERVER="@comment " -.endif - -PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} DISTVERSION=${DISTVERSION} -SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} - -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 CURL LDAP IPMI SSH NMAP LIBXML2 UNIXODBC - -OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL -OPTIONS_SUB= yes - -FPING_DESC= Build/install fping for ping checks -IPMI_DESC= Support for IPMI checks -LDAP_DESC= Support for LDAP server checks -NMAP_DESC= Build/install nmap for o/s detection -SSH_DESC= Support for SSH-based checks -UNIXODBC_DESC= Support for database checks via ODBC -LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) - -OPTIONS_SINGLE= DB SSL -OPTIONS_SINGLE_DB?= MYSQL PGSQL ORACLE -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 - -FPING_RUN_DEPENDS= fping:net/fping - -SSH_CONFIGURE_WITH= ssh2 -SSH_LIB_DEPENDS= libssh2.so:security/libssh2 - -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 - -MODBUS_DESC= Support for Modbus checks -MODBUS_CONFIGURE_WITH= libmodbus -MODBUS_LIB_DEPENDS= libmodbus.so:comms/libmodbus - -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 - -post-patch: - @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ - | ${XARGS} ${REINPLACE_CMD} -e 's#/usr/local/etc#${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#/tmp/zabbix_server.pid#/var/run/zabbix/zabbix_server.pid#g' \ - ${WRKSRC}/conf/zabbix_server.conf \ - ${WRKSRC}/src/zabbix_server/server.c -.endif - -.if ${ZABBIX_BUILD} == "proxy" - @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.pid#/var/run/zabbix/zabbix_proxy.pid#g' \ - ${WRKSRC}/conf/zabbix_proxy.conf \ - ${WRKSRC}/src/zabbix_proxy/proxy.c -.endif - -.if ${ZABBIX_BUILD} == "agent" - @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.pid#/var/run/zabbix/zabbix_agentd.pid#g' \ - ${WRKSRC}/conf/zabbix_agentd.conf \ - ${WRKSRC}/src/zabbix_agent/zabbix_agentd.c -.endif - -.if ${ZABBIX_BUILD} == "java" - @${REINPLACE_CMD} -e 's#/tmp/zabbix_java.pid#/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|/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 - @${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 - @${RM} ${WRKSRC}/database/*/Makefile* - (cd ${WRKSRC}/database/ && \ - ${COPYTREE_SHARE} "mysql oracle postgresql sqlite3" \ - ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) - - ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf \ - ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf.sample -.endif - -.if ${ZABBIX_BUILD} == "agent" - ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf \ - ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf.sample -.endif - -.if ${ZABBIX_BUILD} == "proxy" - ${MV} ${STAGEDIR}${LOCALBASE}/bin/zabbix_js \ - ${STAGEDIR}${LOCALBASE}/bin/zabbix_proxy_js -.endif - -.else # frontend -.include -.endif - -.include diff --git a/net-mgmt/zabbix52-server/distinfo b/net-mgmt/zabbix52-server/distinfo deleted file mode 100644 index 352136a16869..000000000000 --- a/net-mgmt/zabbix52-server/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1625065845 -SHA256 (zabbix-5.2.7.tar.gz) = 243d773a9706105e041c37937e2b16df6fabc51c350ea6dffc14fe2d7b3db868 -SIZE (zabbix-5.2.7.tar.gz) = 20971531 diff --git a/net-mgmt/zabbix52-server/files/pkg-message.in b/net-mgmt/zabbix52-server/files/pkg-message.in deleted file mode 100644 index 21f48e9d732e..000000000000 --- a/net-mgmt/zabbix52-server/files/pkg-message.in +++ /dev/null @@ -1,45 +0,0 @@ -[ -{ type: install - message: < /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/zabbix52-server/files/zabbix_proxy.in b/net-mgmt/zabbix52-server/files/zabbix_proxy.in deleted file mode 100644 index 213c989966f8..000000000000 --- a/net-mgmt/zabbix52-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/zabbix52-server/files/zabbix_server.in b/net-mgmt/zabbix52-server/files/zabbix_server.in deleted file mode 100644 index 4ccf2b80aa85..000000000000 --- a/net-mgmt/zabbix52-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/zabbix52-server/pkg-descr b/net-mgmt/zabbix52-server/pkg-descr deleted file mode 100644 index 28b4da564fbf..000000000000 --- a/net-mgmt/zabbix52-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/zabbix52-server/pkg-plist b/net-mgmt/zabbix52-server/pkg-plist deleted file mode 100644 index 46f736123b7c..000000000000 --- a/net-mgmt/zabbix52-server/pkg-plist +++ /dev/null @@ -1,24 +0,0 @@ -%%DATADIR%%/%%ZABBIX_BUILD%%/database/mysql/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/mysql/double.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/mysql/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/mysql/schema.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/oracle/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/oracle/double.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/oracle/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/oracle/schema.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/postgresql/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/postgresql/double.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/postgresql/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/postgresql/schema.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/postgresql/timescaledb.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/data.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/images.sql -%%DATADIR%%/%%ZABBIX_BUILD%%/database/sqlite3/schema.sql -%%ETCDIR%%/zabbix_%%ZABBIX_BUILD%%.conf.sample -%%PROXY%%@dir %%ETCDIR%%/zabbix_proxy.conf.d -%%SERVER%%@dir %%ETCDIR%%/zabbix_server.conf.d -%%SERVER%%@dir %%ETCDIR%%/zabbix/alertscripts -man/man8/zabbix_%%ZABBIX_BUILD%%.8.gz -sbin/zabbix_%%ZABBIX_BUILD%% -@dir %%ETCDIR%%/zabbix/externalscripts -@dir lib/modules diff --git a/net-mgmt/zabbix52-server/pkg-plist.agent b/net-mgmt/zabbix52-server/pkg-plist.agent deleted file mode 100644 index ca02f1d8b4eb..000000000000 --- a/net-mgmt/zabbix52-server/pkg-plist.agent +++ /dev/null @@ -1,9 +0,0 @@ -%%ETCDIR%%/zabbix_agentd.conf.sample -bin/zabbix_get -bin/zabbix_sender -man/man1/zabbix_get.1.gz -man/man1/zabbix_sender.1.gz -man/man8/zabbix_%%ZABBIX_BUILD%%d.8.gz -sbin/zabbix_agentd -@dir %%ETCDIR%%/zabbix_agentd.conf.d -@dir lib/modules diff --git a/net-mgmt/zabbix52-server/pkg-plist.frontend b/net-mgmt/zabbix52-server/pkg-plist.frontend deleted file mode 100644 index 2b58346d290e..000000000000 --- a/net-mgmt/zabbix52-server/pkg-plist.frontend +++ /dev/null @@ -1,1308 +0,0 @@ -%%WWWDIR%%/actionconf.php -%%WWWDIR%%/api_jsonrpc.php -%%WWWDIR%%/app/.htaccess -%%WWWDIR%%/app/controllers/CControllerActionOperationGet.php -%%WWWDIR%%/app/controllers/CControllerActionOperationValidate.php -%%WWWDIR%%/app/controllers/CControllerApplicationCreate.php -%%WWWDIR%%/app/controllers/CControllerApplicationDelete.php -%%WWWDIR%%/app/controllers/CControllerApplicationDisable.php -%%WWWDIR%%/app/controllers/CControllerApplicationEdit.php -%%WWWDIR%%/app/controllers/CControllerApplicationEnable.php -%%WWWDIR%%/app/controllers/CControllerApplicationList.php -%%WWWDIR%%/app/controllers/CControllerApplicationUpdate.php -%%WWWDIR%%/app/controllers/CControllerAuditLogList.php -%%WWWDIR%%/app/controllers/CControllerAuthenticationEdit.php -%%WWWDIR%%/app/controllers/CControllerAuthenticationUpdate.php -%%WWWDIR%%/app/controllers/CControllerAutoregEdit.php -%%WWWDIR%%/app/controllers/CControllerAutoregUpdate.php -%%WWWDIR%%/app/controllers/CControllerCharts.php -%%WWWDIR%%/app/controllers/CControllerChartsView.php -%%WWWDIR%%/app/controllers/CControllerChartsViewJson.php -%%WWWDIR%%/app/controllers/CControllerHintBox.php -%%WWWDIR%%/app/controllers/CControllerDashboardDelete.php -%%WWWDIR%%/app/controllers/CControllerDashboardList.php -%%WWWDIR%%/app/controllers/CControllerDashboardPropertiesCheck.php -%%WWWDIR%%/app/controllers/CControllerDashboardPropertiesEdit.php -%%WWWDIR%%/app/controllers/CControllerDashboardShareEdit.php -%%WWWDIR%%/app/controllers/CControllerDashboardShareUpdate.php -%%WWWDIR%%/app/controllers/CControllerDashboardUpdate.php -%%WWWDIR%%/app/controllers/CControllerDashboardView.php -%%WWWDIR%%/app/controllers/CControllerDashboardWidgetCheck.php -%%WWWDIR%%/app/controllers/CControllerDashboardWidgetConfigure.php -%%WWWDIR%%/app/controllers/CControllerDashboardWidgetEdit.php -%%WWWDIR%%/app/controllers/CControllerDashboardWidgetRfRate.php -%%WWWDIR%%/app/controllers/CControllerDashboardWidgetSanitize.php -%%WWWDIR%%/app/controllers/CControllerDiscoveryView.php -%%WWWDIR%%/app/controllers/CControllerExport.php -%%WWWDIR%%/app/controllers/CControllerFavouriteCreate.php -%%WWWDIR%%/app/controllers/CControllerFavouriteDelete.php -%%WWWDIR%%/app/controllers/CControllerGuiEdit.php -%%WWWDIR%%/app/controllers/CControllerGuiUpdate.php -%%WWWDIR%%/app/controllers/CControllerHost.php -%%WWWDIR%%/app/controllers/CControllerHostDashboardView.php -%%WWWDIR%%/app/controllers/CControllerHostMacrosList.php -%%WWWDIR%%/app/controllers/CControllerHostView.php -%%WWWDIR%%/app/controllers/CControllerHostViewRefresh.php -%%WWWDIR%%/app/controllers/CControllerHousekeepingEdit.php -%%WWWDIR%%/app/controllers/CControllerHousekeepingUpdate.php -%%WWWDIR%%/app/controllers/CControllerIconMapCreate.php -%%WWWDIR%%/app/controllers/CControllerIconMapDelete.php -%%WWWDIR%%/app/controllers/CControllerIconMapEdit.php -%%WWWDIR%%/app/controllers/CControllerIconMapList.php -%%WWWDIR%%/app/controllers/CControllerIconMapUpdate.php -%%WWWDIR%%/app/controllers/CControllerImageCreate.php -%%WWWDIR%%/app/controllers/CControllerImageDelete.php -%%WWWDIR%%/app/controllers/CControllerImageEdit.php -%%WWWDIR%%/app/controllers/CControllerImageList.php -%%WWWDIR%%/app/controllers/CControllerImageUpdate.php -%%WWWDIR%%/app/controllers/CControllerLatest.php -%%WWWDIR%%/app/controllers/CControllerLatestView.php -%%WWWDIR%%/app/controllers/CControllerLatestViewRefresh.php -%%WWWDIR%%/app/controllers/CControllerMacrosEdit.php -%%WWWDIR%%/app/controllers/CControllerMacrosUpdate.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/CControllerMenuPopup.php -%%WWWDIR%%/app/controllers/CControllerMiscConfigEdit.php -%%WWWDIR%%/app/controllers/CControllerMiscConfigUpdate.php -%%WWWDIR%%/app/controllers/CControllerModuleEdit.php -%%WWWDIR%%/app/controllers/CControllerModuleList.php -%%WWWDIR%%/app/controllers/CControllerModuleScan.php -%%WWWDIR%%/app/controllers/CControllerModuleUpdate.php -%%WWWDIR%%/app/controllers/CControllerNotificationsGet.php -%%WWWDIR%%/app/controllers/CControllerNotificationsMute.php -%%WWWDIR%%/app/controllers/CControllerNotificationsRead.php -%%WWWDIR%%/app/controllers/CControllerPopup.php -%%WWWDIR%%/app/controllers/CControllerPopupAcknowledgeCreate.php -%%WWWDIR%%/app/controllers/CControllerPopupAcknowledgeEdit.php -%%WWWDIR%%/app/controllers/CControllerPopupConditionActions.php -%%WWWDIR%%/app/controllers/CControllerPopupConditionCommon.php -%%WWWDIR%%/app/controllers/CControllerPopupConditionEventCorr.php -%%WWWDIR%%/app/controllers/CControllerPopupConditionOperations.php -%%WWWDIR%%/app/controllers/CControllerPopupDiscoveryCheck.php -%%WWWDIR%%/app/controllers/CControllerPopupGeneric.php -%%WWWDIR%%/app/controllers/CControllerPopupHttpStep.php -%%WWWDIR%%/app/controllers/CControllerPopupItemTest.php -%%WWWDIR%%/app/controllers/CControllerPopupItemTestEdit.php -%%WWWDIR%%/app/controllers/CControllerPopupItemTestGetValue.php -%%WWWDIR%%/app/controllers/CControllerPopupItemTestSend.php -%%WWWDIR%%/app/controllers/CControllerPopupLldOperation.php -%%WWWDIR%%/app/controllers/CControllerPopupLldOverride.php -%%WWWDIR%%/app/controllers/CControllerPopupMaintenancePeriod.php -%%WWWDIR%%/app/controllers/CControllerPopupMedia.php -%%WWWDIR%%/app/controllers/CControllerPopupMediatypeMessage.php -%%WWWDIR%%/app/controllers/CControllerPopupMediatypeTestEdit.php -%%WWWDIR%%/app/controllers/CControllerPopupMediatypeTestSend.php -%%WWWDIR%%/app/controllers/CControllerPopupScriptExec.php -%%WWWDIR%%/app/controllers/CControllerPopupServices.php -%%WWWDIR%%/app/controllers/CControllerPopupTabFilterDelete.php -%%WWWDIR%%/app/controllers/CControllerPopupTabFilterEdit.php -%%WWWDIR%%/app/controllers/CControllerPopupTabFilterUpdate.php -%%WWWDIR%%/app/controllers/CControllerPopupTestTriggerExpr.php -%%WWWDIR%%/app/controllers/CControllerPopupTriggerExpr.php -%%WWWDIR%%/app/controllers/CControllerPopupTriggerWizard.php -%%WWWDIR%%/app/controllers/CControllerProblem.php -%%WWWDIR%%/app/controllers/CControllerProblemView.php -%%WWWDIR%%/app/controllers/CControllerProblemViewRefresh.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/CControllerRegExCreate.php -%%WWWDIR%%/app/controllers/CControllerRegExDelete.php -%%WWWDIR%%/app/controllers/CControllerRegExEdit.php -%%WWWDIR%%/app/controllers/CControllerRegExList.php -%%WWWDIR%%/app/controllers/CControllerRegExTest.php -%%WWWDIR%%/app/controllers/CControllerRegExUpdate.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/CControllerSearch.php -%%WWWDIR%%/app/controllers/CControllerSystemWarning.php -%%WWWDIR%%/app/controllers/CControllerTabFilterProfileUpdate.php -%%WWWDIR%%/app/controllers/CControllerTemplateDashboardDelete.php -%%WWWDIR%%/app/controllers/CControllerTemplateDashboardEdit.php -%%WWWDIR%%/app/controllers/CControllerTemplateDashboardList.php -%%WWWDIR%%/app/controllers/CControllerTemplateDashboardUpdate.php -%%WWWDIR%%/app/controllers/CControllerTimeSelectorUpdate.php -%%WWWDIR%%/app/controllers/CControllerTrigDisplayEdit.php -%%WWWDIR%%/app/controllers/CControllerTrigDisplayUpdate.php -%%WWWDIR%%/app/controllers/CControllerUserCreate.php -%%WWWDIR%%/app/controllers/CControllerUserDelete.php -%%WWWDIR%%/app/controllers/CControllerUserEdit.php -%%WWWDIR%%/app/controllers/CControllerUserEditGeneral.php -%%WWWDIR%%/app/controllers/CControllerUsergroupCreate.php -%%WWWDIR%%/app/controllers/CControllerUsergroupDelete.php -%%WWWDIR%%/app/controllers/CControllerUsergroupEdit.php -%%WWWDIR%%/app/controllers/CControllerUsergroupGrouprightAdd.php -%%WWWDIR%%/app/controllers/CControllerUsergroupList.php -%%WWWDIR%%/app/controllers/CControllerUsergroupMassUpdate.php -%%WWWDIR%%/app/controllers/CControllerUsergroupTagfilterAdd.php -%%WWWDIR%%/app/controllers/CControllerUsergroupUpdate.php -%%WWWDIR%%/app/controllers/CControllerUserList.php -%%WWWDIR%%/app/controllers/CControllerUserProfileEdit.php -%%WWWDIR%%/app/controllers/CControllerUserProfileUpdate.php -%%WWWDIR%%/app/controllers/CControllerUserroleCreate.php -%%WWWDIR%%/app/controllers/CControllerUserroleDelete.php -%%WWWDIR%%/app/controllers/CControllerUserroleEdit.php -%%WWWDIR%%/app/controllers/CControllerUserroleEditGeneral.php -%%WWWDIR%%/app/controllers/CControllerUserroleList.php -%%WWWDIR%%/app/controllers/CControllerUserroleUpdate.php -%%WWWDIR%%/app/controllers/CControllerUserUnblock.php -%%WWWDIR%%/app/controllers/CControllerUserUpdate.php -%%WWWDIR%%/app/controllers/CControllerUserUpdateGeneral.php -%%WWWDIR%%/app/controllers/CControllerValuemapCreate.php -%%WWWDIR%%/app/controllers/CControllerValuemapDelete.php -%%WWWDIR%%/app/controllers/CControllerValuemapEdit.php -%%WWWDIR%%/app/controllers/CControllerValuemapList.php -%%WWWDIR%%/app/controllers/CControllerValuemapUpdate.php -%%WWWDIR%%/app/controllers/CControllerWebView.php -%%WWWDIR%%/app/controllers/CControllerWidget.php -%%WWWDIR%%/app/controllers/CControllerWidgetActionLogView.php -%%WWWDIR%%/app/controllers/CControllerWidgetClockView.php -%%WWWDIR%%/app/controllers/CControllerWidgetDataOverView.php -%%WWWDIR%%/app/controllers/CControllerWidgetDiscoveryView.php -%%WWWDIR%%/app/controllers/CControllerWidgetFavGraphsView.php -%%WWWDIR%%/app/controllers/CControllerWidgetFavMapsView.php -%%WWWDIR%%/app/controllers/CControllerWidgetFavScreensView.php -%%WWWDIR%%/app/controllers/CControllerWidgetGraphView.php -%%WWWDIR%%/app/controllers/CControllerWidgetHostAvailView.php -%%WWWDIR%%/app/controllers/CControllerWidgetIterator.php -%%WWWDIR%%/app/controllers/CControllerWidgetIteratorGraphPrototypeView.php -%%WWWDIR%%/app/controllers/CControllerWidgetMapView.php -%%WWWDIR%%/app/controllers/CControllerWidgetNavTreeItemEdit.php -%%WWWDIR%%/app/controllers/CControllerWidgetNavTreeItemUpdate.php -%%WWWDIR%%/app/controllers/CControllerWidgetNavTreeView.php -%%WWWDIR%%/app/controllers/CControllerWidgetPlainTextView.php -%%WWWDIR%%/app/controllers/CControllerWidgetProblemHostsView.php -%%WWWDIR%%/app/controllers/CControllerWidgetProblemsBySvView.php -%%WWWDIR%%/app/controllers/CControllerWidgetProblemsView.php -%%WWWDIR%%/app/controllers/CControllerWidgetSvgGraphView.php -%%WWWDIR%%/app/controllers/CControllerWidgetSystemInfoView.php -%%WWWDIR%%/app/controllers/CControllerWidgetTrigOverView.php -%%WWWDIR%%/app/controllers/CControllerWidgetUrlView.php -%%WWWDIR%%/app/controllers/CControllerWidgetWebView.php -%%WWWDIR%%/app/partials/administration.usergroup.grouprights.html.php -%%WWWDIR%%/app/partials/administration.usergroup.tagfilters.html.php -%%WWWDIR%%/app/partials/common.filter.trigger.php -%%WWWDIR%%/app/partials/configuration.tags.tab.php -%%WWWDIR%%/app/partials/dataoverview.table.left.php -%%WWWDIR%%/app/partials/dataoverview.table.top.php -%%WWWDIR%%/app/partials/hostmacros.inherited.list.html.php -%%WWWDIR%%/app/partials/hostmacros.list.html.php -%%WWWDIR%%/app/partials/js/common.filter.trigger.js.php -%%WWWDIR%%/app/partials/js/configuration.tags.tab.js.php -%%WWWDIR%%/app/partials/js/massupdate.macros.tab.js.php -%%WWWDIR%%/app/partials/layout.htmlpage.aside.php -%%WWWDIR%%/app/partials/layout.htmlpage.footer.php -%%WWWDIR%%/app/partials/layout.htmlpage.header.php -%%WWWDIR%%/app/partials/massupdate.macros.tab.php -%%WWWDIR%%/app/partials/monitoring.host.filter.php -%%WWWDIR%%/app/partials/monitoring.host.view.html.php -%%WWWDIR%%/app/partials/monitoring.latest.view.html.php -%%WWWDIR%%/app/partials/monitoring.problem.filter.php -%%WWWDIR%%/app/partials/popup.operations.php -%%WWWDIR%%/app/partials/timeselector.filter.php -%%WWWDIR%%/app/partials/trigoverview.table.left.php *** 1105 LINES SKIPPED ***