anchor.diff:                        ${libdir}/python${PYTHON_BASEVERSION}/site-packages/samba/samba3/*.so \
                         ${libdir}/python${PYTHON_BASEVERSION}/site-packages/samba/tests/* \
                         ${libdir}/python${PYTHON_BASEVERSION}/site-packages/samba/web_server/* \
  -                     "
  +"
  +
   FILES_${PN}-python-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/* \
                             ${libdir}/python${PYTHON_BASEVERSION}/site-packages/samba/.debug/* \
                             ${libdir}/python${PYTHON_BASEVERSION}/site-packages/samba/samba3/.debug/* \
                             ${libdir}/python${PYTHON_BASEVERSION}/site-packages/samba/dcerpc/.debug/* \
  -                         "
  +"
   
   FILES_${PN}-pidl = "${bindir}/pidl ${PERL_VERNDORLIB}/*"
  
positive.code: }
  
  PACKAGES += "${PN}-python ${PN}-python-dbg ${PN}-pidl libwinbind libwinbind-dbg libwinbind-krb5-locator"
  
  FILES_${PN} += "/run \
                  ${base_libdir}/security/pam_smbpass.so \
                  ${libdir}/tmpfiles.d/* \
                 "
  
  SMB_SERVICE="${systemd_unitdir}/system/nmb.service ${systemd_unitdir}/system/smb.service"
  SMB_SYSV="${sysconfdir}/init.d ${sysconfdir}/rc?.d"
  FILES_${PN} +="${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${SMB_SERVICE}', '', d)}"
  FILES_${PN} +="${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SMB_SYSV}', '', d)}"
  
  FILES_${PN}-dbg += "${libdir}/samba/idmap/.debug/* \
                      ${libdir}/samba/pdb/.debug/* \
  
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)}"
  