@@ -1,14 +1,14 @@
11{ stdenv, fetchurl, perl, file, nettools, iputils, iproute, makeWrapper
2−, coreutils, gnused, bind, openldap ? null
2+, coreutils, gnused, openldap ? null
33}:
44
55stdenv.mkDerivation rec {
66 name = "dhcp-${version}";
7− version = "4.3.3";
8−
7+ version = "4.3.4";
8+
99 src = fetchurl {
1010 url = "http://ftp.isc.org/isc/dhcp/${version}/${name}.tar.gz";
11− sha256 = "1pjy4lylx7dww1fp2mk5ikya5vxaf97z70279j81n74vn12ljg2m";
11+ sha256 = "0zk0imll6bfyp9p4ndn8h6s4ifijnw5bhixswifr5rnk7pp5l4gm";
1212 };
1313
1414 patches =
@@ -23,21 +23,9 @@ stdenv.mkDerivation rec {
2323 ./set-hostname.patch
2424 ];
2525
26− # Fixes "socket.c:591: error: invalid application of 'sizeof' to
27− # incomplete type 'struct in6_pktinfo'". See
28− # http://www.mail-archive.com/blfs-book@linuxfromscratch.org/msg13013.html
29− #
30− # Also adds the ability to run dhcpd as a non-root user / group
31− NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE -DPARANOIA";
32−
33− # It would automatically add -Werror, which disables build in gcc 4.4
34− # due to an uninitialized variable.
35− CFLAGS = "-g -O2 -Wall";
36−
37− buildInputs = [ perl makeWrapper openldap bind ];
26+ buildInputs = [ perl makeWrapper openldap ];
3827
3928 configureFlags = [
40− "--with-libbind=${bind.dev}"
4129 "--enable-failover"
4230 "--enable-execute"
4331 "--enable-tracing"