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
Description:   Opened: 2004-11-09 09:46 0000
Would be nice to have an ebuild for: 

http://www.bitbuilder.com/wifi_radar/



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Henrik Brix Andersen 2005-01-02 14:19:27 0000 -------
An ebuild would certainly increase the possibility for this to enter portage.

------- Comment #2 From Stefan Schweizer 2005-02-26 10:11:19 0000 -------
Created an attachment (id=52192) [details]
wifi-radar-1.1.ebuild

Ebuild for wifi-radar
 It does not really work for me .. WEP did not get enabled correctly.

------- Comment #3 From Ahmad Baitalmal 2005-03-20 15:03:21 0000 -------
Created an attachment (id=53989) [details]
wifi-radar-1.9.ebuild

Attached wifi-radar-1.9.ebuild

------- Comment #4 From Ahmad Baitalmal 2005-03-20 18:53:51 0000 -------
(From update of attachment 53989 [details])
Forgot the conf file

------- Comment #5 From Ahmad Baitalmal 2005-03-20 18:55:08 0000 -------
Created an attachment (id=54015) [details]
wifi-radar-1.9.ebuild

Added default conf file installation to /etc/conf.d

------- Comment #6 From Ahmad Baitalmal 2005-03-21 14:14:16 0000 -------
Created an attachment (id=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.

------- Comment #7 From Ahmad Baitalmal 2005-03-28 10:47:23 0000 -------
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.

------- Comment #8 From Josh Nichols (RETIRED) 2005-03-29 17:21:05 0000 -------
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?

------- Comment #9 From Ahmad Baitalmal 2005-03-29 17:45:53 0000 -------
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?

------- Comment #10 From Josh Nichols (RETIRED) 2005-03-29 20:00:01 0000 -------
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.

------- Comment #11 From Josh Nichols (RETIRED) 2005-03-29 20:01:21 0000 -------
Created an attachment (id=54814) [details]
wifi-radar-1.9.3-conf-fix.diff

Changes wifi-radar to use /etc/wifi-radar.conf

------- Comment #12 From Josh Nichols (RETIRED) 2005-03-29 20:02:13 0000 -------
Created an attachment (id=54815) [details]
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.

------- Comment #13 From Ahmad Baitalmal 2005-06-05 06:45:25 0000 -------
Created an attachment (id=60649) [details]
wifi-radar-1.9.4.ebuild

- adds initail wpa support
- adds post and pre script connection commands

------- Comment #14 From Alessio D'Ascanio 2005-07-14 05:46:42 0000 -------
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

------- Comment #15 From Jakub Moc (RETIRED) 2005-08-28 03:44:01 0000 -------
*** Bug 103509 has been marked as a duplicate of this bug. ***

------- Comment #16 From Michele Noberasco 2005-11-04 10:08:30 0000 -------
I will take care of this...

------- Comment #17 From Michele Noberasco 2005-11-04 10:33:16 0000 -------
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)!