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:
parent
049b021f4a
commit
1d6dc1669e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98439
33
net-mgmt/mrtg-ping-probe/Makefile
Normal file
33
net-mgmt/mrtg-ping-probe/Makefile
Normal 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>
|
1
net-mgmt/mrtg-ping-probe/distinfo
Normal file
1
net-mgmt/mrtg-ping-probe/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (mrtg-ping-probe-2.2.0.tar.gz) = 5eec5bc5f1c5097248c701d54639d292
|
8
net-mgmt/mrtg-ping-probe/files/patch-aa
Normal file
8
net-mgmt/mrtg-ping-probe/files/patch-aa
Normal 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 $
|
17
net-mgmt/mrtg-ping-probe/files/patch-ab
Normal file
17
net-mgmt/mrtg-ping-probe/files/patch-ab
Normal 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
|
9
net-mgmt/mrtg-ping-probe/pkg-descr
Normal file
9
net-mgmt/mrtg-ping-probe/pkg-descr
Normal 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>
|
3
net-mgmt/mrtg-ping-probe/pkg-plist
Normal file
3
net-mgmt/mrtg-ping-probe/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
bin/mrtg-ping-cfg
|
||||||
|
bin/mrtg-ping-probe
|
||||||
|
etc/mrtg/mrtg.cfg-ping
|
@ -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
|
||||||
|
33
net/mrtg-ping-probe/Makefile
Normal file
33
net/mrtg-ping-probe/Makefile
Normal 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>
|
1
net/mrtg-ping-probe/distinfo
Normal file
1
net/mrtg-ping-probe/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (mrtg-ping-probe-2.2.0.tar.gz) = 5eec5bc5f1c5097248c701d54639d292
|
8
net/mrtg-ping-probe/files/patch-aa
Normal file
8
net/mrtg-ping-probe/files/patch-aa
Normal 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 $
|
17
net/mrtg-ping-probe/files/patch-ab
Normal file
17
net/mrtg-ping-probe/files/patch-ab
Normal 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
|
9
net/mrtg-ping-probe/pkg-descr
Normal file
9
net/mrtg-ping-probe/pkg-descr
Normal 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>
|
3
net/mrtg-ping-probe/pkg-plist
Normal file
3
net/mrtg-ping-probe/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
bin/mrtg-ping-cfg
|
||||||
|
bin/mrtg-ping-probe
|
||||||
|
etc/mrtg/mrtg.cfg-ping
|
Loading…
Reference in New Issue
Block a user