anchor.diff:  
   inherit systemd waf-samba cpan-base perlnative
   
  -DEPENDS += "readline virtual/libiconv zlib popt talloc libtdb libtevent libldb krb5 ctdb"
  +DEPENDS += "readline virtual/libiconv zlib popt talloc libtdb libtevent libldb krb5 ctdb libbsd cyrus-sasl"
  +
   
   SYSVINITTYPE_linuxstdbase = "lsb"
   SYSVINITTYPE = "sysv"
  
positive.code:                  --with-piddir=${localstatedir}/run \
                   --with-sockets-dir=${localstatedir}/run/samba \
                   --with-modulesdir=${libdir}/samba \
                   --with-pammodulesdir=${base_libdir}/security \
                   --with-lockdir=${localstatedir}/lib/samba \
                   --with-cachedir=${localstatedir}/lib/samba \
                   --with-perl-lib-install-dir=${PERL_VERNDORLIB} \
  
negative.code: PACKAGECONFIG[acl] = "--with-acl-support,---without-acl-support,acl"
  PACKAGECONFIG[aio] = "--with-aio-support,---without-aio-support,libaio"
  PACKAGECONFIG[fam] = "--with-fam,--without-fam,gamin"
  PACKAGECONFIG[pam] = "--with-pam --with-pam_smbpass --with-pammodulesdir=${base_libdir}/security,--without-pam --without-pam_smbpass,libpam"
  PACKAGECONFIG[lsb] = ",,lsb"
  PACKAGECONFIG[cups] = "--enable-cups,--disable-cups,cups"
  PACKAGECONFIG[ldap] = "--with-ldap,--without-ldap,openldap"
  PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"
  PACKAGECONFIG[dmapi] = "--with-dmapi,--without-dmapi,dmapi"
  PACKAGECONFIG[zeroconf] = "--enable-avahi,--disable-avahi,avahi"
  
  SAMBA4_IDMAP_MODULES="idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2"
  