Would be nice to have an ebuild for: http://www.bitbuilder.com/wifi_radar/ Reproducible: Always Steps to Reproduce: 1. 2. 3.
An ebuild would certainly increase the possibility for this to enter portage.
Created attachment 52192 [details] wifi-radar-1.1.ebuild Ebuild for wifi-radar It does not really work for me .. WEP did not get enabled correctly.
Created attachment 53989 [details] wifi-radar-1.9.ebuild Attached wifi-radar-1.9.ebuild
Comment on attachment 53989 [details] wifi-radar-1.9.ebuild Forgot the conf file
Created attachment 54015 [details] wifi-radar-1.9.ebuild Added default conf file installation to /etc/conf.d
Created attachment 54100 [details] wifi-radar-1.9.1.ebuild Fixed a bug that prevented correct scan pattern matching on ndiswrapper cards. Added a change log file.
Created attachment 54693 [details] wifi-radar-1.9.3.ebuild - Fixed a couple of typos when setting security. - Sudo shell wrapper is /usr/bin/wifi-radar.sh and the actual app is /usr/sbin/wifi-radar (no .py) - "Acquiring IP" progress dialog. - Shows current connected IP and SSID. - Passing -v or --version shows the version - WiFi options like "mode", "security", and "channel" can be left blank for cards that require them.
Since the wrapper script calls sudo, perhaps it should be in RDEPEND. The problem, though, is that the wrapper script would only work when called from a terminal. In this case, perhaps gnomesu would be more appropriate?
RDEPEND makes sense, will add. As for gnomesu, it is an easy change, but all the feedback I get is about how simple this app is to run and switch networks. Most WiFi Radar users are Laptop users, thus, single user desktops. Having to enter the root password everytime they run this app is a bit overkill. If there is a way to give the user the choice using some USE flag I would be glad to make the change, as soon as someone tells me how :) Like, when USE="usegnomesu" we apply a patch to modify the shell wrapper to use gnomesu instead of sudo?
Created attachment 54813 [details] wifi-radar-1.9.3-r1.ebuild * Cleaned up some of the ebuild. do* commands can accept multiple files. * Moved the conf file from /etc/conf.d to /etc. This is because /etc/conf.d is supposed to be for init.d scripts only. Patched wifi-radar to appropriately. * Added gksu to RDEPEND. It has both a su and sudo frontend that can be customized. * Modified the wrapper script to use gksu, and to have a custom title, message, icon, etc.
Created attachment 54814 [details, diff] wifi-radar-1.9.3-conf-fix.diff Changes wifi-radar to use /etc/wifi-radar.conf
Created attachment 54815 [details, diff] wifi-radar-1.9.3-gksu-wrapper.diff Changes the wrapper script to use gksu, and has it use a custom message, title, and icon.
Created attachment 60649 [details] wifi-radar-1.9.4.ebuild - adds initail wpa support - adds post and pre script connection commands
Created attachment 63383 [details] wifi-radar-1.9.4-r1.ebuild * Added man entry for wifi-radar.conf and wifi-radar * Added "svg" USE flag * wifi-radar.conf now is in /etc folder instead /etc/conf.d * Added a pkg_postinst function to explain how to set /etc/sudoers to use wifi-radar as a normal user
*** Bug 103509 has been marked as a duplicate of this bug. ***
I will take care of this...
Ebuild for version 1.9.4 is now in Portage. Thanks for the submission and the continuos improvements to the ebuild (it needed only minor changes)!