First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 141245
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michele Noberasco <s4t4n@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: jfb3 <johnfbell3@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 141245 depends on: Show dependency tree
Bug 141245 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-21 00:02 0000
sudo isn't mandatory for wifi-radar.  Please make it optional in the ebuild.


# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/net-wireless/wifi-radar/wifi-radar-1.9.4.ebuild,v 1.3
2006/02/22 03:28:34 deltacow Exp $

inherit eutils

DESCRIPTION="WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles."
HOMEPAGE="http://www.bitbuilder.com/wifi_radar/"
SRC_URI="http://www.bitbuilder.com/wifi_radar/bins/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="svg sudo"

RDEPEND=">=dev-python/pygtk-2.6.1
    >=net-wireless/wireless-tools-27-r1
    sudo? ( >=app-admin/sudo-1.6.8_p9-r2 )"

src_install ()
{
    dosbin wifi-radar
    dosed "s:/etc/conf.d:/etc:g" /usr/sbin/wifi-radar
    dobin wifi-radar.sh
    insinto /etc; doins wifi-radar.conf
    if use svg; then
        doicon wifi-radar.svg
        make_desktop_entry wifi-radar.sh "WiFi Radar" wifi-radar.svg Network
    else
        doicon wifi-radar.png
        make_desktop_entry wifi-radar.sh "WiFi Radar" wifi-radar.png Network
    fi
    doman wifi-radar.1 wifi-radar.conf.5
    dodoc AUTHORS ChangeLog README TODO WHISHLIST
}

pkg_postinst()
{
    einfo "Remember to edit configuration file /etc/wifi-radar.conf to suit
your needs..."
    echo
    einfo "To use wifi-radar with a normal user (with sudo) add:"
    einfo "%users   ALL = /usr/sbin/wifi-radar"
    einfo ""
    einfo "in your /etc/sudoers then launch wifi-radar.sh"
    echo
}

------- Comment #1 From Michele Noberasco 2006-08-23 06:48:50 0000 -------
Simply removed sudo from package dependancies. Thanks for the submission!

First Last Prev Next    No search results available      Search page      Enter new bug