ports/135595: Updated wdiag port supporting changes in -HEAD to igmp.h

Josh Carroll josh.carroll at gmail.com
Mon Jun 15 15:40:04 UTC 2009


>Number:         135595
>Category:       ports
>Synopsis:       Updated wdiag port supporting changes in -HEAD to igmp.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 15 15:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Josh Carroll
>Release:        7.2-RELEASE-p1
>Organization:
n/a
>Environment:
FreeBSD pflog.net 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #11: Wed Jun 10 10:25:37 EDT 2009     root at pflog.net:/usr/obj/usr/src/sys/PFLOG  amd64
>Description:
The 0.10 release of wdiag does not support the recent changes in -HEAD to igmp.h, removing a legacy macro (IGMP_V2_MEMBERSHIP_REPORT).

I have released a new upstream version (0.10.1) which addresses this by using an #if to use IGMP_v2_MEMBERSHIP_REPORT instead of IGMP_V2_MEMBERSHIP_REPORT to support 8.0 and newer releases.

Attached is a shar of the updated 0.10.1 wdiag port directory with the updated Makefile and distinfo.

Thanks,
Josh
>How-To-Repeat:
Try to build on CURRENT as of 6/10 or newer (SVN r193938).
>Fix:
.shar attached of new release of port.

Patch attached with submission follows:

# 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:
#
#	wdiag
#	wdiag/Makefile
#	wdiag/distinfo
#	wdiag/pkg-descr
#	wdiag/pkg-message
#	wdiag/pkg-plist
#
echo c - wdiag
mkdir -p wdiag > /dev/null 2>&1
echo x - wdiag/Makefile
sed 's/^X//' >wdiag/Makefile << '3bef552b9105f930fb55cc77f96996a4'
X# New ports collection makefile for:	wdiag
X# Date created:				3 September 2006
X# Whom:					Josh Carroll <josh.carroll at gmail.com>
X#
X# $FreeBSD: ports/net-mgmt/wdiag/Makefile,v 1.2 2008/08/03 14:16:08 miwi Exp $
X#
X
XPORTNAME=	wdiag
XPORTVERSION=	0.10.1
XCATEGORIES=	net-mgmt
XMASTER_SITES=	SF
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>
3bef552b9105f930fb55cc77f96996a4
echo x - wdiag/distinfo
sed 's/^X//' >wdiag/distinfo << '34c09acc851583f3d1f597957706ec26'
XMD5 (wdiag-0.10.1.tgz) = cbeb0db17977d466cba0477b6ae3f552
XSHA256 (wdiag-0.10.1.tgz) = 8c246a8966b6aa49055af737203223a666a81efcf47b634124508b07a7683d87
XSIZE (wdiag-0.10.1.tgz) = 18954
34c09acc851583f3d1f597957706ec26
echo x - wdiag/pkg-descr
sed 's/^X//' >wdiag/pkg-descr << '566a0d898fbf3d3eb5e054d6452ff9ef'
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/
566a0d898fbf3d3eb5e054d6452ff9ef
echo x - wdiag/pkg-message
sed 's/^X//' >wdiag/pkg-message << '49397c4dc33e69cbff391c58f120cda2'
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
49397c4dc33e69cbff391c58f120cda2
echo x - wdiag/pkg-plist
sed 's/^X//' >wdiag/pkg-plist << 'f3f950671943073eee0e50cbfea38638'
Xbin/wstart
Xbin/wstop
Xbin/westell
X%%EXAMPLESDIR%%/wdiag.conf
X at dirrm %%EXAMPLESDIR%%
f3f950671943073eee0e50cbfea38638
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list