anchor.diff:      #"--enable-snmp-rfcv2"
       #"--enable-snmp-rfcv3"
       "--enable-dbus"
  +    "--enable-json"
       "--enable-sha1"
  -    "--enable-json"
     ];
  -
  -  # This is a crappy hack to work around how broken the configure script is
  -  # at parsing pkgconfig files. This does seem to have no negative side effect.
  -  preBuild = ''
  -    export NIX_LDFLAGS="$NIX_LDFLAGS -lnl-genl-3 -lnl-route-3 -lssl"
  -  '';
   
     preInstall = ''
       installFlagsArray+=(
  
positive.code:     openssl
    ];
  
    postPatch = ''
      sed -i 's,$(DESTDIR)/usr/share,$out/share,g' Makefile.in
  
      sed \
        -e 's,GENL_LIB=.*,GENL_LIB=nl-genl-3,' \
        -e 's,NL3_LIB=.*,NL3_LIB=nl-3,' \
        -e 's,ROUTE_LIB=.*,ROUTE_LIB=nl-route-3,' \
        -i configure
    '';
  
    configureFlags = [
      "--sysconfdir=/etc"
      "--localstatedir=/var"
      "--disable-silent-rules"
      #"--enable-snmp"
      #"--enable-snmp-vrrp"
      #"--enable-snmp-checker"
  
negative.code: { stdenv
  , fetchurl
  
  , glib
  , ipset
  