Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=429d744d87bbd53fc8027b5874f286144263d935
commit 429d744d87bbd53fc8027b5874f286144263d935 Author: James Buren <[email protected]> Date: Wed May 9 01:21:10 2012 -0500 hostapd-0.7.3-2-x86_64 * rebuild with libnl 3.2.9 diff --git a/source/network-extra/hostapd/FrugalBuild b/source/network-extra/hostapd/FrugalBuild index b5c5b72..06079c1 100644 --- a/source/network-extra/hostapd/FrugalBuild +++ b/source/network-extra/hostapd/FrugalBuild @@ -3,22 +3,25 @@ pkgname=hostapd pkgver=0.7.3 -pkgrel=1 +pkgrel=2 pkgdesc="A daemon for managing software wireless access points." url="http://hostap.epitest.fi/hostapd" -depends=('openssl>=1.0.0' 'libnl') +depends=('openssl>=1.0.0' 'libnl>=3.2.9') groups=('network-extra') archs=('i686' 'x86_64') up2date="Flasttar $url" -source=(${url/hostapd/releases}/$pkgname-$pkgver.tar.gz config rc.$pkgname README.Frugalware) +source=(${url/hostapd/releases}/$pkgname-$pkgver.tar.gz config rc.$pkgname README.Frugalware hostap_allow-linking-with-libnl-3.2.patch) backup=(etc/$pkgname/$pkgname.{accept,conf,deny}) sha1sums=('7a8853fe41ee5a2b9f03f608cf7a61c7ccea4f4c' \ - '903738e1b8901598c025e18bf093bd452bc75f0d' \ + '284e2146132ce79555d1317476792f800463760d' \ 'f4f0f2967b3fc68aec7121b489e5650de4d76c62' \ - '94c24e4311a366421592031cbb2ae67c41b4a880') + '94c24e4311a366421592031cbb2ae67c41b4a880' \ + '69fbaac28aef4fbdac333c6ba4382567202c77b2') build() { - Fcd $pkgname-$pkgver/$pkgname + Fcd $pkgname-$pkgver + Fpatchall + cd $pkgname || Fdie cp $Fsrcdir/config .config || Fdie make || Fdie sed -i -r -e "s:#(.*)=/etc/$pkgname\.(accept|deny):\1=/etc/$pkgname/$pkgname.\2:" $pkgname.conf || Fdie diff --git a/source/network-extra/hostapd/config b/source/network-extra/hostapd/config index 108d2d1..70cf84f 100644 --- a/source/network-extra/hostapd/config +++ b/source/network-extra/hostapd/config @@ -173,3 +173,5 @@ CONFIG_IEEE80211N=y #LIBS += -lbfd -liberty -lz #LIBS_p += -lbfd -liberty -lz #LIBS_c += -lbfd -liberty -lz + +CONFIG_LIBNL32=y diff --git a/source/network-extra/hostapd/hostap_allow-linking-with-libnl-3.2.patch b/source/network-extra/hostapd/hostap_allow-linking-with-libnl-3.2.patch new file mode 100644 index 0000000..9111f6c --- /dev/null +++ b/source/network-extra/hostapd/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
