diff options
author | dbaio <dbaio@FreeBSD.org> | 2018-02-23 01:08:46 +0800 |
---|---|---|
committer | dbaio <dbaio@FreeBSD.org> | 2018-02-23 01:08:46 +0800 |
commit | ae91bb053a2cce822e55256995b1b011d64adb05 (patch) | |
tree | c8f431ad0c3e009ff882bc350b8b7e594f913114 /net-mgmt/zabbix22-server/Makefile | |
parent | b5ce1a4596ee35b16af2e543ee03fe6f61a01c1c (diff) | |
download | freebsd-ports-gnome-ae91bb053a2cce822e55256995b1b011d64adb05.tar.gz freebsd-ports-gnome-ae91bb053a2cce822e55256995b1b011d64adb05.tar.zst freebsd-ports-gnome-ae91bb053a2cce822e55256995b1b011d64adb05.zip |
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 <pg@pakhom.spb.ru> (maintainer)
Diffstat (limited to 'net-mgmt/zabbix22-server/Makefile')
-rw-r--r-- | net-mgmt/zabbix22-server/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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} |