diff options
author | sahil <sahil@FreeBSD.org> | 2010-05-05 12:07:00 +0800 |
---|---|---|
committer | sahil <sahil@FreeBSD.org> | 2010-05-05 12:07:00 +0800 |
commit | aa548660001eca2915f7f4bd6fad0033c865b619 (patch) | |
tree | 34a254fe20658f3d86e57de7124a66671b1d8cc2 /net-mgmt | |
parent | 887418178d7356dca1a4033eb5fa7f464c5e67d4 (diff) | |
download | freebsd-ports-gnome-aa548660001eca2915f7f4bd6fad0033c865b619.tar.gz freebsd-ports-gnome-aa548660001eca2915f7f4bd6fad0033c865b619.tar.zst freebsd-ports-gnome-aa548660001eca2915f7f4bd6fad0033c865b619.zip |
- Fix fping location in sample conf files
PR: ports/145606
Submitted by: Jim Riggs <ports@christianserving.org> (maintainer)
Approved by: itetcu@ (mentor)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/zabbix-server/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/zabbix2-server/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net-mgmt/zabbix-server/Makefile b/net-mgmt/zabbix-server/Makefile index 7965b95bcb5c..f77173543e98 100644 --- a/net-mgmt/zabbix-server/Makefile +++ b/net-mgmt/zabbix-server/Makefile @@ -110,6 +110,7 @@ post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' \ && ${FIND} ${WRKSRC} -type f -name '*.bak' -exec ${RM} -f {} + + @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' ${WRKSRC}/misc/conf/${PORTNAME}_*.conf .if ${ZABBIX_BUILD} != "agent" .ifdef WITHOUT_FPING diff --git a/net-mgmt/zabbix2-server/Makefile b/net-mgmt/zabbix2-server/Makefile index 7965b95bcb5c..f77173543e98 100644 --- a/net-mgmt/zabbix2-server/Makefile +++ b/net-mgmt/zabbix2-server/Makefile @@ -110,6 +110,7 @@ post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' \ && ${FIND} ${WRKSRC} -type f -name '*.bak' -exec ${RM} -f {} + + @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' ${WRKSRC}/misc/conf/${PORTNAME}_*.conf .if ${ZABBIX_BUILD} != "agent" .ifdef WITHOUT_FPING |