Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 250034

Summary: net-misc/networkmanager has no wifi use flag
Product: Gentoo Linux Reporter: Jonas M. Gastal <jgastal>
Component: Current packagesAssignee: Steev Klimaszewski (RETIRED) <steev>
Status: RESOLVED UPSTREAM    
Severity: normal CC: dagger, rbu, serkan
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas M. Gastal 2008-12-06 16:09:01 UTC
net-misc/networkmanager has no wifi use flag and depends on net-wireless/wireless-tools and net-wireless/wpa_suplicant.

I understand that most people want wifi, but why not add the wifi flag so that people who are installing networkmangaer in desktop systems without wifi don't have to install useless packages.

Reproducible: Always

Steps to Reproduce:
1. Add -wifi to USE flags in make.conf
2. run "emerge -av networkmanager"

Actual Results:  
asked to install net-wireless/wireless-tools and net-wireless/wpa_suplicant

Expected Results:  
should take into account -wifi flag and not depend on net-wireless/wireless-tools and net-wireless/wpa_suplicant
Comment 1 Robert Piasek (RETIRED) gentoo-dev 2008-12-07 09:36:22 UTC
Hi Jonas,

I'm afraid NetworkManager is universal network daemon and it's design to completely manage your network connections with main focus on wireless networks. USE flags are designed to enable or disable optional components. Unfortunately above packages are build/run time dependencies and are mandatory to build/run.

If you try to build networkmanager without the above packages you will get build errors:

checking Linux Wireless Extensions >= 18... no
configure: error: wireless-tools >= 28pre9 not installed or not functional
Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2008-12-07 13:50:18 UTC
As pointed out by Robert, we cannot make requirements so deep in the design optional. Your concern would be best addressed upstream.

Thanks for your bug report.
Comment 3 Jonas M. Gastal 2008-12-07 17:55:28 UTC
(In reply to comment #2)

Thanks for the answers, I'll inquire upstream about removing these as dependecies.