anchor.diff:  LDFLAGS += "-Wl,-z,relro,-z,now"
   
   do_install_append() {
  -    rmdir --ignore-fail-on-non-empty "${D}/${localstatedir}/run"
  +    rmdir --ignore-fail-on-non-empty "${D}/run/samba"
  +    rmdir --ignore-fail-on-non-empty "${D}/run"
   
       if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then
           install -d ${D}${systemd_unitdir}/system
  
positive.code:                    acl aio cups ldap \
  "
  
  RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'lsb', 'lsb', '', d)}"
  
  PACKAGECONFIG[acl] = "--with-acl-support,---without-acl-support,acl"
  PACKAGECONFIG[aio] = "--with-aio-support,---without-aio-support,libaio"
  
negative.code:                     ${libdir}/samba/ldb/.debug/* \
                      ${libdir}/samba/vfs/.debug/* \
                      ${base_libdir}/security/.debug/pam_smbpass.so \
  "
  
  FILES_libwinbind = "${base_libdir}/security/pam_winbind.so"
  FILES_libwinbind += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/system/winbind.service', '', d)}"
  