wok diff wpa_supplicant/receipt @ rev 20131

wpa_supplicant: security fix for KRACK
author Richard Dunbar <mojo@slitaz.org>
date Sat Oct 28 02:35:58 2017 -0400 (2017-10-28)
parents e25ff83b65ed
children def8459358ed
line diff
     1.1 --- a/wpa_supplicant/receipt	Tue Mar 14 13:43:16 2017 +0100
     1.2 +++ b/wpa_supplicant/receipt	Sat Oct 28 02:35:58 2017 -0400
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wpa_supplicant"
     1.7 -VERSION="2.1"
     1.8 +VERSION="2.6"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="WPA Supplicant with support for WPA and WPA2"
    1.11  MAINTAINER="0dddba11@googlemail.com"
    1.12 @@ -29,7 +29,15 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd $src/$PACKAGE
    1.17 +	for i in  $stuff/*.patch
    1.18 +	do
    1.19 +     		if [ -f done.$(basename $i) ]; then
    1.20 +     			continue
    1.21 +		else
    1.22 +     			patch -p1 < $i && touch done.$(basename $i) || return 1
    1.23 +		fi
    1.24 +	done
    1.25 +	cd $src/$PACKAGE 
    1.26  	cp -a ./defconfig ./.config
    1.27  	sed 's/-lnl/-lnl-3/g' -i ../src/drivers/drivers.mak
    1.28  	sed 's/-lnl-3-genl/-lnl-genl-3/g' -i ../src/drivers/drivers.mak