ports/117044: [patch] net-mgmt/spectools replaces net-mgmt/wispy-tools
Henrik Brix Andersen
henrik at brixandersen.dk
Tue Oct 9 17:20:04 UTC 2007
>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 at 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 <henrik at brixandersen.dk>
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 at 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 <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
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 <bsd.port.post.mk>
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:
More information about the freebsd-ports-bugs
mailing list