anchor.diff:      "--enable-early-chroot"
       "--sysconfdir=/etc"
       "--localstatedir=/var"
  +    (lib.optional stdenv.isLinux "--with-randomdev=/dev/random")
     ] ++ stdenv.lib.optionals (openldap != null) [ "--with-ldap" "--with-ldapcrypto" ];
   
     NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" ];
  
positive.code:       substituteInPlace configure --replace "/usr/bin/file" "${file}/bin/file"
        sed -i "includes/dhcpd.h" \
  	-"es|^ *#define \+_PATH_DHCLIENT_SCRIPT.*$|#define _PATH_DHCLIENT_SCRIPT \"$out/sbin/dhclient-script\"|g"
      '';
  
    meta = with stdenv.lib; {
  
negative.code:       ./set-hostname.patch
      ];
  
    nativeBuildInputs = [ perl ];
  
    buildInputs = [ makeWrapper openldap ];
  
    depsBuildBuild = [ buildPackages.stdenv.cc ];
  
    configureFlags = [
      "--enable-failover"
  