diff options
author | sanpei <sanpei@FreeBSD.org> | 2004-01-18 00:00:55 +0000 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2004-01-18 00:00:55 +0000 |
commit | fb53a467efe01f3a3e3ad15313e580172c9e8fc5 (patch) | |
tree | 357f14a67510d8f36ac9829c0967ca6ea95bf57e /net-mgmt/mrtg-ping-probe | |
parent | 1010abeadc2ae1170ca9fbb791bf0e45f5fc7ff7 (diff) | |
download | FreeBSD-ports-fb53a467efe01f3a3e3ad15313e580172c9e8fc5.zip FreeBSD-ports-fb53a467efe01f3a3e3ad15313e580172c9e8fc5.tar.gz |
Add mrtg-ping-probe, A Round Trip Time and Packet Loss Probe for MRTG
Diffstat (limited to 'net-mgmt/mrtg-ping-probe')
-rw-r--r-- | net-mgmt/mrtg-ping-probe/Makefile | 33 | ||||
-rw-r--r-- | net-mgmt/mrtg-ping-probe/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/mrtg-ping-probe/files/patch-aa | 8 | ||||
-rw-r--r-- | net-mgmt/mrtg-ping-probe/files/patch-ab | 17 | ||||
-rw-r--r-- | net-mgmt/mrtg-ping-probe/pkg-descr | 9 | ||||
-rw-r--r-- | net-mgmt/mrtg-ping-probe/pkg-plist | 3 |
6 files changed, 71 insertions, 0 deletions
diff --git a/net-mgmt/mrtg-ping-probe/Makefile b/net-mgmt/mrtg-ping-probe/Makefile new file mode 100644 index 0000000..fb8dd14 --- /dev/null +++ b/net-mgmt/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-mgmt/mrtg-ping-probe/distinfo b/net-mgmt/mrtg-ping-probe/distinfo new file mode 100644 index 0000000..2d703e2 --- /dev/null +++ b/net-mgmt/mrtg-ping-probe/distinfo @@ -0,0 +1 @@ +MD5 (mrtg-ping-probe-2.2.0.tar.gz) = 5eec5bc5f1c5097248c701d54639d292 diff --git a/net-mgmt/mrtg-ping-probe/files/patch-aa b/net-mgmt/mrtg-ping-probe/files/patch-aa new file mode 100644 index 0000000..d9e81c4 --- /dev/null +++ b/net-mgmt/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-mgmt/mrtg-ping-probe/files/patch-ab b/net-mgmt/mrtg-ping-probe/files/patch-ab new file mode 100644 index 0000000..f16832b --- /dev/null +++ b/net-mgmt/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-mgmt/mrtg-ping-probe/pkg-descr b/net-mgmt/mrtg-ping-probe/pkg-descr new file mode 100644 index 0000000..7ae2841 --- /dev/null +++ b/net-mgmt/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-mgmt/mrtg-ping-probe/pkg-plist b/net-mgmt/mrtg-ping-probe/pkg-plist new file mode 100644 index 0000000..abef662 --- /dev/null +++ b/net-mgmt/mrtg-ping-probe/pkg-plist @@ -0,0 +1,3 @@ +bin/mrtg-ping-cfg +bin/mrtg-ping-probe +etc/mrtg/mrtg.cfg-ping |