FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CRUX > CRUX

 
 
LinkBack Thread Tools
 
Old 01-23-2012, 04:51 PM
 
Default ports/opt (2.7): wpa_supplicant: added support for nl80211 configuration interface, new dependency libnl

commit 0bfb20cb3acba64410cf279b73a0fba3c793fc4c
Author: Juergen Daubert <jue@jue.li>
Date: Mon Jan 23 18:47:06 2012 +0100

[notify] wpa_supplicant: added support for nl80211 configuration interface, new dependency libnl

See http://linuxwireless.org/ for documentation

diff --git a/wpa_supplicant/.footprint b/wpa_supplicant/.footprint
index c1d554d..3cf369d 100644
--- a/wpa_supplicant/.footprint
+++ b/wpa_supplicant/.footprint
@@ -3,12 +3,12 @@ drwxr-xr-x root/root etc/
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man5/
--rwxr-xr-x root/root usr/man/man5/wpa_supplicant.conf.5.gz
+-rw-r--r-- root/root usr/man/man5/wpa_supplicant.conf.5.gz
drwxr-xr-x root/root usr/man/man8/
--rwxr-xr-x root/root usr/man/man8/wpa_background.8.gz
--rwxr-xr-x root/root usr/man/man8/wpa_cli.8.gz
--rwxr-xr-x root/root usr/man/man8/wpa_passphrase.8.gz
--rwxr-xr-x root/root usr/man/man8/wpa_supplicant.8.gz
+-rw-r--r-- root/root usr/man/man8/wpa_background.8.gz
+-rw-r--r-- root/root usr/man/man8/wpa_cli.8.gz
+-rw-r--r-- root/root usr/man/man8/wpa_passphrase.8.gz
+-rw-r--r-- root/root usr/man/man8/wpa_supplicant.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/wpa_cli
-rwxr-xr-x root/root usr/sbin/wpa_passphrase
diff --git a/wpa_supplicant/Pkgfile b/wpa_supplicant/Pkgfile
index 291fcbd..787ec8a 100644
--- a/wpa_supplicant/Pkgfile
+++ b/wpa_supplicant/Pkgfile
@@ -1,22 +1,27 @@
# Description: User space IEEE 802.1X/WPA supplicant (wireless client)
# URL: http://hostap.epitest.fi/wpa_supplicant/
# Maintainer: Juergen Daubert, jue at crux dot nu
-# Depends on: openssl ncurses readline
+# Depends on: openssl ncurses readline libnl

name=wpa_supplicant
version=0.7.3
-release=1
+release=2
source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)

build () {
cd $name-$version/$name
+
cp defconfig .config
+ echo "CONFIG_DRIVER_NL80211=y" >> .config
echo "CONFIG_READLINE=y" >> .config
+
make
+
install -d $PKG/{usr/sbin,usr/man/man{8,5},etc}
- install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
- install doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/man/man8
- install doc/docbook/wpa_supplicant.conf.5 $PKG/usr/man/man5
+ install -m 0755 wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
+ install -m 0644 doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/man/man8
+ install -m 0644 doc/docbook/wpa_supplicant.conf.5 $PKG/usr/man/man5
+
echo -e "ctrl_interface=/var/run/wpa_supplicant
" > $PKG/etc/wpa.conf
chmod 0600 $PKG/etc/wpa.conf
}
diff --git a/wpa_supplicant/README b/wpa_supplicant/README
index 300fc8b..71dbfc9 100644
--- a/wpa_supplicant/README
+++ b/wpa_supplicant/README
@@ -28,13 +28,11 @@ POST-INSTALL
/sbin/modprobe ipw2100
/sbin/ifconfig eth1 xxx.xxx.xxx.xxx netmask 255.255.255.xxx
/sbin/route add default gw xxx.xxx.xxx.xxx
- /usr/sbin/wpa_supplicant -B -Dwext -ieth1 -c/etc/wpa.conf
-
- Note: the above configuration makes use of the generic wext
- wpa_supplicant driver (Linux wireless extensions),
- which is the preferred nowadays. Use this driver for
- ndiswrapper as well.
+ /usr/sbin/wpa_supplicant -B -Dnl80211 -ieth1 -c/etc/wpa.conf

+ Note: the above configuration makes use of the generic nl80211
+ wpa_supplicant driver, which is the preferred nowadays
+ and supersedes the wext (wireless extensions) driver.

PRECAUTION

_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 

Thread Tools




All times are GMT. The time now is 05:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org