summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2003-05-15 11:49:10 +0000
committerMichael Landin <mich@FreeBSD.org>2003-05-15 11:49:10 +0000
commiteb68dd5ae4c41968187a037dc90cbbd8cef383d7 (patch)
treeb163f643bd7a6a2706be3b5bf61a2390026ec737 /net
parentNew port. (diff)
New port.
A Web-based graphical ping log PR: 50772 Approved by: roberto(mentor)
Notes
Notes: svn path=/head/; revision=81026
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/wping/Makefile35
-rw-r--r--net/wping/distinfo1
-rw-r--r--net/wping/pkg-descr10
-rw-r--r--net/wping/pkg-plist2
5 files changed, 49 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index e57aa7cdb78b..7f00ab75b48d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -690,6 +690,7 @@
SUBDIR += wmq3
SUBDIR += wmwave
SUBDIR += wol
+ SUBDIR += wping
SUBDIR += xarchie
SUBDIR += xbms
SUBDIR += xbone
diff --git a/net/wping/Makefile b/net/wping/Makefile
new file mode 100644
index 000000000000..31751f9f92c6
--- /dev/null
+++ b/net/wping/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: wping
+# Date created: Apr 9th 2003
+# Whom: Michael L. Hostbaek <mich@freebsdcluster.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wping
+PORTVERSION= 0.1a
+CATEGORIES= net
+MASTER_SITES= http://www.x-router.com/files/
+
+MAINTAINER= mich@freebsdcluster.org
+COMMENT= A Web-based graphical ping log
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+
+USE_BZIP2= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/wping.pl ${PREFIX}/bin/wping
+ ${INSTALL_DATA} ${WRKSRC}/wping.conf ${PREFIX}/etc/wping.conf.sample
+
+.include <bsd.port.pre.mk>
+
+##
+## this port requires PERL 5.8.x or later
+##
+.if ${PERL_LEVEL} < 500800
+IGNORE= Port requires perl 5.8.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/wping/distinfo b/net/wping/distinfo
new file mode 100644
index 000000000000..573f4923b42d
--- /dev/null
+++ b/net/wping/distinfo
@@ -0,0 +1 @@
+MD5 (wping-0.1a.tar.bz2) = b7a6e59a2b60a36ecaaaa73fe57cad36
diff --git a/net/wping/pkg-descr b/net/wping/pkg-descr
new file mode 100644
index 000000000000..e0085b2eb6df
--- /dev/null
+++ b/net/wping/pkg-descr
@@ -0,0 +1,10 @@
+wping is a Web-based graphical ping log. It logs ping response times to a
+user-defined list of hosts and produces a Web page that contains a current
+ping graph and a historic ping graph over a specified time period. Ping
+response times are averaged in order to give a smooth reading.
+
+WWW: http://www.x-router.com/
+AUTHOR: <richard@x-router.com>
+
+ - Michael L. Hostbaek
+ <mich@freebsdcluster.org>
diff --git a/net/wping/pkg-plist b/net/wping/pkg-plist
new file mode 100644
index 000000000000..43957dfb16a3
--- /dev/null
+++ b/net/wping/pkg-plist
@@ -0,0 +1,2 @@
+bin/wping
+etc/wping.conf.sample