From nobody@FreeBSD.org  Sun Jun  6 17:48:26 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 50462106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Jun 2010 17:48:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3F8138FC2A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Jun 2010 17:48:26 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o56HmPCZ041229
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 6 Jun 2010 17:48:25 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o56HmPHc041228;
	Sun, 6 Jun 2010 17:48:25 GMT
	(envelope-from nobody)
Message-Id: <201006061748.o56HmPHc041228@www.freebsd.org>
Date: Sun, 6 Jun 2010 17:48:25 GMT
From: Jason bacon <jwbacon@tds.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: net/wifi_select
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         147567
>Category:       ports
>Synopsis:       New port: net/wifi_select
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 06 17:50:02 UTC 2010
>Closed-Date:    Sun Aug 08 23:38:52 UTC 2010
>Last-Modified:  Sun Aug 08 23:38:52 UTC 2010
>Originator:     Jason bacon
>Release:        8.0-RELEASE
>Organization:
Acadix Consulting, LLC
>Environment:
FreeBSD sculpin.jbacon.dyndns.org 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
wifi_select is a command-line tool and service for selecting from available 802.11x stations.  It allows FreeBSD users to easily connect to open, WEP, and WPA stations, and save the configuration and automatically reconnect to them later.  It is meant to serve as a simple, desktop-independent WIFI configuration tool and a prototype to document procedures for other (e.g. GUI) wireless configuration utilities.
>How-To-Repeat:

>Fix:


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:
#
#	net/wifi_select
#	net/wifi_select/Makefile
#	net/wifi_select/distinfo
#	net/wifi_select/pkg-descr
#	net/wifi_select/files
#	net/wifi_select/files/wifi_select.in
#	net/wifi_select/pkg-plist
#
echo c - net/wifi_select
mkdir -p net/wifi_select > /dev/null 2>&1
echo x - net/wifi_select/Makefile
sed 's/^X//' >net/wifi_select/Makefile << '374500ac5495bb14748cd6417d8db218'
X# New ports collection makefile for:	wifi_select
X# Date created:		2010-04-02
X# Whom:			Jason Bacon <jwbacon@tds.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wifi_select
XPORTVERSION=	0.1
XCATEGORIES=	net
XMASTER_SITES=	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
X		http://jbacon.dyndns.org/~bacon/Ports/distfiles/
X
XMAINTAINER=	jwbacon@tds.net
XCOMMENT=	Select from available wireless networks
X
XNO_BUILD=	yes
X
XUSE_RC_SUBR=	wifi_select
X
XMAN1=		wifi_select.1
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/etc/${PORTNAME} ${DATADIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}_daemon ${PREFIX}/libexec
X	${INSTALL_DATA} ${WRKSRC}/stations.conf.sample ${DATADIR}
X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.mdoc ${MAN1PREFIX}/man/man1/${PORTNAME}.1
X
X.include <bsd.port.mk>
374500ac5495bb14748cd6417d8db218
echo x - net/wifi_select/distinfo
sed 's/^X//' >net/wifi_select/distinfo << '031fba1f7a523481de356fa6b3e6eded'
XMD5 (wifi_select-0.1.tar.gz) = 6c6635da0233330c59c9c05230ba9c19
XSHA256 (wifi_select-0.1.tar.gz) = e11f9f741addedb83c17e67589d9ed20a44dbfd775388679eb12997b5ce84d16
XSIZE (wifi_select-0.1.tar.gz) = 4698
031fba1f7a523481de356fa6b3e6eded
echo x - net/wifi_select/pkg-descr
sed 's/^X//' >net/wifi_select/pkg-descr << 'a6a2a3ebd6657f72ef9ec3d48e6bf945'
XGenplist automatically creates a static plist for a port by installing it 
Xinto a temporary directory, and then examining the directory tree.  The
Xprocess is based on the instructions for plist generation in the
XFreeBSD Porter's Handbook.
X
XWWW:	http://www.neuro.mcw.edu/~bacon/FreeBSD_MRI
a6a2a3ebd6657f72ef9ec3d48e6bf945
echo c - net/wifi_select/files
mkdir -p net/wifi_select/files > /dev/null 2>&1
echo x - net/wifi_select/files/wifi_select.in
sed 's/^X//' >net/wifi_select/files/wifi_select.in << 'a9014418c034709b2ef3e70e63a1bf81'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
X# FIXME:
X# Adding BEFORE: ntpdate would be nice so that ntpdate will actually
X# work on a wireless laptop, but this causes a circular dependency in
X# rcorder
X
X# PROVIDE: wifi_select
X# REQUIRE: DAEMON
X# KEYWORD: shutdown
X
X# Add the following lines to /etc/rc.conf to enable `wifi_select':
X#
X# wifi_select_enable="YES"
X# wifi_select_flags="<set as needed>"
X#
X# See wifi_select(1) for wifi_select_flags
X#
X
X. %%RC_SUBR%%
X
Xname="wifi_select"
Xrcvar=`set_rcvar`
X
Xpidfile="/var/run/$name.pid"
Xcommand="%%PREFIX%%/libexec/wifi_select_daemon"
Xcommand_args=""
X# required_files="%%PREFIX%%/etc/wifi_select/stations.conf"
X
Xstart_cmd=wifi_select_start
Xstop_cmd=wifi_select_stop
X
Xwifi_select_daemon_bin=%%PREFIX%%/libexec/wifi_select_daemon
X
Xwifi_select_start() {
X    checkyesno wifi_select_enable && echo "Starting wifi_select." && \
X	${wifi_select_daemon_bin}
X}
X
Xwifi_select_stop()
X{
X    checkyesno wifi_select_enable && echo "Stopping wifi_select." && \
X	${wifi_select_daemon_bin} -k
X}
X
X# read configuration and set defaults
Xload_rc_config "$name"
X# : ${wifi_select_enable="NO"}
X
Xrun_rc_command "$1"
X
a9014418c034709b2ef3e70e63a1bf81
echo x - net/wifi_select/pkg-plist
sed 's/^X//' >net/wifi_select/pkg-plist << 'e86244b490dce776096ce1546c901fcd'
Xbin/wifi_select
Xlibexec/wifi_select_daemon
X%%DATADIR%%/stations.conf.sample
X@dirrm %%DATADIR%%
X@dirrmtry %%ETCDIR%%
X@exec mkdir -p %D/%%ETCDIR%%
e86244b490dce776096ce1546c901fcd
exit



