mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Dependencies for plugin authn_gssapi, authn_ldap, authn_pam, authn_dbi and authn_sasl are not correctly written. This cause lighttpd package to always compile krb5-libs, libopenldap and libpam, even if not selected Before the fix: grep -e libpam -e krb5-libs -e libopenldap .config \# CONFIG_PACKAGE_libpam is not set \# CONFIG_PACKAGE_libopenldap is not set \# CONFIG_PACKAGE_krb5-libs is not set make | grep -e libpam -e krb5 -e ldap make[3] -C feeds/packages/net/krb5 compile make[3] -C feeds/packages/libs/libpam compile make[3] -C feeds/packages/libs/openldap compile With the fix: make | grep -e libpam -e krb5 -e ldap "nothing compiled" Check that fix works when mod-authn tokens are selected (select lighttpd-mod-authn_xxx): grep lighttpd-mod-authn .config CONFIG_PACKAGE_lighttpd-mod-authn_file=y CONFIG_PACKAGE_lighttpd-mod-authn_gssapi=m CONFIG_PACKAGE_lighttpd-mod-authn_ldap=m CONFIG_PACKAGE_lighttpd-mod-authn_pam=y make | grep -e libpam -e krb5 -e ldap make[3] -C feeds/packages/net/krb5 compile make[3] -C feeds/packages/libs/libpam compile make[3] -C feeds/packages/libs/openldap compile x-ref: "lighttpd: Malformed dependencies cause unselected packages to be compiled" https://github.com/openwrt/packages/pull/28157 github: closes #28157 Signed-off-by: Alarcon Laurent <laurent.alarcon@sagemcom.com> Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>