* dhcpcd, another DHCP client (not tested). Hopefully it works better

than dhclient in conjunction with wpa_supplicant.

svn path=/nixpkgs/trunk/; revision=16411
This commit is contained in:
Eelco Dolstra 2009-07-17 11:41:19 +00:00
parent 179c9415db
commit 9075d2a2cd
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "dhcpcd-5.0.6";
src = fetchurl {
url = "http://roy.marples.name/downloads/dhcpcd/${name}.tar.bz2";
sha256 = "0q8yz1kg9x031lnsvws010wawg0z85xv34575x1iavh3lrd90705";
};
makeFlags = "PREFIX=\${out}";
# Hack to make installation succeed. dhcpcd will still use /var/db
# at runtime.
installFlags = "DBDIR=\${TMPDIR}/db";
meta = {
description = "A client for the Dynamic Host Configuration Protocol (DHCP)";
homepage = http://roy.marples.name/projects/dhcpcd;
};
}

View File

@ -604,6 +604,10 @@ let
bash makeWrapper;
};
dhcpcd = import ../tools/networking/dhcpcd {
inherit fetchurl stdenv;
};
diffstat = import ../tools/text/diffstat {
inherit fetchurl stdenv;
};