Date: Sun, 6 Jun 2010 19:10:05 GMT From: Acadix Info <jwbacon@tds.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/147567: New port: net/wifi_select Message-ID: <201006061910.o56JA5Ep027185@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/147567; it has been noted by GNATS. 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006061910.o56JA5Ep027185>