Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2015 16:26:13 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r387636 - head/net-mgmt/xymon-server
Message-ID:  <201505271626.t4RGQDic085017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Wed May 27 16:26:13 2015
New Revision: 387636
URL: https://svnweb.freebsd.org/changeset/ports/387636

Log:
  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.

Modified:
  head/net-mgmt/xymon-server/Makefile
  head/net-mgmt/xymon-server/pkg-plist

Modified: head/net-mgmt/xymon-server/Makefile
==============================================================================
--- head/net-mgmt/xymon-server/Makefile	Wed May 27 16:22:26 2015	(r387635)
+++ head/net-mgmt/xymon-server/Makefile	Wed May 27 16:26:13 2015	(r387636)
@@ -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}

Modified: head/net-mgmt/xymon-server/pkg-plist
==============================================================================
--- head/net-mgmt/xymon-server/pkg-plist	Wed May 27 16:22:26 2015	(r387635)
+++ head/net-mgmt/xymon-server/pkg-plist	Wed May 27 16:26:13 2015	(r387636)
@@ -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



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