From 5ea31b5c097c55d3848cefbcbe1eb2a0b8840439 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 5 Sep 2006 15:46:48 +0000 Subject: wpa_supplicant requires CONFIG_PACKET to work in linux. (Portage version: 2.1.1_rc1-r4) --- net-wireless/wpa_supplicant/ChangeLog | 7 ++++++- net-wireless/wpa_supplicant/wpa_supplicant-0.4.9.ebuild | 10 ++++++++-- net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild | 10 ++++++++-- net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild | 10 ++++++++-- 4 files changed, 30 insertions(+), 7 deletions(-) (limited to 'net-wireless') diff --git a/net-wireless/wpa_supplicant/ChangeLog b/net-wireless/wpa_supplicant/ChangeLog index 158ce87054c7..0b2302e21d5b 100644 --- a/net-wireless/wpa_supplicant/ChangeLog +++ b/net-wireless/wpa_supplicant/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/wpa_supplicant # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.71 2006/09/04 13:37:17 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.72 2006/09/05 15:46:48 uberlord Exp $ + + 05 Sep 2006; Roy Marples + wpa_supplicant-0.4.9.ebuild, wpa_supplicant-0.5.4.ebuild, + wpa_supplicant-0.5.5.ebuild: + wpa_supplicant requires CONFIG_PACKET to work in linux. 04 Sep 2006; Roy Marples +files/wpa_supplicant-0.5.5-qt4.patch, wpa_supplicant-0.5.5.ebuild: diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.4.9.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.4.9.ebuild index d6b85fd0b9c7..7dcf317e2f10 100644 --- a/net-wireless/wpa_supplicant/wpa_supplicant-0.4.9.ebuild +++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.4.9.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.4.9.ebuild,v 1.7 2006/08/05 14:14:00 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.4.9.ebuild,v 1.8 2006/09/05 15:46:48 uberlord Exp $ -inherit eutils toolchain-funcs +inherit eutils linux-info toolchain-funcs MY_P=${PN}-${PV/_/-} S=${WORKDIR}/${MY_P} @@ -32,6 +32,12 @@ pkg_setup() { einfo "You have USE=\"qt3 qt4\" selected, defaulting to USE=\"qt4\"" einfo fi + + if use kernel_linux ; then + CONFIG_CHECK="PACKET" + ERROR_NET_RADIO="${P} requires support for Packet Socket (CONFIG_PACKET)." + linux-info_pkg_setup + fi } src_unpack() { diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild index af029731e121..38360097ff12 100644 --- a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild +++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild,v 1.8 2006/08/13 11:16:49 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild,v 1.9 2006/09/05 15:46:48 uberlord Exp $ -inherit eutils toolchain-funcs +inherit eutils linux-info toolchain-funcs DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/" @@ -28,6 +28,12 @@ pkg_setup() { if use qt3 && use qt4; then einfo "You have USE=\"qt3 qt4\" selected, defaulting to USE=\"qt4\"" fi + + if use kernel_linux ; then + CONFIG_CHECK="PACKET" + ERROR_NET_RADIO="${P} requires support for Packet Socket (CONFIG_PACKET)." + linux-info_pkg_setup + fi } src_unpack() { diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild index 17f2cce28774..01605fc3e437 100644 --- a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild +++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild,v 1.2 2006/09/04 13:37:17 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild,v 1.3 2006/09/05 15:46:48 uberlord Exp $ -inherit eutils toolchain-funcs +inherit eutils linux-info toolchain-funcs DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/" @@ -28,6 +28,12 @@ pkg_setup() { if use qt3 && use qt4; then einfo "You have USE=\"qt3 qt4\" selected, defaulting to USE=\"qt4\"" fi + + if use kernel_linux ; then + CONFIG_CHECK="PACKET" + ERROR_NET_RADIO="${P} requires support for Packet Socket (CONFIG_PACKET)." + linux-info_pkg_setup + fi } src_unpack() { -- cgit v1.2.3-65-gdbad