From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 9 17:20:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF7BD16A421 for ; Tue, 9 Oct 2007 17:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF5013C458 for ; Tue, 9 Oct 2007 17:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l99HK2cE031119 for ; Tue, 9 Oct 2007 17:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l99HK2Bp031118; Tue, 9 Oct 2007 17:20:02 GMT (envelope-from gnats) Resent-Date: Tue, 9 Oct 2007 17:20:02 GMT Resent-Message-Id: <200710091720.l99HK2Bp031118@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Henrik Brix Andersen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B86516A41B for ; Tue, 9 Oct 2007 17:13:23 +0000 (UTC) (envelope-from brix@lothlorien.brixandersen.dk) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 84F6213C478 for ; Tue, 9 Oct 2007 17:13:22 +0000 (UTC) (envelope-from brix@lothlorien.brixandersen.dk) Received: from lothlorien.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id B12811CC0FE for ; Tue, 9 Oct 2007 19:13:20 +0200 (CEST) Received: by lothlorien.brixandersen.dk (Postfix, from userid 1001) id 19D5211420; Tue, 9 Oct 2007 19:13:19 +0200 (CEST) Message-Id: <20071009171320.19D5211420@lothlorien.brixandersen.dk> Date: Tue, 9 Oct 2007 19:13:19 +0200 (CEST) From: Henrik Brix Andersen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/117044: [patch] net-mgmt/spectools replaces net-mgmt/wispy-tools X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Henrik Brix Andersen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2007 17:20:04 -0000 >Number: 117044 >Category: ports >Synopsis: [patch] net-mgmt/spectools replaces net-mgmt/wispy-tools >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Oct 09 17:20:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Henrik Brix Andersen >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD lothlorien.brixandersen.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #78: Thu Oct 4 19:06:46 CEST 2007 root@lothlorien.brixandersen.dk:/usr/obj/usr/src/sys/LOTHLORIEN i386 >Description: This is a replacement/upgrade for the net-mgmt/wispy-tools port. The project was renamed and a new release was made under the new name. >How-To-Repeat: >Fix: The new port should be committed as net-mgmt/spectools, MOVED should be updated with the patch below and the old net-mgmt/wispy-tools port should be removed. --- MOVED.diff begins here --- --- MOVED.orig 2007-10-09 19:03:16.000000000 +0200 +++ MOVED 2007-10-09 19:05:05.000000000 +0200 @@ -3271,3 +3271,4 @@ lang/snobol|lang/snobol4|2007-10-04|Use newer version x11-servers/synaptics|x11-drivers/synaptics|2007-10-06|Change to new category emulators/linux_base-fc7|emulators/linux_base-f7|2007-10-07|Fedora is no more Core +net-mgmt/wispy-tools|net-mgmt/spectools|2007-10-09|project renamed --- MOVED.diff ends here --- --- spectools.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 # net-mgmt/spectools # net-mgmt/spectools/files # net-mgmt/spectools/files/patch-configure # net-mgmt/spectools/Makefile # net-mgmt/spectools/distinfo # net-mgmt/spectools/pkg-descr # net-mgmt/spectools/pkg-message # net-mgmt/spectools/pkg-plist # echo c - net-mgmt mkdir -p net-mgmt > /dev/null 2>&1 echo c - net-mgmt/spectools mkdir -p net-mgmt/spectools > /dev/null 2>&1 echo c - net-mgmt/spectools/files mkdir -p net-mgmt/spectools/files > /dev/null 2>&1 echo x - net-mgmt/spectools/files/patch-configure sed 's/^X//' >net-mgmt/spectools/files/patch-configure << 'END-of-net-mgmt/spectools/files/patch-configure' X--- configure.in.orig 2007-10-08 18:29:44.000000000 +0200 X+++ configure.in 2007-10-09 18:28:21.000000000 +0200 X@@ -135,10 +135,10 @@ dnl Let them override the gtk version X AC_ARG_WITH(gtk-version, X [ --with-gtk-version=\[1|2\] Force a GTK version instead of autodetect ], X [ X- if test "$withval" == "1" ; then X+ if test "$withval" = "1" ; then X AC_MSG_WARN(*** Overriding GTK detection to use GTK1 only ***) X forcegtk=1 X- elif test "$withval" == "2" ; then X+ elif test "$withval" = "2" ; then X AC_MSG_WARN(*** Overriding GTK detection to use GTK2 only ***) X forcegtk=2 X fi X@@ -193,7 +193,7 @@ if test "$GTK_CONFIG"x != "x"; then 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 2007-10-08 18:29:44.000000000 +0200 X+++ configure 2007-10-09 18:32:58.000000000 +0200 X@@ -4573,11 +4573,11 @@ fi X # Check whether --with-gtk-version was given. X if test "${with_gtk_version+set}" = set; then X withval=$with_gtk_version; X- if test "$withval" == "1" ; then X+ if test "$withval" = "1" ; then X { echo "$as_me:$LINENO: WARNING: *** Overriding GTK detection to use GTK1 only ***" >&5 X echo "$as_me: WARNING: *** Overriding GTK detection to use GTK1 only ***" >&2;} X forcegtk=1 X- elif test "$withval" == "2" ; then X+ elif test "$withval" = "2" ; then X { echo "$as_me:$LINENO: WARNING: *** Overriding GTK detection to use GTK2 only ***" >&5 X echo "$as_me: WARNING: *** Overriding GTK detection to use GTK2 only ***" >&2;} X forcegtk=2 X@@ -4889,7 +4889,7 @@ _ACEOF 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/spectools/files/patch-configure echo x - net-mgmt/spectools/Makefile sed 's/^X//' >net-mgmt/spectools/Makefile << 'END-of-net-mgmt/spectools/Makefile' X# New ports collection makefile for: spectools X# Date created: 09 Oct 2007 X# Whom: Henrik Brix Andersen X# X# $FreeBSD$ X# X XPORTNAME= spectools XPORTVERSION= 200710.r1 XCATEGORIES= net-mgmt XMASTER_SITES= http://www.kismetwireless.net/code/ XDISTNAME= spectools-2007-10-R1 X XMAINTAINER= henrik@brixandersen.dk XCOMMENT= Tools for the 2.4GHz Wi-Spy spectrum analyzers from MetaGeek LLC X XLIB_DEPENDS= usb-0.1:${PORTSDIR}/devel/libusb X XGNU_CONFIGURE= yes XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" XUSE_GMAKE= yes X XPORTDOCS= README X XOPTIONS= GTK "Enable graphical client" On X X.include 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 XALL_TARGET= spectool_net spectool_raw X X.if defined(WITH_GTK) XALL_TARGET+= spectool_gtk XLIB_DEPENDS+= gtk:${PORTSDIR}/x11-toolkits/gtk20 XPLIST_SUB= GTK="" X.else XPLIST_SUB= GTK="@comment " X.endif X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/spectool_net ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/spectool_raw ${PREFIX}/bin X.if defined(WITH_GTK) X ${INSTALL_PROGRAM} ${WRKSRC}/spectool_gtk ${PREFIX}/bin X.endif X Xpost-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} X.endif X @${CAT} ${PKGMESSAGE} X X.include END-of-net-mgmt/spectools/Makefile echo x - net-mgmt/spectools/distinfo sed 's/^X//' >net-mgmt/spectools/distinfo << 'END-of-net-mgmt/spectools/distinfo' XMD5 (spectools-2007-10-R1.tar.gz) = f38ac4d04680a2b62d9bfb9cff6b2ab3 XSHA256 (spectools-2007-10-R1.tar.gz) = e11b150db4c562f365ed77968bf1a3d02a33ddb55c88765656a77cf555e471b7 XSIZE (spectools-2007-10-R1.tar.gz) = 190822 END-of-net-mgmt/spectools/distinfo echo x - net-mgmt/spectools/pkg-descr sed 's/^X//' >net-mgmt/spectools/pkg-descr << 'END-of-net-mgmt/spectools/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/spectools/ END-of-net-mgmt/spectools/pkg-descr echo x - net-mgmt/spectools/pkg-message sed 's/^X//' >net-mgmt/spectools/pkg-message << 'END-of-net-mgmt/spectools/pkg-message' X==== XIn order to use the tools you need read/write access to the ugen(4) Xdevice node(s) corresponding to the Wi-Spy device(s). X==== END-of-net-mgmt/spectools/pkg-message echo x - net-mgmt/spectools/pkg-plist sed 's/^X//' >net-mgmt/spectools/pkg-plist << 'END-of-net-mgmt/spectools/pkg-plist' X%%GTK%%bin/spectool_gtk Xbin/spectool_net Xbin/spectool_raw END-of-net-mgmt/spectools/pkg-plist exit --- spectools.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: