Updating wpa_supplicant, and enabling its possible syslog output.
svn path=/nixpkgs/trunk/; revision=19001
This commit is contained in:
parent
6a513f169d
commit
28eef7beaa
|
@ -1,16 +1,17 @@
|
||||||
{stdenv, fetchurl, openssl, qt4 ? null}:
|
{stdenv, fetchurl, openssl, qt4 ? null}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "wpa_supplicant-0.6.9";
|
name = "wpa_supplicant-0.7.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://hostap.epitest.fi/releases/${name}.tar.gz";
|
url = "http://hostap.epitest.fi/releases/${name}.tar.gz";
|
||||||
sha256 = "0w7mf3nyilkjsn5v7p15v5fxnh0klgm8c979z80y0mkw7zx88lkf";
|
sha256 = "08aynxk842vg4if28ydza3mwkx2nvk9gw2vkbdlfn88vi1wgcd4x";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
cd wpa_supplicant
|
cd wpa_supplicant
|
||||||
cp defconfig .config
|
cp defconfig .config
|
||||||
|
echo CONFIG_DEBUG_SYSLOG=y >> .config
|
||||||
substituteInPlace Makefile --replace /usr/local $out
|
substituteInPlace Makefile --replace /usr/local $out
|
||||||
makeFlagsArray=(ALL="wpa_supplicant wpa_passphrase wpa_cli ${if qt4 == null then "" else "wpa_gui-qt4"}")
|
makeFlagsArray=(ALL="wpa_supplicant wpa_passphrase wpa_cli ${if qt4 == null then "" else "wpa_gui-qt4"}")
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue