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.
This commit is contained in:
Mark Felder 2015-05-27 16:26:13 +00:00
parent cf68df85e2
commit 1772b156cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387636
2 changed files with 4 additions and 3 deletions

View File

@ -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}

View File

@ -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