>Release-Note:
>Audit-Trail:

From: Acadix Info <jwbacon@tds.net>
To: bug-followup@FreeBSD.org, jwbacon@tds.net
Cc:  
Subject: Re: ports/147567: New port: net/wifi_select
Date: Sun, 06 Jun 2010 14:04:17 -0500

 This is a multi-part message in MIME format.
 --------------070805050906080109060401
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 Wrong pkg-descr in the original shar.  Please use attached...
 
 -- 
 
 ------------------------
   Jason W. Bacon
   Acadix Consulting, LLC
   http://acadix.biz
   info@acadix.biz
   (414) 526-4357
 ------------------------
 
 
 --------------070805050906080109060401
 Content-Type: text/plain;
  name="wifi_select_shar.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="wifi_select_shar.txt"
 
 # 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/wifi_select
 #	net/wifi_select/Makefile
 #	net/wifi_select/distinfo
 #	net/wifi_select/pkg-descr
 #	net/wifi_select/files
 #	net/wifi_select/files/wifi_select.in
 #	net/wifi_select/pkg-plist
 #
 echo c - net/wifi_select
 mkdir -p net/wifi_select > /dev/null 2>&1
 echo x - net/wifi_select/Makefile
 sed 's/^X//' >net/wifi_select/Makefile << '374500ac5495bb14748cd6417d8db218'
 X# New ports collection makefile for:	wifi_select
 X# Date created:		2010-04-02
 X# Whom:			Jason Bacon <jwbacon@tds.net>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	wifi_select
 XPORTVERSION=	0.1
 XCATEGORIES=	net
 XMASTER_SITES=	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
 X		http://jbacon.dyndns.org/~bacon/Ports/distfiles/
 X
 XMAINTAINER=	jwbacon@tds.net
 XCOMMENT=	Select from available wireless networks
 X
 XNO_BUILD=	yes
 X
 XUSE_RC_SUBR=	wifi_select
 X
 XMAN1=		wifi_select.1
 X
 Xpost-patch:
 X	${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/${PORTNAME}
 X
 Xdo-install:
 X	${MKDIR} ${PREFIX}/etc/${PORTNAME} ${DATADIR}
 X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}_daemon ${PREFIX}/libexec
 X	${INSTALL_DATA} ${WRKSRC}/stations.conf.sample ${DATADIR}
 X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.mdoc ${MAN1PREFIX}/man/man1/${PORTNAME}.1
 X
 X.include <bsd.port.mk>
 374500ac5495bb14748cd6417d8db218
 echo x - net/wifi_select/distinfo
 sed 's/^X//' >net/wifi_select/distinfo << '031fba1f7a523481de356fa6b3e6eded'
 XMD5 (wifi_select-0.1.tar.gz) = 6c6635da0233330c59c9c05230ba9c19
 XSHA256 (wifi_select-0.1.tar.gz) = e11f9f741addedb83c17e67589d9ed20a44dbfd775388679eb12997b5ce84d16
 XSIZE (wifi_select-0.1.tar.gz) = 4698
 031fba1f7a523481de356fa6b3e6eded
 echo x - net/wifi_select/pkg-descr
 sed 's/^X//' >net/wifi_select/pkg-descr << 'a6a2a3ebd6657f72ef9ec3d48e6bf945'
 XWifi_select is a command-line tool and service for connecting to
 Xavailable 802.11 stations.  It allows the user to easily select an
 Xavailable station manually, and save the configuration to allow
 Xautomatically reconnecting later.
 X
 XWWW:    http://personalpages.tds.net/~jwbacon
 a6a2a3ebd6657f72ef9ec3d48e6bf945
 echo c - net/wifi_select/files
 mkdir -p net/wifi_select/files > /dev/null 2>&1
 echo x - net/wifi_select/files/wifi_select.in
 sed 's/^X//' >net/wifi_select/files/wifi_select.in << 'a9014418c034709b2ef3e70e63a1bf81'
 X#!/bin/sh
 X#
 X# $FreeBSD$
 X#
 X
 X# FIXME:
 X# Adding BEFORE: ntpdate would be nice so that ntpdate will actually
 X# work on a wireless laptop, but this causes a circular dependency in
 X# rcorder
 X
 X# PROVIDE: wifi_select
 X# REQUIRE: DAEMON
 X# KEYWORD: shutdown
 X
 X# Add the following lines to /etc/rc.conf to enable `wifi_select':
 X#
 X# wifi_select_enable="YES"
 X# wifi_select_flags="<set as needed>"
 X#
 X# See wifi_select(1) for wifi_select_flags
 X#
 X
 X. %%RC_SUBR%%
 X
 Xname="wifi_select"
 Xrcvar=`set_rcvar`
 X
 Xpidfile="/var/run/$name.pid"
 Xcommand="%%PREFIX%%/libexec/wifi_select_daemon"
 Xcommand_args=""
 X# required_files="%%PREFIX%%/etc/wifi_select/stations.conf"
 X
 Xstart_cmd=wifi_select_start
 Xstop_cmd=wifi_select_stop
 X
 Xwifi_select_daemon_bin=%%PREFIX%%/libexec/wifi_select_daemon
 X
 Xwifi_select_start() {
 X    checkyesno wifi_select_enable && echo "Starting wifi_select." && \
 X	${wifi_select_daemon_bin}
 X}
 X
 Xwifi_select_stop()
 X{
 X    checkyesno wifi_select_enable && echo "Stopping wifi_select." && \
 X	${wifi_select_daemon_bin} -k
 X}
 X
 X# read configuration and set defaults
 Xload_rc_config "$name"
 X# : ${wifi_select_enable="NO"}
 X
 Xrun_rc_command "$1"
 X
 a9014418c034709b2ef3e70e63a1bf81
 echo x - net/wifi_select/pkg-plist
 sed 's/^X//' >net/wifi_select/pkg-plist << 'e86244b490dce776096ce1546c901fcd'
 Xbin/wifi_select
 Xlibexec/wifi_select_daemon
 X%%DATADIR%%/stations.conf.sample
 X@dirrm %%DATADIR%%
 X@dirrmtry %%ETCDIR%%
 X@exec mkdir -p %D/%%ETCDIR%%
 e86244b490dce776096ce1546c901fcd
 exit
 
 
 --------------070805050906080109060401--
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: sylvio 
Responsible-Changed-When: Fri Jun 11 11:25:25 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147567 

From: =?ISO-8859-1?Q?Sylvio_C=E9sar?= <scjamorim@bsd.com.br>
To: bug-followup@FreeBSD.org
Cc: jwbacon@tds.net
Subject: Re: ports/147567: New port: net/wifi_select
Date: Fri, 25 Jun 2010 17:53:04 -0300

 Hi
 
 The page of port no talk nothing about it.
 http://personalpages.tds.net/~jwbacon/index.html
 
 Where this page show something about the wifi_select ??
 
 Regards,
 
 Sylvio Cesar
State-Changed-From-To: open->feedback 
State-Changed-By: sylvio 
State-Changed-When: Tue Jun 29 11:47:49 UTC 2010 
State-Changed-Why:  
- Waiting feedback already have 5 days. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147567 
State-Changed-From-To: feedback->closed 
State-Changed-By: sylvio 
State-Changed-When: Sun Aug 8 23:38:51 UTC 2010 
State-Changed-Why:  
timeout of feedback ( > 45 days) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147567 
>Unformatted:
