Commit graph

28 commits

Author SHA1 Message Date
Eelco Dolstra 4e7df1423f dhcp: Update to 4.1-ESV-R6
Fixes several security problems.
2012-07-26 11:44:34 -04:00
Eelco Dolstra 601aeb1aa8 * Make sure that dhclient properly sets the hostname after reboots.
svn path=/nixpkgs/branches/modular-python/; revision=26659
2011-04-01 15:04:20 +00:00
Eelco Dolstra 7cbb426eae * dhclient: don't flush IPv6 addresses/routes.
svn path=/nixpkgs/trunk/; revision=26455
2011-03-22 12:55:55 +00:00
Eelco Dolstra dd3d477d74 * DHCP 4.1.2.
svn path=/nixpkgs/trunk/; revision=25897
2011-02-11 12:24:24 +00:00
Eelco Dolstra a1e834e85a * Get rid of the ugly `useFromStdenv' hack in all-packages.nix.
Instead, use the generic package override mechanism to use packages
  from earlier bootstrap phases.
* Don't rely on the existence of attributes such as
  `stdenv.coreutils'.

svn path=/nixpkgs/trunk/; revision=22991
2010-08-06 10:34:34 +00:00
Eelco Dolstra 5a028270aa * dhcp 4.1.1.
svn path=/nixpkgs/trunk/; revision=22606
2010-07-15 11:06:30 +00:00
Lluís Batlle i Rossell c0d379f69a Made dhcp build (removing its -Werror). gcc 4.4 complained on uninitializated
variables.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19079
2009-12-23 08:55:32 +00:00
Eelco Dolstra 0a7708ff56 * dhcp: don't bring down an interface to delete old addresses / route
/ ARP cache information, but just flush those using the ip command.
  Bringing down wireless interfaces causes wpa_supplicant to fail and
  never recover ("wpa_supplicant: l2_packet_receive - recvfrom:
  Network is down").  This made associating with a wireless network
  rather unreliable and timing-dependant.  It seems to work a lot
  better now.

svn path=/nixpkgs/trunk/; revision=17514
2009-09-29 16:14:33 +00:00
Michael Raskin b0e71363d1 Make dhclient work again
svn path=/nixpkgs/trunk/; revision=16517
2009-07-30 10:04:48 +00:00
Eelco Dolstra 869c2efec0 * dhcp updated to 4.1.0p1. This seems to fix my problems with
wpa_supplicant (i.e. the dhclient-script no longer brings down the
  wlan0 interface).  The patches no longer seem needed.

svn path=/nixpkgs/trunk/; revision=16449
2009-07-23 23:57:11 +00:00
Eelco Dolstra 7689a348c4 * Got rid of a lot of "postInstall=postInstall" and similar lines in
builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
2009-04-23 13:31:10 +00:00
Ludovic Courtès 8b838d3cb2 dhcp: Fix path of dhclient-script' used in dhclient', fix dependencies of `dhclient-script'.
svn path=/nixpkgs/trunk/; revision=11788
2008-05-08 22:08:58 +00:00
Ludovic Courtès c02aea1925 ISC DHCP: Add a proper wrapper for dhclient-script' so that it finds hostname'
and friends; add a patch so that "make install" doesn't try to
"mkdir /var/run"; add `meta' attribute.

svn path=/nixpkgs/trunk/; revision=11123
2008-03-14 13:40:32 +00:00
Eelco Dolstra 8f4d8573c0 * Fix a bunch of URLs.
svn path=/nixpkgs/trunk/; revision=9292
2007-09-11 10:15:07 +00:00
Michael Raskin 9dc9c364bc Changed DHCP expression not to fail on global /var/state installation.
svn path=/nixpkgs/trunk/; revision=8904
2007-06-20 12:45:02 +00:00
Eelco Dolstra d89c825ec0 * Oops.
svn path=/nixpkgs/trunk/; revision=8300
2007-03-16 13:04:28 +00:00
Eelco Dolstra 500a3647ab * Don't put stuff in $out/usr.
svn path=/nixpkgs/trunk/; revision=8298
2007-03-16 11:55:21 +00:00
Eelco Dolstra f69d866898 * Hackery to get dhclient to pass PATH to dhclient-script.
svn path=/nixpkgs/trunk/; revision=7924
2007-02-20 14:59:11 +00:00
Eelco Dolstra 7f1a438ca8 * Latest dhcp.
* Dhcp client script: create resolv.conf even if the DHCP server
  doesn't provide a domain name, only a list of name servers.  (The
  QEMU DHCP server does this.)

svn path=/nixpkgs/trunk/; revision=7920
2007-02-20 14:20:16 +00:00
Eelco Dolstra 1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel 7154adfa34 new version of ISC dhcpd
svn path=/nixpkgs/trunk/; revision=6074
2006-08-08 17:50:16 +00:00
Eelco Dolstra 3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Armijn Hemel 91e960b400 remove dependency on /bin/bash for dhclient
svn path=/nixpkgs/trunk/; revision=4094
2005-10-16 21:48:27 +00:00
Armijn Hemel 16bfb94736 don't forget the patch!
svn path=/nixpkgs/trunk/; revision=4078
2005-10-12 20:33:15 +00:00
Armijn Hemel bcb78a4ab7 make dhclient work
svn path=/nixpkgs/trunk/; revision=4077
2005-10-12 20:32:57 +00:00
Armijn Hemel acc1db9ac6 use execv instead of execve
svn path=/nixpkgs/trunk/; revision=3657
2005-08-21 22:37:31 +00:00
Armijn Hemel 4b640be166 add dhcp
svn path=/nixpkgs/trunk/; revision=3652
2005-08-21 16:11:25 +00:00