summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-10-02 15:39:18 +0000
committerRoy Marples <uberlord@gentoo.org>2006-10-02 15:39:18 +0000
commitfc9197b36461617d4112a543aab138ae061c78ed (patch)
tree970b71ff38175bf4676f75ab1db18a0a998c76a7 /net-wireless/wpa_supplicant
parentSome minor code cleanups and changing the text on the desktop icon. (diff)
downloadgentoo-2-fc9197b36461617d4112a543aab138ae061c78ed.tar.gz
gentoo-2-fc9197b36461617d4112a543aab138ae061c78ed.tar.bz2
gentoo-2-fc9197b36461617d4112a543aab138ae061c78ed.zip
Install a default configuration file which connects to any unsecured AP.
(Portage version: 2.1.2_pre2-r1)
Diffstat (limited to 'net-wireless/wpa_supplicant')
-rw-r--r--net-wireless/wpa_supplicant/ChangeLog6
-rw-r--r--net-wireless/wpa_supplicant/files/wpa_supplicant.conf7
-rw-r--r--net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild10
3 files changed, 18 insertions, 5 deletions
diff --git a/net-wireless/wpa_supplicant/ChangeLog b/net-wireless/wpa_supplicant/ChangeLog
index 39b939f6b737..63e9a7a0d8db 100644
--- a/net-wireless/wpa_supplicant/ChangeLog
+++ b/net-wireless/wpa_supplicant/ChangeLog
@@ -1,6 +1,10 @@
# 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.78 2006/09/30 18:22:35 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.79 2006/10/02 15:39:18 uberlord Exp $
+
+ 02 Oct 2006; Roy Marples <uberlord@gentoo.org> +files/wpa_supplicant.conf,
+ wpa_supplicant-0.5.5.ebuild:
+ Install a default configuration file which connects to any unsecured AP.
30 Sep 2006; Roy Marples <uberlord@gentoo.org>
+files/wpa_supplicant-0.5.5-default_driver.patch,
diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant.conf b/net-wireless/wpa_supplicant/files/wpa_supplicant.conf
new file mode 100644
index 000000000000..c3a29e50d9ca
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/wpa_supplicant.conf
@@ -0,0 +1,7 @@
+# This is a network block that connects to any unsecured access point.
+# We give it a low priority so any defined blocks are preferred.
+network={
+ key_mgmt=NONE
+ priority=-9999999
+}
+
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 3eff22c85bad..b9c5804364c6 100644
--- a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild
@@ -1,6 +1,6 @@
# 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.7 2006/09/30 18:22:35 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild,v 1.8 2006/10/02 15:39:18 uberlord Exp $
inherit eutils toolchain-funcs
@@ -157,6 +157,8 @@ src_install() {
exeinto /etc/wpa_supplicant/
newexe "${FILESDIR}"/wpa_cli.sh wpa_cli.sh
+ insinto /etc/wpa_supplicant/
+ newins "${FILESDIR}"/wpa_supplicant.conf wpa_supplicant.conf
if use qt4 ; then
into /usr
@@ -171,18 +173,18 @@ src_install() {
fi
dodoc ChangeLog COPYING eap_testing.txt README todo.txt
- newdoc wpa_supplicant.conf wpa_supplicant.conf.example
+ newdoc wpa_supplicant.conf wpa_supplicant.conf
doman doc/docbook/*.8
doman doc/docbook/*.5
}
pkg_postinst() {
- einfo "To use ${MY_P} you must create the configuration file"
+ einfo "A default configuration file has been installed to"
einfo "/etc/wpa_supplicant/wpa_supplicant.conf"
einfo
einfo "An example configuration file is available as"
- einfo "/usr/share/doc/${PF}/wpa_supplicant.conf.example.gz"
+ einfo "/usr/share/doc/${PF}/wpa_supplicant.conf.gz"
if use madwifi; then
einfo