Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 14:58:53 +0100 (CET)
From:      Henrik Brix Andersen <henrik@brixandersen.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106667: [New port] net-mgmt/wispy-tools - Tools for the 2.4GHz Wi-Spy spectrum analyzer from MetaGeek LLC
Message-ID:  <20061213135853.64F302E033@fangorn.brixandersen.dk>
Resent-Message-ID: <200612131410.kBDEA924023529@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106667
>Category:       ports
>Synopsis:       [New port] net-mgmt/wispy-tools - Tools for the 2.4GHz Wi-Spy spectrum analyzer from MetaGeek LLC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 13 14:10:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Brix Andersen
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
pil.dk
>Environment:
System: FreeBSD fangorn.brixandersen.dk 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #35: Wed Dec 13 12:42:54 CET 2006 root@fangorn.brixandersen.dk:/usr/obj/usr/src/sys/FANGORN i386


	
>Description:
This is a new port for net-mgmt/wispy-tools - a set of tools for
working with the 2.4GHz USB spectrum analyzer called 'Wi-Spy' from
MetaGeek LLC (http://www.metageek.net/).

	
>How-To-Repeat:
	
>Fix:

	

--- wispy-tools.shar begins here ---
# 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/wispy-tools
#	net-mgmt/wispy-tools/distinfo
#	net-mgmt/wispy-tools/Makefile
#	net-mgmt/wispy-tools/pkg-descr
#	net-mgmt/wispy-tools/files
#	net-mgmt/wispy-tools/files/patch-configure
#	net-mgmt/wispy-tools/pkg-message
#	net-mgmt/wispy-tools/pkg-plist
#
echo c - net-mgmt/wispy-tools
mkdir -p net-mgmt/wispy-tools > /dev/null 2>&1
echo x - net-mgmt/wispy-tools/distinfo
sed 's/^X//' >net-mgmt/wispy-tools/distinfo << 'END-of-net-mgmt/wispy-tools/distinfo'
XMD5 (wispy-tools-2006-09-R1.tar.gz) = c05a18813bca976450262f7b0e98b0cb
XSHA256 (wispy-tools-2006-09-R1.tar.gz) = 41b25d1d63f01f596925dbd39389668b9d4169b28e5b8a2e00e0ac66574d330f
XSIZE (wispy-tools-2006-09-R1.tar.gz) = 135474
END-of-net-mgmt/wispy-tools/distinfo
echo x - net-mgmt/wispy-tools/Makefile
sed 's/^X//' >net-mgmt/wispy-tools/Makefile << 'END-of-net-mgmt/wispy-tools/Makefile'
X# New ports collection makefile for:	wispy-tools
X# Date created:				13 Dec 2006
X# Whom:					Henrik Brix Andersen <henrik@brixandersen.dk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wispy-tools
XPORTVERSION=	200609.r1
XCATEGORIES=	net-mgmt
XMASTER_SITES=	http://www.kismetwireless.net/code/
XDISTNAME=	wispy-tools-2006-09-R1
X
XMAINTAINER=	henrik@brixandersen.dk
XCOMMENT=	Tools for the 2.4GHz Wi-Spy spectrum analyzer from MetaGeek LLC
X
XLIB_DEPENDS=	usb-0.1:${PORTSDIR}/devel/libusb
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib"
XUSE_GMAKE=	yes
X
XPORTDOCS=	README
X
XOPTIONS=	GTK "Enable graphical client" On
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 602101
XIGNORE=	is unsupported on systems prior to FreeBSD v602101
X.elif ${OSVERSION} > 700000 && ${OSVERSION} < 700027
XIGNORE=	is unsupported on systems prior to FreeBSD v700027
X.endif
X
X.if defined(WITH_GTK)
XLIB_DEPENDS+=	gtk:${PORTSDIR}/x11-toolkits/gtk20
XPLIST_SUB=	WITH_GTK=""
X.else
XPLIST_SUB=	WITH_GTK="@comment "
X.endif
X
Xdo-build:
X	cd ${WRKSRC} && ${GMAKE} wispy_curses wispy_log wispy_raw
X.if defined(WITH_GTK)
X	cd ${WRKSRC} && ${GMAKE} wispy_gtk
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/wispy_curses ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/wispy_log ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/wispy_raw ${PREFIX}/bin
X.if defined(WITH_GTK)
X	${INSTALL_PROGRAM} ${WRKSRC}/wispy_gtk ${PREFIX}/bin
X.endif
X
Xpost-install:
X.ifndef(NOPORTDOC)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-net-mgmt/wispy-tools/Makefile
echo x - net-mgmt/wispy-tools/pkg-descr
sed 's/^X//' >net-mgmt/wispy-tools/pkg-descr << 'END-of-net-mgmt/wispy-tools/pkg-descr'
XA set of open source tools for accessing the 2.4GHz Wi-Spy USB
Xspectrum analyzer by Metageek LLC, http://www.metageek.net/
X
XWWW: http://www.kismetwireless.net/wispy.shtml
END-of-net-mgmt/wispy-tools/pkg-descr
echo c - net-mgmt/wispy-tools/files
mkdir -p net-mgmt/wispy-tools/files > /dev/null 2>&1
echo x - net-mgmt/wispy-tools/files/patch-configure
sed 's/^X//' >net-mgmt/wispy-tools/files/patch-configure << 'END-of-net-mgmt/wispy-tools/files/patch-configure'
X--- configure.in.orig	Sun Nov 19 18:04:52 2006
X+++ configure.in	Sun Nov 19 18:01:44 2006
X@@ -204,7 +204,7 @@
X   		GTKLIBS="$LIBS"
X   		LIBS="$olfl"
X 
X-		if test "$GTK2" == "yes"; then
X+		if test "$GTK2" = "yes"; then
X 			AC_DEFINE(HAVE_LIB_GTK2, 1, we have libgtk2.x)
X 		else
X 			AC_MSG_WARN(*** GTK1 being used.  GTK2 is preferred and GTK1 support may vanish in future releases ***)
X--- configure.orig	Sun Nov 19 18:04:45 2006
X+++ configure	Sun Nov 19 18:01:18 2006
X@@ -4185,7 +4185,7 @@
X   		GTKLIBS="$LIBS"
X   		LIBS="$olfl"
X 
X-		if test "$GTK2" == "yes"; then
X+		if test "$GTK2" = "yes"; then
X 
X cat >>confdefs.h <<\_ACEOF
X #define HAVE_LIB_GTK2 1
END-of-net-mgmt/wispy-tools/files/patch-configure
echo x - net-mgmt/wispy-tools/pkg-message
sed 's/^X//' >net-mgmt/wispy-tools/pkg-message << 'END-of-net-mgmt/wispy-tools/pkg-message'
X====
XIn order to use the tools you need read/write access to the ugen(4)
Xdevice node corresponding to your your Wi-Spy device.
X====
END-of-net-mgmt/wispy-tools/pkg-message
echo x - net-mgmt/wispy-tools/pkg-plist
sed 's/^X//' >net-mgmt/wispy-tools/pkg-plist << 'END-of-net-mgmt/wispy-tools/pkg-plist'
Xbin/wispy_curses
X%%WITH_GTK%%bin/wispy_gtk
Xbin/wispy_log
Xbin/wispy_raw
END-of-net-mgmt/wispy-tools/pkg-plist
exit
--- wispy-tools.shar ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061213135853.64F302E033>