1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add mrtg-ping-probe, A Round Trip Time and Packet Loss Probe for MRTG

This commit is contained in:
MIHIRA Sanpei Yoshiro 2004-01-18 00:00:55 +00:00
parent 049b021f4a
commit 1d6dc1669e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98439
13 changed files with 143 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: mrng-cfgtg-ping-probe
# Date created: 17 Jan 2004
# Whom: sanpei@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= mrtg-ping-probe
PORTVERSION= 2.2.0
CATEGORIES= net
MASTER_SITES= ftp://ftp.pwo.de/pub/pwo/mrtg/${PORTNAME}/
MAINTAINER= sanpei@FreeBSD.org
COMMENT= A Round Trip Time and Packet Loss Probe for MRTG
RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:${PORTSDIR}/net/mrtg
USE_PERL5= YES
USE_REINPLACE= yes
MAN1= ${PORTNAME}.1
post-patch:
@${REINPLACE_CMD} -e 's|%%PERL%%|${PERL5}|' ${WRKSRC}/${PORTNAME}
@${CHMOD} +x ${WRKSRC}/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${PREFIX}/etc/mrtg
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (mrtg-ping-probe-2.2.0.tar.gz) = 5eec5bc5f1c5097248c701d54639d292

View File

@ -0,0 +1,8 @@
--- mrtg-ping-probe.org Sat Jan 17 22:27:33 2004
+++ mrtg-ping-probe Sat Jan 17 22:27:53 2004
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!%%PERL%%
##################################################################
# @(#) $Id: mrtg-ping-probe,v 2.5 2003/09/13 18:04:29 pwo Exp $
# @(#) mrtg-ping-probe release $Name: Release_2_2_0 $

View File

@ -0,0 +1,17 @@
--- mrtg-ping-cfg.org Sat Jan 17 22:28:55 2004
+++ mrtg-ping-cfg Sat Jan 17 22:35:40 2004
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/sh
#
# mrtg-ping-cfg <device> <"Title of page">
#
@@ -10,7 +10,7 @@
# IT Site Infrastructure Services
# location of mrtg ping probe
-PING_PROBE=/usr/local/httpd/mrtg/mrtg-ping-probe
+PING_PROBE=/usr/local/bin/mrtg-ping-probe
if [ $# -ne 2 ]
then

View File

@ -0,0 +1,9 @@
mrtg-ping-probe is a ping probe for MRTG 2.x. It is used to monitor
the round trip time and packet loss to networked devices. MRTG uses
its output to generate graphs visualizing minimum and maximum round
trip times or packet loss.
WWW: http://pwo.de/projects/mrtg/
Yoshiro MIHIRA
<sanpei@FreeBSD.org>

View File

@ -0,0 +1,3 @@
bin/mrtg-ping-cfg
bin/mrtg-ping-probe
etc/mrtg/mrtg.cfg-ping

View File

@ -357,6 +357,7 @@
SUBDIR += mpich SUBDIR += mpich
SUBDIR += mrt SUBDIR += mrt
SUBDIR += mrtg SUBDIR += mrtg
SUBDIR += mrtg-ping-probe
SUBDIR += msend SUBDIR += msend
SUBDIR += msntp SUBDIR += msntp
SUBDIR += mtr SUBDIR += mtr

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: mrng-cfgtg-ping-probe
# Date created: 17 Jan 2004
# Whom: sanpei@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= mrtg-ping-probe
PORTVERSION= 2.2.0
CATEGORIES= net
MASTER_SITES= ftp://ftp.pwo.de/pub/pwo/mrtg/${PORTNAME}/
MAINTAINER= sanpei@FreeBSD.org
COMMENT= A Round Trip Time and Packet Loss Probe for MRTG
RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:${PORTSDIR}/net/mrtg
USE_PERL5= YES
USE_REINPLACE= yes
MAN1= ${PORTNAME}.1
post-patch:
@${REINPLACE_CMD} -e 's|%%PERL%%|${PERL5}|' ${WRKSRC}/${PORTNAME}
@${CHMOD} +x ${WRKSRC}/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${PREFIX}/etc/mrtg
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (mrtg-ping-probe-2.2.0.tar.gz) = 5eec5bc5f1c5097248c701d54639d292

View File

@ -0,0 +1,8 @@
--- mrtg-ping-probe.org Sat Jan 17 22:27:33 2004
+++ mrtg-ping-probe Sat Jan 17 22:27:53 2004
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!%%PERL%%
##################################################################
# @(#) $Id: mrtg-ping-probe,v 2.5 2003/09/13 18:04:29 pwo Exp $
# @(#) mrtg-ping-probe release $Name: Release_2_2_0 $

View File

@ -0,0 +1,17 @@
--- mrtg-ping-cfg.org Sat Jan 17 22:28:55 2004
+++ mrtg-ping-cfg Sat Jan 17 22:35:40 2004
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/sh
#
# mrtg-ping-cfg <device> <"Title of page">
#
@@ -10,7 +10,7 @@
# IT Site Infrastructure Services
# location of mrtg ping probe
-PING_PROBE=/usr/local/httpd/mrtg/mrtg-ping-probe
+PING_PROBE=/usr/local/bin/mrtg-ping-probe
if [ $# -ne 2 ]
then

View File

@ -0,0 +1,9 @@
mrtg-ping-probe is a ping probe for MRTG 2.x. It is used to monitor
the round trip time and packet loss to networked devices. MRTG uses
its output to generate graphs visualizing minimum and maximum round
trip times or packet loss.
WWW: http://pwo.de/projects/mrtg/
Yoshiro MIHIRA
<sanpei@FreeBSD.org>

View File

@ -0,0 +1,3 @@
bin/mrtg-ping-cfg
bin/mrtg-ping-probe
etc/mrtg/mrtg.cfg-ping