Bug 70591 - wifi_radar-1.9.3 (New Package)
|
Bug#:
70591
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: s4t4n@gentoo.org
|
Reported By: jerrett@bravenet.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: wifi_radar-1.9.3 (New Package)
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2004-11-09 09:46 0000
|
An ebuild would certainly increase the possibility for this to enter portage.
Created an attachment (id=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 an attachment (id=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 an attachment (id=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)!