From c63d6054b74a2e078162ff6fa45e19595fc0e2b2 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 9 Sep 2026 17:51:08 +0200 Subject: [PATCH] cyrus-sasl: add login PACKAGECONFIG The LOGIN mechanism is disabled by default in the configure script, so libsasl2 clients fail with "no mechanism available" as soon as a peer only offers AUTH LOGIN or the client is configured to use it. Mail servers still commonly advertise AUTH LOGIN PLAIN and clients like KMail default to LOGIN for SMTP transports. Debian, Fedora and Gentoo all ship the plugin. Add an opt-in PACKAGECONFIG that builds liblogin.so, off by default to keep the current behaviour. Tested on corei7-64 with the option enabled, liblogin.so is packaged into ${libdir}/sasl2 next to the other mechanism plugins. AI-Generated: Uses Claude Code (Claude Fable 5.1) Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb index 26ec8a71a1..4f15a666ac 100644 --- a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb +++ b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb @@ -41,6 +41,7 @@ PACKAGECONFIG[opie] = "--with-opie,--without-opie,opie," PACKAGECONFIG[des] = "--with-des,--without-des,," PACKAGECONFIG[ldap] = "--with-ldap=${STAGING_LIBDIR} --enable-ldapdb,--without-ldap --disable-ldapdb,openldap," PACKAGECONFIG[ntlm] = "--enable-ntlm=yes,--enable-ntlm=no,," +PACKAGECONFIG[login] = "--enable-login,--disable-login,," CFLAGS += "-fPIC"