* wpa_supplicant 0.6.9.
svn path=/nixpkgs/trunk/; revision=14879
This commit is contained in:
parent
acf5563f10
commit
801b5fd701
|
@ -1,19 +1,30 @@
|
||||||
{stdenv, fetchurl, openssl}:
|
{stdenv, fetchurl, openssl}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "wpa_supplicant-0.6.3";
|
name = "wpa_supplicant-0.6.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://hostap.epitest.fi/releases/wpa_supplicant-0.6.3.tar.gz;
|
url = "http://hostap.epitest.fi/releases/${name}.tar.gz";
|
||||||
sha256 = "f70b18243e049bbda66254388b6e94d404e747d913b8496d6e93a9c56bbf4af2";
|
sha256 = "0w7mf3nyilkjsn5v7p15v5fxnh0klgm8c979z80y0mkw7zx88lkf";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = "
|
preBuild = ''
|
||||||
cd wpa_supplicant
|
cd wpa_supplicant
|
||||||
cp defconfig .config
|
cp defconfig .config
|
||||||
substituteInPlace Makefile --replace /usr/local $out
|
substituteInPlace Makefile --replace /usr/local $out
|
||||||
makeFlagsArray=(ALL=\"wpa_supplicant wpa_passphrase wpa_cli\")
|
makeFlagsArray=(ALL="wpa_supplicant wpa_passphrase wpa_cli")
|
||||||
";
|
'';
|
||||||
|
|
||||||
buildInputs = [openssl];
|
buildInputs = [openssl];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
ensureDir $out/share/man/man5 $out/share/man/man8
|
||||||
|
cp doc/docbook/*.5 $out/share/man/man5/
|
||||||
|
cp doc/docbook/*.8 $out/share/man/man8/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://hostap.epitest.fi/wpa_supplicant/;
|
||||||
|
description = "A tool for connecting to WPA and WPA2-protected wireless networks";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue