ports/104231: New port: net-mgmt/wdiag Westell DSL diagnostic utility
Josh Carroll
josh.carroll at gmail.com
Mon Oct 9 23:00:46 UTC 2006
>Number: 104231
>Category: ports
>Synopsis: New port: net-mgmt/wdiag Westell DSL diagnostic utility
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 09 23:00:38 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Josh Carroll
>Release: FreeBSD 6.1-RELEASE-p10 i386
>Organization:
N/A
>Environment:
System: FreeBSD pflog.net 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #3: Sun Oct 8 11:26:00 PDT 2006 root@:/usr/obj/usr/src.6.1/sys/DEBLIN i386
>Description:
Port addition for the Westell Diagnostics software. The software provides a way to
query Westell 2100/2200/36R516/6100 modems for DSL line stats.
>How-To-Repeat:
>Fix:
Below is the shar of the new port.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# net-mgmt/wdiag
# net-mgmt/wdiag/pkg-descr
# net-mgmt/wdiag/Makefile
# net-mgmt/wdiag/pkg-plist
# net-mgmt/wdiag/distinfo
# net-mgmt/wdiag/pkg-message
#
echo c - net-mgmt/wdiag
mkdir -p net-mgmt/wdiag > /dev/null 2>&1
echo x - net-mgmt/wdiag/pkg-descr
sed 's/^X//' >net-mgmt/wdiag/pkg-descr << 'END-of-net-mgmt/wdiag/pkg-descr'
Xwdiag is a utility to monitor Westell DSL modem diagnostics and line
Xstatistics. It reports SNR, Attenuation, etc for the DSL line.
X
XWWW: http://wdiag.sourceforge.net/
END-of-net-mgmt/wdiag/pkg-descr
echo x - net-mgmt/wdiag/Makefile
sed 's/^X//' >net-mgmt/wdiag/Makefile << 'END-of-net-mgmt/wdiag/Makefile'
X# New ports collection makefile for: wdiag
X# Date created: 3 September 2006
X# Whom: Josh Carroll <josh.carroll at gmail.com>
X# $FreeBSD$
X#
X
XPORTNAME= wdiag
XPORTVERSION= 0.9
XCATEGORIES= net-mgmt
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= josh.carroll at gmail.com
XCOMMENT= Utility to collect DSL line stats from Westell DSL modems
X
XWRKSRC= ${WRKDIR}/${PORTNAME}/src
X
X.include <bsd.port.mk>
END-of-net-mgmt/wdiag/Makefile
echo x - net-mgmt/wdiag/pkg-plist
sed 's/^X//' >net-mgmt/wdiag/pkg-plist << 'END-of-net-mgmt/wdiag/pkg-plist'
Xbin/wstart
Xbin/wstop
Xbin/westell
X%%PORTDOCS%%%%EXAMPLESDIR%%/wdiag.conf
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
X
END-of-net-mgmt/wdiag/pkg-plist
echo x - net-mgmt/wdiag/distinfo
sed 's/^X//' >net-mgmt/wdiag/distinfo << 'END-of-net-mgmt/wdiag/distinfo'
XMD5 (wdiag-0.9.tgz) = 26ee93f3e2353ebb5d1df5f3e50eb4fd
XSHA256 (wdiag-0.9.tgz) = 811c06fced42a1be7fd22de209ad701daff9bb945dcbd722f03a78892ca7a261
XSIZE (wdiag-0.9.tgz) = 18686
END-of-net-mgmt/wdiag/distinfo
echo x - net-mgmt/wdiag/pkg-message
sed 's/^X//' >net-mgmt/wdiag/pkg-message << 'END-of-net-mgmt/wdiag/pkg-message'
XRemember, wstart and wstop must be run as root or with the binaries setuid.
X
Xwestell can be run by any user that can bind to port udp/1875
END-of-net-mgmt/wdiag/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list