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

Bug 598138

Summary: net-wireless/wpa_supplicant-2.6 - fails to set missing configuration values
Product: Gentoo Linux Reporter: Stefan Ott <gentoo>
Component: Current packagesAssignee: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, jer, swegener, zerochaos
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=565450
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Check for missing config options

Description Stefan Ott 2016-10-26 15:44:48 UTC
Created attachment 451512 [details, diff]
Check for missing config options

The current ebuild for version 2.6 fails to set build configuration values that are not present in the default configuration.

An example is the IBSS_RSN option: The ebuild says Kconfig_style_config IBSS_RSN but the option does not show up in the generated .config file because it is missing from wpa_supplicant's defconfig.

The attached patch fixes this by modifying the Kconfig_style_config function to check whether the option has been set and, if not, add it at the end of the file.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2017-12-08 16:48:15 UTC
wow, nice catch.  this fixes a lot more than IBSS too:

CONFIG_IBSS_RSN=y
CONFIG_EAP_TLV=y
CONFIG_EAP_EXE=y
CONFIG_BGSCAN_SIMPLE=y
CONFIG_BGSCAN_LEARN=y
CONFIG_MESH=y
CONFIG_DRIVER_ATMEL=y
CONFIG_DRIVER_HOSTAP=y
CONFIG_DRIVER_IPW=y
CONFIG_DRIVER_RALINK=y
CONFIG_WPS2=y
CONFIG_WPS_UFD=y
CONFIG_WPS_UPNP=y


thanks a lot!

fixing in 2.6-r4 (fixing a lot of bugs so it will be up shortly)
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2017-12-08 16:52:30 UTC
*** Bug 565450 has been marked as a duplicate of this bug. ***
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2017-12-08 16:57:56 UTC
*** Bug 596840 has been marked as a duplicate of this bug. ***