Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=2ff3ec581e86acc20a3743901bc1f26864af69d1

commit 2ff3ec581e86acc20a3743901bc1f26864af69d1
Author: James Buren <[email protected]>
Date:   Wed May 9 01:11:46 2012 -0500

wpa_supplicant-0.7.3-6-x86_64
* rebuild with libnl 3.2.9

diff --git a/source/base/wpa_supplicant/FrugalBuild 
b/source/base/wpa_supplicant/FrugalBuild
index 6bdf7ee..b984bcf 100644
--- a/source/base/wpa_supplicant/FrugalBuild
+++ b/source/base/wpa_supplicant/FrugalBuild
@@ -7,10 +7,10 @@ USE_DEBUG=${USE_DEBUG:-"y"}

pkgname=wpa_supplicant
pkgver=0.7.3
-pkgrel=5
+pkgrel=6
pkgdesc="Linux WPA/WPA2/IEEE 802.1X Supplicant"
url="http://hostap.epitest.fi/wpa_supplicant/";
-depends=('openssl>=1.0.0' 'libnl')
+depends=('openssl>=1.0.0' 'libnl>=3.2.9')
if Fuse $USE_DBUS; then
depends=("${depends[@]}" 'dbus')
fi
@@ -20,11 +20,12 @@ groups=('base')
archs=('i686' 'x86_64')
up2date="lynx -dump $url |grep -1 stable|sed -n 's/.*-\(.*\)\.t.*/\1/;3 p'"
source=(http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz \
-       config nm.diff dbus.diff)
+       config nm.diff dbus.diff hostap_allow-linking-with-libnl-3.2.patch)
sha1sums=('ca51db8931fabf386352c87422f3e62fb44c3fe3' \
'afde5abc911f18cf7871df8cbf21735b35af4a03' \
'f253705e39900dc6e65dd48f1a6fb23c465f8f0c' \
-          '45980b4f69a65199c7c462595ed63d951095083c')
+          '45980b4f69a65199c7c462595ed63d951095083c' \
+          '69fbaac28aef4fbdac333c6ba4382567202c77b2')
options=('scriptlet')

build()
@@ -54,6 +55,7 @@ build()
echo "CONFIG_DRIVER_RALINK=y"      >> .config
echo "CONFIG_DRIVER_WEXT=y"        >> .config
echo "CONFIG_DRIVER_WIRED=y"       >> .config
+       echo "CONFIG_LIBNL32=y"            >> .config

Fsed 'dynamic_eap_methods' '' Makefile
Fmake
diff --git 
a/source/base/wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch 
b/source/base/wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch
new file mode 100644
index 0000000..9111f6c
--- /dev/null
+++ b/source/base/wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch
@@ -0,0 +1,41 @@
+Subject: [RFC] hostap: Allow linking with libnl-3.
+Date: Tue, 15 Nov 2011 14:30:04 -0000
+From: Ben Greear <[email protected]>
+
+I needed this patch to compile against the latest
+libnl code.  I added this to my config file:
+
+CONFIG_LIBNL32=y
+
+Signed-hostap: Ben Greear <[email protected]>
+rediffed against 0.7.3 by Stefan Lippers-Hollmann <[email protected]>
+
+---
+:100644 100644 5caeec5... 0cc81f9... M  src/drivers/drivers.mak
+ src/drivers/drivers.mak |   21 ++++++++++++++-------
+ 2 files changed, 29 insertions(+), 14 deletions(-)
+
+--- a/src/drivers/drivers.mak
++++ b/src/drivers/drivers.mak
+@@ -31,11 +31,18 @@ NEED_SME=y
+ NEED_AP_MLME=y
+ NEED_NETLINK=y
+ NEED_LINUX_IOCTL=y
+-DRV_LIBS += -lnl
++ifdef CONFIG_LIBNL32
++  DRV_LIBS += -lnl-3
++  DRV_LIBS += -lnl-genl-3
++  DRV_CFLAGS += -DCONFIG_LIBNL20
++  DRV_CFLAGS += -I/usr/include/libnl3/
++else
++  DRV_LIBS += -lnl
+
+-ifdef CONFIG_LIBNL20
+-DRV_LIBS += -lnl-genl
+-DRV_CFLAGS += -DCONFIG_LIBNL20
++  ifdef CONFIG_LIBNL20
++    DRV_LIBS += -lnl-genl
++    DRV_CFLAGS += -DCONFIG_LIBNL20
++  endif
+ endif
+ endif
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to