# HG changeset patch # User Christopher Rogers # Date 1337893765 0 # Node ID 147040c6687d5f2094c0495112d3e87b727dc531 # Parent b6cb56c17b0b591c84d052040038d9fc559071d8 Up: hostapd to 1.0. diff -r b6cb56c17b0b -r 147040c6687d hostapd/receipt --- a/hostapd/receipt Thu May 24 20:50:37 2012 +0000 +++ b/hostapd/receipt Thu May 24 21:09:25 2012 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="hostapd" -VERSION="0.7.3" +VERSION="1.0" CATEGORY="network" SHORT_DESC="Daemon for wireless software access points." MAINTAINER="gokhlayeh@slitaz.org" @@ -15,10 +15,12 @@ # Rules to configure and make the package. compile_rules() { + patch -Np1 -i $stuff/hostap_allow-linking-with-libnl-3.2.patch cp -a $stuff/config $src/hostapd/.config mkdir -p $DESTDIR/usr/bin cd $src/hostapd - sed -i "s|/usr/local/bin|$DESTDIR/usr/bin|" Makefile && + sed -i "s|/usr/local/bin|$DESTDIR/usr/bin|" Makefile + export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-3.0)" make && make DESTDIR=$DESTDIR install } diff -r b6cb56c17b0b -r 147040c6687d hostapd/stuff/config --- a/hostapd/stuff/config Thu May 24 20:50:37 2012 +0000 +++ b/hostapd/stuff/config Thu May 24 21:09:25 2012 +0000 @@ -90,3 +90,5 @@ CONFIG_IPV6=y CONFIG_DRIVER_NL80211=y + +CONFIG_LIBNL32=y \ No newline at end of file