diff options
author | Eric Hameleers <alien@slackware.com> | 2005-10-07 23:34:20 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2005-10-07 23:34:20 +0000 |
commit | c4d0656ac1d57c86ed439262b62f4a3b1b91b5e8 (patch) | |
tree | bd2187b75ec07974e22d8221e4815a160fb8955f /madwifi/build | |
parent | c6955f5f310d185ed4c5374f2b9c03a5c1284a78 (diff) | |
download | asb-c4d0656ac1d57c86ed439262b62f4a3b1b91b5e8.tar.gz asb-c4d0656ac1d57c86ed439262b62f4a3b1b91b5e8.tar.xz |
Apply patch to make wpa_supplicant and madwifi co-operate again.
Diffstat (limited to 'madwifi/build')
-rwxr-xr-x | madwifi/build/madwifi.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/madwifi/build/madwifi.SlackBuild b/madwifi/build/madwifi.SlackBuild index 825517b1..dc8190d9 100755 --- a/madwifi/build/madwifi.SlackBuild +++ b/madwifi/build/madwifi.SlackBuild @@ -15,7 +15,7 @@ mkdir -p $PKG KERNELARCH=i686 KERNELVERSION=${KERNELVERSION:-`/bin/uname -r`} KERNELSRC="/lib/modules/${KERNELVERSION}/build" -VERSION=20050707 +VERSION=20051007 ARCH=i486 BUILD=2 @@ -52,10 +52,17 @@ make clean symlinks oldconfig dep cd - cd $PRGNAM +# The wpa_supplicant/madwifi/dhcp problem patch: +patch -p0 < $CWD/ieee80211_wireless.c.patch + # Build the kernel modules and the utilities # enable the SOFTLED with -DSOFTLED export COPTS="$COPTS -DSOFTLED" +# If you need another rate control module than ath_rate_sample (the default), +# you'll need to set the ATH_RATE variable before starting make. For instance, +# (read the INSTALL file why you could want this) to build ath_rate_amrr, set: +# export ATH_RATE=ath_rate/amrr make clean all KERNELPATH=${KERNELSRC} KERNELRELEASE=${KERNELVERSION} make -C tools @@ -87,8 +94,8 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh # Substitute correct versions -perl -pi -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/slack-desc -perl -pi -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/doinst.sh +sed -i -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/slack-desc +sed -i -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/doinst.sh cd $PKG makepkg -l y -c n $TMP/$PRGNAM-${VERSION}_${KERNELVERSION}-$ARCH-$BUILD.tgz |