aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-05-28 00:26:13 +0800
committerfeld <feld@FreeBSD.org>2015-05-28 00:26:13 +0800
commit211a5609242bf12dcd01c6b221450cfbc0bb0961 (patch)
treecf0d97e9210680602e69c14f237cb32fbd55e131 /net-mgmt
parente03084f1a09ed90c619ce312b94a96e596312449 (diff)
downloadfreebsd-ports-gnome-211a5609242bf12dcd01c6b221450cfbc0bb0961.tar.gz
freebsd-ports-gnome-211a5609242bf12dcd01c6b221450cfbc0bb0961.tar.zst
freebsd-ports-gnome-211a5609242bf12dcd01c6b221450cfbc0bb0961.zip
Remove xymonping and replace with symlink to fping
xymonping has been deprecated for a few years and fping is a drop-in replacement. A symlink is provided so old configurations are not broken.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/xymon-server/Makefile5
-rw-r--r--net-mgmt/xymon-server/pkg-plist2
2 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile
index 9bec9c73f635..d8d1c6090a77 100644
--- a/net-mgmt/xymon-server/Makefile
+++ b/net-mgmt/xymon-server/Makefile
@@ -2,7 +2,7 @@
PORTNAME= xymon
PORTVERSION= 4.3.21
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net-mgmt www
MASTER_SITES= SF/xymon/Xymon/${PORTVERSION}
PKGNAMESUFFIX= -server${PKGNAMESUFFIX2}
@@ -71,6 +71,8 @@ post-patch:
${REINPLACE_CMD} -e 's|install-docs install-client|install-docs|' ${WRKSRC}/build/Makefile.rules
${REINPLACE_CMD} -e 's|$(INSTALLETCDIR)/protocols.cfg|$(INSTALLETCDIR)/protocols.cfg.DIST|' ${WRKSRC}/xymonnet/Makefile
${REINPLACE_CMD} -e 's|TRACEROUTE="traceroute"|TRACEROUTE="mtr -c 2 -n --report"|' ${WRKSRC}/xymond/etcfiles/xymonserver.cfg.DIST
+ ${RM} ${WRKSRC}/docs/manpages/man1/xymonping.1.html
+ ${RM} ${WRKSRC}/xymonnet/xymonping.1
# Configure script is interactive
do-configure:
@@ -78,6 +80,7 @@ do-configure:
post-install:
${MKDIR} ${STAGEDIR}${WWWDIR}/server/etc
+ ${LN} -s ${LOCALBASE}/sbin/fping ${STAGEDIR}${WWWDIR}/server/bin/xymonping
${INSTALL_SCRIPT} ${WRKSRC}/build/upgrade430.sh ${STAGEDIR}${WWWDIR}/server/bin/
${INSTALL_PROGRAM} ${WRKSRC}/build/renamevars ${STAGEDIR}${WWWDIR}/server/bin/
.for i in ${FIXME1}
diff --git a/net-mgmt/xymon-server/pkg-plist b/net-mgmt/xymon-server/pkg-plist
index 9b54620ce55e..dc855b4f9a62 100644
--- a/net-mgmt/xymon-server/pkg-plist
+++ b/net-mgmt/xymon-server/pkg-plist
@@ -30,7 +30,6 @@ man/man1/xymongrep.1
man/man1/xymonnet-again.sh.1
man/man1/xymonnet.1
man/man1/xymonpage.cgi.1
-man/man1/xymonping.1
man/man5/alerts.cfg.5
man/man5/analysis.cfg.5
man/man5/cgioptions.cfg.5
@@ -367,7 +366,6 @@ man/man8/xymonproxy.8
%%WWWDIR%%/server/www/help/manpages/man1/xymonnet-again.sh.1.html
%%WWWDIR%%/server/www/help/manpages/man1/xymonnet.1.html
%%WWWDIR%%/server/www/help/manpages/man1/xymonpage.cgi.1.html
-%%WWWDIR%%/server/www/help/manpages/man1/xymonping.1.html
%%WWWDIR%%/server/www/help/manpages/man5/alerts.cfg.5.html
%%WWWDIR%%/server/www/help/manpages/man5/analysis.cfg.5.html
%%WWWDIR%%/server/www/help/manpages/man5/client-local.cfg.5.html