anchor.diff:  , gettext
   , libxslt
   , perl
  -, pythonPackages
  -
  +, python2Packages
  +
  +, acl
   , avahi
  -, acl
   , ceph
   , cups
   , dbus
   , glusterfs
   , gnutls
  -, iniparser
  +, gpgme
  +, jansson
   , krb5_full
   , ldb
  -, libaio
   , libarchive
  -, libbsd
   , libcap
   , libgcrypt
   , libgpg-error
  +, libtirpc
   , libunwind
  +, lmdb
   , ncurses
  -, nss_wrapper
   , openldap
   , pam
   , popt
  -, rdma-core
   , readline
  -, resolv_wrapper
  -, socket_wrapper
  -, subunit
  +, rpcsvc-proto
   , systemd_lib
   , talloc
   , tdb
   , tevent
  -, uid_wrapper
   , zlib
   
   , type ? ""
  
positive.code:     wrapPythonPrograms $out/bin
    '';
  
    # FIXME
    buildDirCheck = false;
  
    passthru = rec {
      srcVerification = fetchurl {
        failEarly = true;
  
negative.code:     avahi
      cups
      gnutls
      gpgme
      libarchive
      libcap
      libgcrypt
      libgpg-error
      libunwind
      lmdb
      ncurses
      openldap
      pam
      popt
      readline
      systemd_lib
      talloc
      tdb
      tevent
      zlib
    ] ++ optionals (!isClient) [
      ceph
      dbus
      glusterfs
      krb5_full
      jansson
      libtirpc
      rpcsvc-proto
      python2Packages.etcd
    ];
  
    postPatch = ''
      # Removes absolute paths in scripts
      grep -q '/sbin/' ctdb/config/functions
      sed -i 's,/sbin/,,g' ctdb/config/functions
  
      # Fix the XML Catalog Paths
      sed -i "s,\(XML_CATALOG_FILES=\"\),\1$XML_CATALOG_FILES ,g" buildtools/wafsamba/wafsamba.py
    '';
  
    wafForBuild = "buildtools/bin/waf";
    wafVendored = true;
  
    wafConfigureFlags = [
      # buildtools/wafsamba/wscript options
      "--bundled-libraries=com_err"
      "--private-libraries=NONE"
      "--abi-check"
      "--why-needed"
      "--with-libiconv"
  
      # ctdb/wscript
      #(if isClient then null else "--enable-infiniband")  # TODO: Fixme
      #(if isClient then null else "--enable-pmda")
      (if isClient then null else "--enable-etcd-reclock")
      (if isClient then null else "--enable-ceph-reclock")
  
      # dynconfig/wscript options
      "--enable-fhs"
      "--sysconfdir=/etc"
      "--localstatedir=/var"
  
      # lib/audit_logging/wscript options
      (if isClient then null else "--with-json-audit")
  
      # lib/util/wscript
      "--with-systemd"
  
      # packaging/wscript
      "--systemd-install-services"
  
      # source3/wscript options
      "--with-static-modules=NONE"
      "--with-shared-modules=ALL"
  