1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

Updating wpa_supplicant, and enabling its possible syslog output.

svn path=/nixpkgs/trunk/; revision=19001
This commit is contained in:
Lluís Batlle i Rossell 2009-12-16 19:45:00 +00:00
parent 6a513f169d
commit 28eef7beaa

View file

@ -1,16 +1,17 @@
{stdenv, fetchurl, openssl, qt4 ? null}:
stdenv.mkDerivation rec {
name = "wpa_supplicant-0.6.9";
name = "wpa_supplicant-0.7.0";
src = fetchurl {
url = "http://hostap.epitest.fi/releases/${name}.tar.gz";
sha256 = "0w7mf3nyilkjsn5v7p15v5fxnh0klgm8c979z80y0mkw7zx88lkf";
sha256 = "08aynxk842vg4if28ydza3mwkx2nvk9gw2vkbdlfn88vi1wgcd4x";
};
preBuild = ''
cd wpa_supplicant
cp defconfig .config
echo CONFIG_DEBUG_SYSLOG=y >> .config
substituteInPlace Makefile --replace /usr/local $out
makeFlagsArray=(ALL="wpa_supplicant wpa_passphrase wpa_cli ${if qt4 == null then "" else "wpa_gui-qt4"}")
'';