From ae91bb053a2cce822e55256995b1b011d64adb05 Mon Sep 17 00:00:00 2001 From: dbaio Date: Thu, 22 Feb 2018 17:08:46 +0000 Subject: net-mgmt/zabbix*: Fix fping location Zabbix ports were patching fping location only in the config file, so the default location of fping was wrong. PR: 225956 Reported by: markham_breitbach@ssimicro.com Approved by: Pakhom Golynga (maintainer) --- net-mgmt/zabbix22-server/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'net-mgmt/zabbix22-server/Makefile') diff --git a/net-mgmt/zabbix22-server/Makefile b/net-mgmt/zabbix22-server/Makefile index d7e54f76e8e9..53a47b9c2b07 100644 --- a/net-mgmt/zabbix22-server/Makefile +++ b/net-mgmt/zabbix22-server/Makefile @@ -3,7 +3,7 @@ PORTNAME= zabbix22 PORTVERSION= 2.2.21 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server @@ -130,7 +130,10 @@ LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 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 + @${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} != "agent" .if ! ${PORT_OPTIONS:MFPING} -- cgit