From db04b3bb886121035b9bb0c5d934da1a01bc86b2 Mon Sep 17 00:00:00 2001
From: alepulver <alepulver@FreeBSD.org>
Date: Tue, 31 Oct 2006 02:46:34 +0000
Subject: wdiag is a utility to monitor Westell DSL modem diagnostics and line
 statistics. It reports SNR, Attenuation, etc for the DSL line.

WWW: http://wdiag.sourceforge.net/

PR:		ports/104231
Submitted by:	Josh Carroll <josh.carroll at gmail.com>
---
 net-mgmt/Makefile          |  1 +
 net-mgmt/wdiag/Makefile    | 19 +++++++++++++++++++
 net-mgmt/wdiag/distinfo    |  3 +++
 net-mgmt/wdiag/pkg-descr   |  4 ++++
 net-mgmt/wdiag/pkg-message |  3 +++
 net-mgmt/wdiag/pkg-plist   |  5 +++++
 6 files changed, 35 insertions(+)
 create mode 100644 net-mgmt/wdiag/Makefile
 create mode 100644 net-mgmt/wdiag/distinfo
 create mode 100644 net-mgmt/wdiag/pkg-descr
 create mode 100644 net-mgmt/wdiag/pkg-message
 create mode 100644 net-mgmt/wdiag/pkg-plist

(limited to 'net-mgmt')

diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 298e555bec3a..2a651e870160 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -198,6 +198,7 @@
     SUBDIR += tcptrack
     SUBDIR += torrus
     SUBDIR += trafd
+    SUBDIR += wdiag
     SUBDIR += weplab
     SUBDIR += whatmask
     SUBDIR += wide-dhcp
diff --git a/net-mgmt/wdiag/Makefile b/net-mgmt/wdiag/Makefile
new file mode 100644
index 000000000000..45173ae2ff87
--- /dev/null
+++ b/net-mgmt/wdiag/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for:	wdiag
+# Date created:				3 September 2006
+# Whom:					Josh Carroll <josh.carroll@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	wdiag
+PORTVERSION=	0.9
+CATEGORIES=	net-mgmt
+MASTER_SITES=	SF
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	josh.carroll@gmail.com
+COMMENT=	Utility to collect DSL line stats from Westell DSL modems
+
+WRKSRC=		${WRKDIR}/${PORTNAME}/src
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/wdiag/distinfo b/net-mgmt/wdiag/distinfo
new file mode 100644
index 000000000000..9734fac724f7
--- /dev/null
+++ b/net-mgmt/wdiag/distinfo
@@ -0,0 +1,3 @@
+MD5 (wdiag-0.9.tgz) = 26ee93f3e2353ebb5d1df5f3e50eb4fd
+SHA256 (wdiag-0.9.tgz) = 811c06fced42a1be7fd22de209ad701daff9bb945dcbd722f03a78892ca7a261
+SIZE (wdiag-0.9.tgz) = 18686
diff --git a/net-mgmt/wdiag/pkg-descr b/net-mgmt/wdiag/pkg-descr
new file mode 100644
index 000000000000..b5703604910d
--- /dev/null
+++ b/net-mgmt/wdiag/pkg-descr
@@ -0,0 +1,4 @@
+wdiag is a utility to monitor Westell DSL modem diagnostics and line
+statistics. It reports SNR, Attenuation, etc for the DSL line.
+
+WWW: http://wdiag.sourceforge.net/
diff --git a/net-mgmt/wdiag/pkg-message b/net-mgmt/wdiag/pkg-message
new file mode 100644
index 000000000000..e92cd1085172
--- /dev/null
+++ b/net-mgmt/wdiag/pkg-message
@@ -0,0 +1,3 @@
+Remember, wstart and wstop must be run as root or with the binaries setuid.
+
+westell can be run by any user that can bind to port udp/1875
diff --git a/net-mgmt/wdiag/pkg-plist b/net-mgmt/wdiag/pkg-plist
new file mode 100644
index 000000000000..b2e1ecada10d
--- /dev/null
+++ b/net-mgmt/wdiag/pkg-plist
@@ -0,0 +1,5 @@
+bin/wstart
+bin/wstop
+bin/westell
+%%EXAMPLESDIR%%/wdiag.conf
+@dirrm %%EXAMPLESDIR%%
-- 
cgit