diff options
author | sanpei <sanpei@FreeBSD.org> | 2004-01-18 08:00:55 +0800 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2004-01-18 08:00:55 +0800 |
commit | fb53a467efe01f3a3e3ad15313e580172c9e8fc5 (patch) | |
tree | 357f14a67510d8f36ac9829c0967ca6ea95bf57e /net | |
parent | 1010abeadc2ae1170ca9fbb791bf0e45f5fc7ff7 (diff) | |
download | freebsd-ports-gnome-fb53a467efe01f3a3e3ad15313e580172c9e8fc5.tar.gz freebsd-ports-gnome-fb53a467efe01f3a3e3ad15313e580172c9e8fc5.tar.zst freebsd-ports-gnome-fb53a467efe01f3a3e3ad15313e580172c9e8fc5.zip |
Add mrtg-ping-probe, A Round Trip Time and Packet Loss Probe for MRTG
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/mrtg-ping-probe/Makefile | 33 | ||||
-rw-r--r-- | net/mrtg-ping-probe/distinfo | 1 | ||||
-rw-r--r-- | net/mrtg-ping-probe/files/patch-aa | 8 | ||||
-rw-r--r-- | net/mrtg-ping-probe/files/patch-ab | 17 | ||||
-rw-r--r-- | net/mrtg-ping-probe/pkg-descr | 9 | ||||
-rw-r--r-- | net/mrtg-ping-probe/pkg-plist | 3 |
7 files changed, 72 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 8fe9bf833b82..07d516bf2b0a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -357,6 +357,7 @@ SUBDIR += mpich SUBDIR += mrt SUBDIR += mrtg + SUBDIR += mrtg-ping-probe SUBDIR += msend SUBDIR += msntp SUBDIR += mtr diff --git a/net/mrtg-ping-probe/Makefile b/net/mrtg-ping-probe/Makefile new file mode 100644 index 000000000000..fb8dd14f92fc --- /dev/null +++ b/net/mrtg-ping-probe/Makefile @@ -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> diff --git a/net/mrtg-ping-probe/distinfo b/net/mrtg-ping-probe/distinfo new file mode 100644 index 000000000000..2d703e2c7801 --- /dev/null +++ b/net/mrtg-ping-probe/distinfo @@ -0,0 +1 @@ +MD5 (mrtg-ping-probe-2.2.0.tar.gz) = 5eec5bc5f1c5097248c701d54639d292 diff --git a/net/mrtg-ping-probe/files/patch-aa b/net/mrtg-ping-probe/files/patch-aa new file mode 100644 index 000000000000..d9e81c42c8a7 --- /dev/null +++ b/net/mrtg-ping-probe/files/patch-aa @@ -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 $ diff --git a/net/mrtg-ping-probe/files/patch-ab b/net/mrtg-ping-probe/files/patch-ab new file mode 100644 index 000000000000..f16832bbc659 --- /dev/null +++ b/net/mrtg-ping-probe/files/patch-ab @@ -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 diff --git a/net/mrtg-ping-probe/pkg-descr b/net/mrtg-ping-probe/pkg-descr new file mode 100644 index 000000000000..7ae2841fb75e --- /dev/null +++ b/net/mrtg-ping-probe/pkg-descr @@ -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> diff --git a/net/mrtg-ping-probe/pkg-plist b/net/mrtg-ping-probe/pkg-plist new file mode 100644 index 000000000000..abef662a5bd1 --- /dev/null +++ b/net/mrtg-ping-probe/pkg-plist @@ -0,0 +1,3 @@ +bin/mrtg-ping-cfg +bin/mrtg-ping-probe +etc/mrtg/mrtg.cfg-ping |