Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2017 20:10:26 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438118 - in head/net-mgmt: zabbix22-frontend zabbix22-server zabbix22-server/files
Message-ID:  <201704092010.v39KAQK6016140@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Apr  9 20:10:26 2017
New Revision: 438118
URL: https://svnweb.freebsd.org/changeset/ports/438118

Log:
  - Update to 2.2.17
  
  PR:		215320
  Submitted by:	pg@pakhom.spb.ru

Modified:
  head/net-mgmt/zabbix22-frontend/Makefile
  head/net-mgmt/zabbix22-server/Makefile
  head/net-mgmt/zabbix22-server/distinfo
  head/net-mgmt/zabbix22-server/files/zabbix_agentd.in
  head/net-mgmt/zabbix22-server/files/zabbix_proxy.in
  head/net-mgmt/zabbix22-server/files/zabbix_server.in

Modified: head/net-mgmt/zabbix22-frontend/Makefile
==============================================================================
--- head/net-mgmt/zabbix22-frontend/Makefile	Sun Apr  9 20:05:37 2017	(r438117)
+++ head/net-mgmt/zabbix22-frontend/Makefile	Sun Apr  9 20:10:26 2017	(r438118)
@@ -14,7 +14,7 @@ PLIST=		${PKGDIR}/pkg-plist.frontend
 
 USE_PHP=	bcmath ctype gd pcre snmp sockets mbstring session dom xml \
 		xmlreader xmlwriter simplexml gettext ldap
-WANT_PHP_WEB=	yes
+USES+=		php:web
 
 OPTIONS_DEFINE=	MYSQL MYSQLI PGSQL SQLITE ORACLE
 OPTIONS_DEFAULT=	MYSQL MYSQLI

Modified: head/net-mgmt/zabbix22-server/Makefile
==============================================================================
--- head/net-mgmt/zabbix22-server/Makefile	Sun Apr  9 20:05:37 2017	(r438117)
+++ head/net-mgmt/zabbix22-server/Makefile	Sun Apr  9 20:10:26 2017	(r438118)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	zabbix22
-PORTVERSION=	2.2.15
+PORTVERSION=	2.2.17
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION}
 PKGNAMESUFFIX?=	-server

Modified: head/net-mgmt/zabbix22-server/distinfo
==============================================================================
--- head/net-mgmt/zabbix22-server/distinfo	Sun Apr  9 20:05:37 2017	(r438117)
+++ head/net-mgmt/zabbix22-server/distinfo	Sun Apr  9 20:10:26 2017	(r438118)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475755867
-SHA256 (zabbix-2.2.15.tar.gz) = 1dc370a04bc42bf21cdedc2dd53de051ac4a61d20ae83cd7c6e1cdd9c574f653
-SIZE (zabbix-2.2.15.tar.gz) = 15487398
+TIMESTAMP = 1489335489
+SHA256 (zabbix-2.2.17.tar.gz) = cf42c5db31c27466a9ec33b6bf22289bbc43ee4e5711e6d323d71644b743e535
+SIZE (zabbix-2.2.17.tar.gz) = 15494053

Modified: head/net-mgmt/zabbix22-server/files/zabbix_agentd.in
==============================================================================
--- head/net-mgmt/zabbix22-server/files/zabbix_agentd.in	Sun Apr  9 20:05:37 2017	(r438117)
+++ head/net-mgmt/zabbix22-server/files/zabbix_agentd.in	Sun Apr  9 20:10:26 2017	(r438118)
@@ -11,8 +11,10 @@
 #         enable zabbix_agentd.
 # zabbix_agentd_config (string): Set to the standard config file path by
 #         default.
-# zabbix_agentd_pidfile (string):    Location of the zabbix_agentd pid file
+# 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
@@ -25,10 +27,12 @@ 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
@@ -52,4 +56,9 @@ zabbix_agentd_precmd()
 	rc_pid=$(check_pidfile ${pidfile} ${command})
 }
 
+zabbix_agentd_cmd()
+{
+	PATH=$zabbix_agentd_paths $command -c $zabbix_agentd_config
+}
+
 run_rc_command "$1"

Modified: head/net-mgmt/zabbix22-server/files/zabbix_proxy.in
==============================================================================
--- head/net-mgmt/zabbix22-server/files/zabbix_proxy.in	Sun Apr  9 20:05:37 2017	(r438117)
+++ head/net-mgmt/zabbix22-server/files/zabbix_proxy.in	Sun Apr  9 20:10:26 2017	(r438118)
@@ -15,6 +15,8 @@
 #         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
@@ -31,6 +33,7 @@ load_rc_config $name
 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
@@ -54,4 +57,9 @@ zabbix_proxy_precmd()
 	rc_pid=$(check_pidfile ${pidfile} ${command})
 }
 
+zabbix_proxy_cmd()
+{
+	PATH=$zabbix_proxy_paths $command -c $zabbix_proxy_config
+}
+
 run_rc_command "$1"

Modified: head/net-mgmt/zabbix22-server/files/zabbix_server.in
==============================================================================
--- head/net-mgmt/zabbix22-server/files/zabbix_server.in	Sun Apr  9 20:05:37 2017	(r438117)
+++ head/net-mgmt/zabbix22-server/files/zabbix_server.in	Sun Apr  9 20:10:26 2017	(r438118)
@@ -15,6 +15,8 @@
 #         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
@@ -27,10 +29,12 @@ 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
@@ -54,4 +58,9 @@ zabbix_server_precmd()
 	rc_pid=$(check_pidfile ${pidfile} ${command})
 }
 
+zabbix_server_cmd()
+{
+	PATH=$zabbix_server_paths $command -c $zabbix_server_config
+}
+
 run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704092010.v39KAQK6016140>