krb5: fix packaging with ldap PACKAGECONFIG

In case ldap PACKAGECONFIG is enabled, packaging fails with the following error:

ERROR: krb5-1.17.2-r0 do_package: QA Issue: krb5: Files/directories were installed but not shipped in any package:
  /usr/lib/libkdb_ldap.so.1.0
  /usr/lib/libkdb_ldap.so.1

Fix it by adding the file to the krb5-kdc-ldap package (the same that
Debian also uses to ship this file).

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Gyorgy Sarvari
2025-09-23 12:12:53 +02:00
parent 4cf505e5e5
commit e02fb92000
@@ -163,7 +163,8 @@ FILES:${PN}-kdc = "${libdir}/krb5/plugins/kdb/db2.so \
FILES:${PN}-kdc-ldap = "${libdir}/krb5/libkdb_ldap${SOLIBS} \
${libdir}/krb5/plugins/kdb/kldap.so \
${sbindir}/kdb5_ldap_util"
${sbindir}/kdb5_ldap_util \
${libdir}/libkdb_ldap${SOLIBS}"
FILES:${PN}-kpropd = "${sbindir}/kpropd"
FILES:${PN}-otp = "${libdir}/krb5/plugins/preauth/otp.so"