anchor.diff:  
   PACKAGECONFIG[acl] = "--with-acl-support,--without-acl-support,acl"
   PACKAGECONFIG[fam] = "--with-fam,--without-fam,gamin"
  -PACKAGECONFIG[pam] = "--with-pam --with-pammodulesdir=${base_libdir}/security,--without-pam,libpam"
   PACKAGECONFIG[lsb] = ",,lsb"
   PACKAGECONFIG[sysv] = ",,sysvinit"
   PACKAGECONFIG[cups] = "--enable-cups,--disable-cups,cups"
  
positive.code: INITSCRIPT_NAME = "samba.sh"
  INITSCRIPT_PARAMS = "start 20 3 5 . stop 20 0 1 6 ."
  
  PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
                     ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SYSVINITTYPE}', '', d)} \
                     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
                     ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'zeroconf', '', d)} \
                     acl cups ldap \
  
negative.code: # remove default added RDEPENDS on perl
  RDEPENDS_${PN}_remove = "perl"
  
  DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 libbsd libaio libpam"
  
  SYSVINITTYPE_linuxstdbase = "lsb"
  SYSVINITTYPE = "sysv"
  