summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-07-17 11:41:19 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-07-17 11:41:19 +0000
commit9075d2a2cd4ab4d7fe3741420da85d8095ac93f2 (patch)
treeeed1ca2c0e600ff3b183d74f3f1ccbd4b5c64391 /pkgs/tools/networking
parent179c9415db68406d01efa92a6cc6cb7b63136891 (diff)
downloadnixpkgs-9075d2a2cd4ab4d7fe3741420da85d8095ac93f2.tar
nixpkgs-9075d2a2cd4ab4d7fe3741420da85d8095ac93f2.tar.gz
nixpkgs-9075d2a2cd4ab4d7fe3741420da85d8095ac93f2.tar.bz2
nixpkgs-9075d2a2cd4ab4d7fe3741420da85d8095ac93f2.tar.lz
nixpkgs-9075d2a2cd4ab4d7fe3741420da85d8095ac93f2.tar.xz
nixpkgs-9075d2a2cd4ab4d7fe3741420da85d8095ac93f2.tar.zst
nixpkgs-9075d2a2cd4ab4d7fe3741420da85d8095ac93f2.zip
* dhcpcd, another DHCP client (not tested). Hopefully it works better
  than dhclient in conjunction with wpa_supplicant.

svn path=/nixpkgs/trunk/; revision=16411
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/dhcpcd/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dhcpcd/default.nix b/pkgs/tools/networking/dhcpcd/default.nix
new file mode 100644
index 00000000000..34cd1d8ed26
--- /dev/null
+++ b/pkgs/tools/networking/dhcpcd/default.nix
@@ -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;
+  };
+}