aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mrtg-ping-probe
diff options
context:
space:
mode:
authorMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2004-01-18 00:00:55 +0000
committerMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2004-01-18 00:00:55 +0000
commit1d6dc1669e718fc66706a764e96ee817e3214894 (patch)
tree712ffe0700d7ccf27dfd549761c754322b34c160 /net-mgmt/mrtg-ping-probe
parent049b021f4a4045fbee31c7c3510850e720c605a7 (diff)
downloadports-1d6dc1669e718fc66706a764e96ee817e3214894.tar.gz
ports-1d6dc1669e718fc66706a764e96ee817e3214894.zip
Notes
Diffstat (limited to 'net-mgmt/mrtg-ping-probe')
-rw-r--r--net-mgmt/mrtg-ping-probe/Makefile33
-rw-r--r--net-mgmt/mrtg-ping-probe/distinfo1
-rw-r--r--net-mgmt/mrtg-ping-probe/files/patch-aa8
-rw-r--r--net-mgmt/mrtg-ping-probe/files/patch-ab17
-rw-r--r--net-mgmt/mrtg-ping-probe/pkg-descr9
-rw-r--r--net-mgmt/mrtg-ping-probe/pkg-plist3
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 000000000000..fb8dd14f92fc
--- /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 000000000000..2d703e2c7801
--- /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 000000000000..d9e81c42c8a7
--- /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 000000000000..f16832bbc659
--- /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 000000000000..7ae2841fb75e
--- /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 000000000000..abef662a5bd1
--- /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